@cyklang/cli 0.1.1 → 0.1.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/build/InitCommand.js +1 -1
- package/build/ModuleCommand.js +1 -0
- package/package.json +1 -1
- package/src/InitCommand.ts +1 -1
- package/src/ModuleCommand.ts +1 -0
- package/src/index.xml +10 -0
package/build/InitCommand.js
CHANGED
|
@@ -95,7 +95,7 @@ SECRET_RTOKEN="${this.generateToken()}"
|
|
|
95
95
|
LOGIN_IMAGE="https://media.smartbox.com/pim/1000001967971201770883.jpg?thumbor=800x0/filters:quality(90)"
|
|
96
96
|
LOGIN_TITLE="CYK Framework"
|
|
97
97
|
LOGIN_SUBTITLE="Une application pilote du framework CYK"
|
|
98
|
-
LOGIN_APPLI="
|
|
98
|
+
LOGIN_APPLI="index"
|
|
99
99
|
|
|
100
100
|
# credential used by cyk CLI
|
|
101
101
|
|
package/build/ModuleCommand.js
CHANGED
|
@@ -110,6 +110,7 @@ class ModuleUpload extends Cmd_1.Cmd {
|
|
|
110
110
|
}
|
|
111
111
|
else {
|
|
112
112
|
// update
|
|
113
|
+
dbModuleExist.source = source;
|
|
113
114
|
dbModuleExist.access = tag.attributes.ACCESS;
|
|
114
115
|
dbModuleExist.description = tag.attributes.DESCRIPTION;
|
|
115
116
|
logger.debug('module update ' + dbname + ' access ' + dbModuleExist.access + ' description ' + dbModuleExist.description);
|
package/package.json
CHANGED
package/src/InitCommand.ts
CHANGED
|
@@ -79,7 +79,7 @@ SECRET_RTOKEN="${this.generateToken()}"
|
|
|
79
79
|
LOGIN_IMAGE="https://media.smartbox.com/pim/1000001967971201770883.jpg?thumbor=800x0/filters:quality(90)"
|
|
80
80
|
LOGIN_TITLE="CYK Framework"
|
|
81
81
|
LOGIN_SUBTITLE="Une application pilote du framework CYK"
|
|
82
|
-
LOGIN_APPLI="
|
|
82
|
+
LOGIN_APPLI="index"
|
|
83
83
|
|
|
84
84
|
# credential used by cyk CLI
|
|
85
85
|
|
package/src/ModuleCommand.ts
CHANGED
|
@@ -88,6 +88,7 @@ class ModuleUpload extends Cmd {
|
|
|
88
88
|
}
|
|
89
89
|
else {
|
|
90
90
|
// update
|
|
91
|
+
dbModuleExist.source = source
|
|
91
92
|
dbModuleExist.access = tag.attributes.ACCESS
|
|
92
93
|
dbModuleExist.description = tag.attributes.DESCRIPTION
|
|
93
94
|
logger.debug('module update ' + dbname + ' access ' + dbModuleExist.access + ' description ' + dbModuleExist.description)
|
package/src/index.xml
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml-model href="https://www.cyklang.net/cyklang.xsd" ?>
|
|
2
|
+
<module>
|
|
3
|
+
<showform>
|
|
4
|
+
<form title="Homepage">
|
|
5
|
+
<string name="title">"Welcome to your new application"</string>
|
|
6
|
+
<string name="subtitle">"Your server and database have been successfully initialized !"</string>
|
|
7
|
+
</form>
|
|
8
|
+
</showform>
|
|
9
|
+
|
|
10
|
+
</module>
|