## Description - Returned the logic for generating the source maps. Source maps are created for flags `REACT_APP_ENVIRONMENT=PRODUCTION` and `REACT_APP_ENVIRONMENT=DEVELOPMENT` as before. - Removed no longer used flag `DISABLE_ESLINT_PLUGIN` - Removed no longer used `cra-bundle-analyzer` package and related script. EE PR — https://github.com/appsmithorg/appsmith-ee/pull/6227 ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!CAUTION] > 🔴 🔴 🔴 Some tests have failed. > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/13353994445> > Commit: 88551e50c36ff521b479128f4d0bc8f366cb253a > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13353994445&attempt=3&selectiontype=test&testsstatus=failed&specsstatus=fail" target="_blank">Cypress dashboard</a>. > Tags: @tag.All > Spec: > The following are new failures, please fix them before merging the PR: <ol> > <li>cypress/e2e/Regression/ServerSide/Datasources/Snowflake_Basic_Spec.ts</ol> > <a href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-65890b3c81d7400d08fa9ee3?branch=master" target="_blank">List of identified flaky tests</a>. > <hr>Sun, 16 Feb 2025 12:54:58 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated the build process to consistently enforce quality checks. - Enhanced debugging support by refining source mapping for both production and development environments. - Removed an outdated analysis task to streamline the startup routine. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
22 lines
483 B
Bash
Executable File
22 lines
483 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
GIT_SHA=$(eval git rev-parse HEAD)
|
|
echo $GIT_SHA
|
|
echo "Sentry Auth Token: $SENTRY_AUTH_TOKEN"
|
|
|
|
if [ "$REACT_APP_AIRGAP_ENABLED" == "true" ]; then
|
|
echo "Building for airgapped Appsmith instances"
|
|
node download-assets.js;
|
|
else
|
|
echo "Building for non-airgapped Appsmith instances"
|
|
fi
|
|
|
|
# build cra app
|
|
export REACT_APP_SENTRY_RELEASE=$GIT_SHA
|
|
export REACT_APP_CLIENT_LOG_LEVEL=ERROR
|
|
node --max-old-space-size=8192 scripts/build.js
|
|
|
|
echo "build finished"
|