Browse Source

fix: compatibility with pnpm (#9156)

* fix: dependencies were not found using pnpm

* fix: dependencies were not found using pnpm

* fix: lint problem

* chore: ignore pnpm lock file
pull/9203/head
Shanjie Chen 5 years ago
committed by GitHub
parent
commit
0322352d0f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .gitignore
  2. 3
      package.json
  3. 1
      src/service-worker.js

1
.gitignore

@ -19,6 +19,7 @@ yarn-error.log
.idea .idea
yarn.lock yarn.lock
package-lock.json package-lock.json
pnpm-lock.yaml
*bak *bak
.vscode .vscode

3
package.json

@ -65,6 +65,8 @@
"lodash": "^4.17.11", "lodash": "^4.17.11",
"moment": "^2.25.3", "moment": "^2.25.3",
"omit.js": "^2.0.2", "omit.js": "^2.0.2",
"rc-menu": "^9.0.13",
"rc-util": "^5.14.0",
"react": "^17.0.0", "react": "^17.0.0",
"react-dev-inspector": "^1.1.1", "react-dev-inspector": "^1.1.1",
"react-dom": "^17.0.0", "react-dom": "^17.0.0",
@ -104,6 +106,7 @@
"prettier": "^2.3.2", "prettier": "^2.3.2",
"puppeteer-core": "^8.0.0", "puppeteer-core": "^8.0.0",
"stylelint": "^13.0.0", "stylelint": "^13.0.0",
"swagger-ui-react": "^3.52.3",
"typescript": "^4.2.2" "typescript": "^4.2.2"
}, },
"engines": { "engines": {

1
src/service-worker.js

@ -1,4 +1,3 @@
/* eslint-disable eslint-comments/disable-enable-pair */
/* eslint-disable no-restricted-globals */ /* eslint-disable no-restricted-globals */
/* eslint-disable no-underscore-dangle */ /* eslint-disable no-underscore-dangle */
/* globals workbox */ /* globals workbox */

Loading…
Cancel
Save