-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upgrade to [email protected] without compile
- Loading branch information
Showing
15 changed files
with
460 additions
and
821 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -12,6 +12,7 @@ tags: | |
--- | ||
|
||
::: zh-CN | ||
|
||
[[toc]] | ||
|
||
标题是一级标题 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains 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 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,14 +1,9 @@ | ||
import { defineConfig } from 'vite' | ||
// import { VitePWA } from 'vite-plugin-pwa' | ||
|
||
const safelist = [ | ||
'i-ri-home-line', | ||
] | ||
import Inspect from 'vite-plugin-inspect' | ||
|
||
export default defineConfig({ | ||
valaxy: { | ||
unocss: { | ||
safelist, | ||
}, | ||
}, | ||
// https://github.com/antfu/vite-plugin-inspect | ||
// Visit http://localhost:3333/__inspect/ to see the inspector | ||
plugins: [Inspect()], | ||
}) |
This file contains 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 |
---|---|---|
|
@@ -3,11 +3,10 @@ | |
"packageManager": "[email protected]", | ||
"homepage": "https://valaxy.site", | ||
"scripts": { | ||
"prepublishOnly": "npm run build", | ||
"build": "npm -C theme run build", | ||
"build": "npm run build:demo", | ||
"build:demo": "npm -C demo run build", | ||
"ci:publish": "pnpm -r publish --access public --no-git-checks", | ||
"dev": "npm -C theme run dev", | ||
"dev": "npm run demo", | ||
"demo": "npm -C demo run dev", | ||
"lint": "eslint .", | ||
"release": "cd theme && git add -A && bumpp", | ||
|
@@ -16,10 +15,10 @@ | |
"devDependencies": { | ||
"@antfu/eslint-config": "^0.25.2", | ||
"bumpp": "^8.2.1", | ||
"eslint": "^8.19.0", | ||
"tsup": "^6.1.3", | ||
"eslint": "^8.20.0", | ||
"typescript": "^4.7.4", | ||
"valaxy": "latest", | ||
"valaxy-theme-starter": "workspace:*", | ||
"vue-tsc": "^0.38.5" | ||
"vue-tsc": "^0.38.9" | ||
} | ||
} |
Oops, something went wrong.