fix: Build problem with @strapi/helper-plugin

pull/26/head
Boaz Poolman 2021-11-10 18:45:06 +01:00
parent 5411c68538
commit d20f82faa9
3 changed files with 5 additions and 13 deletions

View File

@ -18,7 +18,7 @@ jobs:
node-version: '14' node-version: '14'
cache: 'yarn' cache: 'yarn'
- name: Install dependencies - name: Install dependencies
run: yarn --frozen-lockfile run: yarn --ignore-scripts --frozen-lockfile
- name: Run eslint - name: Run eslint
run: yarn run eslint run: yarn run eslint
# unit: # unit:
@ -32,6 +32,6 @@ jobs:
# node-version: '14' # node-version: '14'
# cache: 'yarn' # cache: 'yarn'
# - name: Install dependencies # - name: Install dependencies
# run: yarn --frozen-lockfile # run: yarn --ignore-scripts --frozen-lockfile
# - name: Run test # - name: Run test
# run: yarn run -s test:unit # run: yarn run -s test:unit

View File

@ -16,7 +16,8 @@
"scripts": { "scripts": {
"eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'", "eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'",
"eslint:fix": "eslint --fix './**/*.{js,jsx}'", "eslint:fix": "eslint --fix './**/*.{js,jsx}'",
"test:unit": "jest --verbose" "test:unit": "jest --verbose",
"postinstall": "rm -rf node_modules/@strapi/helper-plugin"
}, },
"dependencies": { "dependencies": {
"chalk": "^4.1.2", "chalk": "^4.1.2",
@ -70,7 +71,7 @@
"jest-cli": "^26.0.1", "jest-cli": "^26.0.1",
"jest-styled-components": "^7.0.2", "jest-styled-components": "^7.0.2",
"lodash": "^4.17.11", "lodash": "^4.17.11",
"react": "^16.8.6", "react": "^17.0.2",
"react-intl": "^5.20.12", "react-intl": "^5.20.12",
"react-redux": "^7.2.2", "react-redux": "^7.2.2",
"redux": "^4.0.5", "redux": "^4.0.5",

View File

@ -10330,15 +10330,6 @@ react-with-styles@^4.1.0:
prop-types "^15.7.2" prop-types "^15.7.2"
react-with-direction "^1.3.1" react-with-direction "^1.3.1"
react@^16.8.6:
version "16.14.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d"
integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.2"
react@^17.0.2: react@^17.0.2:
version "17.0.2" version "17.0.2"
resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037" resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"