create-vuetify0 0.0.12-beta.2 → 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.
- package/LICENSE +9 -0
- package/README.md +42 -27
- package/dist/index.mjs +1 -1
- package/package.json +7 -2
- package/src/commands/upgrade.ts +0 -5
- package/src/index.ts +0 -41
- package/tsdown.config.ts +0 -18
package/LICENSE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016-now Vuetify, LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,37 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://cdn.vuetifyjs.com/docs/images/logos/vzero-logo-dark.png">
|
|
4
|
+
<img alt="Vuetify0 Logo" src="https://cdn.vuetifyjs.com/docs/images/logos/vzero-logo-light.png" height="150">
|
|
5
|
+
</picture>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<p align="center">
|
|
9
|
+
<a href="https://www.npmjs.com/package/create-vuetify0">
|
|
10
|
+
<img src="https://img.shields.io/npm/v/create-vuetify0.svg" alt="Version">
|
|
11
|
+
</a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/create-vuetify0">
|
|
13
|
+
<img src="https://img.shields.io/npm/dt/create-vuetify0.svg" alt="Downloads">
|
|
14
|
+
</a>
|
|
15
|
+
<br>
|
|
16
|
+
<a href="https://github.com/vuetifyjs/cli/blob/master/LICENSE">
|
|
17
|
+
<img src="https://img.shields.io/npm/l/create-vuetify0.svg" alt="License">
|
|
18
|
+
</a>
|
|
19
|
+
<a href="https://community.vuetifyjs.com">
|
|
20
|
+
<img src="https://discordapp.com/api/guilds/340160225338195969/widget.png" alt="Chat">
|
|
21
|
+
</a>
|
|
22
|
+
</p>
|
|
23
|
+
|
|
24
|
+
# create-vuetify0
|
|
25
|
+
|
|
26
|
+
Scaffold a new Vuetify 0 project.
|
|
4
27
|
|
|
5
28
|
## Usage
|
|
6
29
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
npm create
|
|
10
|
-
|
|
11
|
-
# pnpm
|
|
12
|
-
pnpm create vuetify-v0
|
|
13
|
-
|
|
14
|
-
# yarn
|
|
15
|
-
yarn create vuetify-v0
|
|
16
|
-
|
|
17
|
-
# bun
|
|
18
|
-
bun create vuetify-v0
|
|
19
|
-
|
|
20
|
-
# deno
|
|
21
|
-
deno run -A npm:create-vuetify-v0
|
|
30
|
+
With **npm**:
|
|
31
|
+
```bash
|
|
32
|
+
npm create vuetify0
|
|
22
33
|
```
|
|
23
34
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
## Development
|
|
35
|
+
With **pnpm**:
|
|
36
|
+
```bash
|
|
37
|
+
pnpm create vuetify0
|
|
38
|
+
```
|
|
29
39
|
|
|
30
|
-
|
|
40
|
+
With **yarn**:
|
|
41
|
+
```bash
|
|
42
|
+
yarn create vuetify0
|
|
43
|
+
```
|
|
31
44
|
|
|
32
|
-
|
|
33
|
-
|
|
45
|
+
With **bun**:
|
|
46
|
+
```bash
|
|
47
|
+
bun create vuetify0
|
|
48
|
+
```
|
|
34
49
|
|
|
35
50
|
## License
|
|
36
51
|
|
|
37
|
-
MIT
|
|
52
|
+
[MIT License](./LICENSE)
|
package/dist/index.mjs
CHANGED
|
@@ -57567,7 +57567,7 @@ function registerProjectArgsCompletion(completion) {
|
|
|
57567
57567
|
|
|
57568
57568
|
//#endregion
|
|
57569
57569
|
//#region package.json
|
|
57570
|
-
var version = "0.0.12
|
|
57570
|
+
var version = "0.0.12";
|
|
57571
57571
|
|
|
57572
57572
|
//#endregion
|
|
57573
57573
|
//#region src/commands/upgrade.ts
|
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vuetify0",
|
|
3
|
-
"version": "0.0.12
|
|
3
|
+
"version": "0.0.12",
|
|
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
|
},
|
|
@@ -24,7 +29,7 @@
|
|
|
24
29
|
"nypm": "^0.6.2",
|
|
25
30
|
"pathe": "^2.0.3",
|
|
26
31
|
"tsdown": "^0.16.8",
|
|
27
|
-
"@vuetify/cli-shared": "0.0.12
|
|
32
|
+
"@vuetify/cli-shared": "0.0.12"
|
|
28
33
|
},
|
|
29
34
|
"main": "./dist/index.mjs",
|
|
30
35
|
"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
|
-
})
|