-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat(build): switch to vite 3 and support clean urls #856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
125 commits
Select commit
Hold shift + click to select a range
75dcaa2
chore: update deps
brc-dd c90baae
feat: support esm ssr build (#707)
brc-dd 7573246
fix: update DefaultTheme import
brc-dd 5dbca1f
chore: make errors reproducible
brc-dd 3dcb64c
chore: don't remove temp dir
brc-dd bedd7af
feat: use ESM in SSR
brc-dd 57d782c
fix: ESM SSR (#855)
sapphi-red 53a24ad
chore: simplify vue/server-renderer import
brc-dd dc0e1b3
chore: update deps
brc-dd dddcf15
fix: remove temp dir unless DEBUG is set
brc-dd 7557701
refactor: simplify loadPageModule type
brc-dd 288dfa4
fix: #412
brc-dd 0227e0e
chore: update ports
brc-dd 7787bbe
fix: show localhost instead of 127.0.0.1 in dev
brc-dd 7ad269d
Merge pull request #859 from vuejs/main
brc-dd 8d101ec
feat: allow specifying a setup function in Theme
brc-dd 2a59b7e
docs: add information about setup in theme
brc-dd 3ab7fe3
chore: update deps
brc-dd 20450ee
Merge branch 'main' into chore/vite-3
brc-dd a2b0df0
Merge branch 'main' into chore/vite-3
brc-dd 8d09a8c
chore: update deps
brc-dd d3fbbb9
chore: update deps
brc-dd fb0bac8
chore: update pnpm
brc-dd 1e82501
chore(ci): update versions
brc-dd 4c17cc7
Merge branch 'main' into chore/vite-3
brc-dd 95b9a28
chore: update pnpm
brc-dd 36a87b6
chore(ci): remove explicit version from pnpm/action-setup
brc-dd f5b54d8
Merge branch 'main' into chore/vite-3
brc-dd ee4c9f1
chore: update deps
brc-dd 6adf9b4
docs: update docs/guide/getting-started.md
brc-dd 1d097ce
chore: update docsearch
brc-dd 057ae5e
chore: simplify
brc-dd 50bb7ba
chore: format
brc-dd 6155238
fix: type errors in sponsor components
brc-dd 88a3982
Merge branch 'main' into chore/vite-3
brc-dd 3702e04
Merge branch 'main' into chore/vite-3
brc-dd b7b662a
Merge branch 'main' into chore/vite-3
brc-dd b387aff
Merge branch 'main' into chore/vite-3
brc-dd a647bec
chore: lint
brc-dd fdb42cf
Merge branch 'main' into chore/vite-3
brc-dd 4e4dd55
refactor: remove type casts
brc-dd fff3af8
Merge branch 'main' into chore/vite-3
brc-dd ba9aa72
fix(types): use `ComponentOptions` as a type
brc-dd 952de91
refactor: remove @theme aliases
brc-dd 37b89c0
Merge branch 'main' into chore/vite-3
brc-dd d6a9968
fix: don't customise asset file names
brc-dd c4c141e
Merge branch 'main' into chore/vite-3
brc-dd e9788e7
fix: wrong tsconfig path
brc-dd 2a0ccc2
chore: update vite
brc-dd 56229e4
feat/clean-urls (#929)
brc-dd d83e640
fix: merge conflicts in lockfile
brc-dd 57e9603
feat: add frontmatter to markdown-it env
brc-dd 5d337ca
Merge branch 'main' into chore/vite-3
brc-dd 4e5d2c4
Merge branch 'main' into chore/vite-3
brc-dd 11bfd20
chore: update deps
brc-dd c7bedfa
Merge branch 'main' into chore/vite-3
brc-dd 18997b1
chore: update deps
brc-dd afeb388
Merge branch 'main' into chore/vite-3
brc-dd 88ceca1
Merge branch 'main' into chore/vite-3
brc-dd a8f0083
fix: exclude vitepress from dep optimization
brc-dd fbff315
chore: update deps
brc-dd 88fe9a0
Merge branch 'main' into chore/vite-3
brc-dd 4048b70
Merge branch 'main' into chore/vite-3
brc-dd 506bd13
Merge branch 'main' into chore/vite-3
brc-dd f73f766
chore: update deps
brc-dd 466a113
Merge branch 'main' into chore/vite-3
brc-dd 773e2e5
Merge branch 'main' into chore/vite-3
brc-dd 40730f1
chore: update pnpm
brc-dd a2c9395
Update src/node/build/bundle.ts
brc-dd 608bc71
Update src/client/theme-default/components/VPAlgoliaSearchBox.vue
brc-dd 0e522e7
Merge branch 'main' into chore/vite-3
brc-dd 5c2854f
revert: 952de911a6d8c1165d015aeb55ae53a75c1baa7a
brc-dd 66be1de
feat: support using config.cjs/cts (#1000)
CHOYSEN 0297b00
Merge branch 'main' into chore/vite-3
brc-dd 085e09e
chore: update deps
brc-dd 2ebeaf6
chore: update vite
brc-dd 6039f23
Merge branch 'main' into chore/vite-3
brc-dd 2172aac
Merge branch 'main' into chore/vite-3
brc-dd c9b330b
Merge branch 'main' into chore/vite-3
brc-dd e4ce593
Merge branch 'main' into chore/vite-3
brc-dd 9300f6b
fix build
brc-dd 0f5a8ec
chore: update deps
brc-dd 38c281a
refactor: remove ts comment
brc-dd 32db63f
Merge branch 'main' into chore/vite-3
brc-dd 73ef948
chore: update deps
brc-dd 96b4af8
Update docs/guide/getting-started.md
brc-dd 1c7b4ae
Update src/client/theme-default/components/VPAlgoliaSearchBox.vue
brc-dd 7d8e5e0
Merge branch 'main' into chore/vite-3
brc-dd b12a730
Merge branch 'main' into chore/vite-3
brc-dd 9a7d30d
Merge branch 'main' into chore/vite-3
brc-dd 1a73349
chore: update deps
brc-dd 6053d83
chore: update engines
brc-dd e925283
chore: update deps
brc-dd 771ca62
merge
brc-dd b9b1d30
Merge branch 'main' into chore/vite-3
brc-dd 0e8a096
Merge branch 'main' into chore/vite-3
brc-dd c92c217
Merge branch 'main' into chore/vite-3
brc-dd 3a19be7
Merge branch 'main' into chore/vite-3
brc-dd e3fdf4b
chore: update deps
brc-dd a63346b
Merge branch 'main' into chore/vite-3
brc-dd f105a2d
chore: update deps
brc-dd 49e74b8
refactor: migrate to nodenext moduleResolution (#1136)
JounQin 53c7484
chore: cleanup
brc-dd bbbda30
fix: failing builds on custom theme
brc-dd 3b6f7aa
fix: make sitedata readonly on dev
brc-dd ba4f724
Merge branch 'main' into chore/vite-3
brc-dd eab8b87
refactor: switch to `cache.clear` from `reset`
brc-dd afa3aa8
chore: remove engines field
brc-dd 58174fe
Merge branch 'main' into chore/vite-3
brc-dd ef227d1
fix: remove vitepress/ to vitepress/dist/ alias
brc-dd 25ef797
Merge branch 'main' into chore/vite-3
brc-dd 6504c41
chore: update deps
brc-dd ef548a9
chore: revert vue-tsc to old version
brc-dd 0469ac6
chore: update deps
brc-dd 8499005
revert: fix broken dev and eval warnings
brc-dd dfa2ae1
Merge branch 'main' into chore/vite-3
brc-dd 1bd1894
Merge branch 'main' into chore/vite-3
brc-dd 8636218
chore: restore vuePath alias
brc-dd ea12c3f
Merge branch 'main' into chore/vite-3
brc-dd d874c20
chore: update deps
brc-dd e0c04f9
chore: fix type
yyx990803 3b2d90a
fix: fix build for vite 3 + "type": "module"
yyx990803 0a501da
chore: ignore vue/server-renderer type for now
yyx990803 7e919f9
chore: more type fix
yyx990803 38f987b
Merge branch 'main' into chore/vite-3
brc-dd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,17 +16,17 @@ on: | |
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [14, 16] | ||
node-version: [14, 16, 18] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 7.0.1 | ||
uses: pnpm/action-setup@v2 | ||
|
||
- name: Set node version to ${{ matrix.node_version }} | ||
uses: actions/setup-node@v3 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,5 @@ dist | |
node_modules | ||
pnpm-global | ||
TODOs.md | ||
.temp | ||
*.tgz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/docs | ||
*.md | ||
*.vue | ||
dist | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{ | ||
"private": true, | ||
"name": "vitepress-docs" | ||
"devDependencies": { | ||
"vitepress": "workspace:*" | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.