Skip to content

Commit cf8a79a

Browse files
committed
chore(core): normalize directory name
1 parent 9bd53da commit cf8a79a

File tree

12 files changed

+9
-9
lines changed

12 files changed

+9
-9
lines changed

β€Žpackages/@vuepress/core/__tests__/plugin-api/normalizeClientFilesHook.spec.ts renamed to β€Žpackages/@vuepress/core/__tests__/pluginApi/normalizeClientFilesHook.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ const app = createApp({
88
})
99
const clientFile = path.resolve(
1010
__dirname,
11-
'../__fixtures__/client-files/clientAppSetup.ts'
11+
'../__fixtures__/clientFiles/clientAppSetup.ts'
1212
)
1313
const clientFileNonExistent = path.resolve(
1414
__dirname,
15-
'../__fixtures__/client-files/non-existent.ts'
15+
'../__fixtures__/clientFiles/non-existent.ts'
1616
)
1717
const clientFiles = [
18-
path.resolve(__dirname, '../__fixtures__/client-files/clientAppSetup.ts'),
19-
path.resolve(__dirname, '../__fixtures__/client-files/clientAppEnhance.ts'),
18+
path.resolve(__dirname, '../__fixtures__/clientFiles/clientAppSetup.ts'),
19+
path.resolve(__dirname, '../__fixtures__/clientFiles/clientAppEnhance.ts'),
2020
]
2121
const clientFilesNonExistent = [clientFile, clientFileNonExistent]
2222

β€Žpackages/@vuepress/core/src/types/app/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import type { SiteData } from '@vuepress/shared'
33
import type { BundlerDev, BundlerBuild } from '../bundler'
44
import type { Page } from '../page'
55
import type { Plugin, PluginOptions, PluginConfig } from '../plugin'
6-
import type { PluginApi } from '../plugin-api'
7-
import type { ThemeApi } from '../theme-api'
6+
import type { PluginApi } from '../pluginApi'
7+
import type { ThemeApi } from '../themeApi'
88
import type { AppOptions } from './options'
99
import type { AppDir, AppEnv, AppWriteTemp } from './utils'
1010

β€Žpackages/@vuepress/core/src/types/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ export * from './app'
3232
export * from './bundler'
3333
export * from './page'
3434
export * from './plugin'
35-
export * from './plugin-api'
35+
export * from './pluginApi'
3636
export * from './theme'
37-
export * from './theme-api'
37+
export * from './themeApi'

β€Žpackages/@vuepress/core/src/types/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { App } from './app'
2-
import type { HooksExposed } from './plugin-api'
2+
import type { HooksExposed } from './pluginApi'
33

44
/**
55
* Vuepress plugin

0 commit comments

Comments
Β (0)