@darkhorseprojects/circuitry 0.3.3 → 0.3.4

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.
Files changed (2) hide show
  1. package/dist/cli.js +1 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -248,7 +248,7 @@ var loadCircuitryGraphFile = async (filename2 = defaultFilename, standard, stack
248
248
  // src/cli.ts
249
249
  var [, , command, filename] = process.argv;
250
250
  var usage = () => {
251
- console.error("usage: circuitry <check|normalize|normalize-json|parse> <file.yaml>");
251
+ console.error("usage: circuitry <check|normalize|parse> <file.yaml>");
252
252
  process.exit(2);
253
253
  };
254
254
  if (!command || !filename) usage();
@@ -267,9 +267,6 @@ try {
267
267
  console.log(`ok: ${loaded.filename}`);
268
268
  } else if (command === "normalize") {
269
269
  process.stdout.write(stringifyYamlData({ circuitryBundle: CIRCUITRY_SPEC_VERSION, graph: loaded.graph, origins: loaded.origins }));
270
- } else if (command === "normalize-json") {
271
- process.stdout.write(JSON.stringify({ circuitryBundle: CIRCUITRY_SPEC_VERSION, graph: loaded.graph, origins: loaded.origins }));
272
- process.stdout.write("\n");
273
270
  } else {
274
271
  usage();
275
272
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darkhorseprojects/circuitry",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",