@vuetify/cli 0.0.12-beta.3 → 0.0.12

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.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import g$1, { stdin, stdout } from "node:process";
2
+ import process$1, { stdin, stdout } from "node:process";
3
3
  import { WriteStream } from "node:tty";
4
4
  import c from "node:readline";
5
5
 
@@ -646,7 +646,7 @@ var PD = class extends x {
646
646
  }
647
647
  };
648
648
  function ce() {
649
- return g$1.platform !== "win32" ? g$1.env.TERM !== "linux" : !!g$1.env.CI || !!g$1.env.WT_SESSION || !!g$1.env.TERMINUS_SUBLIME || g$1.env.ConEmuTask === "{cmd::Cmder}" || g$1.env.TERM_PROGRAM === "Terminus-Sublime" || g$1.env.TERM_PROGRAM === "vscode" || g$1.env.TERM === "xterm-256color" || g$1.env.TERM === "alacritty" || g$1.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
649
+ return process$1.platform !== "win32" ? process$1.env.TERM !== "linux" : !!process$1.env.CI || !!process$1.env.WT_SESSION || !!process$1.env.TERMINUS_SUBLIME || process$1.env.ConEmuTask === "{cmd::Cmder}" || process$1.env.TERM_PROGRAM === "Terminus-Sublime" || process$1.env.TERM_PROGRAM === "vscode" || process$1.env.TERM === "xterm-256color" || process$1.env.TERM === "alacritty" || process$1.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
650
650
  }
651
651
  const V = ce(), u = (t, n) => V ? t : n, le = u("❯", ">"), L = u("■", "x"), W = u("▲", "x"), C = u("✔", "√"), o = u(""), d = u(""), k = u("●", ">"), P = u("○", " "), A = u("◻", "[•]"), T = u("◼", "[+]"), F = u("◻", "[ ]"), w = (t) => {
652
652
  switch (t) {
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "@vuetify/cli",
3
- "version": "0.0.12-beta.3",
3
+ "version": "0.0.12",
4
4
  "description": "Vuetify CLI",
5
5
  "type": "module",
6
+ "files": [
7
+ "dist",
8
+ "README.md",
9
+ "LICENSE"
10
+ ],
6
11
  "bin": {
7
12
  "vuetify": "./dist/index.mjs"
8
13
  },
@@ -19,7 +24,7 @@
19
24
  "open": "^11.0.0",
20
25
  "pathe": "^2.0.3",
21
26
  "tsdown": "^0.16.8",
22
- "@vuetify/cli-shared": "0.0.12-beta.3"
27
+ "@vuetify/cli-shared": "0.0.12"
23
28
  },
24
29
  "main": "./dist/index.mjs",
25
30
  "module": "./dist/index.mjs",
@@ -1,5 +0,0 @@
1
- import { docs as docsCommand } from '@vuetify/cli-shared/commands'
2
-
3
- export const docs = docsCommand
4
-
5
- export default docs
@@ -1,26 +0,0 @@
1
- import { createVuetify, projectArgs } from '@vuetify/cli-shared'
2
- import { i18n } from '@vuetify/cli-shared/i18n'
3
- import { defineCommand } from 'citty'
4
- import { version } from '../../package.json'
5
-
6
- export const init = defineCommand({
7
- meta: {
8
- name: 'init',
9
- description: i18n.t('commands.init.description'),
10
- },
11
- args: {
12
- ...projectArgs(),
13
- cwd: {
14
- type: 'string',
15
- description: 'The current working directory',
16
- },
17
- },
18
- run: async ({ args }) => {
19
- await createVuetify({
20
- ...args,
21
- version,
22
- })
23
- },
24
- })
25
-
26
- export default init
@@ -1,5 +0,0 @@
1
- import { update as updateCommand } from '@vuetify/cli-shared/commands'
2
-
3
- export const update = updateCommand
4
-
5
- export default update
@@ -1,5 +0,0 @@
1
- import { commandUpgradeFabric } from '@vuetify/cli-shared'
2
-
3
- export const upgrade = commandUpgradeFabric('@vuetify/cli')
4
-
5
- export default upgrade
package/src/index.ts DELETED
@@ -1,44 +0,0 @@
1
- import tab from '@bomb.sh/tab/citty'
2
- import { createBanner, registerProjectArgsCompletion } from '@vuetify/cli-shared'
3
- import { add } from '@vuetify/cli-shared/commands'
4
- import { i18n } from '@vuetify/cli-shared/i18n'
5
- import { checkForUpdate } from '@vuetify/cli-shared/utils'
6
-
7
- import { defineCommand, runMain, showUsage } from 'citty'
8
- import { version } from '../package.json'
9
- import { docs } from './commands/docs'
10
- import { init } from './commands/init'
11
- import { update } from './commands/update'
12
- import { upgrade } from './commands/upgrade'
13
-
14
- export const main = defineCommand({
15
- meta: {
16
- name: 'vuetify',
17
- version,
18
- description: i18n.t('cli.main.description'),
19
- },
20
- subCommands: {
21
- init,
22
- add,
23
- update,
24
- docs,
25
- upgrade,
26
- },
27
- run: async ({ args, cmd }) => {
28
- if (args._[0] === 'complete') {
29
- return
30
- }
31
- console.log(createBanner())
32
- showUsage(cmd)
33
- },
34
- })
35
-
36
- await tab(main).then(completion => {
37
- const initCommand = completion.commands.get('init')
38
- if (initCommand) {
39
- registerProjectArgsCompletion(initCommand)
40
- }
41
- })
42
-
43
- await checkForUpdate(version)
44
- runMain(main)
package/tsdown.config.ts DELETED
@@ -1,7 +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
- })