Skip to content

Commit

Permalink
fix(plasma-theme-builder): Fix avoid open-ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
neretin-trike authored and Yeti-or committed Jul 14, 2023
1 parent db86601 commit c2859dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
1 change: 1 addition & 0 deletions .github/workflows/theme-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
REACT_APP_APPLICATION_CLIENT_ID: ${{ secrets.REACT_APP_APPLICATION_CLIENT_ID }}
REACT_APP_AUTH_SERVER_URL: ${{ secrets.REACT_APP_AUTH_SERVER_URL }}
run: |
export NODE_OPTIONS=--openssl-legacy-provider
npm i --no-progress --prefix="./website/plasma-theme-builder"
npm run build --prefix="./website/plasma-theme-builder"
cp -R ./website/plasma-theme-builder/build ./s3_build/plasma-theme-builder-next
Expand Down
20 changes: 5 additions & 15 deletions website/plasma-theme-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"author": "Salute Frontend Team <[email protected]>",
"private": true,
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build"
"start": "NODE_OPTIONS=--openssl-legacy-provider react-scripts start",
"build": "NODE_OPTIONS=--openssl-legacy-provider react-scripts build"
},
"dependencies": {
"@salutejs/plasma-b2c": "1.219.0",
Expand All @@ -25,9 +25,7 @@
},
"homepage": ".",
"eslintConfig": {
"extends": [
"react-app"
],
"extends": ["react-app"],
"rules": {
"@typescript-eslint/no-redeclare": "off",
"no-redeclare": "off"
Expand All @@ -44,15 +42,7 @@
"react-error-overlay": "6.0.9"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
"production": [">0.2%", "not dead", "not op_mini all"],
"development": ["last 1 chrome version", "last 1 firefox version", "last 1 safari version"]
}
}

0 comments on commit c2859dc

Please sign in to comment.