Skip to content

Commit 53641e2

Browse files
committed
chore(all): update to pnpm
1 parent 780af69 commit 53641e2

Some content is hidden

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

54 files changed

+12767
-24481
lines changed

.github/workflows/ci.docusaurus-plugin-typedoc.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,27 @@ jobs:
2525
name: Node ${{ matrix.node }}
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
29+
30+
- name: Install pnpm
31+
uses: pnpm/action-setup@v2
32+
with:
33+
version: 10
34+
2935
- name: Set up Node
30-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3137
with:
3238
node-version: ${{ matrix.node }}
33-
cache: 'npm'
34-
- name: Install
35-
run: HUSKY=0 npm ci
39+
cache: 'pnpm'
40+
41+
- name: Install dependencies
42+
run: HUSKY=0 pnpm install
43+
3644
- name: Lint
37-
run: npm run lint --workspace docusaurus-plugin-typedoc
45+
run: pnpm --filter docusaurus-plugin-typedoc run lint
46+
3847
- name: Build
39-
run: npm run build --workspace typedoc-plugin-markdown --workspace typedoc-docusaurus-theme --workspace docusaurus-plugin-typedoc
48+
run: pnpm --filter docusaurus-plugin-typedoc run build
49+
4050
- name: Test
41-
run: npm run test --workspace docusaurus-plugin-typedoc
51+
run: pnpm --filter docusaurus-plugin-typedoc run test

.github/workflows/ci.typedoc-docusaurus-theme.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,27 @@ jobs:
2525
name: Node ${{ matrix.node }}
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
29+
30+
- name: Install pnpm
31+
uses: pnpm/action-setup@v2
32+
with:
33+
version: 10
34+
2935
- name: Set up Node
30-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3137
with:
3238
node-version: ${{ matrix.node }}
33-
cache: 'npm'
34-
- name: Install
35-
run: HUSKY=0 npm ci
39+
cache: 'pnpm'
40+
41+
- name: Install dependencies
42+
run: HUSKY=0 pnpm install
43+
3644
- name: Lint
37-
run: npm run lint --workspace typedoc-docusaurus-theme
45+
run: pnpm --filter typedoc-docusaurus-theme run lint
46+
3847
- name: Build
39-
run: npm run build --workspace typedoc-plugin-markdown --workspace typedoc-docusaurus-theme
48+
run: pnpm --filter typedoc-docusaurus-theme run build
49+
4050
- name: Test
41-
run: npm run test --workspace typedoc-docusaurus-theme
51+
run: pnpm --filter typedoc-docusaurus-theme run test

.github/workflows/ci.typedoc-github-wiki-theme.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,27 @@ jobs:
2525
name: Node ${{ matrix.node }}
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
29+
30+
- name: Install pnpm
31+
uses: pnpm/action-setup@v2
32+
with:
33+
version: 10
34+
2935
- name: Set up Node
30-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3137
with:
3238
node-version: ${{ matrix.node }}
33-
cache: 'npm'
34-
- name: Install
35-
run: HUSKY=0 npm ci
39+
cache: 'pnpm'
40+
41+
- name: Install dependencies
42+
run: HUSKY=0 pnpm install
43+
3644
- name: Lint
37-
run: npm run lint --workspace typedoc-github-wiki-theme
45+
run: pnpm --filter typedoc-github-wiki-theme run lint
46+
3847
- name: Build
39-
run: npm run build --workspace typedoc-plugin-markdown --workspace typedoc-github-wiki-theme
48+
run: pnpm --filter typedoc-github-wiki-theme run build
49+
4050
- name: Test
41-
run: npm run test --workspace typedoc-github-wiki-theme
51+
run: pnpm --filter typedoc-github-wiki-theme run test

.github/workflows/ci.typedoc-gitlab-wiki-theme.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,27 @@ jobs:
2525
name: Node ${{ matrix.node }}
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
29+
30+
- name: Install pnpm
31+
uses: pnpm/action-setup@v2
32+
with:
33+
version: 10
34+
2935
- name: Set up Node
30-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3137
with:
3238
node-version: ${{ matrix.node }}
33-
cache: 'npm'
34-
- name: Install
35-
run: HUSKY=0 npm ci
39+
cache: 'pnpm'
40+
41+
- name: Install dependencies
42+
run: HUSKY=0 pnpm install
43+
3644
- name: Lint
37-
run: npm run lint --workspace typedoc-github-wiki-theme
45+
run: pnpm --filter typedoc-gitlab-wiki-theme run lint
46+
3847
- name: Build
39-
run: npm run build --workspace typedoc-plugin-markdown --workspace typedoc-github-wiki-theme
48+
run: pnpm --filter typedoc-gitlab-wiki-theme run build
49+
4050
- name: Test
41-
run: npm run test --workspace typedoc-github-wiki-theme
51+
run: pnpm --filter typedoc-gitlab-wiki-theme run test

