@mxpicture/build-api 0.2.56 → 0.2.57

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 (143) hide show
  1. package/dist/barrel/Barrel.d.ts +66 -0
  2. package/dist/barrel/Barrel.d.ts.map +1 -1
  3. package/dist/barrel/Barrel.js +66 -2
  4. package/dist/barrel/Barrel.js.map +1 -1
  5. package/dist/cleanup/Cleanup.d.ts +70 -0
  6. package/dist/cleanup/Cleanup.d.ts.map +1 -1
  7. package/dist/cleanup/Cleanup.js +70 -0
  8. package/dist/cleanup/Cleanup.js.map +1 -1
  9. package/dist/code/code.common.d.ts +37 -4
  10. package/dist/code/code.common.d.ts.map +1 -1
  11. package/dist/code/code.common.js +37 -4
  12. package/dist/code/code.common.js.map +1 -1
  13. package/dist/code/code.exports.d.ts +25 -0
  14. package/dist/code/code.exports.d.ts.map +1 -1
  15. package/dist/code/code.exports.js +25 -1
  16. package/dist/code/code.exports.js.map +1 -1
  17. package/dist/code/code.format.d.ts +23 -0
  18. package/dist/code/code.format.d.ts.map +1 -1
  19. package/dist/code/code.format.js +23 -0
  20. package/dist/code/code.format.js.map +1 -1
  21. package/dist/common/common.fs.d.ts +22 -0
  22. package/dist/common/common.fs.d.ts.map +1 -1
  23. package/dist/common/common.fs.js +22 -0
  24. package/dist/common/common.fs.js.map +1 -1
  25. package/dist/common/common.json.d.ts +27 -0
  26. package/dist/common/common.json.d.ts.map +1 -1
  27. package/dist/common/common.json.js +27 -0
  28. package/dist/common/common.json.js.map +1 -1
  29. package/dist/deps/FixWorkspaceDeps.d.ts +132 -0
  30. package/dist/deps/FixWorkspaceDeps.d.ts.map +1 -1
  31. package/dist/deps/FixWorkspaceDeps.js +120 -2
  32. package/dist/deps/FixWorkspaceDeps.js.map +1 -1
  33. package/dist/git/GitChanges.d.ts +60 -13
  34. package/dist/git/GitChanges.d.ts.map +1 -1
  35. package/dist/git/GitChanges.js +60 -13
  36. package/dist/git/GitChanges.js.map +1 -1
  37. package/dist/git/git.util.d.ts +58 -3
  38. package/dist/git/git.util.d.ts.map +1 -1
  39. package/dist/git/git.util.js +58 -3
  40. package/dist/git/git.util.js.map +1 -1
  41. package/dist/logger/Logger.d.ts +74 -0
  42. package/dist/logger/Logger.d.ts.map +1 -1
  43. package/dist/logger/Logger.js +49 -0
  44. package/dist/logger/Logger.js.map +1 -1
  45. package/dist/npmPublish/NpmPublisher.d.ts +36 -0
  46. package/dist/npmPublish/NpmPublisher.d.ts.map +1 -1
  47. package/dist/npmPublish/NpmPublisher.js +36 -0
  48. package/dist/npmPublish/NpmPublisher.js.map +1 -1
  49. package/dist/osInfo/osInfo.common.d.ts +45 -1
  50. package/dist/osInfo/osInfo.common.d.ts.map +1 -1
  51. package/dist/osInfo/osInfo.common.js +45 -1
  52. package/dist/osInfo/osInfo.common.js.map +1 -1
  53. package/dist/pkg/Pkg.d.ts +69 -0
  54. package/dist/pkg/Pkg.d.ts.map +1 -1
  55. package/dist/pkg/Pkg.js +69 -0
  56. package/dist/pkg/Pkg.js.map +1 -1
  57. package/dist/pkg/SyncPkgVersion.d.ts +35 -0
  58. package/dist/pkg/SyncPkgVersion.d.ts.map +1 -1
  59. package/dist/pkg/SyncPkgVersion.js +35 -0
  60. package/dist/pkg/SyncPkgVersion.js.map +1 -1
  61. package/dist/pkg/UpdatePackages.d.ts +36 -0
  62. package/dist/pkg/UpdatePackages.d.ts.map +1 -1
  63. package/dist/pkg/UpdatePackages.js +36 -0
  64. package/dist/pkg/UpdatePackages.js.map +1 -1
  65. package/dist/pkg/pkg.common.d.ts +73 -0
  66. package/dist/pkg/pkg.common.d.ts.map +1 -1
  67. package/dist/pkg/pkg.common.js +73 -0
  68. package/dist/pkg/pkg.common.js.map +1 -1
  69. package/dist/pkg/pkg.fs.d.ts +53 -0
  70. package/dist/pkg/pkg.fs.d.ts.map +1 -1
  71. package/dist/pkg/pkg.fs.js +53 -0
  72. package/dist/pkg/pkg.fs.js.map +1 -1
  73. package/dist/types/types.barrel.d.ts +28 -0
  74. package/dist/types/types.barrel.d.ts.map +1 -1
  75. package/dist/types/types.barrel.js.map +1 -1
  76. package/dist/types/types.changelog.d.ts +28 -0
  77. package/dist/types/types.changelog.d.ts.map +1 -1
  78. package/dist/types/types.changelog.js +9 -0
  79. package/dist/types/types.changelog.js.map +1 -1
  80. package/dist/types/types.cleanup.d.ts +19 -0
  81. package/dist/types/types.cleanup.d.ts.map +1 -1
  82. package/dist/types/types.cleanup.js.map +1 -1
  83. package/dist/types/types.code.d.ts +36 -0
  84. package/dist/types/types.code.d.ts.map +1 -1
  85. package/dist/types/types.code.js.map +1 -1
  86. package/dist/types/types.deps.d.ts +27 -0
  87. package/dist/types/types.deps.d.ts.map +1 -1
  88. package/dist/types/types.deps.js +10 -0
  89. package/dist/types/types.deps.js.map +1 -1
  90. package/dist/types/types.documents.d.ts +9 -0
  91. package/dist/types/types.documents.d.ts.map +1 -1
  92. package/dist/types/types.documents.js.map +1 -1
  93. package/dist/types/types.git.d.ts +25 -0
  94. package/dist/types/types.git.d.ts.map +1 -1
  95. package/dist/types/types.git.js.map +1 -1
  96. package/dist/types/types.npm.d.ts +7 -0
  97. package/dist/types/types.npm.d.ts.map +1 -1
  98. package/dist/types/types.npm.js.map +1 -1
  99. package/dist/types/types.os.d.ts +8 -0
  100. package/dist/types/types.os.d.ts.map +1 -1
  101. package/dist/types/types.os.js.map +1 -1
  102. package/dist/types/types.package.d.ts +48 -0
  103. package/dist/types/types.package.d.ts.map +1 -1
  104. package/dist/types/types.package.js.map +1 -1
  105. package/dist/types/types.run.d.ts +4 -0
  106. package/dist/types/types.run.d.ts.map +1 -1
  107. package/dist/types/types.run.js.map +1 -1
  108. package/dist/types/types.vscode.d.ts +46 -0
  109. package/dist/types/types.vscode.d.ts.map +1 -1
  110. package/dist/types/types.vscode.js.map +1 -1
  111. package/dist/types/types.workspace.d.ts +18 -0
  112. package/dist/types/types.workspace.d.ts.map +1 -1
  113. package/dist/types/types.workspace.js +6 -0
  114. package/dist/types/types.workspace.js.map +1 -1
  115. package/dist/vscode/vscode.config.d.ts +18 -0
  116. package/dist/vscode/vscode.config.d.ts.map +1 -1
  117. package/dist/vscode/vscode.config.js +18 -0
  118. package/dist/vscode/vscode.config.js.map +1 -1
  119. package/dist/vscode/vscode.profiles.d.ts +37 -0
  120. package/dist/vscode/vscode.profiles.d.ts.map +1 -1
  121. package/dist/vscode/vscode.profiles.js +37 -0
  122. package/dist/vscode/vscode.profiles.js.map +1 -1
  123. package/dist/vscode/vscode.settings.d.ts +26 -1
  124. package/dist/vscode/vscode.settings.d.ts.map +1 -1
  125. package/dist/vscode/vscode.settings.js +26 -1
  126. package/dist/vscode/vscode.settings.js.map +1 -1
  127. package/dist/vscode/vscode.storage.d.ts +21 -1
  128. package/dist/vscode/vscode.storage.d.ts.map +1 -1
  129. package/dist/vscode/vscode.storage.js +21 -1
  130. package/dist/vscode/vscode.storage.js.map +1 -1
  131. package/dist/vscode/vscode.workspace.d.ts +17 -0
  132. package/dist/vscode/vscode.workspace.d.ts.map +1 -1
  133. package/dist/vscode/vscode.workspace.js +17 -0
  134. package/dist/vscode/vscode.workspace.js.map +1 -1
  135. package/dist/workspace/Workspace.d.ts +85 -0
  136. package/dist/workspace/Workspace.d.ts.map +1 -1
  137. package/dist/workspace/Workspace.js +85 -0
  138. package/dist/workspace/Workspace.js.map +1 -1
  139. package/dist/workspace/workspace.common.d.ts +42 -1
  140. package/dist/workspace/workspace.common.d.ts.map +1 -1
  141. package/dist/workspace/workspace.common.js +42 -1
  142. package/dist/workspace/workspace.common.js.map +1 -1
  143. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"types.code.js","sourceRoot":"","sources":["../../src/types/types.code.ts"],"names":[],"mappings":"","sourcesContent":["import ts from \"typescript\";\n\nexport interface SourceFile {\n filePath: string;\n checker: ts.TypeChecker;\n sourceFile: ts.SourceFile;\n}\n\nexport interface SourceExportItem {\n name: string; // export name (e.g. \"foo\", \"default\")\n kind: string; // human-ish kind (e.g. \"function\", \"class\", \"type\", \"namespace\", \"unknown\")\n isTypeOnly: boolean; // true if TS considers it type-only\n isReExport: boolean; // true if it comes from another module via export-from / export *\n declarations: string[]; // declaration kinds for debugging (e.g. [\"FunctionDeclaration\"])\n}\n\nexport interface SourceExport {\n items: SourceExportItem[];\n selectiveExport: boolean;\n}\n\nexport interface FileExportsParams {\n filePath: string;\n opts?: {\n includeTypeOnly?: boolean;\n includeReExports?: boolean;\n includeDefault?: boolean;\n includePrivate?: boolean;\n };\n preBuiltSource?: SourceFile;\n}\n"]}
