Skip to content

Commit

Permalink
chore(package): remove openssl-legacy flag from package.json (#11417)
Browse files Browse the repository at this point in the history
### Description

Removes `openssl-legacy-provider` flag from `package.json` commands. Since `yarn.lock` has been cleaned this is no longer necessary.

### Changelog

**New**

- {{new thing}}

**Changed**

- {{changed thing}}

**Removed**

- `openssl-legacy-provider` flag from `package.json` commands

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "test: e2e": Codesandbox examples and e2e integration tests -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
  • Loading branch information
kennylam authored Jan 19, 2024
1 parent 973ee26 commit 75a56f3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions packages/carbon-web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
28 changes: 14 additions & 14 deletions packages/web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,40 +50,40 @@
"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'",
"test:e2e-storybook:test:debug": "cross-env NODE_OPTIONS=--max-old-space-size=8192 npx -y start-server-and-test 'yarn test:e2e-storybook:run' 8081 'cypress open --config-file tests/e2e-storybook/cypress.json'",
"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",
Expand Down

0 comments on commit 75a56f3

Please sign in to comment.