@orkestrel/scaffold 0.0.70 → 0.0.71

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,9 +1,9 @@
1
- import { andOf, arrayOf, attempt, canonicalStringify, cloneJSONValue, compareValues, enumerableKeys, holds, isArray, isBoolean, isFunction, isRecord, isString, limitEntries, literalOf, parseJSON, recordOf, sortValues, stringOf, unionOf } from "@orkestrel/contract";
1
+ import { andOf, arrayOf, attempt, canonicalStringify, cloneJSONValue, compareValues, enumerableKeys, holds, isArray, isBoolean, isFunction, isInstance, isRecord, isString, limitEntries, literalOf, parseJSON, recordOf, sortValues, stringOf, unionOf } from "@orkestrel/contract";
2
2
  import { fillTemplate } from "@orkestrel/template";
3
3
  import { Emitter } from "@orkestrel/emitter";
4
4
  var package_default = {
5
5
  name: "@orkestrel/scaffold",
6
- version: "0.0.70",
6
+ version: "0.0.71",
7
7
  description: "Scaffold workspaces with commands: new, audit, repair, catalog, and overwrite.",
8
8
  keywords: [
9
9
  "audit",
@@ -89,19 +89,19 @@ var package_default = {
89
89
  "prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:distribution -- --mode release"
90
90
  },
91
91
  dependencies: {
92
- "@orkestrel/console": "^0.0.13",
92
+ "@orkestrel/console": "^0.0.14",
93
93
  "@orkestrel/contract": "^0.0.17",
94
94
  "@orkestrel/emitter": "^0.0.10",
95
- "@orkestrel/markdown": "^0.0.14",
96
- "@orkestrel/process": "^0.0.12",
97
- "@orkestrel/template": "^0.0.7"
95
+ "@orkestrel/markdown": "^0.0.15",
96
+ "@orkestrel/process": "^0.0.13",
97
+ "@orkestrel/template": "^0.0.8"
98
98
  },
99
99
  devDependencies: {
100
100
  "@microsoft/api-extractor": "^7.59.1",
101
101
  "@orkestrel/guide": "^0.0.19",
102
- "@orkestrel/html": "^0.0.9",
103
- "@orkestrel/probe": "^0.0.14",
104
- "@orkestrel/test": "^0.0.14",
102
+ "@orkestrel/html": "^0.0.10",
103
+ "@orkestrel/probe": "^0.0.15",
104
+ "@orkestrel/test": "^0.0.15",
105
105
  "@types/node": "^26.5.1",
106
106
  "@vitest/browser-playwright": "^4.1.11",
107
107
  "oxfmt": "^0.68.0",
@@ -2850,7 +2850,7 @@ var ScaffoldError = class extends Error {
2850
2850
  * ```
2851
2851
  */
2852
2852
  function isScaffoldError(value) {
2853
- return value instanceof ScaffoldError;
2853
+ return isInstance(value, ScaffoldError);
2854
2854
  }
2855
2855
  //#endregion
2856
2856
  //#region src/core/validators.ts
@@ -5790,7 +5790,7 @@ function replaceManifestRanges(manifest, pins) {
5790
5790
  if (manifest.charAt(value) === ":") {
5791
5791
  value += 1;
5792
5792
  while (value < manifest.length && /\s/u.test(manifest.charAt(value))) value += 1;
5793
- if (typeof key === "string" && sectionNames.has(key) && manifest.charAt(value) === "{") {
5793
+ if (isString(key) && sectionNames.has(key) && manifest.charAt(value) === "{") {
5794
5794
  let sectionDepth = 0;
5795
5795
  let sectionCursor = value;
5796
5796
  while (sectionCursor < manifest.length) {
@@ -5872,7 +5872,7 @@ function replaceManifestRanges(manifest, pins) {
5872
5872
  }
5873
5873
  valueStart += 1;
5874
5874
  while (valueStart < section.length && /\s/u.test(section.charAt(valueStart))) valueStart += 1;
5875
- if (typeof key !== "string" || section.charAt(valueStart) !== "\"") {
5875
+ if (!isString(key) || section.charAt(valueStart) !== "\"") {
5876
5876
  sectionCursor = keyEnd;
5877
5877
  continue;
5878
5878
  }