profoundjs 5.3.3 → 5.6.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/setup/call.js CHANGED
@@ -13,7 +13,7 @@ var login = (process.argv.includes("-login") || process.argv.includes("--login")
13
13
  var moduleName = process.argv[2];
14
14
  if (moduleName == null) {
15
15
  console.log("You must specify a module.");
16
- return;
16
+ process.exit(1);
17
17
  }
18
18
 
19
19
  var parms = [];
@@ -15,7 +15,7 @@
15
15
  "node": ">=10"
16
16
  },
17
17
  "dependencies": {
18
- "profoundjs": "^5.3.3"
18
+ "profoundjs": "^5.6.0"
19
19
  },
20
20
  "scripts": {
21
21
  "start": "node start.js"
Binary file
package/setup/setup.js CHANGED
@@ -17,7 +17,7 @@ var dirParts = __dirname.split(dirSep);
17
17
  while (dirParts.length > 0 && dirParts.pop() !== "node_modules") {};
18
18
  if (dirParts.length === 0) {
19
19
  console.log("Can't find deployment directory.");
20
- return;
20
+ process.exit(1);
21
21
  }
22
22
  var deployDir = dirParts.join(dirSep);
23
23
  var silent = process.argv.includes("--silent");
@@ -160,6 +160,9 @@ function copyDir(dir, destinationDir) {
160
160
 
161
161
 
162
162
  function createPackageFile() {
163
+ if (IBMi)
164
+ runCommand("CHGAUT OBJ('" + deployDir + "') USER(PROFOUNDJS) DTAAUT(*RWX) OBJAUT(*ALL)");
165
+
163
166
  if (fileExists(deployDir + dirSep + "package.json")) {
164
167
  console.log("package.json file exists.");
165
168
  }
@@ -232,6 +235,10 @@ function createModulesDirectory() {
232
235
  console.log("Creating modules directory.");
233
236
  fs.mkdirSync(deployDir + dirSep + "modules");
234
237
  }
238
+
239
+ // Make sure on IBMi that user PROFOUNDJS has full access everything within the Modules directory
240
+ if (IBMi)
241
+ runCommand("CHGAUT OBJ('" + deployDir + dirSep + "modules') USER(PROFOUNDJS) DTAAUT(*RWX) OBJAUT(*ALL) SUBTREE(*ALL)");
235
242
  }
236
243
 
237
244
  function createPuiscreens() {
package/views/cloud.css CHANGED
@@ -261,6 +261,7 @@
261
261
  #_cloud_signin_button {
262
262
  margin-top: 15px;
263
263
  width: 100%;
264
+ display:block;
264
265
  }
265
266
 
266
267
  /*--- select template ---*/