Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Oct 24, 2024
1 parent b007c7c commit 0a21500
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/integration-tests/e2e-babel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ startLocalRegistry "$PWD"/scripts/integration-tests/verdaccio-config.yml
node "$PWD"/scripts/integration-tests/utils/bump-babel-dependencies.js
export YARN_ENABLE_IMMUTABLE_INSTALLS=false

# This packages has been renamed
sed -i 's/proposal-json-modules/transform-json-modules/g' package.json
sed -i 's/proposal-json-modules/transform-json-modules/g' babel.config.js

if [ "$BABEL_8_BREAKING" = true ] ; then
# This option is removed in Babel 8
sed -i 's/allowDeclareFields: true,\?/\/* allowDeclareFields: true *\//g' babel.config.js
Expand All @@ -36,10 +40,6 @@ if [ "$BABEL_8_BREAKING" = true ] ; then
make use-esm
fi

# This packages has been renamed
sed -i 's/proposal-json-modules/transform-json-modules/g' package.json
sed -i 's/proposal-json-modules/transform-json-modules/g' babel.config.js

# Build and test
make -j test-ci

Expand Down

0 comments on commit 0a21500

Please sign in to comment.