Do not install husky on CI (#2839)
This commit is contained in:
parent
03a6cc72ad
commit
d19427784a
3 changed files with 783 additions and 306 deletions
|
@ -2,6 +2,7 @@ FROM node:18-alpine as builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
COPY scripts/patchReactVirtualized.js scripts/
|
COPY scripts/patchReactVirtualized.js scripts/
|
||||||
|
ENV CI 1
|
||||||
RUN npm ci --omit=optional --legacy-peer-deps
|
RUN npm ci --omit=optional --legacy-peer-deps
|
||||||
|
|
||||||
COPY nginx/ nginx/
|
COPY nginx/ nginx/
|
||||||
|
|
1049
package-lock.json
generated
1049
package-lock.json
generated
File diff suppressed because it is too large
Load diff
39
package.json
39
package.json
|
@ -145,6 +145,7 @@
|
||||||
"fork-ts-checker-webpack-plugin": "^3.1.1",
|
"fork-ts-checker-webpack-plugin": "^3.1.1",
|
||||||
"graphql-request": "^3.7.0",
|
"graphql-request": "^3.7.0",
|
||||||
"identity-obj-proxy": "^3.0.0",
|
"identity-obj-proxy": "^3.0.0",
|
||||||
|
"is-ci": "^3.0.1",
|
||||||
"jscodeshift": "^0.13.0",
|
"jscodeshift": "^0.13.0",
|
||||||
"regenerator-runtime": "^0.11.1",
|
"regenerator-runtime": "^0.11.1",
|
||||||
"register-service-worker": "^1.7.2",
|
"register-service-worker": "^1.7.2",
|
||||||
|
@ -167,16 +168,14 @@
|
||||||
"workbox-strategies": "^6.1.2"
|
"workbox-strategies": "^6.1.2"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"lint-staged": "^10.5.1",
|
|
||||||
"mocha-junit-reporter": "^2.0.2",
|
|
||||||
"mochawesome": "^7.0.1",
|
|
||||||
"mochawesome-merge": "^4.2.1",
|
|
||||||
"mochawesome-report-generator": "^6.0.1",
|
|
||||||
"@types/setup-polly-jest": "^0.5.0",
|
|
||||||
"setup-polly-jest": "^0.9.1",
|
|
||||||
"@types/jest": "^26.0.14",
|
|
||||||
"@storybook/addon-storyshots": "^5.2.8",
|
"@storybook/addon-storyshots": "^5.2.8",
|
||||||
"@storybook/react": "^5.1.9",
|
"@storybook/react": "^5.1.9",
|
||||||
|
"@testing-library/jest-dom": "^5.16.5",
|
||||||
|
"@testing-library/react": "^12.1.5",
|
||||||
|
"@testing-library/react-hooks": "^8.0.1",
|
||||||
|
"@testing-library/user-event": "^14.4.3",
|
||||||
|
"@types/jest": "^26.0.14",
|
||||||
|
"@types/setup-polly-jest": "^0.5.0",
|
||||||
"@types/storybook__addon-storyshots": "^3.4.9",
|
"@types/storybook__addon-storyshots": "^3.4.9",
|
||||||
"@types/storybook__react": "^4.0.2",
|
"@types/storybook__react": "^4.0.2",
|
||||||
"cypress": "^10.0.2",
|
"cypress": "^10.0.2",
|
||||||
|
@ -185,11 +184,6 @@
|
||||||
"cypress-mochawesome-reporter": "^2.3.0",
|
"cypress-mochawesome-reporter": "^2.3.0",
|
||||||
"cypress-multi-reporters": "^1.5.0",
|
"cypress-multi-reporters": "^1.5.0",
|
||||||
"cypress-timings": "^1.0.0",
|
"cypress-timings": "^1.0.0",
|
||||||
"jest": "^26.6.3",
|
|
||||||
"jest-canvas-mock": "^2.4.0",
|
|
||||||
"jest-file": "^1.0.0",
|
|
||||||
"jest-localstorage-mock": "^2.4.3",
|
|
||||||
"husky": "^8.0.0",
|
|
||||||
"eslint": "^7.4.0",
|
"eslint": "^7.4.0",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
"eslint-plugin-chai-friendly": "^0.6.0",
|
"eslint-plugin-chai-friendly": "^0.6.0",
|
||||||
|
@ -202,12 +196,19 @@
|
||||||
"eslint-plugin-react-refresh": "^0.3.1",
|
"eslint-plugin-react-refresh": "^0.3.1",
|
||||||
"eslint-plugin-simple-import-sort": "^5.0.3",
|
"eslint-plugin-simple-import-sort": "^5.0.3",
|
||||||
"fsevents": "^1.2.9",
|
"fsevents": "^1.2.9",
|
||||||
|
"husky": "^8.0.0",
|
||||||
|
"jest": "^26.6.3",
|
||||||
|
"jest-canvas-mock": "^2.4.0",
|
||||||
|
"jest-file": "^1.0.0",
|
||||||
|
"jest-localstorage-mock": "^2.4.3",
|
||||||
|
"lint-staged": "^10.5.1",
|
||||||
|
"mocha-junit-reporter": "^2.0.2",
|
||||||
|
"mochawesome": "^7.0.1",
|
||||||
|
"mochawesome-merge": "^4.2.1",
|
||||||
|
"mochawesome-report-generator": "^6.0.1",
|
||||||
"prettier": "^1.19.1",
|
"prettier": "^1.19.1",
|
||||||
"ts-jest": "^27.0.7",
|
"setup-polly-jest": "^0.9.1",
|
||||||
"@testing-library/jest-dom": "^5.16.5",
|
"ts-jest": "^27.0.7"
|
||||||
"@testing-library/react": "^12.1.5",
|
|
||||||
"@testing-library/react-hooks": "^8.0.1",
|
|
||||||
"@testing-library/user-event": "^14.4.3"
|
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"resetMocks": false,
|
"resetMocks": false,
|
||||||
|
@ -287,7 +288,7 @@
|
||||||
"postinstall": "node scripts/patchReactVirtualized.js",
|
"postinstall": "node scripts/patchReactVirtualized.js",
|
||||||
"predev": "npm run build-types",
|
"predev": "npm run build-types",
|
||||||
"release": "release-it",
|
"release": "release-it",
|
||||||
"prepare": "husky install"
|
"prepare": "is-ci || husky install"
|
||||||
},
|
},
|
||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue