create-vitrify 0.7.4 → 0.7.5

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
@@ -40,6 +40,7 @@ export const templates = {
40
40
  '@typescript-eslint/eslint-plugin',
41
41
  '@typescript-eslint/parser',
42
42
  '@types/node',
43
+ '@vitejs/plugin-basic-ssl',
43
44
  '@vitejs/plugin-vue',
44
45
  '@vue/reactivity',
45
46
  '@vue/runtime-core',
@@ -124,6 +125,7 @@ export const templates = {
124
125
  '@typescript-eslint/eslint-plugin',
125
126
  '@typescript-eslint/parser',
126
127
  '@types/node',
128
+ '@vitejs/plugin-basic-ssl',
127
129
  '@vitejs/plugin-vue',
128
130
  '@vue/reactivity',
129
131
  '@vue/runtime-core',
@@ -213,6 +215,7 @@ export const templates = {
213
215
  '@typescript-eslint/eslint-plugin',
214
216
  '@typescript-eslint/parser',
215
217
  '@types/node',
218
+ '@vitejs/plugin-basic-ssl',
216
219
  '@vitejs/plugin-vue',
217
220
  '@vue/reactivity',
218
221
  '@vue/runtime-core',
@@ -292,6 +295,7 @@ export const templates = {
292
295
  '@typescript-eslint/eslint-plugin',
293
296
  '@typescript-eslint/parser',
294
297
  '@types/node',
298
+ '@vitejs/plugin-basic-ssl',
295
299
  'devcert',
296
300
  'eslint',
297
301
  'eslint-config-prettier',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vitrify",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "license": "MIT",
5
5
  "author": "Stefan van Herwijnen",
6
6
  "type": "module",
@@ -22,17 +22,17 @@
22
22
  "homepage": "https://github.com/simsustech/vitrify/tree/main/packages/create-vitrify#readme",
23
23
  "dependencies": {
24
24
  "handlebars": "^4.7.8",
25
- "@inquirer/prompts": "^7.6.0",
25
+ "@inquirer/prompts": "^8.0.1",
26
26
  "latest-version": "^9.0.0",
27
27
  "minimist": "^1.2.8",
28
- "@vitrify/tools": "0.4.3"
28
+ "@vitrify/tools": "0.4.4"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/minimist": "^1.2.5",
32
- "@types/node": "^24.0.10",
33
- "typescript": "^5.8.3",
34
- "vite": "^7.0.2",
35
- "vue": "^3.5.17"
32
+ "@types/node": "^24.10.1",
33
+ "typescript": "^5.9.3",
34
+ "vite": "^7.2.4",
35
+ "vue": "^3.5.25"
36
36
  },
37
37
  "files": [
38
38
  "dist",
@@ -1,5 +1,5 @@
1
1
  import type { VitrifyConfig } from 'vitrify'
2
- import { certificateFor } from 'devcert'
2
+ import { getCertificate } from '@vitejs/plugin-basic-ssl'
3
3
 
4
4
  export default async function ({ mode, command }): Promise<VitrifyConfig> {
5
5
  const config: VitrifyConfig = {
@@ -13,8 +13,16 @@ export default async function ({ mode, command }): Promise<VitrifyConfig> {
13
13
  }
14
14
  }
15
15
  if (mode === 'development') {
16
+ const certificate = await getCertificate(
17
+ 'node_modules/.vite/basic-ssl',
18
+ '',
19
+ ['vitrify.test']
20
+ )
16
21
  config.server = {
17
- https: await certificateFor('vitrify.test')
22
+ https: {
23
+ cert: certificate,
24
+ key: certificate
25
+ }
18
26
  }
19
27
  }
20
28
  return config
@@ -1,5 +1,5 @@
1
1
  import type { VitrifyConfig } from 'vitrify'
2
- import { certificateFor } from 'devcert'
2
+ import { getCertificate } from '@vitejs/plugin-basic-ssl'
3
3
  import { QuasarPlugin, type QuasarPluginOptions } from 'vitrify/plugins'
4
4
 
5
5
  const quasarConf: QuasarPluginOptions = {
@@ -40,8 +40,16 @@ export default async function ({ mode, command }): Promise<VitrifyConfig> {
40
40
  }
41
41
  }
42
42
  if (mode === 'development') {
43
+ const certificate = await getCertificate(
44
+ 'node_modules/.vite/basic-ssl',
45
+ '',
46
+ ['vitrify.test']
47
+ )
43
48
  config.server = {
44
- https: await certificateFor('vitrify.test')
49
+ https: {
50
+ cert: certificate,
51
+ key: certificate
52
+ }
45
53
  }
46
54
  }
47
55
  return config
@@ -1,6 +1,6 @@
1
1
  import type { VitrifyConfig } from 'vitrify'
2
2
  import { QuasarPlugin, type QuasarPluginOptions } from 'vitrify/plugins'
3
- import { certificateFor } from 'devcert'
3
+ import { getCertificate } from '@vitejs/plugin-basic-ssl'
4
4
  import QuasarComponentsPlugin from '@simsustech/quasar-components/vite-plugin'
5
5
  import { QuasarPreset } from 'unocss-preset-quasar'
6
6
  import { MaterialDesign3 } from 'unocss-preset-quasar/styles'
@@ -196,8 +196,16 @@ export default async function ({ mode, command }): Promise<VitrifyConfig> {
196
196
  }
197
197
  }
198
198
  if (mode === 'development') {
199
+ const certificate = await getCertificate(
200
+ 'node_modules/.vite/basic-ssl',
201
+ '',
202
+ ['vitrify.test']
203
+ )
199
204
  config.server = {
200
- https: await certificateFor('vitrify.local')
205
+ https: {
206
+ cert: certificate,
207
+ key: certificate
208
+ }
201
209
  }
202
210
  }
203
211
  return config
@@ -1,13 +1,21 @@
1
1
  import type { VitrifyConfig } from 'vitrify'
2
- import { certificateFor } from 'devcert'
2
+ import { getCertificate } from '@vitejs/plugin-basic-ssl'
3
3
 
4
4
  export default async function ({ mode, command }): Promise<VitrifyConfig> {
5
5
  const config: VitrifyConfig = {
6
6
  vitrify: {}
7
7
  }
8
8
  if (mode === 'development') {
9
+ const certificate = await getCertificate(
10
+ 'node_modules/.vite/basic-ssl',
11
+ '',
12
+ ['vitrify.test']
13
+ )
9
14
  config.server = {
10
- https: await certificateFor('vitrify.test')
15
+ https: {
16
+ cert: certificate,
17
+ key: certificate
18
+ }
11
19
  }
12
20
  }
13
21
  return config