Skip to content

Commit

Permalink
chore(docs): move .vitepress folder out of src folder and into root d…
Browse files Browse the repository at this point in the history
…ocs folder
  • Loading branch information
ShaggyTech committed May 7, 2023
1 parent 4993be9 commit 050c44c
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
pull_request:

env:
PATH_BUILD_DOCS: ./apps/docs/src/.vitepress/dist
PATH_BUILD_DOCS: ./apps/docs/.vitepress/dist
PATH_BUILD_LIB: ./packages/lib/dist
CACHE_PATHS_BUILD: |
./apps/docs/pages/.vitepress/dist
./apps/docs/.vitepress/dist
./packages/lib/dist
CACHE_KEY_BUILD: build-${{ github.sha }}
# To use Remote Caching, uncomment the next lines and follow the steps below.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ interface SiteMapLink {
const sitemapLinks: SiteMapLink[] = []

export default defineConfig({
srcDir: 'src',
base: VITEPRESS_BASE,
lang: 'en-US',
title: '@shaggytools/nhtsa-api-wrapper',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"main": "index.js",
"scripts": {
"preinstall": "npx only-allow pnpm",
"dev": "vitepress dev src --host",
"build": "vitepress build src",
"preview": "vitepress preview src",
"dev": "vitepress dev --host",
"build": "vitepress build",
"preview": "vitepress preview",
"lint": "eslint .",
"lint:fix": "eslint --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,md}\"",
"format:typedoc": "prettier --write \"src/typedoc/**/*.md\"",
"clean": "rimraf src/.vitepress/dist src/.vitepress/cache .turbo",
"clean": "rimraf .vitepress/dist .vitepress/cache .turbo",
"clean:all": "pnpm run clean && rimraf node_modules"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"extends": "tsconfig/vitepress.json",
"include": [
"src/**/*.ts",
"src/.vitepress/**/*.ts",
"src/**/*.d.ts"
"src/**/*.d.ts",
".vitepress/**/*.ts",
],
"exclude": [
"cache",
Expand Down

0 comments on commit 050c44c

Please sign in to comment.