Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/vitepress-plugin-git-changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"import": "./dist/locales/index.mjs",
"require": "./dist/locales/index.cjs"
},
"./types": {
"types": "./dist/client/index.d.ts"
"./types/*": {
"types": "./dist/types/*"
},
"./vite": {
"types": "./dist/vite/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './changelog'
export * from './i18n'
2 changes: 2 additions & 0 deletions packages/vitepress-plugin-git-changelog/src/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ const components = {
NolebaseGitContributors,
}

export * from './composables'

export const NolebaseGitChangelogPlugin: Plugin<Options[]> = {
install(app, options?) {
if (typeof options !== 'undefined' && typeof options === 'object')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
declare module 'virtual:nolebase-git-changelog' {
import type { Changelog, Commit } from '../types'

export type { Commit }
import type { Changelog } from './types'

const changelog: Changelog
export default changelog
Expand Down
4 changes: 1 addition & 3 deletions packages/vitepress-plugin-git-changelog/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
]
},
"types": [
"vite/client",
"./src/client/virtual.d.ts",
"./yaml.d.ts"
"vite/client"
],
"strict": true,
"strictNullChecks": true,
Expand Down
Loading