Merge pull request #9 from Tencent/chore/nvmrc

chore/nvmrc
This commit is contained in:
ZhouZhen 2021-12-20 10:48:13 +08:00 committed by GitHub
commit 495e7f1fc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 5 additions and 21834 deletions

View File

@ -11,3 +11,4 @@ script/test/cypress
_site _site
temp* temp*
static/ static/
!.prettierrc.js

View File

@ -12,7 +12,6 @@ jobs:
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '16' node-version: '16'
cache: 'npm'
- run: npm install - run: npm install
shell: bash shell: bash
- run: npm run lint - run: npm run lint

View File

@ -7,10 +7,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'npm'
- run: npm install - run: npm install
shell: bash shell: bash
- run: echo '${{ github.ref }} ... ${{ github.sha }}' - run: echo '${{ github.ref }} ... ${{ github.sha }}'

2
.gitignore vendored
View File

@ -18,3 +18,5 @@ yarn-error.log
*.zip *.zip
.history .history
.stylelintcache .stylelintcache
yarn.lock
package-lock.lock

1
.nvmrc
View File

@ -1 +0,0 @@
v16.13.1

View File

@ -1,5 +1,5 @@
module.exports = { module.exports = {
// 一行最多 120 字符 // 一行最多 120 字符..
printWidth: 120, printWidth: 120,
// 使用 2 个空格缩进 // 使用 2 个空格缩进
tabWidth: 2, tabWidth: 2,

16438
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -42,7 +42,7 @@
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2", "eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.2.0", "eslint-plugin-vue": "^7.16.0",
"http-proxy-agent": "^5.0.0", "http-proxy-agent": "^5.0.0",
"husky": "^7.0.4", "husky": "^7.0.4",
"less": "^4.1.1", "less": "^4.1.1",

5388
yarn.lock

File diff suppressed because it is too large Load Diff