kimu-cli 1.3.0 → 1.3.2
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 +17 -0
- package/README.md +302 -302
- package/dist/commands/create.d.ts.map +1 -1
- package/dist/commands/create.js +5 -2
- package/dist/commands/create.js.map +1 -1
- package/docs/commands/install.md +111 -111
- package/docs/getting-started.md +386 -386
- package/docs/quick-reference.md +335 -335
- package/package.json +5 -5
- package/templates/generators/extension/config.json +42 -42
- package/templates/generators/module/config.json +35 -35
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "extension",
|
|
3
|
-
"description": "Create a new UI extension with component, styles, and template",
|
|
4
|
-
"targetPath": "src/extensions/{{name}}",
|
|
5
|
-
"files": [
|
|
6
|
-
{
|
|
7
|
-
"template": "component.ts.template",
|
|
8
|
-
"output": "component.ts"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"template": "style.css.template",
|
|
12
|
-
"output": "style.css"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"template": "view.html.template",
|
|
16
|
-
"output": "view.html"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"registration": {
|
|
20
|
-
"enabled": true,
|
|
21
|
-
"file": "src/extensions/extensions-manifest.json",
|
|
22
|
-
"type": "array",
|
|
23
|
-
"entry": {
|
|
24
|
-
"tag": "{{kebabName}}",
|
|
25
|
-
"name": "{{titleName}}",
|
|
26
|
-
"version": "1.0.0",
|
|
27
|
-
"description": "Description for {{name}} extension",
|
|
28
|
-
"author": "Your Name",
|
|
29
|
-
"icon": "🎨",
|
|
30
|
-
"internal": false,
|
|
31
|
-
"path": "{{name}}",
|
|
32
|
-
"dependencies": []
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"postCreate": [
|
|
36
|
-
"Edit {{targetPath}}/component.ts to add your logic",
|
|
37
|
-
"Style your component in {{targetPath}}/style.css",
|
|
38
|
-
"Update the template in {{targetPath}}/view.html",
|
|
39
|
-
"Extension registered in extension-manifest.json",
|
|
40
|
-
"Load it with extensionManager.load('{{name}}')"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "extension",
|
|
3
|
+
"description": "Create a new UI extension with component, styles, and template",
|
|
4
|
+
"targetPath": "src/extensions/{{name}}",
|
|
5
|
+
"files": [
|
|
6
|
+
{
|
|
7
|
+
"template": "component.ts.template",
|
|
8
|
+
"output": "component.ts"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"template": "style.css.template",
|
|
12
|
+
"output": "style.css"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"template": "view.html.template",
|
|
16
|
+
"output": "view.html"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"registration": {
|
|
20
|
+
"enabled": true,
|
|
21
|
+
"file": "src/extensions/extensions-manifest.json",
|
|
22
|
+
"type": "array",
|
|
23
|
+
"entry": {
|
|
24
|
+
"tag": "{{kebabName}}",
|
|
25
|
+
"name": "{{titleName}}",
|
|
26
|
+
"version": "1.0.0",
|
|
27
|
+
"description": "Description for {{name}} extension",
|
|
28
|
+
"author": "Your Name",
|
|
29
|
+
"icon": "🎨",
|
|
30
|
+
"internal": false,
|
|
31
|
+
"path": "{{name}}",
|
|
32
|
+
"dependencies": []
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"postCreate": [
|
|
36
|
+
"Edit {{targetPath}}/component.ts to add your logic",
|
|
37
|
+
"Style your component in {{targetPath}}/style.css",
|
|
38
|
+
"Update the template in {{targetPath}}/view.html",
|
|
39
|
+
"Extension registered in extension-manifest.json",
|
|
40
|
+
"Load it with extensionManager.load('{{name}}')"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "module",
|
|
3
|
-
"description": "Create a new service module with module class and service",
|
|
4
|
-
"targetPath": "src/modules/{{name}}",
|
|
5
|
-
"files": [
|
|
6
|
-
{
|
|
7
|
-
"template": "module.ts.template",
|
|
8
|
-
"output": "module.ts"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"template": "service.ts.template",
|
|
12
|
-
"output": "{{name}}-service.ts"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"template": "README.md.template",
|
|
16
|
-
"output": "README.md"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"registration": {
|
|
20
|
-
"enabled": true,
|
|
21
|
-
"file": "src/modules/modules-manifest.json",
|
|
22
|
-
"type": "array",
|
|
23
|
-
"entry": {
|
|
24
|
-
"name": "{{name}}",
|
|
25
|
-
"version": "1.0.0",
|
|
26
|
-
"description": "Description for {{name}} module"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"postCreate": [
|
|
30
|
-
"Edit {{targetPath}}/module.ts to implement your module",
|
|
31
|
-
"Create services in {{targetPath}}/{{name}}-service.ts",
|
|
32
|
-
"Module registered in kimu.config.json",
|
|
33
|
-
"Load it with new {{className}}Module()"
|
|
34
|
-
]
|
|
35
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "module",
|
|
3
|
+
"description": "Create a new service module with module class and service",
|
|
4
|
+
"targetPath": "src/modules/{{name}}",
|
|
5
|
+
"files": [
|
|
6
|
+
{
|
|
7
|
+
"template": "module.ts.template",
|
|
8
|
+
"output": "module.ts"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"template": "service.ts.template",
|
|
12
|
+
"output": "{{name}}-service.ts"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"template": "README.md.template",
|
|
16
|
+
"output": "README.md"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"registration": {
|
|
20
|
+
"enabled": true,
|
|
21
|
+
"file": "src/modules/modules-manifest.json",
|
|
22
|
+
"type": "array",
|
|
23
|
+
"entry": {
|
|
24
|
+
"name": "{{name}}",
|
|
25
|
+
"version": "1.0.0",
|
|
26
|
+
"description": "Description for {{name}} module"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"postCreate": [
|
|
30
|
+
"Edit {{targetPath}}/module.ts to implement your module",
|
|
31
|
+
"Create services in {{targetPath}}/{{name}}-service.ts",
|
|
32
|
+
"Module registered in kimu.config.json",
|
|
33
|
+
"Load it with new {{className}}Module()"
|
|
34
|
+
]
|
|
35
|
+
}
|