1
+ {"version":3,"file":"types.code.js","sourceRoot":"","sources":["../../src/types/types.code.ts"],"names":[],"mappings":"","sourcesContent":["import ts from \"typescript\";\n\n/**\n * A parsed TypeScript source file together with its type checker.\n *\n * @remarks\n * Bundles the file path, the compiler's {@link ts.SourceFile} AST node,\n * and the {@link ts.TypeChecker} so that downstream consumers can perform\n * type-aware analysis without re-creating a program.\n */\nexport interface SourceFile {\n /** Absolute path to the TypeScript source file. */\n filePath: string;\n /** The TypeScript type checker associated with this file's program. */\n checker: ts.TypeChecker;\n /** The parsed AST representation of the source file. */\n sourceFile: ts.SourceFile;\n}\n\n/**\n * Metadata for a single exported symbol within a source file.\n */\nexport interface SourceExportItem {\n /** Export name (e.g. `\"foo\"`, `\"default\"`). */\n name: string;\n /** Human-readable kind of the export (e.g. `\"function\"`, `\"class\"`, `\"type\"`). */\n kind: string;\n /** Whether TypeScript considers this export type-only. */\n isTypeOnly: boolean;\n /** Whether the export originates from another module via `exportfrom` or `export *`. */\n isReExport: boolean;\n /** Declaration kind strings useful for debugging (e.g. `[\"FunctionDeclaration\"]`). */\n declarations: string[];\n}\n\n/**\n * The complete set of exports discovered in a single source file.\n */\nexport interface SourceExport {\n /** Individual export items found in the file. */\n items: SourceExportItem[];\n /** Whether the file uses selective (named) exports rather than `export *`. */\n selectiveExport: boolean;\n}\n\n/**\n * Parameters for extracting exports from a TypeScript file.\n */\nexport interface FileExportsParams {\n /** Absolute path to the file whose exports should be extracted. */\n filePath: string;\n /**\n * Optional flags that control which exports are included in the result.\n */\n opts?: {\n /** Include type-only exports (e.g. `export type { Foo }`). */\n includeTypeOnly?: boolean;\n /** Include re-exports originating from other modules. */\n includeReExports?: boolean;\n /** Include the `default` export. */\n includeDefault?: boolean;\n /** Include exports marked as private by convention. */\n includePrivate?: boolean;\n };\n /** A pre-built {@link SourceFile} to reuse, avoiding redundant parsing. */\n preBuiltSource?: SourceFile;\n}\n"]}
@@ -1,26 +1,53 @@
1
1
  import type { Pkg } from "../pkg/Pkg.js";
2
2
  import { MapEntry } from "./types.package.js";
3
3
  import { RunRepoRootParams } from "./types.run.js";
4
+ /**
5
+ * The processing mode for workspace dependency operations.
6
+ */
4
7
  export declare enum DepsProcessMode {
8
+ /** Fix workspace dependency references to concrete values. */
5
9
  fix = "fix",
10
+ /** Restore workspace dependency references to their original form. */
6
11
  restore = "restore"
7
12
  }
13
+ /**
14
+ * The replacement strategy used when fixing workspace dependencies.
15
+ */
8
16
  export declare enum DepsReplacementMode {
17
+ /** Replace workspace references with concrete version strings. */
9
18
  version = "version",
19
+ /** Replace workspace references with `file:` protocol paths. */
10
20
  file = "file"
11
21
  }
22
+ /**
23
+ * Core data required to fix workspace dependencies for a consuming package.
24
+ */
12
25
  export interface FixWorkspaceDepsMain {
26
+ /** Mapping entries that describe package-to-package relationships. */
13
27
  mapEntries: MapEntry[];
28
+ /** The package whose dependencies are being fixed. */
14
29
  consumingPkg: Pkg;
30
+ /** Map of package names to their resolved version strings. */
15
31
  versionMap: Map<string, string>;
32
+ /** Set of package names that belong to the workspace. */
16
33
  workspacePackages: Set<string>;
17
34
  }
