create-vitrify 0.5.3 → 0.6.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/dist/templates.js CHANGED
@@ -46,7 +46,7 @@ export const templates = {
46
46
  '@vue/runtime-dom',
47
47
  '@vue/server-renderer',
48
48
  '@vue/shared',
49
- 'critters',
49
+ 'beasties',
50
50
  'eslint',
51
51
  'eslint-config-prettier',
52
52
  'eslint-plugin-prettier-vue',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vitrify",
3
- "version": "0.5.3",
3
+ "version": "0.6.0",
4
4
  "license": "MIT",
5
5
  "author": "Stefan van Herwijnen",
6
6
  "type": "module",
@@ -21,17 +21,17 @@
21
21
  },
22
22
  "homepage": "https://github.com/simsustech/vitrify/tree/main/packages/create-vitrify#readme",
23
23
  "dependencies": {
24
- "@vitrify/tools": "^0.2.3",
24
+ "@vitrify/tools": "^0.3.0",
25
25
  "handlebars": "^4.7.8",
26
- "@inquirer/prompts": "^7.1.0",
26
+ "@inquirer/prompts": "^7.2.0",
27
27
  "latest-version": "^9.0.0",
28
28
  "minimist": "^1.2.8"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/minimist": "^1.2.5",
32
- "@types/node": "^22.10.0",
32
+ "@types/node": "^22.10.2",
33
33
  "typescript": "^5.7.2",
34
- "vite": "^6.0.1",
34
+ "vite": "^6.0.3",
35
35
  "vue": "^3.5.13"
36
36
  },
37
37
  "files": [
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <link rel="icon" href="/favicon.ico" />
6
7
  <title></title>
7
8
  </head>
8
9
 
@@ -10,7 +10,8 @@ const routes: RouteRecordRaw[] = [
10
10
  // Always leave this as last one,
11
11
  // but you can also remove it
12
12
  {
13
- path: '/:catchAll(.*)*',
13
+ path: '/404',
14
+ alias: '/:catchAll(.*)*',
14
15
  component: () => import('src/pages/Error404Page.vue')
15
16
  }
16
17
  ]
@@ -7,6 +7,12 @@ export default async function ({ mode, command }): Promise<VitrifyConfig> {
7
7
  hooks: {
8
8
  onSetup: [new URL('src/setup.ts', import.meta.url)]
9
9
  },
10
+ /*
11
+ * Experimental
12
+ */
13
+ // unocss: {
14
+ // presets: [QuasarPreset()]
15
+ // },
10
16
  sass: {
11
17
  variables: {
12
18
  $primary: '#000000'
@@ -25,6 +31,10 @@ export default async function ({ mode, command }): Promise<VitrifyConfig> {
25
31
  iconSet: 'svg-material-icons',
26
32
  plugins: ['Dialog', 'Notify']
27
33
  }
34
+ /*
35
+ * Disable SASS if you use UnoCSS
36
+ */
37
+ // disableSass: true
28
38
  }
29
39
  }
30
40
  if (mode === 'development') {