Skip to content

Commit

Permalink
fix: error ERR_OSSL_EVP_UNSUPPORTED
Browse files Browse the repository at this point in the history
  • Loading branch information
dopry committed May 10, 2023
1 parent 710e824 commit b807aaa
Show file tree
Hide file tree
Showing 37 changed files with 39 additions and 40 deletions.
2 changes: 1 addition & 1 deletion packages/netlify-cms-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"develop": "yarn build:esm --watch",
"webpack": "node --max_old_space_size=4096 ../../node_modules/webpack/bin/webpack.js",
"build": "cross-env NODE_ENV=production run-s webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" run-s webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/netlify-cms-backend-azure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward --extensions \".js,.jsx,.ts,.tsx\""
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm NODE_OPTIONS=\"--openssl-legacy-provider\" babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward --extensions \".js,.jsx,.ts,.tsx\""
},
"dependencies": {
"js-base64": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-backend-bitbucket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward --extensions \".js,.jsx,.ts,.tsx\""
},
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/netlify-cms-backend-git-gateway/.npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion packages/netlify-cms-backend-git-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward --extensions \".js,.jsx,.ts,.tsx\""
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/netlify-cms-backend-github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward --extensions \".js,.jsx,.ts,.tsx\"",
"createFragmentTypes": "node scripts/createFragmentTypes.js"
"createFragmentTypes": "node scripts/createFr NODE_OPTIONS=\"--openssl-legacy-provider\"agmentTypes.js"
},
"dependencies": {
"apollo-cache-inmemory": "^1.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-backend-gitlab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward --extensions \".js,.jsx,.ts,.tsx\""
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-backend-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward --extensions \".js,.jsx,.ts,.tsx\""
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-backend-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward --extensions \".js,.jsx,.ts,.tsx\""
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"develop": "yarn build:esm --watch",
"webpack": "node --max_old_space_size=4096 ../../node_modules/webpack/bin/webpack.js",
"build": "cross-env NODE_ENV=production run-s webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" run-s webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward --extensions \".js,.jsx,.ts,.tsx\""
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-default-exports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-editor-component-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-lib-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-lib-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward --extensions \".js,.jsx,.ts,.tsx\""
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-lib-widgets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward --extensions \".js,.jsx,.ts,.tsx\""
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-locales/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
}
}
2 changes: 1 addition & 1 deletion packages/netlify-cms-media-library-cloudinary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-media-library-uploadcare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-proxy-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"sideEffects": false,
"scripts": {
"build": "webpack",
"build": "cross-env NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"prestart": "yarn build",
"start": "node dist/index.js",
"develop": "nodemon --watch 'src/**/*.ts' --ignore 'src/**/*.spec.ts' --exec 'ts-node' --files src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-ui-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-boolean/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward",
"process:languages": "node ./scripts/process-languages"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-colorstring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-date/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-datetime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-number/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-object/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-relation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-string/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-widget-text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"sideEffects": false,
"scripts": {
"develop": "yarn build:esm --watch",
"build": "cross-env NODE_ENV=production webpack",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack",
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/netlify-cms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"main": "dist/netlify-cms.js",
"scripts": {
"webpack": "node --max_old_space_size=4096 ../../node_modules/webpack/bin/webpack.js",
"build": "cross-env NODE_ENV=production run-s webpack",
"build-preview": "cross-env NODE_ENV=production webpack serve --open",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" run-s webpack",
"build-preview": "cross-env NODE_ENV=production NODE_OPTIONS=\"--openssl-legacy-provider\" webpack serve --open",
"develop": "webpack serve --hot"
},
"keywords": [
Expand Down

0 comments on commit b807aaa

Please sign in to comment.