create-vuetify0 0.0.6
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/README.md +37 -0
- package/dist/index.mjs +53912 -0
- package/dist/multipart-parser-CbtVsPSq.mjs +175 -0
- package/dist/node-CcjDTqtN.mjs +4007 -0
- package/dist/prompt-BIVRMyOv.mjs +848 -0
- package/package.json +37 -0
- package/src/commands/upgrade.ts +5 -0
- package/src/index.ts +56 -0
- package/tsdown.config.ts +7 -0
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-vuetify0",
|
|
3
|
+
"version": "0.0.6",
|
|
4
|
+
"description": "Create a new Vuetify project",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"create-vuetify0": "./dist/index.mjs"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"vuetify",
|
|
11
|
+
"cli",
|
|
12
|
+
"create",
|
|
13
|
+
"scaffold",
|
|
14
|
+
"starter"
|
|
15
|
+
],
|
|
16
|
+
"author": "Andrey Yolkin <andreyyolkin@gmail.com>",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@clack/prompts": "^1.0.0-alpha.8",
|
|
20
|
+
"citty": "^0.1.6",
|
|
21
|
+
"giget": "^2.0.0",
|
|
22
|
+
"kolorist": "^1.8.0",
|
|
23
|
+
"nypm": "^0.6.2",
|
|
24
|
+
"pathe": "^2.0.3",
|
|
25
|
+
"tsdown": "^0.16.6",
|
|
26
|
+
"@vuetify/cli-shared": "0.0.6"
|
|
27
|
+
},
|
|
28
|
+
"main": "./dist/index.mjs",
|
|
29
|
+
"module": "./dist/index.mjs",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": "./dist/index.mjs",
|
|
32
|
+
"./package.json": "./package.json"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "tsdown"
|
|
36
|
+
}
|
|
37
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { createVuetify, projectArgs } from '@vuetify/cli-shared'
|
|
2
|
+
import { i18n } from '@vuetify/cli-shared/i18n'
|
|
3
|
+
import { defineCommand, runMain } from 'citty'
|
|
4
|
+
|
|
5
|
+
import { version } from '../package.json'
|
|
6
|
+
import { upgrade } from './commands/upgrade'
|
|
7
|
+
|
|
8
|
+
export const main = defineCommand({
|
|
9
|
+
meta: {
|
|
10
|
+
name: 'create-vuetify-0',
|
|
11
|
+
version,
|
|
12
|
+
description: i18n.t('cli.create_v0.description'),
|
|
13
|
+
},
|
|
14
|
+
args: {
|
|
15
|
+
...projectArgs(),
|
|
16
|
+
cwd: {
|
|
17
|
+
type: 'string',
|
|
18
|
+
description: 'The current working directory',
|
|
19
|
+
},
|
|
20
|
+
features: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
description: 'The features to install (router, pinia, eslint)',
|
|
23
|
+
},
|
|
24
|
+
typescript: {
|
|
25
|
+
type: 'boolean',
|
|
26
|
+
description: 'Use TypeScript',
|
|
27
|
+
default: true,
|
|
28
|
+
},
|
|
29
|
+
packageManager: {
|
|
30
|
+
type: 'string',
|
|
31
|
+
description: 'The package manager to use (npm, pnpm, yarn, bun)',
|
|
32
|
+
},
|
|
33
|
+
debug: {
|
|
34
|
+
type: 'boolean',
|
|
35
|
+
description: 'Show debug logs',
|
|
36
|
+
default: false,
|
|
37
|
+
},
|
|
38
|
+
platform: {
|
|
39
|
+
type: 'string',
|
|
40
|
+
description: 'The framework to use (vue, nuxt)',
|
|
41
|
+
default: 'vue',
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
run: async ({ args }) => {
|
|
45
|
+
await createVuetify({
|
|
46
|
+
...args,
|
|
47
|
+
version,
|
|
48
|
+
type: 'vuetify0',
|
|
49
|
+
})
|
|
50
|
+
},
|
|
51
|
+
subCommands: {
|
|
52
|
+
upgrade,
|
|
53
|
+
},
|
|
54
|
+
})
|
|
55
|
+
|
|
56
|
+
runMain(main)
|