create-vitrify 0.8.1 → 0.8.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 +24 -47
- package/package.json +6 -6
- package/templates/{quasar/_prettierrc.json → fastify/_oxfmtrc.json} +1 -0
- package/templates/{fastify/_prettierrc.json → quasar/.oxfmtrc.json} +1 -0
- package/templates/quasar/.vscode/extensions.json +1 -1
- package/templates/quasarmd3/.vscode/extensions.json +1 -1
- package/templates/quasarmd3/{_prettierrc.json → _oxfmtrc.json} +1 -0
- package/templates/vite-ui-plugin/.vscode/extensions.json +1 -1
- package/templates/vite-ui-plugin/{_prettierrc.json → _oxfmtrc.json} +1 -0
- package/templates/vue/.vscode/extensions.json +1 -1
- package/templates/vue/_oxfmtrc.json +23 -0
- package/templates/fastify/_prettierignore +0 -3
- package/templates/fastify/eslint.config.js +0 -27
- package/templates/quasar/_prettierignore +0 -3
- package/templates/quasar/eslint.config.js +0 -27
- package/templates/quasarmd3/_prettierignore +0 -3
- package/templates/quasarmd3/eslint.config.js +0 -27
- package/templates/vite-ui-plugin/_eslintignore +0 -2
- package/templates/vite-ui-plugin/_eslintrc.cjs +0 -19
- package/templates/vite-ui-plugin/_prettierignore +0 -3
- package/templates/vue/_prettierignore +0 -3
- package/templates/vue/_prettierrc.json +0 -22
- package/templates/vue/eslint.config.js +0 -27
package/dist/templates.js
CHANGED
|
@@ -26,10 +26,10 @@ export const templates = {
|
|
|
26
26
|
'minify:ssr:client': 'vitrify minify ./dist/ssr/client',
|
|
27
27
|
'minify:ssg': 'vitrify minify ./dist/static',
|
|
28
28
|
test: 'vitrify test',
|
|
29
|
-
lint: '
|
|
30
|
-
'lint:fix': '
|
|
31
|
-
'format:check': '
|
|
32
|
-
'format:write': '
|
|
29
|
+
lint: 'oxlint --ext .vue --ext .ts src',
|
|
30
|
+
'lint:fix': 'oxlint --ext .vue --ext .ts src --fix',
|
|
31
|
+
'format:check': 'oxfmt --check .',
|
|
32
|
+
'format:write': 'oxfmt --write .'
|
|
33
33
|
},
|
|
34
34
|
dependencies: await getLatestVersions([
|
|
35
35
|
'@fastify/middie',
|
|
@@ -37,8 +37,6 @@ export const templates = {
|
|
|
37
37
|
'@fastify/static'
|
|
38
38
|
]),
|
|
39
39
|
devDependencies: await getLatestVersions([
|
|
40
|
-
'@typescript-eslint/eslint-plugin',
|
|
41
|
-
'@typescript-eslint/parser',
|
|
42
40
|
'@types/node',
|
|
43
41
|
'@vitejs/plugin-basic-ssl',
|
|
44
42
|
'@vitejs/plugin-vue',
|
|
@@ -49,19 +47,15 @@ export const templates = {
|
|
|
49
47
|
'@vue/shared',
|
|
50
48
|
'beasties',
|
|
51
49
|
'devcert',
|
|
52
|
-
'eslint',
|
|
53
|
-
'eslint-config-prettier',
|
|
54
|
-
'eslint-plugin-prettier',
|
|
55
|
-
'eslint-plugin-vue',
|
|
56
50
|
'fastify',
|
|
57
51
|
'npm-run-all',
|
|
52
|
+
'oxfmt',
|
|
53
|
+
'oxlint',
|
|
58
54
|
'typescript',
|
|
59
|
-
'typescript-eslint',
|
|
60
55
|
'vite',
|
|
61
56
|
'vite-plugin-pwa',
|
|
62
57
|
'vitrify',
|
|
63
58
|
'vue',
|
|
64
|
-
'vue-eslint-parser',
|
|
65
59
|
'vue-router',
|
|
66
60
|
'workbox-window'
|
|
67
61
|
]),
|
|
@@ -110,10 +104,10 @@ export const templates = {
|
|
|
110
104
|
'minify:ssr:client': 'vitrify minify ./dist/ssr/client',
|
|
111
105
|
'minify:ssg': 'vitrify minify ./dist/static',
|
|
112
106
|
test: 'vitrify test',
|
|
113
|
-
lint: '
|
|
114
|
-
'lint:fix': '
|
|
115
|
-
'format:check': '
|
|
116
|
-
'format:write': '
|
|
107
|
+
lint: 'oxlint --ext .vue --ext .ts src',
|
|
108
|
+
'lint:fix': 'oxlint --ext .vue --ext .ts src --fix',
|
|
109
|
+
'format:check': 'oxfmt --check .',
|
|
110
|
+
'format:write': 'oxfmt --write .'
|
|
117
111
|
},
|
|
118
112
|
dependencies: await getLatestVersions([
|
|
119
113
|
'@fastify/middie',
|
|
@@ -122,8 +116,6 @@ export const templates = {
|
|
|
122
116
|
]),
|
|
123
117
|
devDependencies: await getLatestVersions([
|
|
124
118
|
'@quasar/extras',
|
|
125
|
-
'@typescript-eslint/eslint-plugin',
|
|
126
|
-
'@typescript-eslint/parser',
|
|
127
119
|
'@types/node',
|
|
128
120
|
'@vitejs/plugin-basic-ssl',
|
|
129
121
|
'@vitejs/plugin-vue',
|
|
@@ -134,21 +126,17 @@ export const templates = {
|
|
|
134
126
|
'@vue/shared',
|
|
135
127
|
'beasties',
|
|
136
128
|
'devcert',
|
|
137
|
-
'eslint',
|
|
138
|
-
'eslint-config-prettier',
|
|
139
|
-
'eslint-plugin-prettier',
|
|
140
|
-
'eslint-plugin-vue',
|
|
141
129
|
'fastify',
|
|
142
130
|
'npm-run-all',
|
|
131
|
+
'oxfmt',
|
|
132
|
+
'oxlint',
|
|
143
133
|
'quasar',
|
|
144
134
|
'typescript',
|
|
145
|
-
'typescript-eslint',
|
|
146
135
|
'unocss-preset-quasar',
|
|
147
136
|
'vite',
|
|
148
137
|
'vite-plugin-pwa',
|
|
149
138
|
'vitrify',
|
|
150
139
|
'vue',
|
|
151
|
-
'vue-eslint-parser',
|
|
152
140
|
'vue-router',
|
|
153
141
|
'workbox-window'
|
|
154
142
|
]),
|
|
@@ -197,10 +185,10 @@ export const templates = {
|
|
|
197
185
|
'minify:ssr:client': 'vitrify minify ./dist/ssr/client',
|
|
198
186
|
'minify:ssg': 'vitrify minify ./dist/static',
|
|
199
187
|
test: 'vitrify test',
|
|
200
|
-
lint: '
|
|
201
|
-
'lint:fix': '
|
|
202
|
-
'format:check': '
|
|
203
|
-
'format:write': '
|
|
188
|
+
lint: 'oxlint --ext .vue --ext .ts src',
|
|
189
|
+
'lint:fix': 'oxlint --ext .vue --ext .ts src --fix',
|
|
190
|
+
'format:check': 'oxfmt --check .',
|
|
191
|
+
'format:write': 'oxfmt --write .'
|
|
204
192
|
},
|
|
205
193
|
dependencies: await getLatestVersions([
|
|
206
194
|
'@fastify/middie',
|
|
@@ -212,8 +200,6 @@ export const templates = {
|
|
|
212
200
|
'@iconify-json/flagpack',
|
|
213
201
|
'@quasar/extras',
|
|
214
202
|
'@simsustech/quasar-components',
|
|
215
|
-
'@typescript-eslint/eslint-plugin',
|
|
216
|
-
'@typescript-eslint/parser',
|
|
217
203
|
'@types/node',
|
|
218
204
|
'@vitejs/plugin-basic-ssl',
|
|
219
205
|
'@vitejs/plugin-vue',
|
|
@@ -224,21 +210,17 @@ export const templates = {
|
|
|
224
210
|
'@vue/shared',
|
|
225
211
|
'beasties',
|
|
226
212
|
'devcert',
|
|
227
|
-
'eslint',
|
|
228
|
-
'eslint-config-prettier',
|
|
229
|
-
'eslint-plugin-prettier',
|
|
230
|
-
'eslint-plugin-vue',
|
|
231
213
|
'fastify',
|
|
232
214
|
'npm-run-all',
|
|
215
|
+
'oxfmt',
|
|
216
|
+
'oxlint',
|
|
233
217
|
'quasar',
|
|
234
218
|
'typescript',
|
|
235
|
-
'typescript-eslint',
|
|
236
219
|
'unocss-preset-quasar',
|
|
237
220
|
'vite',
|
|
238
221
|
'vite-plugin-pwa',
|
|
239
222
|
'vitrify',
|
|
240
223
|
'vue',
|
|
241
|
-
'vue-eslint-parser',
|
|
242
224
|
'vue-router',
|
|
243
225
|
'workbox-window'
|
|
244
226
|
]),
|
|
@@ -281,10 +263,10 @@ export const templates = {
|
|
|
281
263
|
build: 'vitrify build -m fastify',
|
|
282
264
|
minify: 'vitrify minify ./dist/server',
|
|
283
265
|
test: 'vitrify test',
|
|
284
|
-
lint: '
|
|
285
|
-
'lint:fix': '
|
|
286
|
-
'format:check': '
|
|
287
|
-
'format:write': '
|
|
266
|
+
lint: 'oxlint --ext .vue --ext .ts src',
|
|
267
|
+
'lint:fix': 'oxlint --ext .vue --ext .ts src --fix',
|
|
268
|
+
'format:check': 'oxfmt --check .',
|
|
269
|
+
'format:write': 'oxfmt --write .'
|
|
288
270
|
},
|
|
289
271
|
dependencies: await getLatestVersions([
|
|
290
272
|
'@fastify/middie',
|
|
@@ -292,19 +274,14 @@ export const templates = {
|
|
|
292
274
|
'@fastify/static'
|
|
293
275
|
]),
|
|
294
276
|
devDependencies: await getLatestVersions([
|
|
295
|
-
'@typescript-eslint/eslint-plugin',
|
|
296
|
-
'@typescript-eslint/parser',
|
|
297
277
|
'@types/node',
|
|
298
278
|
'@vitejs/plugin-basic-ssl',
|
|
299
279
|
'devcert',
|
|
300
|
-
'eslint',
|
|
301
|
-
'eslint-config-prettier',
|
|
302
|
-
'eslint-plugin-prettier',
|
|
303
|
-
'eslint-plugin-vue',
|
|
304
280
|
'fastify',
|
|
305
281
|
'npm-run-all',
|
|
282
|
+
'oxfmt',
|
|
283
|
+
'oxlint',
|
|
306
284
|
'typescript',
|
|
307
|
-
'typescript-eslint',
|
|
308
285
|
'vite',
|
|
309
286
|
'vitrify'
|
|
310
287
|
]),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vitrify",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
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.9",
|
|
25
|
-
"@inquirer/prompts": "^8.4.
|
|
25
|
+
"@inquirer/prompts": "^8.4.3",
|
|
26
26
|
"latest-version": "^9.0.0",
|
|
27
27
|
"minimist": "^1.2.8",
|
|
28
|
-
"@vitrify/tools": "0.5.
|
|
28
|
+
"@vitrify/tools": "0.5.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/minimist": "^1.2.5",
|
|
32
|
-
"@types/node": "^25.
|
|
32
|
+
"@types/node": "^25.7.0",
|
|
33
33
|
"typescript": "^6.0.3",
|
|
34
|
-
"vite": "^8.0.
|
|
35
|
-
"vue": "^3.5.
|
|
34
|
+
"vite": "^8.0.12",
|
|
35
|
+
"vue": "^3.5.34"
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
38
|
"dist",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
|
3
|
+
"semi": false,
|
|
4
|
+
"tabWidth": 2,
|
|
5
|
+
"singleQuote": true,
|
|
6
|
+
"printWidth": 80,
|
|
7
|
+
"trailingComma": "none",
|
|
8
|
+
"overrides": [
|
|
9
|
+
{
|
|
10
|
+
"files": ["*.json5"],
|
|
11
|
+
"options": {
|
|
12
|
+
"singleQuote": false,
|
|
13
|
+
"quoteProps": "preserve"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"files": ["*.yml"],
|
|
18
|
+
"options": {
|
|
19
|
+
"singleQuote": false
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
|
|
2
|
-
import pluginVue from 'eslint-plugin-vue'
|
|
3
|
-
import typescriptEslint from 'typescript-eslint'
|
|
4
|
-
import vueParser from 'vue-eslint-parser'
|
|
5
|
-
|
|
6
|
-
export default typescriptEslint.config(
|
|
7
|
-
...typescriptEslint.configs.recommended,
|
|
8
|
-
...pluginVue.configs['flat/recommended'],
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
files: ['**/*.vue'],
|
|
12
|
-
languageOptions: {
|
|
13
|
-
parser: vueParser,
|
|
14
|
-
parserOptions: {
|
|
15
|
-
sourceType: 'module',
|
|
16
|
-
parser: {
|
|
17
|
-
ts: typescriptEslint.parser
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* end
|
|
25
|
-
*/
|
|
26
|
-
eslintPluginPrettierRecommended
|
|
27
|
-
)
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
|
|
2
|
-
import pluginVue from 'eslint-plugin-vue'
|
|
3
|
-
import typescriptEslint from 'typescript-eslint'
|
|
4
|
-
import vueParser from 'vue-eslint-parser'
|
|
5
|
-
|
|
6
|
-
export default typescriptEslint.config(
|
|
7
|
-
...typescriptEslint.configs.recommended,
|
|
8
|
-
...pluginVue.configs['flat/recommended'],
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
files: ['**/*.vue'],
|
|
12
|
-
languageOptions: {
|
|
13
|
-
parser: vueParser,
|
|
14
|
-
parserOptions: {
|
|
15
|
-
sourceType: 'module',
|
|
16
|
-
parser: {
|
|
17
|
-
ts: typescriptEslint.parser
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* end
|
|
25
|
-
*/
|
|
26
|
-
eslintPluginPrettierRecommended
|
|
27
|
-
)
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
|
|
2
|
-
import pluginVue from 'eslint-plugin-vue'
|
|
3
|
-
import typescriptEslint from 'typescript-eslint'
|
|
4
|
-
import vueParser from 'vue-eslint-parser'
|
|
5
|
-
|
|
6
|
-
export default typescriptEslint.config(
|
|
7
|
-
...typescriptEslint.configs.recommended,
|
|
8
|
-
...pluginVue.configs['flat/recommended'],
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
files: ['**/*.vue'],
|
|
12
|
-
languageOptions: {
|
|
13
|
-
parser: vueParser,
|
|
14
|
-
parserOptions: {
|
|
15
|
-
sourceType: 'module',
|
|
16
|
-
parser: {
|
|
17
|
-
ts: typescriptEslint.parser
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* end
|
|
25
|
-
*/
|
|
26
|
-
eslintPluginPrettierRecommended
|
|
27
|
-
)
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
ignorePatterns: ['.eslintrc.cjs'],
|
|
3
|
-
extends: [
|
|
4
|
-
'eslint:recommended',
|
|
5
|
-
'plugin:@typescript-eslint/recommended',
|
|
6
|
-
'plugin:vue/vue3-recommended',
|
|
7
|
-
'plugin:prettier-vue/recommended'
|
|
8
|
-
],
|
|
9
|
-
parser: 'vue-eslint-parser',
|
|
10
|
-
parserOptions: {
|
|
11
|
-
parser: '@typescript-eslint/parser',
|
|
12
|
-
sourceType: 'module'
|
|
13
|
-
},
|
|
14
|
-
rules: {
|
|
15
|
-
'@typescript-eslint/ban-ts-comment': 0
|
|
16
|
-
},
|
|
17
|
-
plugins: ['@typescript-eslint'],
|
|
18
|
-
root: true
|
|
19
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"semi": false,
|
|
3
|
-
"tabWidth": 2,
|
|
4
|
-
"singleQuote": true,
|
|
5
|
-
"printWidth": 80,
|
|
6
|
-
"trailingComma": "none",
|
|
7
|
-
"overrides": [
|
|
8
|
-
{
|
|
9
|
-
"files": ["*.json5"],
|
|
10
|
-
"options": {
|
|
11
|
-
"singleQuote": false,
|
|
12
|
-
"quoteProps": "preserve"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"files": ["*.yml"],
|
|
17
|
-
"options": {
|
|
18
|
-
"singleQuote": false
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
]
|
|
22
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
|
|
2
|
-
import pluginVue from 'eslint-plugin-vue'
|
|
3
|
-
import typescriptEslint from 'typescript-eslint'
|
|
4
|
-
import vueParser from 'vue-eslint-parser'
|
|
5
|
-
|
|
6
|
-
export default typescriptEslint.config(
|
|
7
|
-
...typescriptEslint.configs.recommended,
|
|
8
|
-
...pluginVue.configs['flat/recommended'],
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
files: ['**/*.vue'],
|
|
12
|
-
languageOptions: {
|
|
13
|
-
parser: vueParser,
|
|
14
|
-
parserOptions: {
|
|
15
|
-
sourceType: 'module',
|
|
16
|
-
parser: {
|
|
17
|
-
ts: typescriptEslint.parser
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* end
|
|
25
|
-
*/
|
|
26
|
-
eslintPluginPrettierRecommended
|
|
27
|
-
)
|