-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore: migration to vite+ #5709
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: next
Are you sure you want to change the base?
Changes from 1 commit
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,2 @@ | ||
| @voidzero-dev:registry=https://npm.pkg.github.com/ | ||
| //npm.pkg.github.com/:_authToken=${VP_TOKEN} | ||
|
Comment on lines
+1
to
+2
|
||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,9 +25,9 @@ | |
| "description": "A core plugin framework based on @eggjs/koa", | ||
| "scripts": { | ||
| "build": "tsdown && rimraf dist *.tsbuildinfo && tsc -p tsconfig.build.json", | ||
| "lint": "oxlint", | ||
| "lint": "vite lint", | ||
| "typecheck": "tsc --noEmit", | ||
| "test": "vitest run", | ||
| "test": "vite test run", | ||
|
Comment on lines
+28
to
+30
|
||
| "prepublishOnly": "pnpm run build" | ||
| }, | ||
| "repository": { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -197,10 +197,10 @@ | |
| "typescript": "catalog:" | ||
| }, | ||
| "scripts": { | ||
| "lint": "oxlint", | ||
| "lint": "vite lint", | ||
| "typecheck": "tsc --noEmit", | ||
| "build": "tsdown && rimraf dist *.tsbuildinfo && tsc -p tsconfig.build.json && cp src/config/favicon.png dist/config/favicon.png", | ||
| "test": "vitest run", | ||
| "test": "vite test run", | ||
|
Comment on lines
+200
to
+203
|
||
| "prepublishOnly": "pnpm run build" | ||
| }, | ||
| "repository": { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,8 +26,8 @@ | |
| "scripts": { | ||
| "build": "tsdown && rimraf dist *.tsbuildinfo && tsc -p tsconfig.build.json", | ||
| "typecheck": "tsc --noEmit", | ||
| "lint": "oxlint --type-aware", | ||
| "test": "vitest run", | ||
| "lint": "vite lint --type-aware", | ||
| "test": "vite test run", | ||
|
Comment on lines
+29
to
+30
|
||
| "prepublishOnly": "pnpm run build" | ||
| }, | ||
| "repository": { | ||
|
|
||
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 VP_TOKEN environment variable is added for GitHub Packages authentication to access @voidzero-dev packages. Consider adding a comment or documentation in the workflow explaining what this token is for and how to set it up for contributors, as this is a new external dependency requirement.