Skip to content

Commit 100b97c

Browse files
committed
chore: update dependencies and build configuration
1 parent d9df428 commit 100b97c

File tree

14 files changed

+541
-543
lines changed

14 files changed

+541
-543
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"type": "git",
2020
"url": "git+https://github.com/vuetifyjs/cli.git"
2121
},
22-
"packageManager": "pnpm@10.28.0",
22+
"packageManager": "pnpm@10.28.2",
2323
"devDependencies": {
2424
"@intellectronica/ruler": "catalog:",
2525
"@types/node": "catalog:",

packages/cli/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
"dependencies": {
4444
"@typescript-eslint/parser": "catalog:"
4545
},
46-
"main": "./dist/index.mjs",
47-
"module": "./dist/index.mjs",
4846
"exports": {
4947
".": "./dist/index.mjs",
5048
"./package.json": "./package.json"

packages/cli/tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ export default defineConfig({
44
entry: './src/index.ts',
55
banner: `#!/usr/bin/env node`,
66
exports: true,
7+
inlineOnly: false,
78
})

packages/create/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
"tsdown": "catalog:",
4444
"vitest": "catalog:"
4545
},
46-
"main": "./dist/index.mjs",
47-
"module": "./dist/index.mjs",
4846
"exports": {
4947
".": "./dist/index.mjs",
5048
"./package.json": "./package.json"

packages/create/tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ export default defineConfig({
44
entry: './src/index.ts',
55
banner: `#!/usr/bin/env node`,
66
exports: true,
7+
inlineOnly: false,
78
})

packages/create0/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
"pathe": "catalog:",
4242
"tsdown": "catalog:"
4343
},
44-
"main": "./dist/index.mjs",
45-
"module": "./dist/index.mjs",
4644
"exports": {
4745
".": "./dist/index.mjs",
4846
"./package.json": "./package.json"

packages/create0/tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export default defineConfig({
44
entry: './src/index.ts',
55
banner: `#!/usr/bin/env node`,
66
exports: true,
7+
inlineOnly: false,
78
plugins: [
89
{
910
name: 'replace-cyan-with-blue',

packages/shared/src/args.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export type ProjectArgs = {
1717
type?: string
1818
platform?: string
1919
preset?: string
20+
vuetifyVersion?: string
2021
}
2122

2223
export function projectArgs (options?: { exclude?: (keyof ProjectArgs)[] }) {
@@ -26,14 +27,16 @@ export function projectArgs (options?: { exclude?: (keyof ProjectArgs)[] }) {
2627
description: i18n.t('args.name.description'),
2728
},
2829
type: {
29-
type: 'string',
30+
type: 'enum',
3031
description: i18n.t('args.type.description'),
3132
valueHint: 'vuetify | vuetify0',
33+
options: ['vuetify', 'vuetify0'],
3234
},
3335
platform: {
34-
type: 'string',
36+
type: 'enum',
3537
description: i18n.t('args.platform.description'),
3638
valueHint: 'vue | nuxt',
39+
options: ['vue', 'nuxt'],
3740
},
3841
features: {
3942
type: 'string',
@@ -86,6 +89,10 @@ export function projectArgs (options?: { exclude?: (keyof ProjectArgs)[] }) {
8689
type: 'string',
8790
description: i18n.t('args.preset.description'),
8891
},
92+
vuetifyVersion: {
93+
type: 'string',
94+
description: i18n.t('args.vuetifyVersion.description'),
95+
},
8996
} satisfies Record<keyof ProjectArgs, ArgDef>
9097

9198
if (options?.exclude) {

packages/shared/src/features/dependencies/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"dependencies": {
33
"pinia": "^3.0.4",
44
"eslint": "^9.39.2",
5-
"eslint-config-vuetify": "^4.3.3",
6-
"vuetify-nuxt-module": "^0.19.1",
5+
"eslint-config-vuetify": "^4.3.4",
6+
"vuetify-nuxt-module": "^0.19.5",
77
"@nuxt/eslint": "^1.12.1",
88
"@pinia/nuxt": "^0.11.3",
99
"@nuxtjs/i18n": "^10.2.1",

packages/shared/src/i18n/locales/en.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@
285285
},
286286
"preset": {
287287
"description": "Path to a preset file to load"
288+
},
289+
"vuetifyVersion": {
290+
"description": "Vuetify version"
288291
}
289292
},
290293
"cli": {

0 commit comments

Comments
 (0)