Skip to content

Commit 739dade

Browse files
committed
chore: typo
1 parent ab92e6a commit 739dade

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

.vitepress/config/index.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,18 @@ export default defineConfig({
1616
srcDir: 'packages',
1717
outDir: 'dist',
1818
title: 'Web Analytics',
19-
description: 'Website pageviews analytics tools.',
19+
description: 'Website pageview analytics tools.',
2020
head,
2121
cleanUrls: true,
22+
rewrites: {
23+
'packages/:pkg/CHANGELOG.md': 'packages/:pkg/changelog.md',
24+
},
2225
locales: {
2326
root: {
2427
label: 'English',
2528
lang: 'en',
2629
title: 'Web Analytics',
27-
description: 'Website pageviews analytics tools.',
30+
description: 'Website pageview analytics tools.',
2831
themeConfig: {
2932
nav: nav.en,
3033
sidebar: sidebar.en,

.vitepress/config/sidebar.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ export const sidebar: Record<Locales, DefaultTheme.Sidebar> = {
2020
{ text: 'Change Log', link: '/core/changelog' },
2121
],
2222
},
23+
{
24+
text: 'Vue.js',
25+
items: [
26+
{ text: 'Usage Docs', link: '/vue/' },
27+
{ text: 'Change Log', link: '/vue/changelog' },
28+
],
29+
},
2330
],
2431

2532
/**

scripts/release.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ async function run() {
66

77
const publishArgs = [
88
`pnpm publish`,
9-
`-r ${name}`,
9+
`-F ${name}`,
1010
`--no-git-checks`,
1111
`--access public`,
1212
`${tag ? `--tag ${tag}` : ''}`,
1313
`--otp ${otp}`,
1414
]
1515

16-
const cmds = [
16+
const commands = [
1717
`pnpm mirror:rm`,
1818
`pnpm build ${name}`,
1919
publishArgs.join(' '),
2020
`pnpm mirror:set`,
2121
]
22-
const cmd = cmds.join(' && ')
22+
const cmd = commands.join(' && ')
2323
execSync(cmd)
2424
}
2525
run().catch((e) => {

0 commit comments

Comments
 (0)