@cyklang/cli 0.1.0 → 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.
@@ -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="accounting"
98
+ LOGIN_APPLI="index"
99
99
 
100
100
  # credential used by cyk CLI
101
101
 
@@ -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/build/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- #!/usr/bin/env ts-node
1
+ #!/usr/bin/env node
2
2
  export {};
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ts-node
1
+ #!/usr/bin/env node
2
2
  "use strict";
3
3
  var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyklang/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "cyklang CLI",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -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="accounting"
82
+ LOGIN_APPLI="index"
83
83
 
84
84
  # credential used by cyk CLI
85
85
 
@@ -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.ts CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ts-node
1
+ #!/usr/bin/env node
2
2
  import loglevel from 'loglevel'
3
3
  import { Command } from 'commander'
4
4
  import { ModuleCommand } from "./ModuleCommand"
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>