@springmicro/cli 0.6.4 → 0.7.0
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 +5 -5
- package/bin/dev.cmd +3 -3
- package/bin/dev.js +6 -6
- package/bin/run.cmd +3 -3
- package/bin/run.js +5 -5
- package/dist/commands/add/auth.d.ts +0 -0
- package/dist/commands/add/auth.js +0 -0
- package/dist/commands/add/form.d.ts +0 -0
- package/dist/commands/add/form.js +0 -0
- package/dist/commands/init/astro.d.ts +0 -0
- package/dist/commands/init/astro.js +0 -0
- package/dist/commands/init/index.d.ts +0 -0
- package/dist/commands/init/index.js +0 -0
- package/dist/data/astro/index.d.ts +0 -0
- package/dist/data/astro/index.js +235 -235
- package/dist/data/astro/replace.d.ts +0 -0
- package/dist/data/astro/replace.js +0 -0
- package/dist/data/form/index.d.ts +0 -0
- package/dist/data/form/index.js +260 -260
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/log/index.d.ts +0 -0
- package/dist/log/index.js +0 -0
- package/dist/scripts/astro.bat +34 -34
- package/dist/scripts/astro.sh +9 -9
- package/dist/scripts/auth.bat +4 -4
- package/dist/scripts/auth.sh +3 -3
- package/dist/scripts/forms.bat +10 -10
- package/dist/scripts/forms.sh +8 -8
- package/dist/utils/shell.d.ts +0 -0
- package/dist/utils/shell.js +0 -0
- package/oclif.manifest.json +56 -56
- package/package.json +2 -2
package/dist/scripts/forms.sh
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# no to overwriting shadcn components that have already been installed
|
|
2
|
-
yes no | pnpm dlx shadcn@latest add form
|
|
3
|
-
yes no | pnpm dlx shadcn@latest add button
|
|
4
|
-
yes no | pnpm dlx shadcn@latest add textarea
|
|
5
|
-
yes no | pnpm dlx shadcn@latest add label
|
|
6
|
-
yes no | pnpm dlx shadcn@latest add input
|
|
7
|
-
yes no | pnpm dlx shadcn@latest add sonner
|
|
8
|
-
pnpm add @springmicro/forms
|
|
1
|
+
# no to overwriting shadcn components that have already been installed
|
|
2
|
+
yes no | pnpm dlx shadcn@latest add form
|
|
3
|
+
yes no | pnpm dlx shadcn@latest add button
|
|
4
|
+
yes no | pnpm dlx shadcn@latest add textarea
|
|
5
|
+
yes no | pnpm dlx shadcn@latest add label
|
|
6
|
+
yes no | pnpm dlx shadcn@latest add input
|
|
7
|
+
yes no | pnpm dlx shadcn@latest add sonner
|
|
8
|
+
pnpm add @springmicro/forms
|
package/dist/utils/shell.d.ts
CHANGED
|
File without changes
|
package/dist/utils/shell.js
CHANGED
|
File without changes
|
package/oclif.manifest.json
CHANGED
|
@@ -1,41 +1,60 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
3
|
+
"init:astro": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "Initialize a Astro project according to SpringMicroHost's specifications.",
|
|
7
7
|
"examples": [
|
|
8
|
-
"<%= config.bin %> <%= command.id %>"
|
|
8
|
+
"<%= config.bin %> <%= command.id %> -n <project-name>"
|
|
9
9
|
],
|
|
10
|
-
"flags": {
|
|
10
|
+
"flags": {
|
|
11
|
+
"name": {
|
|
12
|
+
"char": "n",
|
|
13
|
+
"description": "Project name",
|
|
14
|
+
"name": "name",
|
|
15
|
+
"required": true,
|
|
16
|
+
"hasDynamicHelp": false,
|
|
17
|
+
"multiple": false,
|
|
18
|
+
"type": "option"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
11
21
|
"hasDynamicHelp": false,
|
|
12
22
|
"hiddenAliases": [],
|
|
13
|
-
"id": "
|
|
23
|
+
"id": "init:astro",
|
|
14
24
|
"pluginAlias": "@springmicro/cli",
|
|
15
25
|
"pluginName": "@springmicro/cli",
|
|
16
26
|
"pluginType": "core",
|
|
17
27
|
"strict": true,
|
|
18
28
|
"enableJsonFlag": false,
|
|
29
|
+
"step": 1,
|
|
30
|
+
"totalSteps": 2,
|
|
19
31
|
"isESM": true,
|
|
20
32
|
"relativePath": [
|
|
21
33
|
"dist",
|
|
22
34
|
"commands",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
35
|
+
"init",
|
|
36
|
+
"astro.js"
|
|
25
37
|
]
|
|
26
38
|
},
|
|
27
|
-
"
|
|
39
|
+
"init": {
|
|
28
40
|
"aliases": [],
|
|
29
|
-
"args": {
|
|
30
|
-
|
|
41
|
+
"args": {
|
|
42
|
+
"projectType": {
|
|
43
|
+
"description": "Project type (astro)",
|
|
44
|
+
"name": "projectType",
|
|
45
|
+
"required": true
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"description": "Initialize a JavaScript framework project according to SpringMicroHost's specifications.",
|
|
31
49
|
"examples": [
|
|
32
|
-
"<%= config.bin %> <%= command.id %>"
|
|
50
|
+
"<%= config.bin %> <%= command.id %> astro -n example"
|
|
33
51
|
],
|
|
34
52
|
"flags": {
|
|
35
|
-
"
|
|
36
|
-
"char": "
|
|
37
|
-
"description": "
|
|
38
|
-
"name": "
|
|
53
|
+
"name": {
|
|
54
|
+
"char": "n",
|
|
55
|
+
"description": "Project name",
|
|
56
|
+
"name": "name",
|
|
57
|
+
"required": true,
|
|
39
58
|
"hasDynamicHelp": false,
|
|
40
59
|
"multiple": false,
|
|
41
60
|
"type": "option"
|
|
@@ -43,7 +62,7 @@
|
|
|
43
62
|
},
|
|
44
63
|
"hasDynamicHelp": false,
|
|
45
64
|
"hiddenAliases": [],
|
|
46
|
-
"id": "
|
|
65
|
+
"id": "init",
|
|
47
66
|
"pluginAlias": "@springmicro/cli",
|
|
48
67
|
"pluginName": "@springmicro/cli",
|
|
49
68
|
"pluginType": "core",
|
|
@@ -53,65 +72,46 @@
|
|
|
53
72
|
"relativePath": [
|
|
54
73
|
"dist",
|
|
55
74
|
"commands",
|
|
56
|
-
"
|
|
57
|
-
"
|
|
75
|
+
"init",
|
|
76
|
+
"index.js"
|
|
58
77
|
]
|
|
59
78
|
},
|
|
60
|
-
"
|
|
79
|
+
"add:auth": {
|
|
61
80
|
"aliases": [],
|
|
62
81
|
"args": {},
|
|
63
|
-
"description": "
|
|
82
|
+
"description": "describe the command here",
|
|
64
83
|
"examples": [
|
|
65
|
-
"<%= config.bin %> <%= command.id %>
|
|
84
|
+
"<%= config.bin %> <%= command.id %>"
|
|
66
85
|
],
|
|
67
|
-
"flags": {
|
|
68
|
-
"name": {
|
|
69
|
-
"char": "n",
|
|
70
|
-
"description": "Project name",
|
|
71
|
-
"name": "name",
|
|
72
|
-
"required": true,
|
|
73
|
-
"hasDynamicHelp": false,
|
|
74
|
-
"multiple": false,
|
|
75
|
-
"type": "option"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
86
|
+
"flags": {},
|
|
78
87
|
"hasDynamicHelp": false,
|
|
79
88
|
"hiddenAliases": [],
|
|
80
|
-
"id": "
|
|
89
|
+
"id": "add:auth",
|
|
81
90
|
"pluginAlias": "@springmicro/cli",
|
|
82
91
|
"pluginName": "@springmicro/cli",
|
|
83
92
|
"pluginType": "core",
|
|
84
93
|
"strict": true,
|
|
85
94
|
"enableJsonFlag": false,
|
|
86
|
-
"step": 1,
|
|
87
|
-
"totalSteps": 2,
|
|
88
95
|
"isESM": true,
|
|
89
96
|
"relativePath": [
|
|
90
97
|
"dist",
|
|
91
98
|
"commands",
|
|
92
|
-
"
|
|
93
|
-
"
|
|
99
|
+
"add",
|
|
100
|
+
"auth.js"
|
|
94
101
|
]
|
|
95
102
|
},
|
|
96
|
-
"
|
|
103
|
+
"add:form": {
|
|
97
104
|
"aliases": [],
|
|
98
|
-
"args": {
|
|
99
|
-
|
|
100
|
-
"description": "Project type (astro)",
|
|
101
|
-
"name": "projectType",
|
|
102
|
-
"required": true
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"description": "Initialize a JavaScript framework project according to SpringMicroHost's specifications.",
|
|
105
|
+
"args": {},
|
|
106
|
+
"description": "add a form to your project",
|
|
106
107
|
"examples": [
|
|
107
|
-
"<%= config.bin %> <%= command.id %>
|
|
108
|
+
"<%= config.bin %> <%= command.id %>"
|
|
108
109
|
],
|
|
109
110
|
"flags": {
|
|
110
|
-
"
|
|
111
|
-
"char": "
|
|
112
|
-
"description": "
|
|
113
|
-
"name": "
|
|
114
|
-
"required": true,
|
|
111
|
+
"template": {
|
|
112
|
+
"char": "t",
|
|
113
|
+
"description": "form template (contact|quote)",
|
|
114
|
+
"name": "template",
|
|
115
115
|
"hasDynamicHelp": false,
|
|
116
116
|
"multiple": false,
|
|
117
117
|
"type": "option"
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
},
|
|
120
120
|
"hasDynamicHelp": false,
|
|
121
121
|
"hiddenAliases": [],
|
|
122
|
-
"id": "
|
|
122
|
+
"id": "add:form",
|
|
123
123
|
"pluginAlias": "@springmicro/cli",
|
|
124
124
|
"pluginName": "@springmicro/cli",
|
|
125
125
|
"pluginType": "core",
|
|
@@ -129,10 +129,10 @@
|
|
|
129
129
|
"relativePath": [
|
|
130
130
|
"dist",
|
|
131
131
|
"commands",
|
|
132
|
-
"
|
|
133
|
-
"
|
|
132
|
+
"add",
|
|
133
|
+
"form.js"
|
|
134
134
|
]
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
|
-
"version": "0.
|
|
137
|
+
"version": "0.7.0"
|
|
138
138
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@springmicro/cli",
|
|
3
3
|
"description": "A new CLI generated with oclif",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
5
5
|
"author": "David Buckley",
|
|
6
6
|
"private": false,
|
|
7
7
|
"publishConfig": {
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"version": "oclif readme && git add README.md"
|
|
77
77
|
},
|
|
78
78
|
"types": "dist/index.d.ts",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "f7e3eb4540836122c78bf55c3d76367f88d5ffc8"
|
|
80
80
|
}
|