35
+ /**
36
+ * Extended dependency-fix data for a specific workspace package and version.
37
+ */
18
38
  export interface FixWorkspaceDepsData extends FixWorkspaceDepsMain {
39
+ /** The name of the dependency package being processed. */
19
40
  pkg: string;
41
+ /** The resolved version string for the dependency. */
20
42
  version: string;
21
43
  }
44
+ /**
45
+ * Parameters for running a workspace dependency fix or restore operation.
46
+ */
22
47
  export interface FixWorkspaceDepsParams extends RunRepoRootParams {
48
+ /** Whether to fix or restore workspace dependency references. */
23
49
  mode: DepsProcessMode;
50
+ /** The replacement strategy to apply. */
24
51
  replacement: DepsReplacementMode;
25
52
  }
26
53
  //# sourceMappingURL=types.deps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.deps.d.ts","sourceRoot":"","sources":["../../src/types/types.deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,oBAAY,eAAe;IACzB,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAED,oBAAY,mBAAmB;IAC7B,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,YAAY,EAAE,GAAG,CAAC;IAClB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,iBAAiB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,IAAI,EAAE,eAAe,CAAC;IACtB,WAAW,EAAE,mBAAmB,CAAC;CAClC"}
1
+ {"version":3,"file":"types.deps.d.ts","sourceRoot":"","sources":["../../src/types/types.deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;GAEG;AACH,oBAAY,eAAe;IACzB,8DAA8D;IAC9D,GAAG,QAAQ;IACX,sEAAsE;IACtE,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,oBAAY,mBAAmB;IAC7B,kEAAkE;IAClE,OAAO,YAAY;IACnB,gEAAgE;IAChE,IAAI,SAAS;CACd;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,sEAAsE;IACtE,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,sDAAsD;IACtD,YAAY,EAAE,GAAG,CAAC;IAClB,8DAA8D;IAC9D,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,yDAAyD;IACzD,iBAAiB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE,0DAA0D;IAC1D,GAAG,EAAE,MAAM,CAAC;IACZ,sDAAsD;IACtD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,iEAAiE;IACjE,IAAI,EAAE,eAAe,CAAC;IACtB,yCAAyC;IACzC,WAAW,EAAE,mBAAmB,CAAC;CAClC"}
@@ -1,11 +1,21 @@
1
+ /**
2
+ * The processing mode for workspace dependency operations.
3
+ */
1
4
  export var DepsProcessMode;
2
5
  (function (DepsProcessMode) {
6
+ /** Fix workspace dependency references to concrete values. */
3
7
  DepsProcessMode["fix"] = "fix";
8
+ /** Restore workspace dependency references to their original form. */
4
9
  DepsProcessMode["restore"] = "restore";
5
10
  })(DepsProcessMode || (DepsProcessMode = {}));
11
+ /**
12
+ * The replacement strategy used when fixing workspace dependencies.
13
+ */
6
14
  export var DepsReplacementMode;
7
15
  (function (DepsReplacementMode) {
16
+ /** Replace workspace references with concrete version strings. */
8
17
  DepsReplacementMode["version"] = "version";
18
+ /** Replace workspace references with `file:` protocol paths. */
9
19
  DepsReplacementMode["file"] = "file";
10
20
  })(DepsReplacementMode || (DepsReplacementMode = {}));
11
21
  //# sourceMappingURL=types.deps.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.deps.js","sourceRoot":"","sources":["../../src/types/types.deps.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,8BAAW,CAAA;IACX,sCAAmB,CAAA;AACrB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAED,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,oCAAa,CAAA;AACf,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B","sourcesContent":["import type { Pkg } from \"../pkg/Pkg.js\";\nimport { MapEntry } from \"./types.package.js\";\nimport { RunRepoRootParams } from \"./types.run.js\";\n\nexport enum DepsProcessMode {\n fix = \"fix\",\n restore = \"restore\",\n}\n\nexport enum DepsReplacementMode {\n version = \"version\",\n file = \"file\",\n}\n\nexport interface FixWorkspaceDepsMain {\n mapEntries: MapEntry[];\n consumingPkg: Pkg;\n versionMap: Map<string, string>;\n workspacePackages: Set<string>;\n}\n\nexport interface FixWorkspaceDepsData extends FixWorkspaceDepsMain {\n pkg: string;\n version: string;\n}\n\nexport interface FixWorkspaceDepsParams extends RunRepoRootParams {\n mode: DepsProcessMode;\n replacement: DepsReplacementMode;\n}\n"]}
1
+ {"version":3,"file":"types.deps.js","sourceRoot":"","sources":["../../src/types/types.deps.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,8DAA8D;IAC9D,8BAAW,CAAA;IACX,sEAAsE;IACtE,sCAAmB,CAAA;AACrB,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,kEAAkE;IAClE,0CAAmB,CAAA;IACnB,gEAAgE;IAChE,oCAAa,CAAA;AACf,CAAC,EALW,mBAAmB,KAAnB,mBAAmB,QAK9B","sourcesContent":["import type { Pkg } from \"../pkg/Pkg.js\";\nimport { MapEntry } from \"./types.package.js\";\nimport { RunRepoRootParams } from \"./types.run.js\";\n\n/**\n * The processing mode for workspace dependency operations.\n */\nexport enum DepsProcessMode {\n /** Fix workspace dependency references to concrete values. */\n fix = \"fix\",\n /** Restore workspace dependency references to their original form. */\n restore = \"restore\",\n}\n\n/**\n * The replacement strategy used when fixing workspace dependencies.\n */\nexport enum DepsReplacementMode {\n /** Replace workspace references with concrete version strings. */\n version = \"version\",\n /** Replace workspace references with `file:` protocol paths. */\n file = \"file\",\n}\n\n/**\n * Core data required to fix workspace dependencies for a consuming package.\n */\nexport interface FixWorkspaceDepsMain {\n /** Mapping entries that describe package-to-package relationships. */\n mapEntries: MapEntry[];\n /** The package whose dependencies are being fixed. */\n consumingPkg: Pkg;\n /** Map of package names to their resolved version strings. */\n versionMap: Map<string, string>;\n /** Set of package names that belong to the workspace. */\n workspacePackages: Set<string>;\n}\n\n/**\n * Extended dependency-fix data for a specific workspace package and version.\n */\nexport interface FixWorkspaceDepsData extends FixWorkspaceDepsMain {\n /** The name of the dependency package being processed. */\n pkg: string;\n /** The resolved version string for the dependency. */\n version: string;\n}\n\n/**\n * Parameters for running a workspace dependency fix or restore operation.\n */\nexport interface FixWorkspaceDepsParams extends RunRepoRootParams {\n /** Whether to fix or restore workspace dependency references. */\n mode: DepsProcessMode;\n /** The replacement strategy to apply. */\n replacement: DepsReplacementMode;\n}\n"]}
@@ -1,4 +1,13 @@
1
+ /**
2
+ * The value type for a single field within a document.
3
+ *
4
+ * @remarks
5
+ * Intentionally typed as `any` to allow arbitrary document shapes.
6
+ */
1
7
  export type DocumentFieldValue = any;
8
+ /**
9
+ * A generic document represented as a string-keyed map of field values.
10
+ */
2
11
  export type DocumentData = {
3
12
  [field: string]: DocumentFieldValue;
4
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.documents.d.ts","sourceRoot":"","sources":["../../src/types/types.documents.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,kBAAkB,GAAG,GAAG,CAAC;AACrC,MAAM,MAAM,YAAY,GAAG;IAAE,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"types.documents.d.ts","sourceRoot":"","sources":["../../src/types/types.documents.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAErC;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IAAE,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB,CAAA;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.documents.js","sourceRoot":"","sources":["../../src/types/types.documents.ts"],"names":[],"mappings":"","sourcesContent":["// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type DocumentFieldValue = any;\nexport type DocumentData = { [field: string]: DocumentFieldValue };\n"]}
1
+ {"version":3,"file":"types.documents.js","sourceRoot":"","sources":["../../src/types/types.documents.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * The value type for a single field within a document.\n *\n * @remarks\n * Intentionally typed as `any` to allow arbitrary document shapes.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type DocumentFieldValue = any;\n\n/**\n * A generic document represented as a string-keyed map of field values.\n */\nexport type DocumentData = { [field: string]: DocumentFieldValue };\n"]}
@@ -1,23 +1,48 @@
1
1
  import type { DiffResult } from "simple-git";
2
+ /**
3
+ * Result of checking whether a path has changed since a given git reference.
4
+ */
2
5
  export interface GitChangedResult {
6
+ /** The file or directory path that was checked. */
3
7
  path: string;
8
+ /** The git reference (e.g. commit SHA or tag) used as the baseline. */
4
9
  sinceRef: string;
10
+ /** Whether any changes were detected. */
5
11
  hasChanged: boolean;
12
+ /** List of individual file paths that changed. */
6
13
  changedFiles: string[];
7
14
  }
15
+ /**
16
+ * The content of a single file that changed in a git diff.
17
+ */
8
18
  export interface GitChangedContent {
19
+ /** Absolute file path on disk. */
9
20
  absFilePath: string;
21
+ /** Repository-relative file path. */
10
22
  repoFilePath: string;
23
+ /** File content at the current revision, or `null` if the file was deleted. */
11
24
  content: string | null;
12
25
  }
26
+ /**
27
+ * Result of retrieving file contents that changed since a given git reference.
28
+ */
13
29
  export interface GitChangedContentsResult {
30
+ /** The file or directory path that was checked. */
14
31
  path: string;
32
+ /** The git reference used as the baseline. */
15
33
  sinceRef: string;
34
+ /** The changed files with their content. */
16
35
  files: GitChangedContent[];
17
36
  }
37
+ /**
38
+ * A git commit identified by its hash, with optional diff information.
39
+ */
18
40
  export interface GitCommitHash {
41
+ /** The full SHA hash of the commit. */
19
42
  hash: string;
43
+ /** The ISO-8601 date string of the commit. */
20
44
  date: string;
45
+ /** Optional diff result associated with this commit. */
21
46
  diff?: DiffResult;
22
47
  }
23
48
  //# sourceMappingURL=types.git.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.git.d.ts","sourceRoot":"","sources":["../../src/types/types.git.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB"}
1
+ {"version":3,"file":"types.git.d.ts","sourceRoot":"","sources":["../../src/types/types.git.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,uEAAuE;IACvE,QAAQ,EAAE,MAAM,CAAC;IACjB,yCAAyC;IACzC,UAAU,EAAE,OAAO,CAAC;IACpB,kDAAkD;IAClD,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,qCAAqC;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,+EAA+E;IAC/E,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,4CAA4C;IAC5C,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,wDAAwD;IACxD,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.git.js","sourceRoot":"","sources":["../../src/types/types.git.ts"],"names":[],"mappings":"","sourcesContent":["import type { DiffResult } from \"simple-git\";\n\nexport interface GitChangedResult {\n path: string;\n sinceRef: string;\n hasChanged: boolean;\n changedFiles: string[];\n}\n\nexport interface GitChangedContent {\n absFilePath: string;\n repoFilePath: string;\n content: string | null;\n}\n\nexport interface GitChangedContentsResult {\n path: string;\n sinceRef: string;\n files: GitChangedContent[];\n}\n\nexport interface GitCommitHash {\n hash: string;\n date: string;\n diff?: DiffResult;\n}\n"]}
1
+ {"version":3,"file":"types.git.js","sourceRoot":"","sources":["../../src/types/types.git.ts"],"names":[],"mappings":"","sourcesContent":["import type { DiffResult } from \"simple-git\";\n\n/**\n * Result of checking whether a path has changed since a given git reference.\n */\nexport interface GitChangedResult {\n /** The file or directory path that was checked. */\n path: string;\n /** The git reference (e.g. commit SHA or tag) used as the baseline. */\n sinceRef: string;\n /** Whether any changes were detected. */\n hasChanged: boolean;\n /** List of individual file paths that changed. */\n changedFiles: string[];\n}\n\n/**\n * The content of a single file that changed in a git diff.\n */\nexport interface GitChangedContent {\n /** Absolute file path on disk. */\n absFilePath: string;\n /** Repository-relative file path. */\n repoFilePath: string;\n /** File content at the current revision, or `null` if the file was deleted. */\n content: string | null;\n}\n\n/**\n * Result of retrieving file contents that changed since a given git reference.\n */\nexport interface GitChangedContentsResult {\n /** The file or directory path that was checked. */\n path: string;\n /** The git reference used as the baseline. */\n sinceRef: string;\n /** The changed files with their content. */\n files: GitChangedContent[];\n}\n\n/**\n * A git commit identified by its hash, with optional diff information.\n */\nexport interface GitCommitHash {\n /** The full SHA hash of the commit. */\n hash: string;\n /** The ISO-8601 date string of the commit. */\n date: string;\n /** Optional diff result associated with this commit. */\n diff?: DiffResult;\n}\n"]}
@@ -1,3 +1,10 @@
1
1
  import { RunRepoRootParams } from "./types.run.js";
2
+ /**
3
+ * Parameters for the npm package publisher.
4
+ *
5
+ * @remarks
6
+ * Currently an alias for {@link RunRepoRootParams}; extend this type
7
+ * to add publisher-specific options in the future.
8
+ */
2
9
  export type NpmPublisherParams = RunRepoRootParams;
3
10
  //# sourceMappingURL=types.npm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.npm.d.ts","sourceRoot":"","sources":["../../src/types/types.npm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,CAAC"}
1
+ {"version":3,"file":"types.npm.d.ts","sourceRoot":"","sources":["../../src/types/types.npm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.npm.js","sourceRoot":"","sources":["../../src/types/types.npm.ts"],"names":[],"mappings":"","sourcesContent":["import { RunRepoRootParams } from \"./types.run.js\";\n\nexport type NpmPublisherParams = RunRepoRootParams;\n"]}
1
+ {"version":3,"file":"types.npm.js","sourceRoot":"","sources":["../../src/types/types.npm.ts"],"names":[],"mappings":"","sourcesContent":["import { RunRepoRootParams } from \"./types.run.js\";\n\n/**\n * Parameters for the npm package publisher.\n *\n * @remarks\n * Currently an alias for {@link RunRepoRootParams}; extend this type\n * to add publisher-specific options in the future.\n */\nexport type NpmPublisherParams = RunRepoRootParams;\n"]}
@@ -1,8 +1,16 @@
1
+ /**
2
+ * Information about the current operating-system environment.
3
+ */
1
4
  export interface OSInfo {
5
+ /** Absolute path to the current user's home directory. */
2
6
  homedir: string;
7
+ /** The login name of the current user. */
3
8
  username: string;
9
+ /** The Node.js platform identifier (e.g. `"linux"`, `"darwin"`, `"win32"`). */
4
10
  platform: NodeJS.Platform;
11
+ /** Absolute path to the application configuration directory. */
5
12
  configDir: string;
13
+ /** Whether the environment is running under Windows Subsystem for Linux. */
6
14
  isWSL?: boolean;
7
15
  }
8
16
  //# sourceMappingURL=types.os.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.os.d.ts","sourceRoot":"","sources":["../../src/types/types.os.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
1
+ {"version":3,"file":"types.os.d.ts","sourceRoot":"","sources":["../../src/types/types.os.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,0DAA0D;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC;IAC1B,gEAAgE;IAChE,SAAS,EAAE,MAAM,CAAC;IAClB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.os.js","sourceRoot":"","sources":["../../src/types/types.os.ts"],"names":[],"mappings":"","sourcesContent":["export interface OSInfo {\n homedir: string;\n username: string;\n platform: NodeJS.Platform;\n configDir: string;\n isWSL?: boolean;\n}\n"]}
1
+ {"version":3,"file":"types.os.js","sourceRoot":"","sources":["../../src/types/types.os.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Information about the current operating-system environment.\n */\nexport interface OSInfo {\n /** Absolute path to the current user's home directory. */\n homedir: string;\n /** The login name of the current user. */\n username: string;\n /** The Node.js platform identifier (e.g. `\"linux\"`, `\"darwin\"`, `\"win32\"`). */\n platform: NodeJS.Platform;\n /** Absolute path to the application configuration directory. */\n configDir: string;\n /** Whether the environment is running under Windows Subsystem for Linux. */\n isWSL?: boolean;\n}\n"]}
@@ -1,37 +1,85 @@
1
1
  import type { Pkg } from "../pkg/Pkg.js";
2
2
  import { RunRepoRootParams } from "./types.run.js";
3
+ /**
4
+ * A parsed semantic version split into its numeric components.
5
+ */
3
6
  export interface PackageVersion {
7
+ /** The major version number. */
4
8
  major: number;
9
+ /** The minor version number. */
5
10
  minor: number;
11
+ /** The patch version number. */
6
12
  patch: number;
13
+ /** An optional prefix such as `"^"` or `"~"`, or `null` if none. */
7
14
  prefix: string | null;
8
15
  }
16
+ /**
17
+ * A minimal representation of a `package.json` file.
18
+ *
19
+ * @remarks
20
+ * Contains the most commonly accessed fields and allows arbitrary
21
+ * additional fields via the index signature.
22
+ */
9
23
  export interface PackageJson {
24
+ /** The package name as published to npm. */
10
25
  name: string;
26
+ /** Whether the package is marked as private (not publishable). */
11
27
  private?: boolean;
28
+ /** The current version string (semver). */
12
29
  version: string;
30
+ /** The `exports` field mapping entry points to file paths. */
13
31
  exports?: Record<string, string>;
32
+ /** Runtime dependency map (`name → version range`). */
14
33
  dependencies?: Record<string, string>;
34
+ /** Development dependency map (`name → version range`). */
15
35
  devDependencies?: Record<string, string>;
36
+ /** Peer dependency map (`name → version range`). */
16
37
  peerDependencies?: Record<string, string>;
38
+ /** Any other `package.json` fields. */
17
39
  [key: string]: unknown;
18
40
  }
41
+ /**
42
+ * Describes a dependency mapping between two packages in a workspace.
43
+ */
19
44
  export interface MapEntry {
45
+ /** The package that declares the dependency. */
20
46
  fromPkg: Pkg;
47
+ /** The package that is depended upon. */
21
48
  toPkg: Pkg;
49
+ /** The relative file-system path from the source to the target package. */
22
50
  relPath: string;
23
51
  }
52
+ /**
53
+ * Flags indicating which semver component to bump.
54
+ *
55
+ * @remarks
56
+ * At most one flag should be `true`. If none are set, the default
57
+ * bump behavior of the consumer applies.
58
+ */
24
59
  export interface BumpParams {
60
+ /** Bump the major version. */
25
61
  major?: boolean;
62
+ /** Bump the minor version. */
26
63
  minor?: boolean;
64
+ /** Bump the patch version. */
27
65
  patch?: boolean;
28
66
  }
67
+ /**
68
+ * Parameters for synchronizing package versions across a workspace.
69
+ */
29
70
  export interface SyncPkgVersionParams extends RunRepoRootParams {
71
+ /** Optional bump configuration controlling which semver component to increment. */
30
72
  bump?: BumpParams;
73
+ /** When `true`, skip version bumping entirely. */
31
74
  noBump?: boolean;
75
+ /** When `true`, skip creating a git tag after the version sync. */
32
76
  noTag?: boolean;
33
77
  }
78
+ /**
79
+ * Parameters for bulk-updating packages that match a pattern.
80
+ */
34
81
  export interface UpdatePackagesParams extends RunRepoRootParams {
82
+ /** Glob pattern used to select packages to update. */
35
83
  pattern: string;
36
84
  }
37
85
  //# sourceMappingURL=types.package.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.package.d.ts","sourceRoot":"","sources":["../../src/types/types.package.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AASD,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,GAAG,CAAC;IACb,KAAK,EAAE,GAAG,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,OAAO,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"types.package.d.ts","sourceRoot":"","sources":["../../src/types/types.package.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B,4CAA4C;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2CAA2C;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,2DAA2D;IAC3D,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,oDAAoD;IACpD,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,uCAAuC;IACvC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AASD;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,gDAAgD;IAChD,OAAO,EAAE,GAAG,CAAC;IACb,yCAAyC;IACzC,KAAK,EAAE,GAAG,CAAC;IACX,2EAA2E;IAC3E,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,UAAU;IACzB,8BAA8B;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,8BAA8B;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,8BAA8B;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,mFAAmF;IACnF,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,kDAAkD;IAClD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mEAAmE;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,sDAAsD;IACtD,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.package.js","sourceRoot":"","sources":["../../src/types/types.package.ts"],"names":[],"mappings":"","sourcesContent":["import type { Pkg } from \"../pkg/Pkg.js\";\nimport { RunRepoRootParams } from \"./types.run.js\";\n\nexport interface PackageVersion {\n major: number;\n minor: number;\n patch: number;\n prefix: string | null;\n}\n\nexport interface PackageJson {\n name: string;\n private?: boolean;\n version: string;\n exports?: Record<string, string>;\n dependencies?: Record<string, string>;\n devDependencies?: Record<string, string>;\n peerDependencies?: Record<string, string>;\n [key: string]: unknown;\n}\n\n// export interface PackageEntry {\n// jsonPath: string;\n// repoPath: string | null;\n// content: PackageJson;\n// modified: boolean;\n// }\n\nexport interface MapEntry {\n fromPkg: Pkg;\n toPkg: Pkg;\n relPath: string;\n}\n\nexport interface BumpParams {\n major?: boolean;\n minor?: boolean;\n patch?: boolean;\n}\n\nexport interface SyncPkgVersionParams extends RunRepoRootParams {\n bump?: BumpParams;\n noBump?: boolean;\n noTag?: boolean;\n}\n\nexport interface UpdatePackagesParams extends RunRepoRootParams {\n pattern: string;\n}\n"]}
1
+ {"version":3,"file":"types.package.js","sourceRoot":"","sources":["../../src/types/types.package.ts"],"names":[],"mappings":"","sourcesContent":["import type { Pkg } from \"../pkg/Pkg.js\";\nimport { RunRepoRootParams } from \"./types.run.js\";\n\n/**\n * A parsed semantic version split into its numeric components.\n */\nexport interface PackageVersion {\n /** The major version number. */\n major: number;\n /** The minor version number. */\n minor: number;\n /** The patch version number. */\n patch: number;\n /** An optional prefix such as `\"^\"` or `\"~\"`, or `null` if none. */\n prefix: string | null;\n}\n\n/**\n * A minimal representation of a `package.json` file.\n *\n * @remarks\n * Contains the most commonly accessed fields and allows arbitrary\n * additional fields via the index signature.\n */\nexport interface PackageJson {\n /** The package name as published to npm. */\n name: string;\n /** Whether the package is marked as private (not publishable). */\n private?: boolean;\n /** The current version string (semver). */\n version: string;\n /** The `exports` field mapping entry points to file paths. */\n exports?: Record<string, string>;\n /** Runtime dependency map (`name → version range`). */\n dependencies?: Record<string, string>;\n /** Development dependency map (`name → version range`). */\n devDependencies?: Record<string, string>;\n /** Peer dependency map (`name → version range`). */\n peerDependencies?: Record<string, string>;\n /** Any other `package.json` fields. */\n [key: string]: unknown;\n}\n\n// export interface PackageEntry {\n// jsonPath: string;\n// repoPath: string | null;\n// content: PackageJson;\n// modified: boolean;\n// }\n\n/**\n * Describes a dependency mapping between two packages in a workspace.\n */\nexport interface MapEntry {\n /** The package that declares the dependency. */\n fromPkg: Pkg;\n /** The package that is depended upon. */\n toPkg: Pkg;\n /** The relative file-system path from the source to the target package. */\n relPath: string;\n}\n\n/**\n * Flags indicating which semver component to bump.\n *\n * @remarks\n * At most one flag should be `true`. If none are set, the default\n * bump behavior of the consumer applies.\n */\nexport interface BumpParams {\n /** Bump the major version. */\n major?: boolean;\n /** Bump the minor version. */\n minor?: boolean;\n /** Bump the patch version. */\n patch?: boolean;\n}\n\n/**\n * Parameters for synchronizing package versions across a workspace.\n */\nexport interface SyncPkgVersionParams extends RunRepoRootParams {\n /** Optional bump configuration controlling which semver component to increment. */\n bump?: BumpParams;\n /** When `true`, skip version bumping entirely. */\n noBump?: boolean;\n /** When `true`, skip creating a git tag after the version sync. */\n noTag?: boolean;\n}\n\n/**\n * Parameters for bulk-updating packages that match a pattern.\n */\nexport interface UpdatePackagesParams extends RunRepoRootParams {\n /** Glob pattern used to select packages to update. */\n pattern: string;\n}\n"]}
@@ -1,4 +1,8 @@
1
+ /**
2
+ * Base parameters for operations that run against a repository root.
3
+ */
1
4
  export interface RunRepoRootParams {
5
+ /** Absolute path to the repository root directory. */
2
6
  repoRoot: string;
3
7
  }
4
8
  //# sourceMappingURL=types.run.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.run.d.ts","sourceRoot":"","sources":["../../src/types/types.run.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"types.run.d.ts","sourceRoot":"","sources":["../../src/types/types.run.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.run.js","sourceRoot":"","sources":["../../src/types/types.run.ts"],"names":[],"mappings":"","sourcesContent":["export interface RunRepoRootParams {\n repoRoot: string;\n}\n"]}
1
+ {"version":3,"file":"types.run.js","sourceRoot":"","sources":["../../src/types/types.run.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Base parameters for operations that run against a repository root.\n */\nexport interface RunRepoRootParams {\n /** Absolute path to the repository root directory. */\n repoRoot: string;\n}\n"]}
@@ -1,37 +1,83 @@
1
+ /**
2
+ * A resolved VS Code user profile.
3
+ */
1
4
  export interface VSCodeProfile {
5
+ /** Unique location identifier for the profile. */
2
6
  location: string;
7
+ /** Human-readable display name of the profile. */
3
8
  name: string;
9
+ /** Absolute path to the profile's `settings.json` file. */
4
10
  settingsPath: string;
5
11
  }
12
+ /**
13
+ * The persisted VS Code storage structure that tracks user-data profiles
14
+ * and their workspace associations.
15
+ *
16
+ * @remarks
17
+ * Mirrors the shape of VS Code's internal `storage.json` file.
18
+ */
6
19
  export interface VSCodeStorage {
20
+ /** Array of user-data profiles configured in VS Code. */
7
21
  userDataProfiles: {
22
+ /** Unique location identifier for the profile. */
8
23
  location: string;
24
+ /** Human-readable display name. */
9
25
  name: string;
26
+ /** Icon identifier for the profile. */
10
27
  icon: string;
28
+ /** Optional flags indicating which settings categories use the default profile. */
11
29
  useDefaultFlags?: {
30
+ /** Use default settings. */
12
31
  settings?: boolean;
32
+ /** Use default keybindings. */
13
33
  keybindings?: boolean;
34
+ /** Use default snippets. */
14
35
  snippets?: boolean;
36
+ /** Use default tasks. */
15
37
  tasks?: boolean;
38
+ /** Use default extensions. */
16
39
  extensions?: boolean;
17
40
  };
18
41
  }[];
42
+ /** Maps workspace identifiers to profile locations. */
19
43
  profileAssociations: {
44
+ /** Workspace-to-profile mapping. */
20
45
  workspaces: {
21
46
  [key: string]: string;
22
47
  };
23
48
  };
24
49
  }
50
+ /**
51
+ * A VS Code `settings.json` object represented as a generic record.
52
+ */
25
53
  export type VSCodeSettings = Record<string, unknown>;
54
+ /**
55
+ * A single folder entry within a VS Code multi-root workspace.
56
+ */
26
57
  export interface VSCodeWorkspaceFolder {
58
+ /** Relative or absolute path to the folder. */
27
59
  path: string;
60
+ /** Optional display name for the folder in the VS Code explorer. */
28
61
  name?: string;
62
+ /** Optional URI representation of the folder. */
29
63
  uri?: string;
30
64
  }
65
+ /**
66
+ * A VS Code `.code-workspace` file structure.
67
+ *
68
+ * @remarks
69
+ * Represents the top-level shape of a multi-root workspace configuration
70
+ * including folders, settings, launch configurations, and extension
71
+ * recommendations.
72
+ */
31
73
  export interface VSCodeWorkspace {
74
+ /** The folders included in this multi-root workspace. */
32
75
  folders: VSCodeWorkspaceFolder[];
76
+ /** Workspace-level settings overrides. */
33
77
  settings?: Record<string, unknown>;
78
+ /** Workspace-level launch/debug configurations. */
34
79
  launch?: Record<string, unknown>;
80
+ /** Workspace-level extension recommendations. */
35
81
  extensions?: Record<string, unknown>;
36
82
  }
37
83
  //# sourceMappingURL=types.vscode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.vscode.d.ts","sourceRoot":"","sources":["../../src/types/types.vscode.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,gBAAgB,EAAE;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,eAAe,CAAC,EAAE;YAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;YACnB,WAAW,CAAC,EAAE,OAAO,CAAC;YACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;YACnB,KAAK,CAAC,EAAE,OAAO,CAAC;YAChB,UAAU,CAAC,EAAE,OAAO,CAAC;SACtB,CAAC;KACH,EAAE,CAAC;IACJ,mBAAmB,EAAE;QACnB,UAAU,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;KACvC,CAAC;CACH;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAErD,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,qBAAqB,EAAE,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC"}
1
+ {"version":3,"file":"types.vscode.d.ts","sourceRoot":"","sources":["../../src/types/types.vscode.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,kDAAkD;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,kDAAkD;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,2DAA2D;IAC3D,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B,yDAAyD;IACzD,gBAAgB,EAAE;QAChB,kDAAkD;QAClD,QAAQ,EAAE,MAAM,CAAC;QACjB,mCAAmC;QACnC,IAAI,EAAE,MAAM,CAAC;QACb,uCAAuC;QACvC,IAAI,EAAE,MAAM,CAAC;QACb,mFAAmF;QACnF,eAAe,CAAC,EAAE;YAChB,4BAA4B;YAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;YACnB,+BAA+B;YAC/B,WAAW,CAAC,EAAE,OAAO,CAAC;YACtB,4BAA4B;YAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;YACnB,yBAAyB;YACzB,KAAK,CAAC,EAAE,OAAO,CAAC;YAChB,8BAA8B;YAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;SACtB,CAAC;KACH,EAAE,CAAC;IACJ,uDAAuD;IACvD,mBAAmB,EAAE;QACnB,oCAAoC;QACpC,UAAU,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;KACvC,CAAC;CACH;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAErD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,eAAe;IAC9B,yDAAyD;IACzD,OAAO,EAAE,qBAAqB,EAAE,CAAC;IACjC,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.vscode.js","sourceRoot":"","sources":["../../src/types/types.vscode.ts"],"names":[],"mappings":"","sourcesContent":["export interface VSCodeProfile {\n location: string;\n name: string;\n settingsPath: string;\n}\n\nexport interface VSCodeStorage {\n userDataProfiles: {\n location: string;\n name: string;\n icon: string;\n useDefaultFlags?: {\n settings?: boolean;\n keybindings?: boolean;\n snippets?: boolean;\n tasks?: boolean;\n extensions?: boolean;\n };\n }[];\n profileAssociations: {\n workspaces: { [key: string]: string };\n };\n}\n\nexport type VSCodeSettings = Record<string, unknown>;\n\nexport interface VSCodeWorkspaceFolder {\n path: string;\n name?: string;\n uri?: string;\n}\n\nexport interface VSCodeWorkspace {\n folders: VSCodeWorkspaceFolder[];\n settings?: Record<string, unknown>;\n launch?: Record<string, unknown>;\n extensions?: Record<string, unknown>;\n}\n"]}
1
+ {"version":3,"file":"types.vscode.js","sourceRoot":"","sources":["../../src/types/types.vscode.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * A resolved VS Code user profile.\n */\nexport interface VSCodeProfile {\n /** Unique location identifier for the profile. */\n location: string;\n /** Human-readable display name of the profile. */\n name: string;\n /** Absolute path to the profile's `settings.json` file. */\n settingsPath: string;\n}\n\n/**\n * The persisted VS Code storage structure that tracks user-data profiles\n * and their workspace associations.\n *\n * @remarks\n * Mirrors the shape of VS Code's internal `storage.json` file.\n */\nexport interface VSCodeStorage {\n /** Array of user-data profiles configured in VS Code. */\n userDataProfiles: {\n /** Unique location identifier for the profile. */\n location: string;\n /** Human-readable display name. */\n name: string;\n /** Icon identifier for the profile. */\n icon: string;\n /** Optional flags indicating which settings categories use the default profile. */\n useDefaultFlags?: {\n /** Use default settings. */\n settings?: boolean;\n /** Use default keybindings. */\n keybindings?: boolean;\n /** Use default snippets. */\n snippets?: boolean;\n /** Use default tasks. */\n tasks?: boolean;\n /** Use default extensions. */\n extensions?: boolean;\n };\n }[];\n /** Maps workspace identifiers to profile locations. */\n profileAssociations: {\n /** Workspace-to-profile mapping. */\n workspaces: { [key: string]: string };\n };\n}\n\n/**\n * A VS Code `settings.json` object represented as a generic record.\n */\nexport type VSCodeSettings = Record<string, unknown>;\n\n/**\n * A single folder entry within a VS Code multi-root workspace.\n */\nexport interface VSCodeWorkspaceFolder {\n /** Relative or absolute path to the folder. */\n path: string;\n /** Optional display name for the folder in the VS Code explorer. */\n name?: string;\n /** Optional URI representation of the folder. */\n uri?: string;\n}\n\n/**\n * A VS Code `.code-workspace` file structure.\n *\n * @remarks\n * Represents the top-level shape of a multi-root workspace configuration\n * including folders, settings, launch configurations, and extension\n * recommendations.\n */\nexport interface VSCodeWorkspace {\n /** The folders included in this multi-root workspace. */\n folders: VSCodeWorkspaceFolder[];\n /** Workspace-level settings overrides. */\n settings?: Record<string, unknown>;\n /** Workspace-level launch/debug configurations. */\n launch?: Record<string, unknown>;\n /** Workspace-level extension recommendations. */\n extensions?: Record<string, unknown>;\n}\n"]}
@@ -1,16 +1,34 @@
1
+ /**
2
+ * The structure of a `pnpm-workspace.yaml` file.
3
+ */
1
4
  export interface PnpmWorkspace {
5
+ /** Glob patterns identifying the packages in the workspace. */
2
6
  packages: string[];
3
7
  }
8
+ /**
9
+ * Classification of files discovered within a workspace.
10
+ */
4
11
  export declare enum WorkspaceFileType {
12
+ /** A `package.json` file. */
5
13
  package = "package",
14
+ /** A workspace configuration file (e.g. `pnpm-workspace.yaml`). */
6
15
  workspace = "workspace",
16
+ /** Any other file type. */
7
17
  other = "other"
8
18
  }
19
+ /**
20
+ * Metadata for a file discovered while scanning a workspace directory tree.
21
+ */
9
22
  export interface WorkspaceFile {
23
+ /** Absolute path to the file. */
10
24
  filePath: string;
25
+ /** Absolute path to the directory containing the file. */
11
26
  dirPath: string;
27
+ /** The base filename (e.g. `"package.json"`). */
12
28
  filename: string;
29
+ /** Nesting depth relative to the workspace root (0 = root). */
13
30
  level: number;
31
+ /** The classified type of this workspace file. */
14
32
  type: WorkspaceFileType;
15
33
  }
16
34
  //# sourceMappingURL=types.workspace.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.workspace.d.ts","sourceRoot":"","sources":["../../src/types/types.workspace.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,iBAAiB,CAAC;CACzB"}
1
+ {"version":3,"file":"types.workspace.d.ts","sourceRoot":"","sources":["../../src/types/types.workspace.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,+DAA+D;IAC/D,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,6BAA6B;IAC7B,OAAO,YAAY;IACnB,mEAAmE;IACnE,SAAS,cAAc;IACvB,2BAA2B;IAC3B,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,iCAAiC;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,iDAAiD;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,IAAI,EAAE,iBAAiB,CAAC;CACzB"}
@@ -1,7 +1,13 @@
1
+ /**
2
+ * Classification of files discovered within a workspace.
3
+ */
1
4
  export var WorkspaceFileType;
2
5
  (function (WorkspaceFileType) {
6
+ /** A `package.json` file. */
3
7
  WorkspaceFileType["package"] = "package";
8
+ /** A workspace configuration file (e.g. `pnpm-workspace.yaml`). */
4
9
  WorkspaceFileType["workspace"] = "workspace";
10
+ /** Any other file type. */
5
11
  WorkspaceFileType["other"] = "other";
6
12
  })(WorkspaceFileType || (WorkspaceFileType = {}));
7
13
  //# sourceMappingURL=types.workspace.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.workspace.js","sourceRoot":"","sources":["../../src/types/types.workspace.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,wCAAmB,CAAA;IACnB,4CAAuB,CAAA;IACvB,oCAAe,CAAA;AACjB,CAAC,EAJW,iBAAiB,KAAjB,iBAAiB,QAI5B","sourcesContent":["export interface PnpmWorkspace {\n packages: string[];\n}\n\nexport enum WorkspaceFileType {\n package = \"package\",\n workspace = \"workspace\",\n other = \"other\",\n}\n\nexport interface WorkspaceFile {\n filePath: string;\n dirPath: string;\n filename: string;\n level: number;\n type: WorkspaceFileType;\n}\n"]}
1
+ {"version":3,"file":"types.workspace.js","sourceRoot":"","sources":["../../src/types/types.workspace.ts"],"names":[],"mappings":"AAQA;;GAEG;AACH,MAAM,CAAN,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,6BAA6B;IAC7B,wCAAmB,CAAA;IACnB,mEAAmE;IACnE,4CAAuB,CAAA;IACvB,2BAA2B;IAC3B,oCAAe,CAAA;AACjB,CAAC,EAPW,iBAAiB,KAAjB,iBAAiB,QAO5B","sourcesContent":["/**\n * The structure of a `pnpm-workspace.yaml` file.\n */\nexport interface PnpmWorkspace {\n /** Glob patterns identifying the packages in the workspace. */\n packages: string[];\n}\n\n/**\n * Classification of files discovered within a workspace.\n */\nexport enum WorkspaceFileType {\n /** A `package.json` file. */\n package = \"package\",\n /** A workspace configuration file (e.g. `pnpm-workspace.yaml`). */\n workspace = \"workspace\",\n /** Any other file type. */\n other = \"other\",\n}\n\n/**\n * Metadata for a file discovered while scanning a workspace directory tree.\n */\nexport interface WorkspaceFile {\n /** Absolute path to the file. */\n filePath: string;\n /** Absolute path to the directory containing the file. */\n dirPath: string;\n /** The base filename (e.g. `\"package.json\"`). */\n filename: string;\n /** Nesting depth relative to the workspace root (0 = root). */\n level: number;\n /** The classified type of this workspace file. */\n type: WorkspaceFileType;\n}\n"]}
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Returns the absolute path to the VS Code configuration directory.
3
+ *
4
+ * @remarks
5
+ * The path is resolved by appending `"Code"` to the OS-specific
6
+ * configuration directory provided by {@link osInfo}.
7
+ *
8
+ * @returns The absolute path to the VS Code `Code` configuration directory.
9
+ */
1
10
  export declare const configPath: () => string;
11
+ /**
12
+ * Returns the absolute path to the VS Code `User` configuration directory.
13
+ *
14
+ * @remarks
15
+ * This is the directory that contains per-user settings, keybindings,
16
+ * snippets, and profile data.
17
+ *
18
+ * @returns The absolute path to the `User` subdirectory inside {@link configPath}.
19
+ */
2
20
  export declare const configUserPath: () => string;
3
21
  //# sourceMappingURL=vscode.config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vscode.config.d.ts","sourceRoot":"","sources":["../../src/vscode/vscode.config.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,QAAO,MAA0C,CAAC;AACzE,eAAO,MAAM,cAAc,QAAO,MAAoC,CAAC"}
1
+ {"version":3,"file":"vscode.config.d.ts","sourceRoot":"","sources":["../../src/vscode/vscode.config.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,QAAO,MAA0C,CAAC;AAEzE;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,QAAO,MAAoC,CAAC"}
@@ -1,5 +1,23 @@
1
1
  import { join } from "node:path";
2
2
  import { osInfo } from "../osInfo/osInfo.common.js";
3
+ /**
4
+ * Returns the absolute path to the VS Code configuration directory.
5
+ *
6
+ * @remarks
7
+ * The path is resolved by appending `"Code"` to the OS-specific
8
+ * configuration directory provided by {@link osInfo}.
9
+ *
10
+ * @returns The absolute path to the VS Code `Code` configuration directory.
11
+ */
3
12
  export const configPath = () => join(osInfo().configDir, "Code");
13
+ /**
14
+ * Returns the absolute path to the VS Code `User` configuration directory.
15
+ *
16
+ * @remarks
17
+ * This is the directory that contains per-user settings, keybindings,
18
+ * snippets, and profile data.
19
+ *
20
+ * @returns The absolute path to the `User` subdirectory inside {@link configPath}.
21
+ */
4
22
  export const configUserPath = () => join(configPath(), "User");
5
23
  //# sourceMappingURL=vscode.config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vscode.config.js","sourceRoot":"","sources":["../../src/vscode/vscode.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,MAAM,CAAC,MAAM,UAAU,GAAG,GAAW,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;AACzE,MAAM,CAAC,MAAM,cAAc,GAAG,GAAW,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,CAAC,CAAC","sourcesContent":["import { join } from \"node:path\";\nimport { osInfo } from \"../osInfo/osInfo.common.js\";\n\nexport const configPath = (): string => join(osInfo().configDir, \"Code\");\nexport const configUserPath = (): string => join(configPath(), \"User\");\n"]}
1
+ {"version":3,"file":"vscode.config.js","sourceRoot":"","sources":["../../src/vscode/vscode.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,GAAW,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;AAEzE;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,GAAW,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,CAAC,CAAC","sourcesContent":["import { join } from \"node:path\";\nimport { osInfo } from \"../osInfo/osInfo.common.js\";\n\n/**\n * Returns the absolute path to the VS Code configuration directory.\n *\n * @remarks\n * The path is resolved by appending `\"Code\"` to the OS-specific\n * configuration directory provided by {@link osInfo}.\n *\n * @returns The absolute path to the VS Code `Code` configuration directory.\n */\nexport const configPath = (): string => join(osInfo().configDir, \"Code\");\n\n/**\n * Returns the absolute path to the VS Code `User` configuration directory.\n *\n * @remarks\n * This is the directory that contains per-user settings, keybindings,\n * snippets, and profile data.\n *\n * @returns The absolute path to the `User` subdirectory inside {@link configPath}.\n */\nexport const configUserPath = (): string => join(configPath(), \"User\");\n"]}