diff --git a/examples/rac-spectrum-tailwind/package.json b/examples/rac-spectrum-tailwind/package.json index 306f345637b..afb53f681ae 100644 --- a/examples/rac-spectrum-tailwind/package.json +++ b/examples/rac-spectrum-tailwind/package.json @@ -4,7 +4,7 @@ "packageManager": "yarn@4.2.2", "scripts": { "start": "parcel src/index.html", - "build": "parcel build src/index.html", + "build": "PARCEL_WORKER_BACKEND=process parcel build src/index.html", "install-17": "yarn add -W react@^17 react-dom@^17" }, "dependencies": { diff --git a/examples/rac-tailwind/package.json b/examples/rac-tailwind/package.json index dc4c1a444f0..e963681d038 100644 --- a/examples/rac-tailwind/package.json +++ b/examples/rac-tailwind/package.json @@ -4,7 +4,7 @@ "packageManager": "yarn@4.2.2", "scripts": { "start": "parcel src/index.html", - "build": "parcel build src/index.html", + "build": "PARCEL_WORKER_BACKEND=process parcel build src/index.html", "install-17": "yarn add -W react@^17 react-dom@^17" }, "dependencies": { diff --git a/scripts/verdaccio-build-icon-builder.sh b/scripts/verdaccio-build-icon-builder.sh index 0699a8ff678..9d2214e55b0 100755 --- a/scripts/verdaccio-build-icon-builder.sh +++ b/scripts/verdaccio-build-icon-builder.sh @@ -17,8 +17,6 @@ else echo "Verdaccio is NOT running on port 4000." fi -curl -s http://localhost:4000/@adobe/react-spectrum - yarn config set npmPublishRegistry --home $registry yarn config set npmRegistryServer --home $registry yarn config set npmAlwaysAuth --home false diff --git a/scripts/verdaccio-build-nextjs.sh b/scripts/verdaccio-build-nextjs.sh index 97a7c4cccdd..9ce48e27f3c 100755 --- a/scripts/verdaccio-build-nextjs.sh +++ b/scripts/verdaccio-build-nextjs.sh @@ -17,8 +17,6 @@ else echo "Verdaccio is NOT running on port 4000." fi -curl -s http://localhost:4000/@adobe/react-spectrum - yarn config set npmPublishRegistry --home $registry yarn config set npmRegistryServer --home $registry yarn config set npmAlwaysAuth --home false diff --git a/scripts/verdaccio-build-rac-rsp-tailwind.sh b/scripts/verdaccio-build-rac-rsp-tailwind.sh index 286df8a30f9..8694113df88 100755 --- a/scripts/verdaccio-build-rac-rsp-tailwind.sh +++ b/scripts/verdaccio-build-rac-rsp-tailwind.sh @@ -17,8 +17,6 @@ else echo "Verdaccio is NOT running on port 4000." fi -curl -s http://localhost:4000/@adobe/react-spectrum - yarn config set npmPublishRegistry --home $registry yarn config set npmRegistryServer --home $registry yarn config set npmAlwaysAuth --home false @@ -37,6 +35,13 @@ cd examples/rac-spectrum-tailwind yarn config set npmRegistryServer $registry yarn install --no-immutable yarn build --public-url ./ + +echo 'build RAC Spectrum Tailwind app done' + mv dist ../../$verdaccio_path/rac-spectrum-tailwind +echo 'move RAC Spectrum Tailwind app done' + netstat -tpln | awk -F'[[:space:]/:]+' '$5 == 4000 {print $(NF-2)}' | xargs kill + +echo 'verdaccio shutdown done' diff --git a/scripts/verdaccio-build-rac-tailwind.sh b/scripts/verdaccio-build-rac-tailwind.sh index 297e4d4738a..ca6bdba6dd4 100755 --- a/scripts/verdaccio-build-rac-tailwind.sh +++ b/scripts/verdaccio-build-rac-tailwind.sh @@ -17,8 +17,6 @@ else echo "Verdaccio is NOT running on port 4000." fi -curl -s http://localhost:4000/@adobe/react-spectrum - yarn config set npmPublishRegistry --home $registry yarn config set npmRegistryServer --home $registry yarn config set npmAlwaysAuth --home false diff --git a/scripts/verdaccio-build-rsp-cra-18.sh b/scripts/verdaccio-build-rsp-cra-18.sh index 8041f926a8f..8f3a414d85b 100755 --- a/scripts/verdaccio-build-rsp-cra-18.sh +++ b/scripts/verdaccio-build-rsp-cra-18.sh @@ -17,8 +17,6 @@ else echo "Verdaccio is NOT running on port 4000." fi -curl -s http://localhost:4000/@adobe/react-spectrum - yarn config set npmPublishRegistry --home $registry yarn config set npmRegistryServer --home $registry yarn config set npmAlwaysAuth --home false diff --git a/scripts/verdaccio-build-s2-parcel.sh b/scripts/verdaccio-build-s2-parcel.sh index 60025a91fd8..4219eec3a1a 100755 --- a/scripts/verdaccio-build-s2-parcel.sh +++ b/scripts/verdaccio-build-s2-parcel.sh @@ -17,8 +17,6 @@ else echo "Verdaccio is NOT running on port 4000." fi -curl -s http://localhost:4000/@adobe/react-spectrum - yarn config set npmPublishRegistry --home $registry yarn config set npmRegistryServer --home $registry yarn config set npmAlwaysAuth --home false diff --git a/scripts/verdaccio-build-s2-webpack.sh b/scripts/verdaccio-build-s2-webpack.sh index eaa13587b86..02eb483df19 100755 --- a/scripts/verdaccio-build-s2-webpack.sh +++ b/scripts/verdaccio-build-s2-webpack.sh @@ -17,8 +17,6 @@ else echo "Verdaccio is NOT running on port 4000." fi -curl -s http://localhost:4000/@adobe/react-spectrum - yarn config set npmPublishRegistry --home $registry yarn config set npmRegistryServer --home $registry yarn config set npmAlwaysAuth --home false diff --git a/scripts/verdaccio-build-webpack-4.sh b/scripts/verdaccio-build-webpack-4.sh index 3436764f6c1..ecbf4842e7a 100755 --- a/scripts/verdaccio-build-webpack-4.sh +++ b/scripts/verdaccio-build-webpack-4.sh @@ -17,8 +17,6 @@ else echo "Verdaccio is NOT running on port 4000." fi -curl -s http://localhost:4000/@adobe/react-spectrum - yarn config set npmPublishRegistry --home $registry yarn config set npmRegistryServer --home $registry yarn config set npmAlwaysAuth --home false diff --git a/scripts/verdaccio-build.sh b/scripts/verdaccio-build.sh index d5a70a63e4a..78a4ba1171f 100755 --- a/scripts/verdaccio-build.sh +++ b/scripts/verdaccio-build.sh @@ -17,8 +17,6 @@ else echo "Verdaccio is NOT running on port 4000." fi -curl -s http://localhost:4000/@adobe/react-spectrum - yarn config set npmPublishRegistry --home $registry yarn config set npmRegistryServer --home $registry yarn config set npmAlwaysAuth --home false