fix(npm): potential security vulnerabilities

pull/8/head
Kairee Wu 4 years ago
parent 35bdebe5d9
commit 10db0cbb2d
No known key found for this signature in database
GPG Key ID: E904B5FF4F40BC01

@ -15,11 +15,11 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 16 node-version: 16
cache: 'yarn' cache: 'npm'
- name: Install dependencies - name: Install dependencies
run: yarn install --frozen-lockfile run: npm ci
- name: Build - name: Build
run: yarn build run: npm run build
- name: Rename output dir - name: Rename output dir
run: mv build sergate run: mv build sergate
- name: Make zip file - name: Make zip file

2
.gitignore vendored

@ -23,4 +23,4 @@
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
package-lock.json yarn.lock

39602
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -24,18 +24,10 @@
}, },
"dependencies": { "dependencies": {
"@ant-design/icons": "^4.6.4", "@ant-design/icons": "^4.6.4",
"@babel/core": ">=7.0.0-0 <8.0.0",
"@babel/plugin-syntax-flow": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@types/node": "16.0.0",
"@types/react": "18",
"@types/react-dom": "18",
"antd": "^4.0.0", "antd": "^4.0.0",
"babel-plugin-import": "^1.13.1",
"react": "18", "react": "18",
"react-dom": "18", "react-dom": "18",
"react-intl-universal": "^2.5.3", "react-intl-universal": "^2.5.3"
"typescript": "^4.1.2"
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",
@ -61,9 +53,21 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"@babel/core": ">=7.0.0-0 <8.0.0",
"@babel/plugin-syntax-flow": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@semantic-release/changelog": "^6.0.0", "@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0", "@semantic-release/git": "^10.0.0",
"@svgr/webpack": "^6.2.1",
"@types/node": "16.0.0",
"@types/react": "18",
"@types/react-dom": "18",
"babel-plugin-import": "^1.13.1",
"react-scripts": "^5.0.1", "react-scripts": "^5.0.1",
"semantic-release": "^19.0.3" "semantic-release": "^19.0.3",
"typescript": "^4.1.2"
},
"overrides": {
"@svgr/webpack": "$@svgr/webpack"
} }
} }

11720
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save