Skip to content

Commit 54b6d06

Browse files
committed
chore(all): fix npm
1 parent f98c0b6 commit 54b6d06

18 files changed

+7779
-12665
lines changed

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.github/workflows/ci.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,16 @@ jobs:
2929
steps:
3030
- name: Checkout repository
3131
uses: actions/checkout@v4
32-
33-
- name: Install pnpm
34-
uses: pnpm/action-setup@v2
35-
with:
36-
version: 10
37-
3832
- name: Set up Node
3933
uses: actions/setup-node@v4
4034
with:
4135
node-version: ${{ matrix.node }}
42-
cache: 'pnpm'
43-
44-
- name: Install dependencies
45-
run: HUSKY=0 pnpm install
46-
36+
cache: 'npm'
37+
- name: Install
38+
run: HUSKY=0 npm ci
4739
- name: Lint
48-
run: pnpm --filter typedoc-plugin-markdown run lint
49-
40+
run: npm run lint --workspace typedoc-plugin-markdown
5041
- name: Build
51-
run: pnpm build-all
52-
42+
run: npm run build-all
5343
- name: Test
54-
run: pnpm test-all
44+
run: npm run test-all

.github/workflows/release.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,20 @@ jobs:
88
release:
99
name: Release
1010
runs-on: ubuntu-latest
11-
strategy:
12-
fail-fast: false
13-
matrix:
14-
node: ['20']
1511
steps:
1612
- name: Checkout Repo
17-
uses: actions/checkout@v4
18-
19-
- name: Install pnpm
20-
uses: pnpm/action-setup@v2
13+
uses: actions/checkout@v3
14+
- name: Setup Node.js 20.x
15+
uses: actions/setup-node@v3
2116
with:
22-
version: 10
23-
24-
- name: Set up Node
25-
uses: actions/setup-node@v4
26-
with:
27-
node-version: ${{ matrix.node }}
28-
cache: 'pnpm'
29-
17+
node-version: 20.x
3018
- name: Install Dependencies
31-
run: pnpm install --frozen-lockfile
32-
19+
run: npm ci
3320
- name: Create Release Pull Request or Publish to npm
21+
id: changesets
3422
uses: changesets/action@v1
3523
with:
36-
commit: 'chore(release): update versions'
37-
title: 'chore(release): update versions'
38-
publish: pnpm release
24+
publish: npm run release
3925
env:
4026
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4127
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

docs/content/docs/options/display-options.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ This option specifies the output format for type declaration of variables and ty
289289

290290
<Callout emoji="💡">Configure page title output with placeholders.</Callout>
291291

292+
> Accepts a key/value object.
293+
292294
Configures the main page title (# heading) output using placeholders or functions.
293295

294296
Each value can be either:

0 commit comments

Comments
 (0)