edgeone 1.0.3 → 1.0.5

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.
@@ -103299,7 +103299,7 @@ var yargs_default = Yargs;
103299
103299
  // package.json
103300
103300
  var package_default = {
103301
103301
  name: "edgeone",
103302
- version: "1.0.3",
103302
+ version: "1.0.5",
103303
103303
  description: "Command-line interface for TencentCloud Pages Functions",
103304
103304
  bin: {
103305
103305
  edgeone: "./edgeone-bin/edgeone.js"
@@ -113381,6 +113381,12 @@ function parse2(config, path9) {
113381
113381
  result.headers = result_h;
113382
113382
  result.redirects = result_r;
113383
113383
  result.rewrites = result_w;
113384
+ const rest_arg = ["outputDirectory", "installCommand", "buildCommand", "nodeVersion"];
113385
+ for (const key2 in config) {
113386
+ if (rest_arg.includes(key2) && config[key2]) {
113387
+ result[key2] = config[key2];
113388
+ }
113389
+ }
113384
113390
  message.push(...message_h, ...message_r, ...message_w);
113385
113391
  return [result, message];
113386
113392
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edgeone",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Command-line interface for TencentCloud Pages Functions",
5
5
  "bin": {
6
6
  "edgeone": "./edgeone-bin/edgeone.js"