chore: update deps
This commit is contained in:
parent
6e4ea17ee4
commit
22af2a1cae
49
.github/workflows/test.yml
vendored
Normal file
49
.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
name: Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
timeout-minutes: 10
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node_version: [14.x, 16.x]
|
||||
os: [ubuntu-latest, windows-latest] #, macos-latest]
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2.2.1
|
||||
|
||||
- name: Set node version to ${{ matrix.node_version }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node_version }}
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Install
|
||||
run: pnpm i
|
||||
|
||||
- name: Build
|
||||
run: pnpm run build
|
||||
|
||||
- name: Test
|
||||
run: pnpm run test
|
||||
|
||||
- name: Lint
|
||||
run: pnpm run lint
|
||||
|
||||
- name: TypeCheck
|
||||
run: pnpm run typecheck
|
||||
29
package.json
29
package.json
@ -1,33 +1,36 @@
|
||||
{
|
||||
"private": true,
|
||||
"packageManager": "pnpm@6.32.3",
|
||||
"scripts": {
|
||||
"dev": "vite --port 3333 --open",
|
||||
"build": "vite build",
|
||||
"dev": "vite --port 3333 --open",
|
||||
"lint": "eslint . --ext=.ts,.vue,.md,.json",
|
||||
"typecheck": "vue-tsc --noEmit",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint . --ext=.ts,.vue",
|
||||
"test": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vueuse/core": "^7.7.0",
|
||||
"@vueuse/core": "^7.7.1",
|
||||
"vue": "^3.2.31",
|
||||
"vue-router": "^4.0.12"
|
||||
"vue-router": "^4.0.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.16.1",
|
||||
"@antfu/eslint-config": "^0.18.3",
|
||||
"@iconify-json/carbon": "^1.1.1",
|
||||
"@types/node": "^17.0.21",
|
||||
"@unocss/reset": "^0.26.3",
|
||||
"@vitejs/plugin-vue": "^2.2.2",
|
||||
"@unocss/reset": "^0.27.4",
|
||||
"@vitejs/plugin-vue": "^2.2.4",
|
||||
"@vue/test-utils": "^2.0.0-rc.18",
|
||||
"eslint": "^8.10.0",
|
||||
"jsdom": "^19.0.0",
|
||||
"pnpm": "^6.32.1",
|
||||
"typescript": "^4.5.5",
|
||||
"unocss": "^0.26.3",
|
||||
"pnpm": "^6.32.3",
|
||||
"typescript": "^4.6.2",
|
||||
"unocss": "^0.27.4",
|
||||
"unplugin-auto-import": "^0.6.1",
|
||||
"unplugin-vue-components": "^0.17.21",
|
||||
"vite": "^2.8.4",
|
||||
"vite-plugin-pages": "^0.20.2",
|
||||
"vitest": "^0.5.7"
|
||||
"vite": "^2.8.6",
|
||||
"vite-plugin-pages": "^0.21.4",
|
||||
"vitest": "^0.6.0",
|
||||
"vue-tsc": "^0.32.1"
|
||||
}
|
||||
}
|
||||
|
||||
1055
pnpm-lock.yaml
generated
1055
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user