Skip to content

Commit

Permalink
feat: move .vitepress to root
Browse files Browse the repository at this point in the history
  • Loading branch information
lzear committed Nov 4, 2023
1 parent 0be89db commit fcee5ab
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/config.mts → .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
title,
image,
} from './meta'
import plugin from '../../index'
import plugin from '../index'

let links: { lastmod?: number; url: string }[] = []

Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/meta.ts → .vitepress/meta.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import packageJson from '../../package.json'
import packageJson from '../package.json'

export let { description, repository, homepage, keywords, version } =
packageJson
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added .vitepress/theme/tailwind.css
Empty file.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"release:publish": "clean-publish",
"release:version": "changelogen --output changelog.md --release --push",
"test:format": "prettier --check \"**/*.{js,ts,json,md,yml}\"",
"test:css": "stylelint \"docs/.vitepress/**/*.{css,vue}\"",
"test:css": "stylelint \\\".vitepress/**/*.{css,vue}\\\"",
"test:js": "eslint \"**/*.{js,ts}\"",
"test:types": "tsc --noEmit --pretty",
"test:unit": "vitest --run --coverage --single-thread --no-threads",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
},
"include": [
"**/*.ts",
"docs/.vitepress/**/*.ts",
"docs/.vitepress/config.mts"
".vitepress/**/*.ts",
".vitepress/config.mts"
],
"exclude": ["node_modules"]
}

0 comments on commit fcee5ab

Please sign in to comment.