Skip to content

Commit

Permalink
chore: add --openssl-legacy-provider flag for latest node support
Browse files Browse the repository at this point in the history
  • Loading branch information
bryceosterhaus committed May 7, 2024
1 parent 9ba38a1 commit 4c59dd6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
9 changes: 5 additions & 4 deletions maintenance/projects/amd-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
},
"scripts": {
"build": "yarn build:loader && yarn build:demo",
"build:demo": "node bin/build-demo.js",
"build:loader": "node bin/build-loader.js",
"build:demo": "cross-env NODE_OPTIONS=--openssl-legacy-provider node bin/build-demo.js",
"build:loader": "cross-env NODE_OPTIONS=--openssl-legacy-provider node bin/build-loader.js",
"ci": "yarn format:check && yarn lint && yarn test",
"clean": "rm -rf build",
"demo": "node bin/run-demo.js",
Expand All @@ -49,12 +49,13 @@
"devDependencies": {
"@babel/preset-env": "^7.4.2",
"babel-loader": "^8.1.0",
"cross-env": "^7.0.3",
"fs-extra": "^9.0.1",
"jest": "26.4.2",
"liferay-workspace-scripts": "../../../support/packages/workspace-scripts",
"terser-webpack-plugin": "^5.0.3",
"webpack": "^5.11.1",
"webpack-cli": "^3.0.0",
"webpack-dev-server": "^3.0.0",
"webpack": "^5.11.1"
"webpack-dev-server": "^3.0.0"
}
}
9 changes: 8 additions & 1 deletion maintenance/projects/amd-loader/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2214,6 +2214,13 @@ core-util-is@~1.0.0:
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85"
integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==

cross-env@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf"
integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==
dependencies:
cross-spawn "^7.0.1"

cross-spawn@^6.0.0, cross-spawn@^6.0.5:
version "6.0.5"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
Expand All @@ -2225,7 +2232,7 @@ cross-spawn@^6.0.0, cross-spawn@^6.0.5:
shebang-command "^1.2.0"
which "^1.2.9"

cross-spawn@^7.0.0:
cross-spawn@^7.0.0, cross-spawn@^7.0.1:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
Expand Down

0 comments on commit 4c59dd6

Please sign in to comment.