create-vitrify 0.6.1 → 0.6.3

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
@@ -57,6 +57,7 @@ export const templates = {
57
57
  'fastify',
58
58
  'npm-run-all',
59
59
  'typescript',
60
+ 'unocss',
60
61
  'vite',
61
62
  'vitrify',
62
63
  'workbox-window'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vitrify",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
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.3.0",
24
+ "@vitrify/tools": "^0.3.1",
25
25
  "handlebars": "^4.7.8",
26
- "@inquirer/prompts": "^7.2.0",
26
+ "@inquirer/prompts": "^7.2.4",
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.2",
33
- "typescript": "^5.7.2",
34
- "vite": "^6.0.3",
32
+ "@types/node": "^22.13.0",
33
+ "typescript": "^5.7.3",
34
+ "vite": "^6.0.11",
35
35
  "vue": "^3.5.13"
36
36
  },
37
37
  "files": [
@@ -1,6 +1,21 @@
1
1
  import type { VitrifyConfig } from 'vitrify'
2
2
  import { certificateFor } from 'devcert'
3
- import { QuasarPreset } from 'vitrify'
3
+ import { QuasarPreset, type QuasarConf } from 'vitrify'
4
+
5
+ const quasarConf: QuasarConf = {
6
+ // extras: ['material-icons'],
7
+ framework: {
8
+ components: [
9
+ // Deprecated
10
+ ],
11
+ iconSet: 'svg-material-icons',
12
+ plugins: ['Dialog', 'Notify']
13
+ }
14
+ /*
15
+ * Disable SASS if you use UnoCSS
16
+ */
17
+ // disableSass: true
18
+ }
4
19
 
5
20
  export default async function ({ mode, command }): Promise<VitrifyConfig> {
6
21
  const config: VitrifyConfig = {
@@ -12,7 +27,11 @@ export default async function ({ mode, command }): Promise<VitrifyConfig> {
12
27
  * Experimental
13
28
  */
14
29
  // unocss: {
15
- // presets: [QuasarPreset()]
30
+ // presets: [
31
+ // QuasarPreset({
32
+ // plugins: quasarConf['framework']['plugins']
33
+ // })
34
+ // ]
16
35
  // },
17
36
  sass: {
18
37
  variables: {
@@ -23,20 +42,7 @@ export default async function ({ mode, command }): Promise<VitrifyConfig> {
23
42
  serverModules: []
24
43
  }
25
44
  },
26
- quasar: {
27
- // extras: ['material-icons'],
28
- framework: {
29
- components: [
30
- // Deprecated
31
- ],
32
- iconSet: 'svg-material-icons',
33
- plugins: ['Dialog', 'Notify']
34
- }
35
- /*
36
- * Disable SASS if you use UnoCSS
37
- */
38
- // disableSass: true
39
- }
45
+ quasar: quasarConf
40
46
  }
41
47
  if (mode === 'development') {
42
48
  config.server = {