Chore: update actions and dependencies

This commit is contained in:
Dreamacro 2020-09-14 23:26:44 +08:00
parent 70606e5ac4
commit e8480a5041
3 changed files with 1518 additions and 1158 deletions

View File

@ -7,13 +7,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Dashboard code - name: Checkout Dashboard code
uses: actions/checkout@v1 uses: actions/checkout@v2
- name: Setup Nodejs - name: Setup Nodejs
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: '13.x' node-version: '14.x'
- name: Reuse Cache - name: Reuse Cache
uses: actions/cache@v1 uses: actions/cache@v2
with: with:
path: ~/.npm path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@ -24,10 +24,10 @@ jobs:
npm ci npm ci
npm run build npm run build
- name: Deploy - name: Deploy
uses: crazy-max/ghaction-github-pages@v1 uses: crazy-max/ghaction-github-pages@v2
with: with:
target_branch: gh-pages target_branch: gh-pages
build_dir: dist build_dir: dist
fqdn: clash.razord.top fqdn: clash.razord.top
env: env:
GITHUB_PAT: ${{ secrets.GITHUB_PAT }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

2614
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -28,64 +28,64 @@
"contributors:generate": "all-contributors generate" "contributors:generate": "all-contributors generate"
}, },
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.10.5", "@babel/cli": "^7.11.6",
"@babel/core": "^7.11.1", "@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.0", "@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4", "@babel/preset-react": "^7.10.4",
"@hot-loader/react-dom": "^16.13.0", "@hot-loader/react-dom": "^16.13.0",
"@types/classnames": "^2.2.10", "@types/classnames": "^2.2.10",
"@types/lodash-es": "^4.17.3", "@types/lodash-es": "^4.17.3",
"@types/node": "^14.0.27", "@types/node": "^14.10.1",
"@types/react": "^16.9.46", "@types/react": "^16.9.49",
"@types/react-dom": "^16.9.8", "@types/react-dom": "^16.9.8",
"@types/react-router-dom": "^5.1.5", "@types/react-router-dom": "^5.1.5",
"@types/react-table": "^7.0.22", "@types/react-table": "^7.0.23",
"@types/react-virtualized-auto-sizer": "^1.0.0", "@types/react-virtualized-auto-sizer": "^1.0.0",
"@types/react-window": "^1.8.2", "@types/react-window": "^1.8.2",
"@typescript-eslint/eslint-plugin": "^3.9.0", "@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^3.9.0", "@typescript-eslint/parser": "^4.1.0",
"autoprefixer": "^9.8.6", "autoprefixer": "^9.8.6",
"awesome-typescript-loader": "^5.2.1", "awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.1.0", "babel-loader": "^8.1.0",
"babel-preset-minify": "^0.5.1", "babel-preset-minify": "^0.5.1",
"css-loader": "^4.2.1", "css-loader": "^4.3.0",
"eslint": "^7.6.0", "eslint": "^7.9.0",
"eslint-config-standard": "^14.1.1", "eslint-config-standard": "^14.1.1",
"eslint-loader": "^4.0.2", "eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.22.0", "eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1", "eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.20.5", "eslint-plugin-react": "^7.20.6",
"eslint-plugin-standard": "^4.0.1", "eslint-plugin-standard": "^4.0.1",
"file-loader": "^6.0.0", "file-loader": "^6.1.0",
"html-webpack-plugin": "^4.3.0", "html-webpack-plugin": "^4.4.1",
"image-webpack-loader": "^6.0.0", "image-webpack-loader": "^7.0.0",
"mini-css-extract-plugin": "^0.10.0", "mini-css-extract-plugin": "^0.11.2",
"offline-plugin": "^5.0.7", "offline-plugin": "^5.0.7",
"postcss-loader": "^3.0.0", "postcss-loader": "^4.0.1",
"react-hot-loader": "^4.12.21", "react-hot-loader": "^4.12.21",
"sass": "^1.26.10", "sass": "^1.26.10",
"sass-loader": "^9.0.3", "sass-loader": "^10.0.2",
"style-loader": "^1.2.1", "style-loader": "^1.2.1",
"stylelint": "^13.6.1", "stylelint": "^13.7.1",
"stylelint-config-standard": "^20.0.0", "stylelint-config-standard": "^20.0.0",
"stylelint-webpack-plugin": "^2.1.0", "stylelint-webpack-plugin": "^2.1.0",
"terser-webpack-plugin": "^4.1.0", "terser-webpack-plugin": "^4.2.0",
"type-fest": "^0.16.0", "type-fest": "^0.16.0",
"typescript": "^3.9.7", "typescript": "^4.0.2",
"webpack": "^4.44.1", "webpack": "^4.44.1",
"webpack-cli": "^3.3.12", "webpack-cli": "^3.3.12",
"webpack-dev-middleware": "^3.7.2", "webpack-dev-middleware": "^3.7.2",
"webpack-dev-server": "^3.11.0", "webpack-dev-server": "^3.11.0",
"webpack-merge": "^5.1.1", "webpack-merge": "^5.1.4",
"webpack-pwa-manifest": "^4.2.0" "webpack-pwa-manifest": "^4.2.0"
}, },
"dependencies": { "dependencies": {
"axios": "^0.19.2", "axios": "^0.20.0",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"dayjs": "^1.8.33", "dayjs": "^1.8.35",
"eventemitter3": "^4.0.4", "eventemitter3": "^4.0.7",
"immer": "^7.0.7", "immer": "^7.0.9",
"lodash-es": "^4.17.15", "lodash-es": "^4.17.15",
"react": "^16.13.1", "react": "^16.13.1",
"react-dom": "^16.13.1", "react-dom": "^16.13.1",
@ -94,7 +94,7 @@
"react-virtualized-auto-sizer": "^1.0.2", "react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.8.5", "react-window": "^1.8.5",
"recoil": "0.0.10", "recoil": "0.0.10",
"swr": "^0.3.0", "swr": "^0.3.2",
"use-immer": "^0.4.1" "use-immer": "^0.4.1"
} }
} }