create-juisy 2.0.1 → 2.1.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-juisy",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Juisy boilerplate for npm init",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"homepage": "https://hperchec.gitlab.io/juisy",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"execa": "^9.5.2",
|
|
45
|
-
"juisy": "2.0
|
|
45
|
+
"juisy": "2.1.0",
|
|
46
46
|
"mri": "^1.2.0"
|
|
47
47
|
},
|
|
48
48
|
"release-it": {
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
export default class GenerateAPI extends CLI.Command {
|
|
2
|
-
/**
|
|
3
|
-
* The command signature
|
|
4
|
-
*/
|
|
5
|
-
command = 'generate:api'
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* The command description
|
|
9
|
-
*/
|
|
10
|
-
describe = 'Generate API docs from source code'
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* The command meta
|
|
14
|
-
*/
|
|
15
|
-
meta = {
|
|
16
|
-
private: true
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Command builder
|
|
21
|
-
*/
|
|
22
|
-
builder (cli) {
|
|
23
|
-
return cli
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Command handler
|
|
28
|
-
*/
|
|
29
|
-
async handler (argv) {
|
|
30
|
-
// Utils
|
|
31
|
-
const { $style, step, substep } = CLI.OutputUtils
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Generate api documentation
|
|
35
|
-
*/
|
|
36
|
-
step('Generating API documentation')
|
|
37
|
-
|
|
38
|
-
substep($style.yellow('⚠ This command does nothing...'), { last: true })
|
|
39
|
-
this.log() // blank line
|
|
40
|
-
this.log($style.yellow('You can use JSDoc or TypeDoc for example. See documentation'))
|
|
41
|
-
this.log() // blank line
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
export default class GenerateAPI extends CLI.Command {
|
|
2
|
+
/**
|
|
3
|
+
* The command signature
|
|
4
|
+
*/
|
|
5
|
+
command = 'generate:api'
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The command description
|
|
9
|
+
*/
|
|
10
|
+
describe = 'Generate API docs from source code'
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* The command meta
|
|
14
|
+
*/
|
|
15
|
+
meta = {
|
|
16
|
+
private: true
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Command builder
|
|
21
|
+
*/
|
|
22
|
+
builder (cli) {
|
|
23
|
+
return cli
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Command handler
|
|
28
|
+
*/
|
|
29
|
+
async handler (argv) {
|
|
30
|
+
// Utils
|
|
31
|
+
const { $style, step, substep } = CLI.OutputUtils
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Generate api documentation
|
|
35
|
+
*/
|
|
36
|
+
step('Generating API documentation')
|
|
37
|
+
|
|
38
|
+
substep($style.yellow('⚠ This command does nothing...'), { last: true })
|
|
39
|
+
this.log() // blank line
|
|
40
|
+
this.log($style.yellow('You can use JSDoc or TypeDoc for example. See documentation'))
|
|
41
|
+
this.log() // blank line
|
|
42
|
+
}
|
|
43
|
+
}
|