@zuplo/cli 1.107.0 → 1.108.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.
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9967c3d0-3ded-5c50-9e45-2f7590c72bfa")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bb91947b-169f-57b5-9cc1-ce3da5abcdc6")}catch(e){}}();
3
3
  import { parse } from "jsonc-parser";
4
4
  import { existsSync } from "node:fs";
5
5
  import { readFile } from "node:fs/promises";
@@ -45,7 +45,7 @@ async function processZuploConfigurationFile() {
45
45
  return {};
46
46
  }
47
47
  const errors = [];
48
- const data = parse(fileContents, errors);
48
+ const data = parse(fileContents, errors, { allowTrailingComma: true });
49
49
  if (errors.length > 0) {
50
50
  logger.trace(errors[0], "Failed to parse zuplo.jsonc");
51
51
  await printCriticalFailureToConsoleAndExit("Error: Failed to parse the values from zuplo.jsonc. Check your zuplo.jsonc file.");
@@ -59,4 +59,4 @@ const omitNull = (obj) => {
59
59
  return obj;
60
60
  };
61
61
  //# sourceMappingURL=user-configuration.js.map
62
- //# debugId=9967c3d0-3ded-5c50-9e45-2f7590c72bfa
62
+ //# debugId=bb91947b-169f-57b5-9cc1-ce3da5abcdc6
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f25ccd6f-0eb7-5cb5-979a-2e2c886e52a4")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="427b8d5d-9342-514f-bb93-cc1119525f44")}catch(e){}}();
3
3
  import { parse } from "jsonc-parser";
4
4
  import { existsSync } from "node:fs";
5
5
  import { readFile, writeFile } from "node:fs/promises";
@@ -74,7 +74,7 @@ export class VsCodeSettingsJsonUpgrader extends StandardUpgrader {
74
74
  }
75
75
  else {
76
76
  const settingsRaw = await readFile(vsCodeSettingsFile, "utf-8");
77
- const settingsJson = parse(settingsRaw, [], {});
77
+ const settingsJson = parse(settingsRaw, [], { allowTrailingComma: true });
78
78
  for (const schema of zuploSchemas) {
79
79
  const existingSchema = settingsJson["json.schemas"].find((s) => s.fileMatch[0] === schema.fileMatch[0]);
80
80
  if (existingSchema) {
@@ -93,4 +93,4 @@ export class VsCodeSettingsJsonUpgrader extends StandardUpgrader {
93
93
  }
94
94
  }
95
95
  //# sourceMappingURL=vscode-settings-json-upgrader.js.map
96
- //# debugId=f25ccd6f-0eb7-5cb5-979a-2e2c886e52a4
96
+ //# debugId=427b8d5d-9342-514f-bb93-cc1119525f44
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/cli",
3
- "version": "1.107.0",
3
+ "version": "1.108.0",
4
4
  "type": "module",
5
5
  "repository": "https://github.com/zuplo/cli",
6
6
  "description": "The command-line interface for Zuplo",