-
Notifications
You must be signed in to change notification settings - Fork 0
chore: vp migrate beta test #26
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| import tsdownConfig from './tsdown.config.js' | ||
|
|
||
| import { defineConfig } from 'vite-plus' | ||
|
|
||
| export default defineConfig({ | ||
| pack: tsdownConfig, | ||
| }) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| declare module '*.vue' { | ||
| import type { DefineComponent } from 'vue' | ||
| const component: DefineComponent<{}, {}, unknown> | ||
| export default component | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -41,7 +41,8 @@ | |||||
| "start:playwright:webserver": "TEST=1 vp run preview --port 5678", | ||||||
| "storybook": "STORYBOOK=true storybook dev -p 6006", | ||||||
| "build-storybook": "STORYBOOK=true storybook build", | ||||||
| "chromatic": "chromatic" | ||||||
| "chromatic": "chromatic", | ||||||
| "prepare": "vp config" | ||||||
| }, | ||||||
| "dependencies": { | ||||||
| "@atcute/bluesky-richtext-segmenter": "3.0.0", | ||||||
|
|
@@ -110,7 +111,7 @@ | |||||
| "validate-npm-package-name": "8.0.0", | ||||||
| "virtua": "0.49.0", | ||||||
| "vite-plugin-pwa": "1.3.0", | ||||||
| "vite-plus": "0.1.20", | ||||||
| "vite-plus": "https://pkg.pr.new/voidzero-dev/vite-plus@670c987e4097d4e5d53bb4c0521c8bf643a33cf5", | ||||||
| "vue": "3.5.38", | ||||||
| "vue-data-ui": "3.21.5", | ||||||
| "vue-router": "5.0.4" | ||||||
|
|
@@ -128,7 +129,8 @@ | |||||
| "@types/sanitize-html": "2.16.1", | ||||||
| "@types/semver": "7.7.1", | ||||||
| "@types/validate-npm-package-name": "4.0.2", | ||||||
| "@vitest/coverage-v8": "4.1.6", | ||||||
| "@vitest/browser-playwright": "4.1.9", | ||||||
| "@vitest/coverage-v8": "4.1.9", | ||||||
| "@vue/test-utils": "2.4.6", | ||||||
| "axe-core": "4.11.2", | ||||||
| "changelogen": "0.6.2", | ||||||
|
|
@@ -142,12 +144,16 @@ | |||||
| "markdown-it-anchor": "9.2.0", | ||||||
| "msw": "catalog:msw", | ||||||
| "msw-storybook-addon": "catalog:storybook", | ||||||
| "playwright": "*", | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| "rolldown": "1.1.2", | ||||||
| "schema-dts": "2.0.0", | ||||||
| "storybook": "catalog:storybook", | ||||||
| "storybook-i18n": "catalog:storybook", | ||||||
| "typescript": "6.0.2", | ||||||
| "unplugin-vue-markdown": "30.0.0", | ||||||
| "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.20", | ||||||
| "vite": "catalog:", | ||||||
| "vite-plus": "catalog:", | ||||||
| "vitest": "catalog:", | ||||||
| "vue-i18n-extract": "2.0.7", | ||||||
| "vue-tsc": "3.2.6" | ||||||
| }, | ||||||
|
|
||||||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,9 +38,10 @@ overrides: | |
| '@types/node': 24.12.0 | ||
| nuxt-og-image: ^6.6.0 | ||
| sharp: 0.34.5 | ||
| vite: npm:@voidzero-dev/vite-plus-core@0.1.20 | ||
| vitest: npm:@voidzero-dev/vite-plus-test@0.1.20 | ||
| vite: 'catalog:' | ||
| vitest: 'catalog:' | ||
| vue-router: 5.0.4 | ||
| vite-plus: https://pkg.pr.new/voidzero-dev/vite-plus@670c987e4097d4e5d53bb4c0521c8bf643a33cf5 | ||
|
Comment on lines
43
to
+44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| packageExtensions: | ||
| '@nuxt/scripts': | ||
|
|
@@ -58,3 +59,15 @@ patchedDependencies: | |
| savePrefix: '' | ||
|
|
||
| shellEmulator: true | ||
| catalog: | ||
| vite: https://pkg.pr.new/voidzero-dev/vite-plus/@voidzero-dev/vite-plus-core@670c987e4097d4e5d53bb4c0521c8bf643a33cf5 | ||
| vitest: 4.1.9 | ||
| vite-plus: https://pkg.pr.new/voidzero-dev/vite-plus@670c987e4097d4e5d53bb4c0521c8bf643a33cf5 | ||
| blockExoticSubdeps: false | ||
| peerDependencyRules: | ||
| allowAny: | ||
| - vite | ||
| - vitest | ||
| allowedVersions: | ||
| vite: '*' | ||
| vitest: '*' | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The package
vite-plusis declared independencieswith a hardcoded URL, but it is also declared indevDependenciesusing"catalog:"(line 154). Having the same package in bothdependenciesanddevDependenciesis redundant and can cause package resolution issues.Since
vite-plusis a build-time tool, it should be removed fromdependenciesand managed solely viadevDependenciesusing the catalog.