firefly-compiler 0.5.32 → 0.5.34

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/bin/Release.ff CHANGED
@@ -36,7 +36,7 @@ release(
36
36
  releaseFireflyPackage(system, accessKeyId, secretAccessKey, "rpc")
37
37
  releaseFireflyPackage(system, accessKeyId, secretAccessKey, "s3")
38
38
  releaseFireflyPackage(system, accessKeyId, secretAccessKey, "webserver")
39
- runSuccessful(system, "git", ["commit", "-a", "-m", "Autorelease " + version], system.path(".."))
39
+ runSuccessful(system, "git", ["commit", "-a", "-m", "Autorelease_v" + version], system.path(".."))
40
40
  runSuccessful(system, "git", ["push"], system.path(".."))
41
41
  runSuccessful(system, "npm", ["install", "-g", "firefly-compiler"], system.path(".."))
42
42
  }
@@ -72,9 +72,9 @@ processNodeModules(system: NodeSystem, jsPathFile: Path, packagePath: Path, info
72
72
  let nodeModules = includePath.slash("node_modules")
73
73
  let packageJson = includePath.slash("package.json")
74
74
  if(!nodeModules.exists() && packageJson.exists()) {
75
- system.writeErrorLine("Running npm install --no-package-lock --no-bin-links in " + includePath.absolute())
75
+ system.writeErrorLine("Running npm install --no-bin-links in " + includePath.absolute())
76
76
  let result = system.execute("npm", [
77
- "install", "--no-package-lock", "--no-bin-links"
77
+ "install", "--no-bin-links"
78
78
  ], directory = Some(includePath), shell = True)
79
79
  if(result.exitCode != 0) {
80
80
  system.writeErrorLine("Running npm failed with exit code " + result.exitCode + ":")
@@ -171,8 +171,8 @@ const includePath_ = ff_core_Path.Path_slash(ff_core_Path.Path_slash(packagePath
171
171
  const nodeModules_ = ff_core_Path.Path_slash(includePath_, "node_modules");
172
172
  const packageJson_ = ff_core_Path.Path_slash(includePath_, "package.json");
173
173
  if(((!ff_core_Path.Path_exists(nodeModules_, false, false, false)) && ff_core_Path.Path_exists(packageJson_, false, false, false))) {
174
- ff_core_NodeSystem.NodeSystem_writeErrorLine(system_, ("Running npm install --no-package-lock --no-bin-links in " + ff_core_Path.Path_absolute(includePath_)));
175
- const result_ = ff_core_NodeSystem.NodeSystem_execute(system_, "npm", ["install", "--no-package-lock", "--no-bin-links"], ff_core_Buffer.new_(0, false), ff_core_Option.Some(includePath_), ff_core_Option.None(), 16777216, 9, true);
174
+ ff_core_NodeSystem.NodeSystem_writeErrorLine(system_, ("Running npm install --no-bin-links in " + ff_core_Path.Path_absolute(includePath_)));
175
+ const result_ = ff_core_NodeSystem.NodeSystem_execute(system_, "npm", ["install", "--no-bin-links"], ff_core_Buffer.new_(0, false), ff_core_Option.Some(includePath_), ff_core_Option.None(), 16777216, 9, true);
176
176
  if((result_.exitCode_ !== 0)) {
177
177
  ff_core_NodeSystem.NodeSystem_writeErrorLine(system_, (("Running npm failed with exit code " + result_.exitCode_) + ":"));
178
178
  ff_core_NodeSystem.NodeSystem_writeErrorBuffer(system_, result_.standardOut_);
@@ -390,8 +390,8 @@ const includePath_ = (await ff_core_Path.Path_slash$((await ff_core_Path.Path_sl
390
390
  const nodeModules_ = (await ff_core_Path.Path_slash$(includePath_, "node_modules", $task));
391
391
  const packageJson_ = (await ff_core_Path.Path_slash$(includePath_, "package.json", $task));
392
392
  if(((!(await ff_core_Path.Path_exists$(nodeModules_, false, false, false, $task))) && (await ff_core_Path.Path_exists$(packageJson_, false, false, false, $task)))) {
393
- (await ff_core_NodeSystem.NodeSystem_writeErrorLine$(system_, ("Running npm install --no-package-lock --no-bin-links in " + (await ff_core_Path.Path_absolute$(includePath_, $task))), $task));
394
- const result_ = (await ff_core_NodeSystem.NodeSystem_execute$(system_, "npm", ["install", "--no-package-lock", "--no-bin-links"], ff_core_Buffer.new_(0, false), ff_core_Option.Some(includePath_), ff_core_Option.None(), 16777216, 9, true, $task));
393
+ (await ff_core_NodeSystem.NodeSystem_writeErrorLine$(system_, ("Running npm install --no-bin-links in " + (await ff_core_Path.Path_absolute$(includePath_, $task))), $task));
394
+ const result_ = (await ff_core_NodeSystem.NodeSystem_execute$(system_, "npm", ["install", "--no-bin-links"], ff_core_Buffer.new_(0, false), ff_core_Option.Some(includePath_), ff_core_Option.None(), 16777216, 9, true, $task));
395
395
  if((result_.exitCode_ !== 0)) {
396
396
  (await ff_core_NodeSystem.NodeSystem_writeErrorLine$(system_, (("Running npm failed with exit code " + result_.exitCode_) + ":"), $task));
397
397
  (await ff_core_NodeSystem.NodeSystem_writeErrorBuffer$(system_, result_.standardOut_, $task));
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly compiler",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.5.32",
7
+ "version": "0.5.34",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly language support",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.5.32",
7
+ "version": "0.5.34",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"