.github/workflows/ci.typedoc-plugin-frontmatter.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,27 @@ jobs:
2525
name: Node ${{ matrix.node }}
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
29+
30+
- name: Install pnpm
31+
uses: pnpm/action-setup@v2
32+
with:
33+
version: 10
34+
2935
- name: Set up Node
30-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3137
with:
3238
node-version: ${{ matrix.node }}
33-
cache: 'npm'
34-
- name: Install
35-
run: HUSKY=0 npm ci
39+
cache: 'pnpm'
40+
41+
- name: Install dependencies
42+
run: HUSKY=0 pnpm install
43+
3644
- name: Lint
37-
run: npm run lint --workspace typedoc-plugin-frontmatter
45+
run: pnpm --filter typedoc-plugin-frontmatter run lint
46+
3847
- name: Build
39-
run: npm run build --workspace typedoc-plugin-markdown --workspace typedoc-plugin-frontmatter
48+
run: pnpm --filter typedoc-plugin-frontmatter run build
49+
4050
- name: Test
41-
run: npm run test --workspace typedoc-plugin-frontmatter
51+
run: pnpm --filter typedoc-plugin-frontmatter run test

.github/workflows/ci.typedoc-plugin-remark.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,27 @@ jobs:
2525
name: Node ${{ matrix.node }}
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
29+
30+
- name: Install pnpm
31+
uses: pnpm/action-setup@v2
32+
with:
33+
version: 10
34+
2935
- name: Set up Node
30-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3137
with:
3238
node-version: ${{ matrix.node }}
33-
cache: 'npm'
34-
- name: Install
35-
run: HUSKY=0 npm ci
39+
cache: 'pnpm'
40+
41+
- name: Install dependencies
42+
run: HUSKY=0 pnpm install
43+
3644
- name: Lint
37-
run: npm run lint --workspace typedoc-plugin-remark
45+
run: pnpm --filter typedoc-plugin-remark run lint
46+
3847
- name: Build
39-
run: npm run build --workspace typedoc-plugin-markdown --workspace typedoc-plugin-remark
48+
run: pnpm --filter typedoc-plugin-remark run build
49+
4050
- name: Test
41-
run: npm run test --workspace typedoc-plugin-remark
51+
run: pnpm --filter typedoc-plugin-remark run test

.github/workflows/ci.typedoc-vitepress-theme.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,27 @@ jobs:
2525
name: Node ${{ matrix.node }}
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
29+
30+
- name: Install pnpm
31+
uses: pnpm/action-setup@v2
32+
with:
33+
version: 10
34+
2935
- name: Set up Node
30-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3137
with:
3238
node-version: ${{ matrix.node }}
33-
cache: 'npm'
34-
- name: Install
35-
run: HUSKY=0 npm ci
39+
cache: 'pnpm'
40+
41+
- name: Install dependencies
42+
run: HUSKY=0 pnpm install
43+
3644
- name: Lint
37-
run: npm run lint --workspace typedoc-vitepress-theme
45+
run: pnpm --filter typedoc-vitepress-theme run lint
46+
3847
- name: Build
39-
run: npm run build --workspace typedoc-plugin-markdown --workspace typedoc-vitepress-theme
48+
run: pnpm --filter typedoc-vitepress-theme run build
49+
4050
- name: Test
41-
run: npm run test --workspace typedoc-vitepress-theme
51+
run: pnpm --filter typedoc-vitepress-theme run test

.github/workflows/ci.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
- main
1212
- release
1313
- beta
14-
- remove-jest
1514
pull_request:
1615
paths:
1716
- 'packages/typedoc-plugin-markdown/**'
@@ -30,16 +29,26 @@ jobs:
3029
steps:
3130
- name: Checkout repository
3231
uses: actions/checkout@v4
32+
33+
- name: Install pnpm
34+
uses: pnpm/action-setup@v2
35+
with:
36+
version: 10
37+
3338
- name: Set up Node
3439
uses: actions/setup-node@v4
3540
with:
3641
node-version: ${{ matrix.node }}
37-
cache: 'npm'
38-
- name: Install
39-
run: HUSKY=0 npm ci
42+
cache: 'pnpm'
43+
44+
- name: Install dependencies
45+
run: HUSKY=0 pnpm install
46+
4047
- name: Lint
41-
run: npm run lint --workspace typedoc-plugin-markdown
48+
run: pnpm --filter typedoc-plugin-markdown run lint
49+
4250
- name: Build
43-
run: npm run build-all
51+
run: pnpm build-all
52+
4453
- name: Test
45-
run: npm run test-all
54+
run: pnpm test-all

0 commit comments

Comments
 (0)