Skip to content

Commit 441d388

Browse files
chore(deps): bump vite to ^8.1.4, keeping VitePress-dependent packages pinned to a compatible range (#398)
## Pull Request Checklist Please ensure that your PR meets the following requirements: - [x] I have read the [CONTRIBUTING](CONTRIBUTING.md) guide. - [ ] I have updated the documentation (if applicable). - [x] My code follows the style guidelines of this project. - [x] I have performed a self-review of my own code. - [ ] I have added tests that prove my fix is effective or that my feature works. - [x] New and existing unit tests pass locally with my changes. ## Description Bumps `vite` to `^8.1.4` across all manifests (devDependencies and pnpm/npm overrides) and regenerates the corresponding lockfiles: root, `examples/javascript-web`, `moss-live-labs/examples/image-search/react-app`, `packages/moss-md-indexer` (and its `example/`), and `packages/vitepress-plugin-moss` (and its `demo-site/`). Also adds `@vue/language-core` as an explicit devDependency in `packages/vitepress-plugin-moss` it's an optional peer of `unplugin-dts` (via `vite-plugin-dts`) that was previously pulled into the dependency graph transitively, but stopped being resolved after the vite bump, breaking the `.d.ts` build. Declaring it explicitly (pinned to `^3.2.7`, matching the existing `pnpm.overrides` entry) fixes it. Verified `vitepress-plugin-moss` builds and its test suite (45 tests) passes, `moss-md-indexer` builds, and `examples/javascript-web` builds under vite 8.1.4. Fixes #362 ## Type of Change - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update
1 parent 3f63229 commit 441d388

18 files changed

Lines changed: 3072 additions & 3052 deletions

File tree

examples/javascript-web/package-lock.json

Lines changed: 88 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/javascript-web/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"description": "Examples for the Moss Browser SDK (@moss-dev/moss-web) - in-browser semantic search powered by WASM",
55
"private": true,
66
"type": "module",
7+
"engines": {
8+
"node": "^20.19.0 || >=22.12.0"
9+
},
710
"scripts": {
811
"dev": "vite",
912
"build": "vite build",
@@ -18,6 +21,6 @@
1821
},
1922
"devDependencies": {
2023
"typescript": "^5.7.0",
21-
"vite": "^8.0.16"
24+
"vite": "^8.1.4"
2225
}
2326
}

moss-live-labs/examples/image-search/react-app/package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

moss-live-labs/examples/image-search/react-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"globals": "^16.0.0",
2929
"typescript": "~5.7.2",
3030
"typescript-eslint": "^8.26.1",
31-
"vite": "^8.1.3"
31+
"vite": "^8.1.4"
3232
}
3333
}

0 commit comments

Comments
 (0)