chore: update deps

This commit is contained in:
Anthony Fu 2022-05-01 11:51:35 +08:00
parent 0118cbeb77
commit 42abb64551
3 changed files with 417 additions and 382 deletions

View File

@ -13,13 +13,9 @@ jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- name: Install pnpm - uses: actions/setup-node@v3
uses: pnpm/action-setup@v2.2.1
- name: Set node
uses: actions/setup-node@v2
with: with:
node-version: 16.x node-version: 16.x
cache: pnpm cache: pnpm
@ -33,13 +29,9 @@ jobs:
typecheck: typecheck:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- name: Install pnpm - uses: actions/setup-node@v3
uses: pnpm/action-setup@v2.2.1
- name: Set node
uses: actions/setup-node@v2
with: with:
node-version: 16.x node-version: 16.x
cache: pnpm cache: pnpm
@ -60,37 +52,32 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Install pnpm - name: pnpm/action-setup@v2
uses: pnpm/action-setup@v2.2.1
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ registry-url: https://registry.npmjs.org/
cache: pnpm cache: pnpm
- run: pnpm install - run: pnpm install
- run: pnpm run test:unit
- name: Unit Test
run: pnpm run test:unit
test-e2e: test-e2e:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/cache@v2 - uses: actions/cache@v3
with: with:
path: | path: |
~/.cache ~/.cache
key: cypress-cache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} key: cypress-cache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install pnpm - uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v2.2.1
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ registry-url: https://registry.npmjs.org/

View File

@ -1,6 +1,6 @@
{ {
"private": true, "private": true,
"packageManager": "pnpm@6.32.3", "packageManager": "pnpm@7.0.0",
"scripts": { "scripts": {
"build": "vite-ssg build", "build": "vite-ssg build",
"dev": "vite --port 3333 --open", "dev": "vite --port 3333 --open",
@ -13,7 +13,7 @@
"typecheck": "vue-tsc --noEmit" "typecheck": "vue-tsc --noEmit"
}, },
"dependencies": { "dependencies": {
"@vueuse/core": "^8.3.0", "@vueuse/core": "^8.3.1",
"@vueuse/head": "^0.7.6", "@vueuse/head": "^0.7.6",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pinia": "^2.0.13", "pinia": "^2.0.13",
@ -24,7 +24,7 @@
"vue-router": "^4.0.14" "vue-router": "^4.0.14"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^0.20.6", "@antfu/eslint-config": "^0.22.0",
"@iconify-json/carbon": "^1.1.3", "@iconify-json/carbon": "^1.1.3",
"@intlify/vite-plugin-vue-i18n": "^4.0.0", "@intlify/vite-plugin-vue-i18n": "^4.0.0",
"@types/markdown-it-link-attributes": "^3.0.1", "@types/markdown-it-link-attributes": "^3.0.1",
@ -33,26 +33,26 @@
"@vue/test-utils": "^2.0.0-rc.21", "@vue/test-utils": "^2.0.0-rc.21",
"critters": "^0.0.16", "critters": "^0.0.16",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"cypress": "^9.5.4", "cypress": "^9.6.0",
"eslint": "^8.13.0", "eslint": "^8.14.0",
"eslint-plugin-cypress": "^2.12.1", "eslint-plugin-cypress": "^2.12.1",
"https-localhost": "^4.7.1", "https-localhost": "^4.7.1",
"markdown-it-link-attributes": "^4.0.0", "markdown-it-link-attributes": "^4.0.0",
"markdown-it-prism": "^2.2.4", "markdown-it-prism": "^2.2.4",
"pnpm": "^6.32.9", "pnpm": "^7.0.0",
"typescript": "^4.6.3", "typescript": "^4.6.4",
"unocss": "^0.31.12", "unocss": "^0.32.7",
"unplugin-auto-import": "^0.7.1", "unplugin-auto-import": "^0.7.1",
"unplugin-vue-components": "^0.19.3", "unplugin-vue-components": "^0.19.3",
"vite": "^2.9.5", "vite": "^2.9.6",
"vite-plugin-inspect": "^0.5.0", "vite-plugin-inspect": "^0.5.0",
"vite-plugin-md": "^0.12.4", "vite-plugin-md": "^0.13.0",
"vite-plugin-pages": "^0.23.0", "vite-plugin-pages": "^0.23.0",
"vite-plugin-pwa": "^0.12.0", "vite-plugin-pwa": "^0.12.0",
"vite-plugin-vue-layouts": "^0.6.0", "vite-plugin-vue-layouts": "^0.6.0",
"vite-ssg": "^0.19.2", "vite-ssg": "^0.19.2",
"vite-ssg-sitemap": "^0.2.4", "vite-ssg-sitemap": "^0.2.5",
"vitest": "^0.9.3", "vitest": "^0.10.0",
"vue-tsc": "^0.34.8" "vue-tsc": "^0.34.11"
} }
} }

File diff suppressed because it is too large Load Diff