diff --git a/packages/carbon-web-components/package.json b/packages/carbon-web-components/package.json index e78ce789939..4192697c343 100644 --- a/packages/carbon-web-components/package.json +++ b/packages/carbon-web-components/package.json @@ -33,18 +33,18 @@ "build": "gulp build && yarn wca", "build:dist": "gulp build:dist", "build:dist:dev": "gulp build:dist:dev", - "build-storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider BABEL_ENV=es build-storybook", + "build-storybook": "cross-env BABEL_ENV=es build-storybook", "ci-check": "yarn wca && yarn typecheck && yarn build && yarn test:unit", "clean": "gulp clean", "reset": "yarn cache clean && yarn clean && rimraf node_modules && yarn install && yarn build", "start": "yarn storybook", - "storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 9000", + "storybook": "start-storybook -p 9000", "test": "gulp test && yarn test:integration", "test:integration": "yarn test:integration:build && yarn test:integration:ui", "test:integration:build": "jest -c tests/integration/build/jest.config.js --runInBand", "test:integration:ui": "jest -c tests/integration/ui/jest.config.js --runInBand", - "test:unit": "cross-env NODE_OPTIONS=--openssl-legacy-provider gulp test:unit", - "test:unit:updateSnapshot": "NODE_OPTIONS=--openssl-legacy-provider gulp test:unit --update-snapshot", + "test:unit": "gulp test:unit", + "test:unit:updateSnapshot": "gulp test:unit --update-snapshot", "typecheck": "tsc --noEmit -p tsconfig.json", "visual-snapshot": "yarn build-storybook && percy storybook:start ./storybook-static", "wca": "web-component-analyzer analyze src --outFile custom-elements.json" diff --git a/packages/web-components/package.json b/packages/web-components/package.json index fc0037a5069..f8164348c62 100644 --- a/packages/web-components/package.json +++ b/packages/web-components/package.json @@ -50,31 +50,31 @@ "build:components": "gulp build:components", "build:dist": "gulp build:dist", "build:sass:cdn": "gulp build:sass:cdn", - "build-storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider build-storybook", - "build-storybook:experimental": "cross-env NODE_OPTIONS=--openssl-legacy-provider C4D_FLAGS_ALL=true build-storybook -o storybook-static-experimental", - "build-storybook:react": "gulp build:modules:react && node --openssl-legacy-provider --max-old-space-size=8192 node_modules/@storybook/react/bin/build.js -c .storybook/react -o storybook-static-react", - "build-storybook:rtl": "cross-env NODE_OPTIONS=--openssl-legacy-provider STORYBOOK_USE_RTL=true build-storybook -o storybook-static-rtl", + "build-storybook": "build-storybook", + "build-storybook:experimental": "cross-env C4D_FLAGS_ALL=true build-storybook -o storybook-static-experimental", + "build-storybook:react": "gulp build:modules:react && node --max-old-space-size=8192 node_modules/@storybook/react/bin/build.js -c .storybook/react -o storybook-static-react", + "build-storybook:rtl": "cross-env STORYBOOK_USE_RTL=true build-storybook -o storybook-static-rtl", "ci-check": "yarn wca && yarn typecheck && yarn build && yarn test:unit", "clean": "gulp clean", "clean:dist": "rimraf dist", "doctoc": "doctoc --title '## Table of contents' docs && doctoc --title '## Table of contents' README.md", "postinstall": "carbon-telemetry collect --install", - "start": "cross-env NODE_OPTIONS=--openssl-legacy-provider yarn storybook", + "start": "yarn storybook", "start-dev": "./update-scss-paths.sh & yarn start", - "storybook": "NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 9000", - "storybook:react": "node --openssl-legacy-provider node_modules/@storybook/react/bin/index.js -p 9002 -c .storybook/react", + "storybook": "start-storybook -p 9000", + "storybook:react": "node node_modules/@storybook/react/bin/index.js -p 9002 -c .storybook/react", "test": "yarn test:unit && yarn test:integration", - "test:a11y": "NODE_OPTIONS=--openssl-legacy-provider gulp test:a11y", + "test:a11y": "gulp test:a11y", "test:cdn-build:run": "npx -y http-server -c-1 tests/cdn-build/app --silent", "test:cdn-build:test": "npx -y start-server-and-test 'yarn test:cdn-build:run' 8080 'cypress run --config-file tests/cdn-build/cypress.json'", "test:e2e:build": "node ./tests/e2e/build/build-examples.js", - "test:e2e:run": "NODE_OPTIONS=--openssl-legacy-provider npx -y http-server -c-1 tests/e2e/dist --silent", - "test:e2e:test": "NODE_OPTIONS=--openssl-legacy-provider npx -y start-server-and-test 'yarn test:e2e:run' 8080 'percy exec --config tests/e2e/.percy.json -- cypress run --config-file tests/e2e/cypress.json'", - "test:e2e:test:no-percy": "NODE_OPTIONS=--openssl-legacy-provider npx -y start-server-and-test 'yarn test:e2e:run' 8080 'cypress run --config-file tests/e2e/cypress.json'", + "test:e2e:run": "npx -y http-server -c-1 tests/e2e/dist --silent", + "test:e2e:test": "npx -y start-server-and-test 'yarn test:e2e:run' 8080 'percy exec --config tests/e2e/.percy.json -- cypress run --config-file tests/e2e/cypress.json'", + "test:e2e:test:no-percy": "npx -y start-server-and-test 'yarn test:e2e:run' 8080 'cypress run --config-file tests/e2e/cypress.json'", "test:e2e:test:no-percy:with-video": "npx -y start-server-and-test 'yarn test:e2e:run' 8080 'cypress run --config video=true,screenshotOnRunFailure=true --config-file tests/e2e/cypress.json'", "test:e2e-storybook:browserstack:canary": "browserstack-cypress run --cf tests/e2e-storybook/browserstack.json --ccf tests/e2e-storybook/cypress-canary.json --sync --build-name 'Web Components Storybook Canary'", "test:e2e-storybook:browserstack:next": "browserstack-cypress run --cf tests/e2e-storybook/browserstack.json --ccf tests/e2e-storybook/cypress-next.json --sync --build-name 'Web Components Storybook Next'", - "test:e2e-storybook:run": "NODE_OPTIONS=--openssl-legacy-provider npx -y http-server -c-1 storybook-static --silent -p 8081", + "test:e2e-storybook:run": "npx -y http-server -c-1 storybook-static --silent -p 8081", "test:e2e-storybook:dev": "cypress open --config-file ./tests/e2e-storybook/cypress-local.json", "test:e2e-storybook:test": "npx -y start-server-and-test 'yarn test:e2e-storybook:run' 8081 'percy exec --config tests/e2e-storybook/.percy.json -- cypress run --config-file tests/e2e-storybook/cypress.json'", "test:e2e-storybook:test:parallel": "npx -y start-server-and-test 'yarn test:e2e-storybook:run' 8081 'cy2 run --parallel --ci-build-id $CI_BUILD_ID --record --key 'carbon-for-ibm-dotcom-wc' --config-file tests/e2e-storybook/cypress.json'", @@ -82,8 +82,8 @@ "test:e2e-storybook:test:no-percy": "cross-env NODE_OPTIONS=--max-old-space-size=8192 npx -y start-server-and-test 'yarn test:e2e-storybook:run' http://0.0.0.0:8081 'cypress run --config-file tests/e2e-storybook/cypress.json'", "test:e2e-storybook:test:no-percy:firefox": "cross-env NODE_OPTIONS=--max-old-space-size=8192 npx -y start-server-and-test 'yarn test:e2e-storybook:run' 8081 'cypress run --config-file tests/e2e-storybook/cypress.json --browser firefox'", "test:e2e-storybook:test:no-percy:with-video": "npx -y start-server-and-test 'yarn test:e2e-storybook:run' 8081 'cypress run --config video=true,screenshotOnRunFailure=true --config-file tests/e2e-storybook/cypress.json'", - "test:unit": "cross-env NODE_OPTIONS=--openssl-legacy-provider gulp test:unit", - "test:unit:updateSnapshot": "cross-env NODE_OPTIONS=--openssl-legacy-provider gulp test:unit --update-snapshot", + "test:unit": "gulp test:unit", + "test:unit:updateSnapshot": "gulp test:unit --update-snapshot", "typecheck": "tsc --noEmit -p tsconfig.json", "upgrade-carbon": "yarn upgrade-interactive @carbon/web-components @carbon/icon-helpers @carbon/icons --latest --exact", "visual-snapshot": "yarn build-storybook && percy storybook:start ./storybook-static",