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/package.json +2 -2
- package/profound.jse +1 -1
- package/setup/call.js +1 -1
- package/setup/package.json +1 -1
- package/setup/pjsdist.savf +0 -0
- package/setup/setup.js +8 -1
- package/views/cloud.css +1 -0
package/setup/call.js
CHANGED
package/setup/package.json
CHANGED
package/setup/pjsdist.savf
CHANGED
|
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
|
-
|
|
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() {
|