create-vuetify0 0.0.12-beta.3 → 0.0.13-beta.1
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/index.mjs +54461 -43385
- package/package.json +10 -3
- package/src/commands/upgrade.ts +0 -5
- package/src/index.ts +0 -41
- package/tsdown.config.ts +0 -18
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vuetify0",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13-beta.1",
|
|
4
4
|
"description": "Create a new Vuetify project",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"README.md",
|
|
9
|
+
"LICENSE"
|
|
10
|
+
],
|
|
6
11
|
"bin": {
|
|
7
12
|
"create-vuetify0": "./dist/index.mjs"
|
|
8
13
|
},
|
|
@@ -11,7 +16,9 @@
|
|
|
11
16
|
"cli",
|
|
12
17
|
"create",
|
|
13
18
|
"scaffold",
|
|
14
|
-
"starter"
|
|
19
|
+
"starter",
|
|
20
|
+
"vue",
|
|
21
|
+
"vuetify0"
|
|
15
22
|
],
|
|
16
23
|
"author": "Andrey Yolkin <andreyyolkin@gmail.com>",
|
|
17
24
|
"license": "MIT",
|
|
@@ -24,7 +31,7 @@
|
|
|
24
31
|
"nypm": "^0.6.2",
|
|
25
32
|
"pathe": "^2.0.3",
|
|
26
33
|
"tsdown": "^0.16.8",
|
|
27
|
-
"@vuetify/cli-shared": "0.0.
|
|
34
|
+
"@vuetify/cli-shared": "0.0.13-beta.1"
|
|
28
35
|
},
|
|
29
36
|
"main": "./dist/index.mjs",
|
|
30
37
|
"module": "./dist/index.mjs",
|
package/src/commands/upgrade.ts
DELETED
package/src/index.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import tab from '@bomb.sh/tab/citty'
|
|
2
|
-
import { createVuetify, projectArgs, registerProjectArgsCompletion } from '@vuetify/cli-shared'
|
|
3
|
-
import { i18n } from '@vuetify/cli-shared/i18n'
|
|
4
|
-
import { defineCommand, runMain } from 'citty'
|
|
5
|
-
|
|
6
|
-
import { version } from '../package.json'
|
|
7
|
-
import { upgrade } from './commands/upgrade'
|
|
8
|
-
|
|
9
|
-
export const main = defineCommand({
|
|
10
|
-
meta: {
|
|
11
|
-
name: 'create-vuetify0',
|
|
12
|
-
version,
|
|
13
|
-
description: i18n.t('cli.create_v0.description'),
|
|
14
|
-
},
|
|
15
|
-
args: {
|
|
16
|
-
...projectArgs({ exclude: ['type'] }),
|
|
17
|
-
cwd: {
|
|
18
|
-
type: 'string',
|
|
19
|
-
description: 'The current working directory',
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
run: async ({ args }) => {
|
|
23
|
-
if (args._[0] === 'complete') {
|
|
24
|
-
return
|
|
25
|
-
}
|
|
26
|
-
await createVuetify({
|
|
27
|
-
...args,
|
|
28
|
-
version,
|
|
29
|
-
type: 'vuetify0',
|
|
30
|
-
})
|
|
31
|
-
},
|
|
32
|
-
subCommands: {
|
|
33
|
-
upgrade,
|
|
34
|
-
},
|
|
35
|
-
})
|
|
36
|
-
|
|
37
|
-
await tab(main).then(completion => {
|
|
38
|
-
registerProjectArgsCompletion(completion)
|
|
39
|
-
})
|
|
40
|
-
|
|
41
|
-
runMain(main)
|
package/tsdown.config.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'tsdown/config'
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
entry: './src/index.ts',
|
|
5
|
-
banner: `#!/usr/bin/env node`,
|
|
6
|
-
exports: true,
|
|
7
|
-
plugins: [
|
|
8
|
-
{
|
|
9
|
-
name: 'replace-cyan-with-blue',
|
|
10
|
-
transform (code, id) {
|
|
11
|
-
if (id.includes('@clack/prompts/')) {
|
|
12
|
-
return code.replace(/t.cyan/g, 't.blue')
|
|
13
|
-
}
|
|
14
|
-
return code
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
})
|