Skip to content
This repository was archived by the owner on May 25, 2024. It is now read-only.

Commit c64ea08

Browse files
committed
migrate to pnpm workspace
1 parent 942239c commit c64ea08

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+6289
-8075
lines changed

Diff for: .github/workflows/check.yaml

+18-12
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,32 @@ name: check
33
on:
44
push:
55
branches:
6-
- main
6+
- vuefes-2024
77
pull_request:
88
branches:
9-
- main
9+
- vuefes-2024
1010

1111
env:
1212
NODE_VERSION: 20.x
1313

1414
jobs:
1515
lint:
1616
runs-on: ubuntu-latest
17+
1718
steps:
18-
- uses: actions/checkout@v2
19-
- uses: actions/setup-node@v2
19+
- uses: actions/checkout@v3
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v2
22+
- name: Set node
23+
uses: actions/setup-node@v3
2024
with:
21-
node-version: ${{ env.NODE_VERSION }}
22-
cache: npm
23-
- name: Restore Packages
24-
run: npm ci
25-
- name: Run lint
26-
run: npm run lint
27-
- name: Run textlint
28-
run: npm run textlint:docs
25+
node-version: 20.x
26+
cache: pnpm
27+
- name: Setup
28+
run: npm i -g @antfu/ni
29+
- name: Install
30+
run: nci
31+
- name: app/lint
32+
run: nr app lint
33+
- name: docs/lint
34+
run: nr docs lint:text

Diff for: .vscode/settings.json

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"handson",
7777
"textlint",
7878
"vitepress",
79+
"vuefes",
7980
"vuejs"
8081
]
8182
}

Diff for: docs/package.json

-16
This file was deleted.

0 commit comments

Comments
 (0)