create-valaxy 0.9.1 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-valaxy",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "description": "Create Starter Template for Valaxy",
5
5
  "author": {
6
6
  "email": "me@yunyoujun.cn",
@@ -11,7 +11,7 @@
11
11
  "serve": "vite preview"
12
12
  },
13
13
  "dependencies": {
14
- "valaxy": "0.9.1",
15
- "valaxy-theme-yun": "0.9.1"
14
+ "valaxy": "0.10.0",
15
+ "valaxy-theme-yun": "0.10.0"
16
16
  }
17
17
  }
@@ -1,6 +1,11 @@
1
1
  import { defineConfig } from 'valaxy'
2
2
  import type { ThemeConfig } from 'valaxy-theme-yun'
3
3
 
4
+ // add icons what you will need
5
+ const safelist = [
6
+ 'i-ri-home-line',
7
+ ]
8
+
4
9
  /**
5
10
  * User Config
6
11
  */
@@ -152,4 +157,6 @@ export default defineConfig<ThemeConfig>({
152
157
  },
153
158
  },
154
159
  },
160
+
161
+ unocss: { safelist },
155
162
  })
@@ -1,14 +0,0 @@
1
- import { defineConfig } from 'vite'
2
-
3
- // add icons what you will need
4
- const safelist = [
5
- 'i-ri-home-line',
6
- ]
7
-
8
- export default defineConfig({
9
- valaxy: {
10
- unocss: {
11
- safelist,
12
- },
13
- },
14
- })