@fgv/repo-template 5.1.0-5 → 5.1.0-7

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
- Start time: Thu Mar 26 2026 23:15:27 GMT+0000 (Coordinated Universal Time)
2
- Invoking "/usr/bin/tar -c -f /home/runner/work/fgv/fgv/common/temp/build-cache/68862778ea124bb27fc39ceb40c0271b4311d61f-92b81e1fa7f8471b.temp -z --files-from=-"
1
+ Start time: Sat Mar 28 2026 10:47:20 GMT+0000 (Coordinated Universal Time)
2
+ Invoking "/usr/bin/tar -c -f /home/runner/work/fgv/fgv/common/temp/build-cache/34e00df6ff3f9b3412fa1188daaf48c6968d3dea-bbe6b16786f6f5ba.temp -z --files-from=-"
3
3
 
4
4
  ======= BEGIN PROCESS INPUT ======
5
5
  .rush/temp/operation/build/all.log
@@ -17,6 +17,10 @@ lib/commands/init-library.d.ts
17
17
  lib/commands/init-library.d.ts.map
18
18
  lib/commands/init-library.js
19
19
  lib/commands/init-library.js.map
20
+ lib/commands/link.d.ts
21
+ lib/commands/link.d.ts.map
22
+ lib/commands/link.js
23
+ lib/commands/link.js.map
20
24
  lib/commands/patch.d.ts
21
25
  lib/commands/patch.d.ts.map
22
26
  lib/commands/patch.js
@@ -2,5 +2,5 @@
2
2
  {"kind":"O","text":" ---- build started ---- \n"}
3
3
  {"kind":"O","text":"[build:typescript] The TypeScript compiler version 5.9.3 is newer than the latest version that was tested with Heft (5.8); it may not work correctly.\n"}
4
4
  {"kind":"O","text":"[build:typescript] Using TypeScript version 5.9.3\n"}
5
- {"kind":"O","text":" ---- build finished (3.147s) ---- \n"}
6
- {"kind":"O","text":"-------------------- Finished (3.154s) --------------------\n"}
5
+ {"kind":"O","text":" ---- build finished (3.231s) ---- \n"}
6
+ {"kind":"O","text":"-------------------- Finished (3.238s) --------------------\n"}
@@ -2,5 +2,5 @@ Invoking: heft build --clean
2
2
  ---- build started ----
3
3
  [build:typescript] The TypeScript compiler version 5.9.3 is newer than the latest version that was tested with Heft (5.8); it may not work correctly.
4
4
  [build:typescript] Using TypeScript version 5.9.3
5
- ---- build finished (3.147s) ----
6
- -------------------- Finished (3.154s) --------------------
5
+ ---- build finished (3.231s) ----
6
+ -------------------- Finished (3.238s) --------------------
@@ -2,5 +2,5 @@
2
2
  {"kind":"O","text":" ---- build started ---- \n"}
3
3
  {"kind":"O","text":"[build:typescript] The TypeScript compiler version 5.9.3 is newer than the latest version that was tested with Heft (5.8); it may not work correctly.\n"}
4
4
  {"kind":"O","text":"[build:typescript] Using TypeScript version 5.9.3\n"}
5
- {"kind":"O","text":" ---- build finished (3.147s) ---- \n"}
6
- {"kind":"O","text":"-------------------- Finished (3.154s) --------------------\n"}
5
+ {"kind":"O","text":" ---- build finished (3.231s) ---- \n"}
6
+ {"kind":"O","text":"-------------------- Finished (3.238s) --------------------\n"}
@@ -1,3 +1,3 @@
1
1
  {
2
- "nonCachedDurationMs": 3691.512799
2
+ "nonCachedDurationMs": 3742.0035850000004
3
3
  }
@@ -177,10 +177,10 @@
177
177
  "balanced-match@1.0.2": "balanced-match@1.0.2:gfGr4W+ea8r5s//ubOMelyZUtW6NYxDKRn7E320nT9E=:",
178
178
  "balanced-match@4.0.4": "balanced-match@4.0.4:VSjnVj0+rFSnolVh+ucUWXw1b7ZiCM22UYlQhwsr06M=:",
179
179
  "baseline-browser-mapping@2.10.11": "baseline-browser-mapping@2.10.11:0CwT0xX24YcQXmP2v17E66SJvBkEo8eA8p3PmAsyjsM=:",
180
- "brace-expansion@1.1.12": "brace-expansion@1.1.12:WZ7loigFQpKsxn/o3ZZyFCIEJvMvQqIiWubBtlXlQFE=:",
180
+ "brace-expansion@1.1.13": "brace-expansion@1.1.13:4BqNM7WMHMVQY/bO4zn4r80IGnwT4TYt2lXDSSOqyaM=:",
181
181
  "brace-expansion@5.0.5": "brace-expansion@5.0.5:lndcZodcRStt7dkBr4IrjDUO43o0Whs7Ot+N/MGMRUw=:",
182
182
  "braces@3.0.3": "braces@3.0.3:XgtM8Thv4a2Jjl/ddoMXUuUIi23AnHOiAk53PiCD0EQ=:",
183
- "browserslist@4.28.1": "browserslist@4.28.1:xX5oxvXE7CoVKCJOVR8cDVvSrVdgsD2LkhvoLxaeLx8=:",
183
+ "browserslist@4.28.1": "browserslist@4.28.1:PufBduZRXiyVczJej0EcHPQW4Q5/PDuOcSD9prxTsFg=:",
184
184
  "bser@2.1.1": "bser@2.1.1:MdgjZn0AZmSJHB9yVpx1U91nc5kAEoAwAAlGF5GpWng=:",
185
185
  "buffer-from@1.1.2": "buffer-from@1.1.2:TarzWz8DBUI3T1RFO4QJYqNj4O2a73dlaXG5ag7BvjE=:",
186
186
  "call-bind-apply-helpers@1.0.2": "call-bind-apply-helpers@1.0.2:raJWS66IT0cGhoMqN32rIKDY5/CGVIQ2EqYL1t1Tyo8=:",
@@ -226,7 +226,7 @@
226
226
  "doctrine@2.1.0": "doctrine@2.1.0:JevpNKzLfvaexskuJ6/h7ziLTAEzbRmKa7vhUx5fAXg=:",
227
227
  "domexception@4.0.0": "domexception@4.0.0:QxiKfmp0ThoE6H3FMfP9Owu66wcnPtexGIHAzYWQ1CA=:",
228
228
  "dunder-proto@1.0.1": "dunder-proto@1.0.1:M6vNqvWvazL6FeqnYMkPeOcSn0oDUlpjWRQESJ82NR0=:",
229
- "electron-to-chromium@1.5.325": "electron-to-chromium@1.5.325:/8nor6UTlelqDU1L58sxEvNMj1NAIDTbe8hv3dcNGTc=:",
229
+ "electron-to-chromium@1.5.328": "electron-to-chromium@1.5.328:n5rvkYQqzbrS1VR5/q/kl7FD9Dpzx++cpR+uPOA5NTQ=:",
230
230
  "emittery@0.13.1": "emittery@0.13.1:y3cS3m7IZenoxG05eF3MaqogPOCP4jojQl0Gf5zxAWI=:",
231
231
  "entities@6.0.1": "entities@6.0.1:6YflfEFfgMi6oYpx18jf2Hm2JgeiuwcKeRDFuu/z3Ig=:",
232
232
  "error-ex@1.3.4": "error-ex@1.3.4:C8FJXd7LgTJf5OcuOinX4qFjiMrFrYEnYyPuXaiEjtM=:",
@@ -426,7 +426,7 @@
426
426
  "mimic-fn@2.1.0": "mimic-fn@2.1.0:gXKgL7Np3cz95m2xtLfaEFtkI1A2fTkTLxmTlNiK9Fg=:",
427
427
  "minimatch@10.2.3": "minimatch@10.2.3:5N0h90GH6TMHggq6mJYtD7ugPuUlKzkSgYWbgJlLUIs=:",
428
428
  "minimatch@10.2.4": "minimatch@10.2.4:Li9PIk9pv/ddRePus605y6sshbhK5+EZxXB/aX/XrOo=:",
429
- "minimatch@3.1.5": "minimatch@3.1.5:yYIACUhrhidjXOlaXwSeNxn0Vr8A7KTQGJIgL8gFiuU=:",
429
+ "minimatch@3.1.5": "minimatch@3.1.5:qoNEFapa3OizlXZ20Ij/OaQdyVOBMgYem48ilUM6HnU=:",
430
430
  "ms@2.1.3": "ms@2.1.3:xgLWg3kVMamVjHxNqBOX2ye0Wk7IMAMEzH0+Ih3GdAI=:",
431
431
  "natural-compare@1.4.0": "natural-compare@1.4.0:TYI1bmKu+ZHaobZXs/B5hNXj1gFjP1MbXA/aTJrSvXk=:",
432
432
  "node-exports-info@1.6.0": "node-exports-info@1.6.0:HF/RDcWOaVRnL22e+l02gx66x9l96lqlifTOsW5kzcI=:",
package/lib/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAAA;;GAEG;AASH,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;;IAOtB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAI/C,OAAO,CAAC,cAAc;IAuGtB;;OAEG;IACH,OAAO,CAAC,iBAAiB;CAW1B"}
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;;IAOtB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAI/C,OAAO,CAAC,cAAc;IAiJtB;;OAEG;IACH,OAAO,CAAC,iBAAiB;CAW1B"}
package/lib/cli.js CHANGED
@@ -10,6 +10,7 @@ const create_1 = require("./commands/create");
10
10
  const sync_1 = require("./commands/sync");
11
11
  const patch_1 = require("./commands/patch");
12
12
  const init_library_1 = require("./commands/init-library");
13
+ const link_1 = require("./commands/link");
13
14
  class RepoTemplateCli {
14
15
  constructor() {
15
16
  this._program = new commander_1.Command();
@@ -87,6 +88,42 @@ class RepoTemplateCli {
87
88
  fgvDepVersion: opts.fgvDepVersion
88
89
  });
89
90
  });
91
+ // ── link ──
92
+ this._program
93
+ .command('link')
94
+ .description('Link to a local fgv worktree for cross-repo development')
95
+ .requiredOption('--fgv-dir <path>', 'Path to the local fgv worktree')
96
+ .option('--repo-dir <path>', 'Consumer Rush repo root (default: cwd)', process.cwd())
97
+ .action(async (opts) => {
98
+ await (0, link_1.runLink)({
99
+ fgvDir: opts.fgvDir,
100
+ repoDir: opts.repoDir
101
+ });
102
+ });
103
+ // ── unlink ──
104
+ this._program
105
+ .command('unlink')
106
+ .description('Switch back from local fgv worktree to published npm packages')
107
+ .option('--repo-dir <path>', 'Consumer Rush repo root (default: cwd)', process.cwd())
108
+ .option('--fgv-version <spec>', 'Also bump @fgv/* deps to this version spec')
109
+ .action(async (opts) => {
110
+ await (0, link_1.runUnlink)({
111
+ repoDir: opts.repoDir,
112
+ version: opts.fgvVersion
113
+ });
114
+ });
115
+ // ── update-fgv-versions ──
116
+ this._program
117
+ .command('update-fgv-versions')
118
+ .description('Bump @fgv/* dependency version specs across all projects')
119
+ .option('--repo-dir <path>', 'Consumer Rush repo root (default: cwd)', process.cwd())
120
+ .option('--fgv-version <spec>', 'Version spec to set (e.g. "~5.2.0"). If omitted, queries npm for latest.')
121
+ .action(async (opts) => {
122
+ await (0, link_1.runUpdateFgvVersions)({
123
+ repoDir: opts.repoDir,
124
+ version: opts.fgvVersion
125
+ });
126
+ });
90
127
  // ── patch ──
91
128
  this._program
92
129
  .command('patch <file>')
package/lib/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,yCAAoC;AACpC,sCAAgD;AAChD,8CAA8C;AAC9C,0CAA0C;AAC1C,4CAA4D;AAC5D,0DAAgF;AAEhF,MAAa,eAAe;IAG1B;QACE,IAAI,CAAC,QAAQ,GAAG,IAAI,mBAAO,EAAE,CAAC;QAC9B,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAEM,KAAK,CAAC,GAAG,CAAC,IAAc;QAC7B,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;IAEO,cAAc;QACpB,IAAI,CAAC,QAAQ;aACV,IAAI,CAAC,eAAe,CAAC;aACrB,WAAW,CAAC,gDAAgD,CAAC;aAC7D,OAAO,CAAC,OAAO,CAAC,CAAC;QAEpB,eAAe;QACf,IAAI,CAAC,QAAQ;aACV,OAAO,CAAC,QAAQ,CAAC;aACjB,WAAW,CAAC,4EAA4E,CAAC;aACzF,cAAc,CAAC,yBAAyB,EAAE,qCAAqC,CAAC;aAChF,cAAc,CAAC,sBAAsB,EAAE,uBAAuB,CAAC;aAC/D,MAAM,CAAC,6BAA6B,EAAE,qBAAqB,EAAE,SAAS,CAAC;aACvE,MAAM,CAAC,yBAAyB,EAAE,iBAAiB,EAAE,OAAO,CAAC;aAC7D,MAAM,CAAC,yBAAyB,EAAE,6DAA6D,CAAC;aAChG,MAAM,CAAC,kBAAkB,EAAE,yCAAyC,EAAE,KAAK,CAAC;aAC5E,MAAM,CAAC,eAAe,EAAE,kCAAkC,CAAC;aAC3D,MAAM,CAAC,KAAK,EAAE,IA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GAAG,CAAC,CAAC;YAC7B,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;YAE1C,MAAM,UAAU,GAAG,IAAA,sBAAc,EAAC,MAAM,CAAC,CAAC;YAC1C,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC5B,OAAO,CAAC,KAAK,CAAC,uEAAuE,CAAC,CAAC;gBACvF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAClB,CAAC;YACD,MAAM,IAAA,gBAAQ,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACP,CAAC;IAED;;OAEG;IACK,iBAAiB;QACvB,MAAM,QAAQ,GAAG,IAAA,oBAAe,EAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;QAChD,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,OAAO,CAAC,KAAK,CACX,gDAAgD;gBAC9C,oEAAoE,CACvE,CAAC;YACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF;AAjID,0CAiIC","sourcesContent":["/**\n * CLI entry point — sets up commander with create, sync, and patch subcommands.\n */\n\nimport { Command } from 'commander';\nimport { detectSourceDir } from './packlets/fs';\nimport { runCreate } from './commands/create';\nimport { runSync } from './commands/sync';\nimport { runPatch, parsePatchArgs } from './commands/patch';\nimport { runInitLibrary, RigType, CategoryType } from './commands/init-library';\n\nexport class RepoTemplateCli {\n private readonly _program: Command;\n\n public constructor() {\n this._program = new Command();\n this._setupCommands();\n }\n\n public async run(argv: string[]): Promise<void> {\n await this._program.parseAsync(argv);\n }\n\n private _setupCommands(): void {\n this._program\n .name('repo-template')\n .description('Create and maintain fgv-derived Rush monorepos')\n .version('5.1.0');\n\n // ── create ──\n this._program\n .command('create')\n .description('Stamp out a new fgv-derived Rush monorepo using rush init + JSONC patching')\n .requiredOption('-t, --target-dir <path>', 'Directory to create the new repo in')\n .requiredOption('-u, --repo-url <url>', 'GitHub repository URL')\n .option('-p, --version-policy <name>', 'Version policy name', 'default')\n .option('--initial-version <ver>', 'Initial version', '0.1.0')\n .option('-s, --source-dir <path>', 'Source repo for shared files (auto-detected if in fgv repo)')\n .option('--allow-existing', 'Allow target directory to already exist', false)\n .option('--no-git-init', 'Skip git init and initial commit')\n .action(async (opts) => {\n const sourceDir = opts.sourceDir ?? this._resolveSourceDir();\n await runCreate({\n targetDir: opts.targetDir,\n repoUrl: opts.repoUrl,\n versionPolicy: opts.versionPolicy,\n version: opts.initialVersion,\n sourceDir,\n allowExisting: opts.allowExisting,\n gitInit: opts.gitInit\n });\n });\n\n // ── sync ──\n this._program\n .command('sync')\n .description('Sync shared files from the fgv source repo to a consumer repo')\n .requiredOption('-t, --target-dir <path>', 'Consumer repo to update')\n .option('-s, --source-dir <path>', 'Source repo (auto-detected if in fgv repo)')\n .option('-n, --dry-run', 'Show what would change without modifying files', false)\n .action(async (opts) => {\n const sourceDir = opts.sourceDir ?? this._resolveSourceDir();\n await runSync({\n targetDir: opts.targetDir,\n sourceDir,\n dryRun: opts.dryRun\n });\n });\n\n // ── init-library ──\n this._program\n .command('init-library')\n .description('Scaffold a new library package within an existing Rush monorepo')\n .requiredOption('-n, --name <name>', 'Package name (e.g. \"ts-my-lib\" — auto-prefixed with @fgv/)')\n .option('-d, --description <text>', 'Package description', '')\n .option('-r, --rig <type>', 'Heft rig: dual (default), node, or browser', 'dual')\n .option(\n '-c, --category <type>',\n 'Category folder: libraries (default), tools, apps, services',\n 'libraries'\n )\n .option('--repo-dir <path>', 'Rush monorepo root (default: cwd)', process.cwd())\n .option('-p, --version-policy <name>', 'Version policy name', 'default')\n .option('--initial-version <ver>', 'Initial version', '0.1.0')\n .option(\n '--fgv-dep-version <ver>',\n 'Version spec for @fgv/* deps (\"workspace:*\" in fgv, version range in consumers)',\n 'workspace:*'\n )\n .action(async (opts) => {\n await runInitLibrary({\n name: opts.name,\n description: opts.description,\n rig: opts.rig as RigType,\n category: opts.category as CategoryType,\n repoDir: opts.repoDir,\n versionPolicy: opts.versionPolicy,\n version: opts.initialVersion,\n fgvDepVersion: opts.fgvDepVersion\n });\n });\n\n // ── patch ──\n this._program\n .command('patch <file>')\n .description('Apply targeted edits to a JSONC config file while preserving comments')\n .allowUnknownOption(true)\n .helpOption(false)\n .action(async (file, _opts, cmd) => {\n // Parse the raw args after the file argument as patch operations\n const rawArgs = cmd.args.slice(1); // skip the file arg\n // Actually, commander passes remaining args differently. Let's get them from process.argv\n const allArgs = process.argv;\n const patchIdx = allArgs.indexOf('patch');\n const fileIdx = patchIdx + 1;\n const opArgs = allArgs.slice(fileIdx + 1);\n\n const operations = parsePatchArgs(opArgs);\n if (operations.length === 0) {\n console.error('No operations specified. Use --set, --uncomment, --add-to-array, etc.');\n process.exit(1);\n }\n await runPatch({ file, operations });\n });\n }\n\n /**\n * Auto-detect the fgv source directory by walking up from the current working directory.\n */\n private _resolveSourceDir(): string {\n const detected = detectSourceDir(process.cwd());\n if (!detected) {\n console.error(\n 'ERROR: Could not auto-detect fgv source repo. ' +\n 'Please specify --source-dir or run from within the fgv repository.'\n );\n process.exit(1);\n }\n return detected;\n }\n}\n"]}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,yCAAoC;AACpC,sCAAgD;AAChD,8CAA8C;AAC9C,0CAA0C;AAC1C,4CAA4D;AAC5D,0DAAgF;AAChF,0CAA2E;AAE3E,MAAa,eAAe;IAG1B;QACE,IAAI,CAAC,QAAQ,GAAG,IAAI,mBAAO,EAAE,CAAC;QAC9B,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAEM,KAAK,CAAC,GAAG,CAAC,IAAc;QAC7B,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IACvC,CAA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EAAE,CAAC;YACd,OAAO,CAAC,KAAK,CACX,gDAAgD;gBAC9C,oEAAoE,CACvE,CAAC;YACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF;AA3KD,0CA2KC","sourcesContent":["/**\n * CLI entry point — sets up commander with create, sync, and patch subcommands.\n */\n\nimport { Command } from 'commander';\nimport { detectSourceDir } from './packlets/fs';\nimport { runCreate } from './commands/create';\nimport { runSync } from './commands/sync';\nimport { runPatch, parsePatchArgs } from './commands/patch';\nimport { runInitLibrary, RigType, CategoryType } from './commands/init-library';\nimport { runLink, runUnlink, runUpdateFgvVersions } from './commands/link';\n\nexport class RepoTemplateCli {\n private readonly _program: Command;\n\n public constructor() {\n this._program = new Command();\n this._setupCommands();\n }\n\n public async run(argv: string[]): Promise<void> {\n await this._program.parseAsync(argv);\n }\n\n private _setupCommands(): void {\n this._program\n .name('repo-template')\n .description('Create and maintain fgv-derived Rush monorepos')\n .version('5.1.0');\n\n // ── create ──\n this._program\n .command('create')\n .description('Stamp out a new fgv-derived Rush monorepo using rush init + JSONC patching')\n .requiredOption('-t, --target-dir <path>', 'Directory to create the new repo in')\n .requiredOption('-u, --repo-url <url>', 'GitHub repository URL')\n .option('-p, --version-policy <name>', 'Version policy name', 'default')\n .option('--initial-version <ver>', 'Initial version', '0.1.0')\n .option('-s, --source-dir <path>', 'Source repo for shared files (auto-detected if in fgv repo)')\n .option('--allow-existing', 'Allow target directory to already exist', false)\n .option('--no-git-init', 'Skip git init and initial commit')\n .action(async (opts) => {\n const sourceDir = opts.sourceDir ?? this._resolveSourceDir();\n await runCreate({\n targetDir: opts.targetDir,\n repoUrl: opts.repoUrl,\n versionPolicy: opts.versionPolicy,\n version: opts.initialVersion,\n sourceDir,\n allowExisting: opts.allowExisting,\n gitInit: opts.gitInit\n });\n });\n\n // ── sync ──\n this._program\n .command('sync')\n .description('Sync shared files from the fgv source repo to a consumer repo')\n .requiredOption('-t, --target-dir <path>', 'Consumer repo to update')\n .option('-s, --source-dir <path>', 'Source repo (auto-detected if in fgv repo)')\n .option('-n, --dry-run', 'Show what would change without modifying files', false)\n .action(async (opts) => {\n const sourceDir = opts.sourceDir ?? this._resolveSourceDir();\n await runSync({\n targetDir: opts.targetDir,\n sourceDir,\n dryRun: opts.dryRun\n });\n });\n\n // ── init-library ──\n this._program\n .command('init-library')\n .description('Scaffold a new library package within an existing Rush monorepo')\n .requiredOption('-n, --name <name>', 'Package name (e.g. \"ts-my-lib\" — auto-prefixed with @fgv/)')\n .option('-d, --description <text>', 'Package description', '')\n .option('-r, --rig <type>', 'Heft rig: dual (default), node, or browser', 'dual')\n .option(\n '-c, --category <type>',\n 'Category folder: libraries (default), tools, apps, services',\n 'libraries'\n )\n .option('--repo-dir <path>', 'Rush monorepo root (default: cwd)', process.cwd())\n .option('-p, --version-policy <name>', 'Version policy name', 'default')\n .option('--initial-version <ver>', 'Initial version', '0.1.0')\n .option(\n '--fgv-dep-version <ver>',\n 'Version spec for @fgv/* deps (\"workspace:*\" in fgv, version range in consumers)',\n 'workspace:*'\n )\n .action(async (opts) => {\n await runInitLibrary({\n name: opts.name,\n description: opts.description,\n rig: opts.rig as RigType,\n category: opts.category as CategoryType,\n repoDir: opts.repoDir,\n versionPolicy: opts.versionPolicy,\n version: opts.initialVersion,\n fgvDepVersion: opts.fgvDepVersion\n });\n });\n\n // ── link ──\n this._program\n .command('link')\n .description('Link to a local fgv worktree for cross-repo development')\n .requiredOption('--fgv-dir <path>', 'Path to the local fgv worktree')\n .option('--repo-dir <path>', 'Consumer Rush repo root (default: cwd)', process.cwd())\n .action(async (opts) => {\n await runLink({\n fgvDir: opts.fgvDir,\n repoDir: opts.repoDir\n });\n });\n\n // ── unlink ──\n this._program\n .command('unlink')\n .description('Switch back from local fgv worktree to published npm packages')\n .option('--repo-dir <path>', 'Consumer Rush repo root (default: cwd)', process.cwd())\n .option('--fgv-version <spec>', 'Also bump @fgv/* deps to this version spec')\n .action(async (opts) => {\n await runUnlink({\n repoDir: opts.repoDir,\n version: opts.fgvVersion\n });\n });\n\n // ── update-fgv-versions ──\n this._program\n .command('update-fgv-versions')\n .description('Bump @fgv/* dependency version specs across all projects')\n .option('--repo-dir <path>', 'Consumer Rush repo root (default: cwd)', process.cwd())\n .option(\n '--fgv-version <spec>',\n 'Version spec to set (e.g. \"~5.2.0\"). If omitted, queries npm for latest.'\n )\n .action(async (opts) => {\n await runUpdateFgvVersions({\n repoDir: opts.repoDir,\n version: opts.fgvVersion\n });\n });\n\n // ── patch ──\n this._program\n .command('patch <file>')\n .description('Apply targeted edits to a JSONC config file while preserving comments')\n .allowUnknownOption(true)\n .helpOption(false)\n .action(async (file, _opts, cmd) => {\n // Parse the raw args after the file argument as patch operations\n const rawArgs = cmd.args.slice(1); // skip the file arg\n // Actually, commander passes remaining args differently. Let's get them from process.argv\n const allArgs = process.argv;\n const patchIdx = allArgs.indexOf('patch');\n const fileIdx = patchIdx + 1;\n const opArgs = allArgs.slice(fileIdx + 1);\n\n const operations = parsePatchArgs(opArgs);\n if (operations.length === 0) {\n console.error('No operations specified. Use --set, --uncomment, --add-to-array, etc.');\n process.exit(1);\n }\n await runPatch({ file, operations });\n });\n }\n\n /**\n * Auto-detect the fgv source directory by walking up from the current working directory.\n */\n private _resolveSourceDir(): string {\n const detected = detectSourceDir(process.cwd());\n if (!detected) {\n console.error(\n 'ERROR: Could not auto-detect fgv source repo. ' +\n 'Please specify --source-dir or run from within the fgv repository.'\n );\n process.exit(1);\n }\n return detected;\n }\n}\n"]}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Link/unlink/update-fgv-versions commands — automate cross-repo development
3
+ * between fgv and consumer Rush monorepos.
4
+ */
5
+ export interface ILinkOptions {
6
+ fgvDir: string;
7
+ repoDir: string;
8
+ }
9
+ export interface IUnlinkOptions {
10
+ repoDir: string;
11
+ version?: string;
12
+ }
13
+ export interface IUpdateFgvVersionsOptions {
14
+ repoDir: string;
15
+ version?: string;
16
+ }
17
+ export declare function runLink(options: ILinkOptions): Promise<void>;
18
+ export declare function runUnlink(options: IUnlinkOptions): Promise<void>;
19
+ export declare function runUpdateFgvVersions(options: IUpdateFgvVersionsOptions): Promise<void>;
20
+ //# sourceMappingURL=link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/commands/link.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAmID,wBAAsB,OAAO,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAmElE;AAED,wBAAsB,SAAS,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CA4CtE;AAED,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CA0B5F"}
@@ -0,0 +1,273 @@
1
+ "use strict";
2
+ /**
3
+ * Link/unlink/update-fgv-versions commands — automate cross-repo development
4
+ * between fgv and consumer Rush monorepos.
5
+ */
6
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
+ if (k2 === undefined) k2 = k;
8
+ var desc = Object.getOwnPropertyDescriptor(m, k);
9
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
+ desc = { enumerable: true, get: function() { return m[k]; } };
11
+ }
12
+ Object.defineProperty(o, k2, desc);
13
+ }) : (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ o[k2] = m[k];
16
+ }));
17
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
18
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
19
+ }) : function(o, v) {
20
+ o["default"] = v;
21
+ });
22
+ var __importStar = (this && this.__importStar) || (function () {
23
+ var ownKeys = function(o) {
24
+ ownKeys = Object.getOwnPropertyNames || function (o) {
25
+ var ar = [];
26
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
27
+ return ar;
28
+ };
29
+ return ownKeys(o);
30
+ };
31
+ return function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
38
+ })();
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.runLink = runLink;
41
+ exports.runUnlink = runUnlink;
42
+ exports.runUpdateFgvVersions = runUpdateFgvVersions;
43
+ const fs = __importStar(require("fs"));
44
+ const path = __importStar(require("path"));
45
+ const child_process_1 = require("child_process");
46
+ const jsonc_parser_1 = require("jsonc-parser");
47
+ const jsonc_1 = require("../packlets/jsonc");
48
+ // ── Discovery helpers ──
49
+ /**
50
+ * Read a rush.json and return its project entries.
51
+ */
52
+ function readRushProjects(rushJsonPath) {
53
+ const content = fs.readFileSync(rushJsonPath, 'utf-8');
54
+ const rush = (0, jsonc_parser_1.parse)(content);
55
+ return rush.projects;
56
+ }
57
+ /**
58
+ * Scan a consumer Rush repo and collect all @fgv/* dependencies (excluding workspace:* entries).
59
+ * Returns a map of packageName -> list of project folders that depend on it.
60
+ */
61
+ function discoverFgvDeps(repoDir) {
62
+ var _a;
63
+ const rushJsonPath = path.join(repoDir, 'rush.json');
64
+ if (!fs.existsSync(rushJsonPath)) {
65
+ throw new Error(`rush.json not found at ${rushJsonPath}`);
66
+ }
67
+ const projects = readRushProjects(rushJsonPath);
68
+ const deps = new Map();
69
+ for (const project of projects) {
70
+ const pkgJsonPath = path.join(repoDir, project.projectFolder, 'package.json');
71
+ if (!fs.existsSync(pkgJsonPath)) {
72
+ continue;
73
+ }
74
+ const pkgJson = JSON.parse(fs.readFileSync(pkgJsonPath, 'utf-8'));
75
+ const allDeps = Object.assign(Object.assign({}, pkgJson.dependencies), pkgJson.devDependencies);
76
+ for (const [name, spec] of Object.entries(allDeps)) {
77
+ if (name.startsWith('@fgv/') && spec !== 'workspace:*') {
78
+ const existing = (_a = deps.get(name)) !== null && _a !== void 0 ? _a : [];
79
+ existing.push(project.projectFolder);
80
+ deps.set(name, existing);
81
+ }
82
+ }
83
+ }
84
+ return deps;
85
+ }
86
+ /**
87
+ * Read the fgv worktree's rush.json and build a map of packageName -> projectFolder.
88
+ */
89
+ function buildFgvPackageMap(fgvDir) {
90
+ const rushJsonPath = path.join(fgvDir, 'rush.json');
91
+ if (!fs.existsSync(rushJsonPath)) {
92
+ throw new Error(`fgv rush.json not found at ${rushJsonPath}`);
93
+ }
94
+ const projects = readRushProjects(rushJsonPath);
95
+ const map = new Map();
96
+ for (const project of projects) {
97
+ map.set(project.packageName, project.projectFolder);
98
+ }
99
+ return map;
100
+ }
101
+ // ── Version helpers ──
102
+ /**
103
+ * Query npm for the latest prerelease version of @fgv/ts-utils and construct a ~X.Y.Z spec.
104
+ */
105
+ function resolveLatestFgvVersion() {
106
+ var _a;
107
+ const output = (0, child_process_1.execSync)('npm view @fgv/ts-utils dist-tags --json', { encoding: 'utf-8' });
108
+ const tags = JSON.parse(output);
109
+ const version = (_a = tags.alpha) !== null && _a !== void 0 ? _a : tags.latest;
110
+ if (!version) {
111
+ throw new Error('Could not determine latest @fgv version from npm dist-tags');
112
+ }
113
+ return `~${version}`;
114
+ }
115
+ /**
116
+ * Update all @fgv/* dependency versions (excluding workspace:*) in a consumer repo's package.json files.
117
+ * Uses jsonc-parser modify() to preserve formatting.
118
+ */
119
+ function updateVersionsInPackageJsons(repoDir, versionSpec) {
120
+ const rushJsonPath = path.join(repoDir, 'rush.json');
121
+ const projects = readRushProjects(rushJsonPath);
122
+ const changed = [];
123
+ for (const project of projects) {
124
+ const pkgJsonPath = path.join(repoDir, project.projectFolder, 'package.json');
125
+ if (!fs.existsSync(pkgJsonPath)) {
126
+ continue;
127
+ }
128
+ const pkgJson = JSON.parse(fs.readFileSync(pkgJsonPath, 'utf-8'));
129
+ const operations = [];
130
+ for (const depField of ['dependencies', 'devDependencies']) {
131
+ const deps = pkgJson[depField];
132
+ if (!deps)
133
+ continue;
134
+ for (const [name, spec] of Object.entries(deps)) {
135
+ if (name.startsWith('@fgv/') && spec !== 'workspace:*') {
136
+ operations.push({
137
+ type: 'set-json',
138
+ path: `${depField}.${name}`,
139
+ value: JSON.stringify(versionSpec)
140
+ });
141
+ }
142
+ }
143
+ }
144
+ if (operations.length > 0) {
145
+ (0, jsonc_1.patchFile)(pkgJsonPath, operations);
146
+ changed.push(pkgJsonPath);
147
+ }
148
+ }
149
+ return changed;
150
+ }
151
+ // ── Command runners ──
152
+ async function runLink(options) {
153
+ const { fgvDir, repoDir } = options;
154
+ console.log(`==> Linking to local fgv worktree`);
155
+ console.log(` fgv dir: ${fgvDir}`);
156
+ console.log(` repo dir: ${repoDir}`);
157
+ const fgvDeps = discoverFgvDeps(repoDir);
158
+ if (fgvDeps.size === 0) {
159
+ console.log(' No @fgv/* dependencies found in consumer repo.');
160
+ return;
161
+ }
162
+ const fgvPackageMap = buildFgvPackageMap(fgvDir);
163
+ // Compute file: overrides relative to common/temp/
164
+ const commonTempDir = path.join(repoDir, 'common', 'temp');
165
+ const overrides = {};
166
+ const warnings = [];
167
+ for (const packageName of fgvDeps.keys()) {
168
+ const projectFolder = fgvPackageMap.get(packageName);
169
+ if (!projectFolder) {
170
+ warnings.push(` Warning: ${packageName} not found in fgv worktree — skipping`);
171
+ continue;
172
+ }
173
+ const absoluteProjectPath = path.join(fgvDir, projectFolder);
174
+ const relativePath = path.relative(commonTempDir, absoluteProjectPath);
175
+ overrides[packageName] = `file:${relativePath}`;
176
+ }
177
+ for (const w of warnings) {
178
+ console.warn(w);
179
+ }
180
+ // Patch pnpm-config.json
181
+ const pnpmConfigPath = path.join(repoDir, 'common', 'config', 'rush', 'pnpm-config.json');
182
+ if (!fs.existsSync(pnpmConfigPath)) {
183
+ throw new Error(`pnpm-config.json not found at ${pnpmConfigPath}`);
184
+ }
185
+ const patchOps = [
186
+ {
187
+ type: 'set-json',
188
+ path: 'globalOverrides',
189
+ value: JSON.stringify(overrides)
190
+ },
191
+ {
192
+ type: 'set',
193
+ path: 'strictPeerDependencies',
194
+ value: false
195
+ },
196
+ {
197
+ type: 'set-json',
198
+ path: 'globalPeerDependencyRules',
199
+ value: JSON.stringify({ ignoreMissing: ['mustache'], allowAny: ['@fgv/*'] })
200
+ }
201
+ ];
202
+ (0, jsonc_1.patchFile)(pnpmConfigPath, patchOps);
203
+ console.log(`\n Patched: ${pnpmConfigPath}`);
204
+ console.log(` Overrides (${Object.keys(overrides).length} packages):`);
205
+ for (const [name, filePath] of Object.entries(overrides)) {
206
+ console.log(` ${name} -> ${filePath}`);
207
+ }
208
+ console.log(`\n Next: run "rush update --purge" in the consumer repo.`);
209
+ }
210
+ async function runUnlink(options) {
211
+ const { repoDir, version } = options;
212
+ console.log(`==> Unlinking from local fgv worktree`);
213
+ console.log(` repo dir: ${repoDir}`);
214
+ // Restore pnpm-config.json to defaults
215
+ const pnpmConfigPath = path.join(repoDir, 'common', 'config', 'rush', 'pnpm-config.json');
216
+ if (!fs.existsSync(pnpmConfigPath)) {
217
+ throw new Error(`pnpm-config.json not found at ${pnpmConfigPath}`);
218
+ }
219
+ const patchOps = [
220
+ {
221
+ type: 'set-json',
222
+ path: 'globalOverrides',
223
+ value: JSON.stringify({})
224
+ },
225
+ {
226
+ type: 'set',
227
+ path: 'strictPeerDependencies',
228
+ value: true
229
+ },
230
+ {
231
+ type: 'set-json',
232
+ path: 'globalPeerDependencyRules',
233
+ value: JSON.stringify({})
234
+ }
235
+ ];
236
+ (0, jsonc_1.patchFile)(pnpmConfigPath, patchOps);
237
+ console.log(` Patched: ${pnpmConfigPath} (restored defaults)`);
238
+ // Optionally bump versions
239
+ if (version) {
240
+ console.log(`\n Bumping @fgv/* deps to ${version}...`);
241
+ const changed = updateVersionsInPackageJsons(repoDir, version);
242
+ console.log(` Updated ${changed.length} package.json file(s):`);
243
+ for (const f of changed) {
244
+ console.log(` ${f}`);
245
+ }
246
+ }
247
+ console.log(`\n Next: run "rush update --purge" in the consumer repo.`);
248
+ }
249
+ async function runUpdateFgvVersions(options) {
250
+ const { repoDir } = options;
251
+ console.log(`==> Updating @fgv/* version specs`);
252
+ console.log(` repo dir: ${repoDir}`);
253
+ // Resolve version
254
+ let versionSpec;
255
+ if (options.version) {
256
+ versionSpec = options.version;
257
+ console.log(` Using explicit version: ${versionSpec}`);
258
+ }
259
+ else {
260
+ console.log(' Querying npm for latest version...');
261
+ versionSpec = resolveLatestFgvVersion();
262
+ console.log(` Resolved version: ${versionSpec}`);
263
+ }
264
+ const changed = updateVersionsInPackageJsons(repoDir, versionSpec);
265
+ console.log(`\n Updated ${changed.length} package.json file(s):`);
266
+ for (const f of changed) {
267
+ console.log(` ${f}`);
268
+ }
269
+ if (changed.length > 0) {
270
+ console.log(`\n Next: run "rush update --purge" in the consumer repo.`);
271
+ }
272
+ }
273
+ //# sourceMappingURL=link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/commands/link.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0JH,0BAmEC;AAED,8BA4CC;AAED,oDA0BC;AArSD,uCAAyB;AACzB,2CAA6B;AAC7B,iDAAyC;AACzC,+CAAmD;AACnD,6CAA+D;AAwB/D,0BAA0B;AAE1B;;GAEG;AACH,SAAS,gBAAgB,CAAC,YAAoB;IAC5C,MAAM,OAAO,GAAG,EAAE,CAAC,YA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,GAAG,CAAC,2DAA2D,CAAC,CAAC;IAC3E,CAAC;AACH,CAAC","sourcesContent":["/**\n * Link/unlink/update-fgv-versions commands — automate cross-repo development\n * between fgv and consumer Rush monorepos.\n */\n\nimport * as fs from 'fs';\nimport * as path from 'path';\nimport { execSync } from 'child_process';\nimport { parse as parseJsonc } from 'jsonc-parser';\nimport { IPatchOperation, patchFile } from '../packlets/jsonc';\n\n// ── Interfaces ──\n\nexport interface ILinkOptions {\n fgvDir: string;\n repoDir: string;\n}\n\nexport interface IUnlinkOptions {\n repoDir: string;\n version?: string;\n}\n\nexport interface IUpdateFgvVersionsOptions {\n repoDir: string;\n version?: string;\n}\n\ninterface IRushProject {\n packageName: string;\n projectFolder: string;\n}\n\n// ── Discovery helpers ──\n\n/**\n * Read a rush.json and return its project entries.\n */\nfunction readRushProjects(rushJsonPath: string): IRushProject[] {\n const content = fs.readFileSync(rushJsonPath, 'utf-8');\n const rush = parseJsonc(content) as { projects: IRushProject[] };\n return rush.projects;\n}\n\n/**\n * Scan a consumer Rush repo and collect all @fgv/* dependencies (excluding workspace:* entries).\n * Returns a map of packageName -> list of project folders that depend on it.\n */\nfunction discoverFgvDeps(repoDir: string): Map<string, string[]> {\n const rushJsonPath = path.join(repoDir, 'rush.json');\n if (!fs.existsSync(rushJsonPath)) {\n throw new Error(`rush.json not found at ${rushJsonPath}`);\n }\n\n const projects = readRushProjects(rushJsonPath);\n const deps = new Map<string, string[]>();\n\n for (const project of projects) {\n const pkgJsonPath = path.join(repoDir, project.projectFolder, 'package.json');\n if (!fs.existsSync(pkgJsonPath)) {\n continue;\n }\n\n const pkgJson = JSON.parse(fs.readFileSync(pkgJsonPath, 'utf-8'));\n const allDeps: Record<string, string> = {\n ...pkgJson.dependencies,\n ...pkgJson.devDependencies\n };\n\n for (const [name, spec] of Object.entries(allDeps)) {\n if (name.startsWith('@fgv/') && spec !== 'workspace:*') {\n const existing = deps.get(name) ?? [];\n existing.push(project.projectFolder);\n deps.set(name, existing);\n }\n }\n }\n\n return deps;\n}\n\n/**\n * Read the fgv worktree's rush.json and build a map of packageName -> projectFolder.\n */\nfunction buildFgvPackageMap(fgvDir: string): Map<string, string> {\n const rushJsonPath = path.join(fgvDir, 'rush.json');\n if (!fs.existsSync(rushJsonPath)) {\n throw new Error(`fgv rush.json not found at ${rushJsonPath}`);\n }\n\n const projects = readRushProjects(rushJsonPath);\n const map = new Map<string, string>();\n for (const project of projects) {\n map.set(project.packageName, project.projectFolder);\n }\n return map;\n}\n\n// ── Version helpers ──\n\n/**\n * Query npm for the latest prerelease version of @fgv/ts-utils and construct a ~X.Y.Z spec.\n */\nfunction resolveLatestFgvVersion(): string {\n const output = execSync('npm view @fgv/ts-utils dist-tags --json', { encoding: 'utf-8' });\n const tags = JSON.parse(output) as Record<string, string>;\n const version = tags.alpha ?? tags.latest;\n if (!version) {\n throw new Error('Could not determine latest @fgv version from npm dist-tags');\n }\n return `~${version}`;\n}\n\n/**\n * Update all @fgv/* dependency versions (excluding workspace:*) in a consumer repo's package.json files.\n * Uses jsonc-parser modify() to preserve formatting.\n */\nfunction updateVersionsInPackageJsons(repoDir: string, versionSpec: string): string[] {\n const rushJsonPath = path.join(repoDir, 'rush.json');\n const projects = readRushProjects(rushJsonPath);\n const changed: string[] = [];\n\n for (const project of projects) {\n const pkgJsonPath = path.join(repoDir, project.projectFolder, 'package.json');\n if (!fs.existsSync(pkgJsonPath)) {\n continue;\n }\n\n const pkgJson = JSON.parse(fs.readFileSync(pkgJsonPath, 'utf-8'));\n const operations: IPatchOperation[] = [];\n\n for (const depField of ['dependencies', 'devDependencies'] as const) {\n const deps: Record<string, string> | undefined = pkgJson[depField];\n if (!deps) continue;\n\n for (const [name, spec] of Object.entries(deps)) {\n if (name.startsWith('@fgv/') && spec !== 'workspace:*') {\n operations.push({\n type: 'set-json',\n path: `${depField}.${name}`,\n value: JSON.stringify(versionSpec)\n });\n }\n }\n }\n\n if (operations.length > 0) {\n patchFile(pkgJsonPath, operations);\n changed.push(pkgJsonPath);\n }\n }\n\n return changed;\n}\n\n// ── Command runners ──\n\nexport async function runLink(options: ILinkOptions): Promise<void> {\n const { fgvDir, repoDir } = options;\n\n console.log(`==> Linking to local fgv worktree`);\n console.log(` fgv dir: ${fgvDir}`);\n console.log(` repo dir: ${repoDir}`);\n\n const fgvDeps = discoverFgvDeps(repoDir);\n if (fgvDeps.size === 0) {\n console.log(' No @fgv/* dependencies found in consumer repo.');\n return;\n }\n\n const fgvPackageMap = buildFgvPackageMap(fgvDir);\n\n // Compute file: overrides relative to common/temp/\n const commonTempDir = path.join(repoDir, 'common', 'temp');\n const overrides: Record<string, string> = {};\n const warnings: string[] = [];\n\n for (const packageName of fgvDeps.keys()) {\n const projectFolder = fgvPackageMap.get(packageName);\n if (!projectFolder) {\n warnings.push(` Warning: ${packageName} not found in fgv worktree — skipping`);\n continue;\n }\n const absoluteProjectPath = path.join(fgvDir, projectFolder);\n const relativePath = path.relative(commonTempDir, absoluteProjectPath);\n overrides[packageName] = `file:${relativePath}`;\n }\n\n for (const w of warnings) {\n console.warn(w);\n }\n\n // Patch pnpm-config.json\n const pnpmConfigPath = path.join(repoDir, 'common', 'config', 'rush', 'pnpm-config.json');\n if (!fs.existsSync(pnpmConfigPath)) {\n throw new Error(`pnpm-config.json not found at ${pnpmConfigPath}`);\n }\n\n const patchOps: IPatchOperation[] = [\n {\n type: 'set-json',\n path: 'globalOverrides',\n value: JSON.stringify(overrides)\n },\n {\n type: 'set',\n path: 'strictPeerDependencies',\n value: false\n },\n {\n type: 'set-json',\n path: 'globalPeerDependencyRules',\n value: JSON.stringify({ ignoreMissing: ['mustache'], allowAny: ['@fgv/*'] })\n }\n ];\n\n patchFile(pnpmConfigPath, patchOps);\n\n console.log(`\\n Patched: ${pnpmConfigPath}`);\n console.log(` Overrides (${Object.keys(overrides).length} packages):`);\n for (const [name, filePath] of Object.entries(overrides)) {\n console.log(` ${name} -> ${filePath}`);\n }\n console.log(`\\n Next: run \"rush update --purge\" in the consumer repo.`);\n}\n\nexport async function runUnlink(options: IUnlinkOptions): Promise<void> {\n const { repoDir, version } = options;\n\n console.log(`==> Unlinking from local fgv worktree`);\n console.log(` repo dir: ${repoDir}`);\n\n // Restore pnpm-config.json to defaults\n const pnpmConfigPath = path.join(repoDir, 'common', 'config', 'rush', 'pnpm-config.json');\n if (!fs.existsSync(pnpmConfigPath)) {\n throw new Error(`pnpm-config.json not found at ${pnpmConfigPath}`);\n }\n\n const patchOps: IPatchOperation[] = [\n {\n type: 'set-json',\n path: 'globalOverrides',\n value: JSON.stringify({})\n },\n {\n type: 'set',\n path: 'strictPeerDependencies',\n value: true\n },\n {\n type: 'set-json',\n path: 'globalPeerDependencyRules',\n value: JSON.stringify({})\n }\n ];\n\n patchFile(pnpmConfigPath, patchOps);\n console.log(` Patched: ${pnpmConfigPath} (restored defaults)`);\n\n // Optionally bump versions\n if (version) {\n console.log(`\\n Bumping @fgv/* deps to ${version}...`);\n const changed = updateVersionsInPackageJsons(repoDir, version);\n console.log(` Updated ${changed.length} package.json file(s):`);\n for (const f of changed) {\n console.log(` ${f}`);\n }\n }\n\n console.log(`\\n Next: run \"rush update --purge\" in the consumer repo.`);\n}\n\nexport async function runUpdateFgvVersions(options: IUpdateFgvVersionsOptions): Promise<void> {\n const { repoDir } = options;\n\n console.log(`==> Updating @fgv/* version specs`);\n console.log(` repo dir: ${repoDir}`);\n\n // Resolve version\n let versionSpec: string;\n if (options.version) {\n versionSpec = options.version;\n console.log(` Using explicit version: ${versionSpec}`);\n } else {\n console.log(' Querying npm for latest version...');\n versionSpec = resolveLatestFgvVersion();\n console.log(` Resolved version: ${versionSpec}`);\n }\n\n const changed = updateVersionsInPackageJsons(repoDir, versionSpec);\n console.log(`\\n Updated ${changed.length} package.json file(s):`);\n for (const f of changed) {\n console.log(` ${f}`);\n }\n\n if (changed.length > 0) {\n console.log(`\\n Next: run \"rush update --purge\" in the consumer repo.`);\n }\n}\n"]}
package/lib/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export { runCreate, ICreateOptions } from './commands/create';
8
8
  export { runSync, ISyncOptions } from './commands/sync';
9
9
  export { runPatch, IPatchOptions, parsePatchArgs } from './commands/patch';
10
10
  export { runInitLibrary, IInitLibraryOptions, RigType, CategoryType } from './commands/init-library';
11
+ export { runLink, runUnlink, runUpdateFgvVersions, ILinkOptions, IUnlinkOptions, IUpdateFgvVersionsOptions } from './commands/link';
11
12
  export { applyOperations, applyOperation, patchFile, IPatchOperation } from './packlets/jsonc';
12
13
  export { loadManifest, IManifest, ISharedFile, ISharedPackage, ITemplatedFile } from './packlets/manifest';
13
14
  export { renderTemplate, renderTemplateFile, ITemplateVars } from './packlets/template';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrG,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC3G,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrG,OAAO,EACL,OAAO,EACP,SAAS,EACT,oBAAoB,EACpB,YAAY,EACZ,cAAc,EACd,yBAAyB,EAC1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC3G,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
package/lib/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * @packageDocumentation
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.renderTemplateFile = exports.renderTemplate = exports.loadManifest = exports.patchFile = exports.applyOperation = exports.applyOperations = exports.runInitLibrary = exports.parsePatchArgs = exports.runPatch = exports.runSync = exports.runCreate = exports.RepoTemplateCli = void 0;
8
+ exports.renderTemplateFile = exports.renderTemplate = exports.loadManifest = exports.patchFile = exports.applyOperation = exports.applyOperations = exports.runUpdateFgvVersions = exports.runUnlink = exports.runLink = exports.runInitLibrary = exports.parsePatchArgs = exports.runPatch = exports.runSync = exports.runCreate = exports.RepoTemplateCli = void 0;
9
9
  var cli_1 = require("./cli");
10
10
  Object.defineProperty(exports, "RepoTemplateCli", { enumerable: true, get: function () { return cli_1.RepoTemplateCli; } });
11
11
  var create_1 = require("./commands/create");
@@ -17,6 +17,10 @@ Object.defineProperty(exports, "runPatch", { enumerable: true, get: function ()
17
17
  Object.defineProperty(exports, "parsePatchArgs", { enumerable: true, get: function () { return patch_1.parsePatchArgs; } });
18
18
  var init_library_1 = require("./commands/init-library");
19
19
  Object.defineProperty(exports, "runInitLibrary", { enumerable: true, get: function () { return init_library_1.runInitLibrary; } });
20
+ var link_1 = require("./commands/link");
21
+ Object.defineProperty(exports, "runLink", { enumerable: true, get: function () { return link_1.runLink; } });
22
+ Object.defineProperty(exports, "runUnlink", { enumerable: true, get: function () { return link_1.runUnlink; } });
23
+ Object.defineProperty(exports, "runUpdateFgvVersions", { enumerable: true, get: function () { return link_1.runUpdateFgvVersions; } });
20
24
  var jsonc_1 = require("./packlets/jsonc");
21
25
  Object.defineProperty(exports, "applyOperations", { enumerable: true, get: function () { return jsonc_1.applyOperations; } });
22
26
  Object.defineProperty(exports, "applyOperation", { enumerable: true, get: function () { return jsonc_1.applyOperation; } });
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,6BAAwC;AAA/B,sGAAA,eAAe,OAAA;AACxB,4CAA8D;AAArD,mGAAA,SAAS,OAAA;AAClB,wCAAwD;AAA/C,+FAAA,OAAO,OAAA;AAChB,0CAA2E;AAAlE,iGAAA,QAAQ,OAAA;AAAiB,uGAAA,cAAc,OAAA;AAChD,wDAAqG;AAA5F,8GAAA,cAAc,OAAA;AACvB,0CAA+F;AAAtF,wGAAA,eAAe,OAAA;AAAE,uGAAA,cAAc,OAAA;AAAE,kGAAA,SAAS,OAAA;AACnD,gDAA2G;AAAlG,wGAAA,YAAY,OAAA;AACrB,gDAAwF;AAA/E,0GAAA,cAAc,OAAA;AAAE,8GAAA,kBAAkB,OAAA","sourcesContent":["/**\n * @fgv/repo-template — CLI tool for creating and maintaining fgv-derived Rush monorepos.\n *\n * @packageDocumentation\n */\n\nexport { RepoTemplateCli } from './cli';\nexport { runCreate, ICreateOptions } from './commands/create';\nexport { runSync, ISyncOptions } from './commands/sync';\nexport { runPatch, IPatchOptions, parsePatchArgs } from './commands/patch';\nexport { runInitLibrary, IInitLibraryOptions, RigType, CategoryType } from './commands/init-library';\nexport { applyOperations, applyOperation, patchFile, IPatchOperation } from './packlets/jsonc';\nexport { loadManifest, IManifest, ISharedFile, ISharedPackage, ITemplatedFile } from './packlets/manifest';\nexport { renderTemplate, renderTemplateFile, ITemplateVars } from './packlets/template';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,6BAAwC;AAA/B,sGAAA,eAAe,OAAA;AACxB,4CAA8D;AAArD,mGAAA,SAAS,OAAA;AAClB,wCAAwD;AAA/C,+FAAA,OAAO,OAAA;AAChB,0CAA2E;AAAlE,iGAAA,QAAQ,OAAA;AAAiB,uGAAA,cAAc,OAAA;AAChD,wDAAqG;AAA5F,8GAAA,cAAc,OAAA;AACvB,wCAOyB;AANvB,+FAAA,OAAO,OAAA;AACP,iGAAA,SAAS,OAAA;AACT,4GAAA,oBAAoB,OAAA;AAKtB,0CAA+F;AAAtF,wGAAA,eAAe,OAAA;AAAE,uGAAA,cAAc,OAAA;AAAE,kGAAA,SAAS,OAAA;AACnD,gDAA2G;AAAlG,wGAAA,YAAY,OAAA;AACrB,gDAAwF;AAA/E,0GAAA,cAAc,OAAA;AAAE,8GAAA,kBAAkB,OAAA","sourcesContent":["/**\n * @fgv/repo-template — CLI tool for creating and maintaining fgv-derived Rush monorepos.\n *\n * @packageDocumentation\n */\n\nexport { RepoTemplateCli } from './cli';\nexport { runCreate, ICreateOptions } from './commands/create';\nexport { runSync, ISyncOptions } from './commands/sync';\nexport { runPatch, IPatchOptions, parsePatchArgs } from './commands/patch';\nexport { runInitLibrary, IInitLibraryOptions, RigType, CategoryType } from './commands/init-library';\nexport {\n runLink,\n runUnlink,\n runUpdateFgvVersions,\n ILinkOptions,\n IUnlinkOptions,\n IUpdateFgvVersionsOptions\n} from './commands/link';\nexport { applyOperations, applyOperation, patchFile, IPatchOperation } from './packlets/jsonc';\nexport { loadManifest, IManifest, ISharedFile, ISharedPackage, ITemplatedFile } from './packlets/manifest';\nexport { renderTemplate, renderTemplateFile, ITemplateVars } from './packlets/template';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fgv/repo-template",
3
- "version": "5.1.0-5",
3
+ "version": "5.1.0-7",
4
4
  "description": "CLI tool for creating and maintaining fgv-derived Rush monorepos",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -2,4 +2,4 @@ Caching build output folders: lib, temp, .rush/temp/operation/build
2
2
  Trying to find "tar" binary
3
3
  Using "tar" binary: /usr/bin/tar
4
4
  Successfully set cache entry.
5
- Cache key: 68862778ea124bb27fc39ceb40c0271b4311d61f
5
+ Cache key: 34e00df6ff3f9b3412fa1188daaf48c6968d3dea
@@ -2,5 +2,5 @@ Invoking: heft build --clean
2
2
  ---- build started ----
3
3
  [build:typescript] The TypeScript compiler version 5.9.3 is newer than the latest version that was tested with Heft (5.8); it may not work correctly.
4
4
  [build:typescript] Using TypeScript version 5.9.3
5
- ---- build finished (3.147s) ----
6
- -------------------- Finished (3.154s) --------------------
5
+ ---- build finished (3.231s) ----
6
+ -------------------- Finished (3.238s) --------------------
package/src/cli.ts CHANGED
@@ -8,6 +8,7 @@ import { runCreate } from './commands/create';
8
8
  import { runSync } from './commands/sync';
9
9
  import { runPatch, parsePatchArgs } from './commands/patch';
10
10
  import { runInitLibrary, RigType, CategoryType } from './commands/init-library';
11
+ import { runLink, runUnlink, runUpdateFgvVersions } from './commands/link';
11
12
 
12
13
  export class RepoTemplateCli {
13
14
  private readonly _program: Command;
@@ -100,6 +101,48 @@ export class RepoTemplateCli {
100
101
  });
101
102
  });
102
103
 
104
+ // ── link ──
105
+ this._program
106
+ .command('link')
107
+ .description('Link to a local fgv worktree for cross-repo development')
108
+ .requiredOption('--fgv-dir <path>', 'Path to the local fgv worktree')
109
+ .option('--repo-dir <path>', 'Consumer Rush repo root (default: cwd)', process.cwd())
110
+ .action(async (opts) => {
111
+ await runLink({
112
+ fgvDir: opts.fgvDir,
113
+ repoDir: opts.repoDir
114
+ });
115
+ });
116
+
117
+ // ── unlink ──
118
+ this._program
119
+ .command('unlink')
120
+ .description('Switch back from local fgv worktree to published npm packages')
121
+ .option('--repo-dir <path>', 'Consumer Rush repo root (default: cwd)', process.cwd())
122
+ .option('--fgv-version <spec>', 'Also bump @fgv/* deps to this version spec')
123
+ .action(async (opts) => {
124
+ await runUnlink({
125
+ repoDir: opts.repoDir,
126
+ version: opts.fgvVersion
127
+ });
128
+ });
129
+
130
+ // ── update-fgv-versions ──
131
+ this._program
132
+ .command('update-fgv-versions')
133
+ .description('Bump @fgv/* dependency version specs across all projects')
134
+ .option('--repo-dir <path>', 'Consumer Rush repo root (default: cwd)', process.cwd())
135
+ .option(
136
+ '--fgv-version <spec>',
137
+ 'Version spec to set (e.g. "~5.2.0"). If omitted, queries npm for latest.'
138
+ )
139
+ .action(async (opts) => {
140
+ await runUpdateFgvVersions({
141
+ repoDir: opts.repoDir,
142
+ version: opts.fgvVersion
143
+ });
144
+ });
145
+
103
146
  // ── patch ──
104
147
  this._program
105
148
  .command('patch <file>')
@@ -0,0 +1,299 @@
1
+ /**
2
+ * Link/unlink/update-fgv-versions commands — automate cross-repo development
3
+ * between fgv and consumer Rush monorepos.
4
+ */
5
+
6
+ import * as fs from 'fs';
7
+ import * as path from 'path';
8
+ import { execSync } from 'child_process';
9
+ import { parse as parseJsonc } from 'jsonc-parser';
10
+ import { IPatchOperation, patchFile } from '../packlets/jsonc';
11
+
12
+ // ── Interfaces ──
13
+
14
+ export interface ILinkOptions {
15
+ fgvDir: string;
16
+ repoDir: string;
17
+ }
18
+
19
+ export interface IUnlinkOptions {
20
+ repoDir: string;
21
+ version?: string;
22
+ }
23
+
24
+ export interface IUpdateFgvVersionsOptions {
25
+ repoDir: string;
26
+ version?: string;
27
+ }
28
+
29
+ interface IRushProject {
30
+ packageName: string;
31
+ projectFolder: string;
32
+ }
33
+
34
+ // ── Discovery helpers ──
35
+
36
+ /**
37
+ * Read a rush.json and return its project entries.
38
+ */
39
+ function readRushProjects(rushJsonPath: string): IRushProject[] {
40
+ const content = fs.readFileSync(rushJsonPath, 'utf-8');
41
+ const rush = parseJsonc(content) as { projects: IRushProject[] };
42
+ return rush.projects;
43
+ }
44
+
45
+ /**
46
+ * Scan a consumer Rush repo and collect all @fgv/* dependencies (excluding workspace:* entries).
47
+ * Returns a map of packageName -> list of project folders that depend on it.
48
+ */
49
+ function discoverFgvDeps(repoDir: string): Map<string, string[]> {
50
+ const rushJsonPath = path.join(repoDir, 'rush.json');
51
+ if (!fs.existsSync(rushJsonPath)) {
52
+ throw new Error(`rush.json not found at ${rushJsonPath}`);
53
+ }
54
+
55
+ const projects = readRushProjects(rushJsonPath);
56
+ const deps = new Map<string, string[]>();
57
+
58
+ for (const project of projects) {
59
+ const pkgJsonPath = path.join(repoDir, project.projectFolder, 'package.json');
60
+ if (!fs.existsSync(pkgJsonPath)) {
61
+ continue;
62
+ }
63
+
64
+ const pkgJson = JSON.parse(fs.readFileSync(pkgJsonPath, 'utf-8'));
65
+ const allDeps: Record<string, string> = {
66
+ ...pkgJson.dependencies,
67
+ ...pkgJson.devDependencies
68
+ };
69
+
70
+ for (const [name, spec] of Object.entries(allDeps)) {
71
+ if (name.startsWith('@fgv/') && spec !== 'workspace:*') {
72
+ const existing = deps.get(name) ?? [];
73
+ existing.push(project.projectFolder);
74
+ deps.set(name, existing);
75
+ }
76
+ }
77
+ }
78
+
79
+ return deps;
80
+ }
81
+
82
+ /**
83
+ * Read the fgv worktree's rush.json and build a map of packageName -> projectFolder.
84
+ */
85
+ function buildFgvPackageMap(fgvDir: string): Map<string, string> {
86
+ const rushJsonPath = path.join(fgvDir, 'rush.json');
87
+ if (!fs.existsSync(rushJsonPath)) {
88
+ throw new Error(`fgv rush.json not found at ${rushJsonPath}`);
89
+ }
90
+
91
+ const projects = readRushProjects(rushJsonPath);
92
+ const map = new Map<string, string>();
93
+ for (const project of projects) {
94
+ map.set(project.packageName, project.projectFolder);
95
+ }
96
+ return map;
97
+ }
98
+
99
+ // ── Version helpers ──
100
+
101
+ /**
102
+ * Query npm for the latest prerelease version of @fgv/ts-utils and construct a ~X.Y.Z spec.
103
+ */
104
+ function resolveLatestFgvVersion(): string {
105
+ const output = execSync('npm view @fgv/ts-utils dist-tags --json', { encoding: 'utf-8' });
106
+ const tags = JSON.parse(output) as Record<string, string>;
107
+ const version = tags.alpha ?? tags.latest;
108
+ if (!version) {
109
+ throw new Error('Could not determine latest @fgv version from npm dist-tags');
110
+ }
111
+ return `~${version}`;
112
+ }
113
+
114
+ /**
115
+ * Update all @fgv/* dependency versions (excluding workspace:*) in a consumer repo's package.json files.
116
+ * Uses jsonc-parser modify() to preserve formatting.
117
+ */
118
+ function updateVersionsInPackageJsons(repoDir: string, versionSpec: string): string[] {
119
+ const rushJsonPath = path.join(repoDir, 'rush.json');
120
+ const projects = readRushProjects(rushJsonPath);
121
+ const changed: string[] = [];
122
+
123
+ for (const project of projects) {
124
+ const pkgJsonPath = path.join(repoDir, project.projectFolder, 'package.json');
125
+ if (!fs.existsSync(pkgJsonPath)) {
126
+ continue;
127
+ }
128
+
129
+ const pkgJson = JSON.parse(fs.readFileSync(pkgJsonPath, 'utf-8'));
130
+ const operations: IPatchOperation[] = [];
131
+
132
+ for (const depField of ['dependencies', 'devDependencies'] as const) {
133
+ const deps: Record<string, string> | undefined = pkgJson[depField];
134
+ if (!deps) continue;
135
+
136
+ for (const [name, spec] of Object.entries(deps)) {
137
+ if (name.startsWith('@fgv/') && spec !== 'workspace:*') {
138
+ operations.push({
139
+ type: 'set-json',
140
+ path: `${depField}.${name}`,
141
+ value: JSON.stringify(versionSpec)
142
+ });
143
+ }
144
+ }
145
+ }
146
+
147
+ if (operations.length > 0) {
148
+ patchFile(pkgJsonPath, operations);
149
+ changed.push(pkgJsonPath);
150
+ }
151
+ }
152
+
153
+ return changed;
154
+ }
155
+
156
+ // ── Command runners ──
157
+
158
+ export async function runLink(options: ILinkOptions): Promise<void> {
159
+ const { fgvDir, repoDir } = options;
160
+
161
+ console.log(`==> Linking to local fgv worktree`);
162
+ console.log(` fgv dir: ${fgvDir}`);
163
+ console.log(` repo dir: ${repoDir}`);
164
+
165
+ const fgvDeps = discoverFgvDeps(repoDir);
166
+ if (fgvDeps.size === 0) {
167
+ console.log(' No @fgv/* dependencies found in consumer repo.');
168
+ return;
169
+ }
170
+
171
+ const fgvPackageMap = buildFgvPackageMap(fgvDir);
172
+
173
+ // Compute file: overrides relative to common/temp/
174
+ const commonTempDir = path.join(repoDir, 'common', 'temp');
175
+ const overrides: Record<string, string> = {};
176
+ const warnings: string[] = [];
177
+
178
+ for (const packageName of fgvDeps.keys()) {
179
+ const projectFolder = fgvPackageMap.get(packageName);
180
+ if (!projectFolder) {
181
+ warnings.push(` Warning: ${packageName} not found in fgv worktree — skipping`);
182
+ continue;
183
+ }
184
+ const absoluteProjectPath = path.join(fgvDir, projectFolder);
185
+ const relativePath = path.relative(commonTempDir, absoluteProjectPath);
186
+ overrides[packageName] = `file:${relativePath}`;
187
+ }
188
+
189
+ for (const w of warnings) {
190
+ console.warn(w);
191
+ }
192
+
193
+ // Patch pnpm-config.json
194
+ const pnpmConfigPath = path.join(repoDir, 'common', 'config', 'rush', 'pnpm-config.json');
195
+ if (!fs.existsSync(pnpmConfigPath)) {
196
+ throw new Error(`pnpm-config.json not found at ${pnpmConfigPath}`);
197
+ }
198
+
199
+ const patchOps: IPatchOperation[] = [
200
+ {
201
+ type: 'set-json',
202
+ path: 'globalOverrides',
203
+ value: JSON.stringify(overrides)
204
+ },
205
+ {
206
+ type: 'set',
207
+ path: 'strictPeerDependencies',
208
+ value: false
209
+ },
210
+ {
211
+ type: 'set-json',
212
+ path: 'globalPeerDependencyRules',
213
+ value: JSON.stringify({ ignoreMissing: ['mustache'], allowAny: ['@fgv/*'] })
214
+ }
215
+ ];
216
+
217
+ patchFile(pnpmConfigPath, patchOps);
218
+
219
+ console.log(`\n Patched: ${pnpmConfigPath}`);
220
+ console.log(` Overrides (${Object.keys(overrides).length} packages):`);
221
+ for (const [name, filePath] of Object.entries(overrides)) {
222
+ console.log(` ${name} -> ${filePath}`);
223
+ }
224
+ console.log(`\n Next: run "rush update --purge" in the consumer repo.`);
225
+ }
226
+
227
+ export async function runUnlink(options: IUnlinkOptions): Promise<void> {
228
+ const { repoDir, version } = options;
229
+
230
+ console.log(`==> Unlinking from local fgv worktree`);
231
+ console.log(` repo dir: ${repoDir}`);
232
+
233
+ // Restore pnpm-config.json to defaults
234
+ const pnpmConfigPath = path.join(repoDir, 'common', 'config', 'rush', 'pnpm-config.json');
235
+ if (!fs.existsSync(pnpmConfigPath)) {
236
+ throw new Error(`pnpm-config.json not found at ${pnpmConfigPath}`);
237
+ }
238
+
239
+ const patchOps: IPatchOperation[] = [
240
+ {
241
+ type: 'set-json',
242
+ path: 'globalOverrides',
243
+ value: JSON.stringify({})
244
+ },
245
+ {
246
+ type: 'set',
247
+ path: 'strictPeerDependencies',
248
+ value: true
249
+ },
250
+ {
251
+ type: 'set-json',
252
+ path: 'globalPeerDependencyRules',
253
+ value: JSON.stringify({})
254
+ }
255
+ ];
256
+
257
+ patchFile(pnpmConfigPath, patchOps);
258
+ console.log(` Patched: ${pnpmConfigPath} (restored defaults)`);
259
+
260
+ // Optionally bump versions
261
+ if (version) {
262
+ console.log(`\n Bumping @fgv/* deps to ${version}...`);
263
+ const changed = updateVersionsInPackageJsons(repoDir, version);
264
+ console.log(` Updated ${changed.length} package.json file(s):`);
265
+ for (const f of changed) {
266
+ console.log(` ${f}`);
267
+ }
268
+ }
269
+
270
+ console.log(`\n Next: run "rush update --purge" in the consumer repo.`);
271
+ }
272
+
273
+ export async function runUpdateFgvVersions(options: IUpdateFgvVersionsOptions): Promise<void> {
274
+ const { repoDir } = options;
275
+
276
+ console.log(`==> Updating @fgv/* version specs`);
277
+ console.log(` repo dir: ${repoDir}`);
278
+
279
+ // Resolve version
280
+ let versionSpec: string;
281
+ if (options.version) {
282
+ versionSpec = options.version;
283
+ console.log(` Using explicit version: ${versionSpec}`);
284
+ } else {
285
+ console.log(' Querying npm for latest version...');
286
+ versionSpec = resolveLatestFgvVersion();
287
+ console.log(` Resolved version: ${versionSpec}`);
288
+ }
289
+
290
+ const changed = updateVersionsInPackageJsons(repoDir, versionSpec);
291
+ console.log(`\n Updated ${changed.length} package.json file(s):`);
292
+ for (const f of changed) {
293
+ console.log(` ${f}`);
294
+ }
295
+
296
+ if (changed.length > 0) {
297
+ console.log(`\n Next: run "rush update --purge" in the consumer repo.`);
298
+ }
299
+ }
package/src/index.ts CHANGED
@@ -9,6 +9,14 @@ export { runCreate, ICreateOptions } from './commands/create';
9
9
  export { runSync, ISyncOptions } from './commands/sync';
10
10
  export { runPatch, IPatchOptions, parsePatchArgs } from './commands/patch';
11
11
  export { runInitLibrary, IInitLibraryOptions, RigType, CategoryType } from './commands/init-library';
12
+ export {
13
+ runLink,
14
+ runUnlink,
15
+ runUpdateFgvVersions,
16
+ ILinkOptions,
17
+ IUnlinkOptions,
18
+ IUpdateFgvVersionsOptions
19
+ } from './commands/link';
12
20
  export { applyOperations, applyOperation, patchFile, IPatchOperation } from './packlets/jsonc';
13
21
  export { loadManifest, IManifest, ISharedFile, ISharedPackage, ITemplatedFile } from './packlets/manifest';
14
22
  export { renderTemplate, renderTemplateFile, ITemplateVars } from './packlets/template';
@@ -1 +1 @@
1
- {"fileNames":["../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../../common/temp/node_modules/.pnpm/commander@11.1.0/node_modules/commander/typings/index.d.ts","../../../src/packlets/fs/index.ts","../../../src/packlets/manifest/types.ts","../../../src/packlets/manifest/index.ts","../../../../../common/temp/node_modules/.pnpm/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/umd/main.d.ts","../../../src/packlets/jsonc/index.ts","../../../src/packlets/template/index.ts","../../../src/commands/create.ts","../../../src/commands/sync.ts","../../../src/commands/patch.ts","../../../src/commands/init-library.ts","../../../src/cli.ts","../../../src/index.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/compatibility/disposable.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/compatibility/indexable.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/compatibility/iterators.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/compatibility/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/globals.typedarray.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/buffer.buffer.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/globals.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/web-globals/domexception.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/web-globals/events.d.ts","../../../../../common/temp/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/web-globals/fetch.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/assert.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/assert/strict.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/async_hooks.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/buffer.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/child_process.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/cluster.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/console.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/constants.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/crypto.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/dgram.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/diagnostics_channel.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/dns.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/dns/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/domain.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/events.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/fs.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/fs/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/http.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/http2.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/https.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/inspector.generated.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/module.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/net.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/os.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/path.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/perf_hooks.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/process.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/punycode.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/querystring.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/readline.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/readline/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/repl.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/sea.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/stream.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/stream/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/stream/consumers.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/stream/web.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/string_decoder.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/test.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/timers.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/timers/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/tls.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/trace_events.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/tty.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/url.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/util.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/v8.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/vm.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/wasi.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/worker_threads.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/zlib.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/index.d.ts"],"fileIdsList":[[64,108,111],[64,110,111],[111],[64,111,116,144],[64,111,112,117,122,130,141,152],[64,111,112,113,122,130],[64,111],[59,60,61,64,111],[64,111,114,153],[64,111,115,116,123,131],[64,111,116,141,149],[64,111,117,119,122,130],[64,110,111,118],[64,111,119,120],[64,111,121,122],[64,110,111,122],[64,111,122,123,124,141,152],[64,111,122,123,124,137,141,144],[64,111,119,122,125,130,141,152],[64,111,122,123,125,126,130,141,149,152],[64,111,125,127,141,149,152],[62,63,64,65,66,67,68,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158],[64,111,122,128],[64,111,129,152,157],[64,111,119,122,130,141],[64,111,131],[64,111,132],[64,110,111,133],[64,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158],[64,111,135],[64,111,136],[64,111,122,137,138],[64,111,137,139,153,155],[64,111,122,141,142,144],[64,111,143,144],[64,111,141,142],[64,111,144],[64,111,145],[64,108,111,141,146],[64,111,122,147,148],[64,111,147,148],[64,111,116,130,141,149],[64,111,150],[64,111,130,151],[64,111,125,136,152],[64,111,116,153],[64,111,141,154],[64,111,129,155],[64,111,156],[64,106,111],[64,106,111,122,124,133,141,144,152,155,157],[64,111,141,158],[64,78,82,111,152],[64,78,111,141,152],[64,73,111],[64,75,78,111,149,152],[64,111,130,149],[64,111,159],[64,73,111,159],[64,75,78,111,130,152],[64,70,71,74,77,111,122,141,152],[64,78,85,111],[64,70,76,111],[64,78,99,100,111],[64,74,78,111,144,152,159],[64,99,111,159],[64,72,73,111,159],[64,78,111],[64,72,73,74,75,76,77,78,79,80,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,100,101,102,103,104,105,111],[64,78,93,111],[64,78,85,86,111],[64,76,78,86,87,111],[64,77,111],[64,70,73,78,111],[64,78,82,86,87,111],[64,82,111],[64,76,78,81,111,152],[64,70,75,78,85,111],[64,111,141],[64,73,78,99,111,157,159],[46,47,53,54,55,56,64,111],[47,49,51,52,64,111,123,132],[51,64,111,123,132],[51,64,111,123],[47,49,64,111,123,132],[49,51,52,53,54,55,56,57,64,111],[64,111,112,123,132],[50,64,111],[48,64,111,123,132],[64,111,123,132]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"17d716b12c230355d207d8b464a3359e13041c0cbb94c243981618e279f57670","impliedFormat":1},{"version":"b6af2fd3b131392d2dac96059172218eba153318ad972e3152ea0c7fe446e1b9","signature":"e88ddddbfe7b23890bdf4948158967a97f24938f2c42b6700e345f003aaeffdc"},{"version":"996c7139caec31f0c15a4ba2856d91eb1c8d755dc14deeff924b531d116fce5e","signature":"3097b61150e65f994a8df6e0e325b9c6f76d4df1faf69acc1d4383ecdd670455"},{"version":"27413aeb3bcbddc80a18031e0b600c5b0b71c80a5c6b2c4dabf93fa639434212","signature":"bec87933b7a8593f5c1fda7bc4c822cc59965c0d21c722a31bf3d79f38f71e8b"},{"version":"f1d603af05e59e26aae3d9fa7bb0138e744bfbfc9f4793ddeaabe5c85da1d30f","impliedFormat":1},{"version":"b983cd9fe50d50cdf0f57f0e5c3e85c380185a3c56ab915ab94141f1bc5313b0","signature":"9f78b0e70c48dd03b7986ff1dcba5e2b2919e0fc13651840caecefa99262f7ba"},{"version":"3934e34440af01d3854d3f3709aead957b4fb0e92724e3c621ce1aee0fe582c4","signature":"0a811eef212edebbf0850ab37f09666a467dbce8251691a3a9b6f2f354cd8518"},{"version":"d0f3feab24ea726c1883ebf0f0aaf1d822e886e43ec41ff7be833ff1a09be69a","signature":"cf2fa1f79b8ea5400b227e2e3e5b30e9ad4119aed18c442e5b133a092de752f9"},{"version":"7b42766fc24747208f6a692944f6fadcb4c5d6fd0a0372005c26906f2d398774","signature":"26ddccf3e16dfc520c8faf80dc25eaf9e8538192ba39e9fc90a496dc53289318"},{"version":"f054d9c34d87eb542bdbd1ba1b7aacc306c523451248c914f60cf4aa3697adb3","signature":"d20a840c8f1d9e7da0daa573edebb3bb56507997f8ed90b022ebdadab381c1e4"},{"version":"5652c4a627417a2753dcdc14bed292ca72e1cae3b6b38d3ae177c487857e6f27","signature":"a3403143f801324689827edbabc3706d1dde46c2237dcff5094550f5eb7fef7f"},{"version":"7243c2854d04b248ce7480577bae0337b1b0d2d8c0a76772176473cea46fc6b2","signature":"a23a2c7c0ff380d1b40d33c01531ce2969061f10160bcaad9094f10ad46a894c"},{"version":"5836d3a60737810416e4cf474c4cb264463dc9a562cbca32a089a2bbe5c46a40","signature":"894b2ed69a021c6cc05ec552aeb3ce5f01fa08c44883a28ad1a5ae088b634167"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"ba481bca06f37d3f2c137ce343c7d5937029b2468f8e26111f3c9d9963d6568d","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d9ef24f9a22a88e3e9b3b3d8c40ab1ddb0853f1bfbd5c843c37800138437b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2677634fe27e87348825bb041651e22d50a613e2fdf6a4a3ade971d71bac37e","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f","impliedFormat":1},{"version":"8cd19276b6590b3ebbeeb030ac271871b9ed0afc3074ac88a94ed2449174b776","affectsGlobalScope":true,"impliedFormat":1},{"version":"696eb8d28f5949b87d894b26dc97318ef944c794a9a4e4f62360cd1d1958014b","impliedFormat":1},{"version":"3f8fa3061bd7402970b399300880d55257953ee6d3cd408722cb9ac20126460c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"68bd56c92c2bd7d2339457eb84d63e7de3bd56a69b25f3576e1568d21a162398","affectsGlobalScope":true,"impliedFormat":1},{"version":"3e93b123f7c2944969d291b35fed2af79a6e9e27fdd5faa99748a51c07c02d28","impliedFormat":1},{"version":"9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","impliedFormat":1},{"version":"87aad3dd9752067dc875cfaa466fc44246451c0c560b820796bdd528e29bef40","impliedFormat":1},{"version":"4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"8db0ae9cb14d9955b14c214f34dae1b9ef2baee2fe4ce794a4cd3ac2531e3255","affectsGlobalScope":true,"impliedFormat":1},{"version":"15fc6f7512c86810273af28f224251a5a879e4261b4d4c7e532abfbfc3983134","impliedFormat":1},{"version":"58adba1a8ab2d10b54dc1dced4e41f4e7c9772cbbac40939c0dc8ce2cdb1d442","impliedFormat":1},{"version":"641942a78f9063caa5d6b777c99304b7d1dc7328076038c6d94d8a0b81fc95c1","impliedFormat":1},{"version":"714435130b9015fae551788df2a88038471a5a11eb471f27c4ede86552842bc9","impliedFormat":1},{"version":"855cd5f7eb396f5f1ab1bc0f8580339bff77b68a770f84c6b254e319bbfd1ac7","impliedFormat":1},{"version":"5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86","impliedFormat":1},{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true,"impliedFormat":1},{"version":"27fdb0da0daf3b337c5530c5f266efe046a6ceb606e395b346974e4360c36419","impliedFormat":1},{"version":"2d2fcaab481b31a5882065c7951255703ddbe1c0e507af56ea42d79ac3911201","impliedFormat":1},{"version":"a192fe8ec33f75edbc8d8f3ed79f768dfae11ff5735e7fe52bfa69956e46d78d","impliedFormat":1},{"version":"ca867399f7db82df981d6915bcbb2d81131d7d1ef683bc782b59f71dda59bc85","affectsGlobalScope":true,"impliedFormat":1},{"version":"372413016d17d804e1d139418aca0c68e47a83fb6669490857f4b318de8cccb3","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","impliedFormat":1},{"version":"3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","impliedFormat":1},{"version":"6e70e9570e98aae2b825b533aa6292b6abd542e8d9f6e9475e88e1d7ba17c866","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"47ab634529c5955b6ad793474ae188fce3e6163e3a3fb5edd7e0e48f14435333","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"fad4e3c207fe23922d0b2d06b01acbfb9714c4f2685cf80fd384c8a100c82fd0","affectsGlobalScope":true,"impliedFormat":1},{"version":"74cf591a0f63db318651e0e04cb55f8791385f86e987a67fd4d2eaab8191f730","impliedFormat":1},{"version":"5eab9b3dc9b34f185417342436ec3f106898da5f4801992d8ff38ab3aff346b5","impliedFormat":1},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","impliedFormat":1},{"version":"809821b8a065e3234a55b3a9d7846231ed18d66dd749f2494c66288d890daf7f","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"c3b41e74b9a84b88b1dca61ec39eee25c0dbc8e7d519ba11bb070918cfacf656","affectsGlobalScope":true,"impliedFormat":1},{"version":"4737a9dc24d0e68b734e6cfbcea0c15a2cfafeb493485e27905f7856988c6b29","affectsGlobalScope":true,"impliedFormat":1},{"version":"36d8d3e7506b631c9582c251a2c0b8a28855af3f76719b12b534c6edf952748d","impliedFormat":1},{"version":"1ca69210cc42729e7ca97d3a9ad48f2e9cb0042bada4075b588ae5387debd318","impliedFormat":1},{"version":"f5ebe66baaf7c552cfa59d75f2bfba679f329204847db3cec385acda245e574e","impliedFormat":1},{"version":"ed59add13139f84da271cafd32e2171876b0a0af2f798d0c663e8eeb867732cf","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7c5e2ea4a9749097c347454805e933844ed207b6eefec6b7cfd418b5f5f7b28","impliedFormat":1},{"version":"b1810689b76fd473bd12cc9ee219f8e62f54a7d08019a235d07424afbf074d25","impliedFormat":1}],"root":[[47,49],[51,58]],"options":{"allowUnreachableCode":false,"declaration":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"inlineSources":true,"jsx":2,"module":1,"noEmitOnError":false,"outDir":"../../../lib","rootDir":"../../../src","sourceMap":true,"strict":true,"target":4,"tsBuildInfoFile":"./ts_l9Fw4VUO.json","useUnknownInCatchVariables":false},"referencedMap":[[108,1],[109,1],[110,2],[64,3],[111,4],[112,5],[113,6],[59,7],[62,8],[60,7],[61,7],[114,9],[115,10],[116,11],[117,12],[118,13],[119,14],[120,14],[121,15],[122,16],[123,17],[124,18],[65,7],[63,7],[125,19],[126,20],[127,21],[159,22],[128,23],[129,24],[130,25],[131,26],[132,27],[133,28],[134,29],[135,30],[136,31],[137,32],[138,32],[139,33],[140,7],[141,34],[143,35],[142,36],[144,37],[145,38],[146,39],[147,40],[148,41],[149,42],[150,43],[151,44],[152,45],[153,46],[154,47],[155,48],[156,49],[66,7],[67,7],[68,7],[107,50],[157,51],[158,52],[69,7],[46,7],[50,7],[44,7],[45,7],[9,7],[8,7],[2,7],[10,7],[11,7],[12,7],[13,7],[14,7],[15,7],[16,7],[17,7],[3,7],[18,7],[19,7],[4,7],[20,7],[24,7],[21,7],[22,7],[23,7],[25,7],[26,7],[27,7],[5,7],[28,7],[29,7],[30,7],[31,7],[6,7],[35,7],[32,7],[33,7],[34,7],[36,7],[7,7],[37,7],[42,7],[43,7],[38,7],[39,7],[40,7],[41,7],[1,7],[85,53],[95,54],[84,53],[105,55],[76,56],[75,57],[104,58],[98,59],[103,60],[78,61],[92,62],[77,63],[101,64],[73,65],[72,58],[102,66],[74,67],[79,68],[80,7],[83,68],[70,7],[106,69],[96,70],[87,71],[88,72],[90,73],[86,74],[89,75],[99,58],[81,76],[82,77],[91,78],[71,79],[94,70],[93,68],[97,7],[100,80],[57,81],[53,82],[56,83],[55,84],[54,85],[58,86],[47,87],[51,88],[49,89],[48,7],[52,90]],"version":"5.9.3"}
1
+ {"fileNames":["../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../common/temp/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../../common/temp/node_modules/.pnpm/commander@11.1.0/node_modules/commander/typings/index.d.ts","../../../src/packlets/fs/index.ts","../../../src/packlets/manifest/types.ts","../../../src/packlets/manifest/index.ts","../../../../../common/temp/node_modules/.pnpm/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/umd/main.d.ts","../../../src/packlets/jsonc/index.ts","../../../src/packlets/template/index.ts","../../../src/commands/create.ts","../../../src/commands/sync.ts","../../../src/commands/patch.ts","../../../src/commands/init-library.ts","../../../src/commands/link.ts","../../../src/cli.ts","../../../src/index.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/compatibility/disposable.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/compatibility/indexable.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/compatibility/iterators.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/compatibility/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/globals.typedarray.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/buffer.buffer.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/globals.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/web-globals/domexception.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/web-globals/events.d.ts","../../../../../common/temp/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../../../common/temp/node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/web-globals/fetch.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/assert.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/assert/strict.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/async_hooks.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/buffer.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/child_process.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/cluster.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/console.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/constants.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/crypto.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/dgram.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/diagnostics_channel.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/dns.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/dns/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/domain.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/events.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/fs.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/fs/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/http.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/http2.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/https.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/inspector.generated.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/module.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/net.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/os.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/path.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/perf_hooks.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/process.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/punycode.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/querystring.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/readline.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/readline/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/repl.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/sea.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/stream.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/stream/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/stream/consumers.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/stream/web.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/string_decoder.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/test.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/timers.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/timers/promises.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/tls.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/trace_events.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/tty.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/url.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/util.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/v8.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/vm.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/wasi.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/worker_threads.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/zlib.d.ts","../../../../../common/temp/node_modules/.pnpm/@types+node@20.19.37/node_modules/@types/node/index.d.ts"],"fileIdsList":[[65,109,112],[65,111,112],[112],[65,112,117,145],[65,112,113,118,123,131,142,153],[65,112,113,114,123,131],[65,112],[60,61,62,65,112],[65,112,115,154],[65,112,116,117,124,132],[65,112,117,142,150],[65,112,118,120,123,131],[65,111,112,119],[65,112,120,121],[65,112,122,123],[65,111,112,123],[65,112,123,124,125,142,153],[65,112,123,124,125,138,142,145],[65,112,120,123,126,131,142,153],[65,112,123,124,126,127,131,142,150,153],[65,112,126,128,142,150,153],[63,64,65,66,67,68,69,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159],[65,112,123,129],[65,112,130,153,158],[65,112,120,123,131,142],[65,112,132],[65,112,133],[65,111,112,134],[65,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159],[65,112,136],[65,112,137],[65,112,123,138,139],[65,112,138,140,154,156],[65,112,123,142,143,145],[65,112,144,145],[65,112,142,143],[65,112,145],[65,112,146],[65,109,112,142,147],[65,112,123,148,149],[65,112,148,149],[65,112,117,131,142,150],[65,112,151],[65,112,131,152],[65,112,126,137,153],[65,112,117,154],[65,112,142,155],[65,112,130,156],[65,112,157],[65,107,112],[65,107,112,123,125,134,142,145,153,156,158],[65,112,142,159],[65,79,83,112,153],[65,79,112,142,153],[65,74,112],[65,76,79,112,150,153],[65,112,131,150],[65,112,160],[65,74,112,160],[65,76,79,112,131,153],[65,71,72,75,78,112,123,142,153],[65,79,86,112],[65,71,77,112],[65,79,100,101,112],[65,75,79,112,145,153,160],[65,100,112,160],[65,73,74,112,160],[65,79,112],[65,73,74,75,76,77,78,79,80,81,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,101,102,103,104,105,106,112],[65,79,94,112],[65,79,86,87,112],[65,77,79,87,88,112],[65,78,112],[65,71,74,79,112],[65,79,83,87,88,112],[65,83,112],[65,77,79,82,112,153],[65,71,76,79,86,112],[65,112,142],[65,74,79,100,112,158,160],[46,47,53,54,55,56,57,65,112],[47,49,51,52,65,112,124,133],[51,65,112,124,133],[50,51,65,112,113,124,133],[51,65,112,124],[47,49,65,112,124,133],[49,51,52,53,54,55,56,57,58,65,112],[65,112,113,124,133],[50,65,112],[48,65,112,124,133],[65,112,124,133]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"17d716b12c230355d207d8b464a3359e13041c0cbb94c243981618e279f57670","impliedFormat":1},{"version":"b6af2fd3b131392d2dac96059172218eba153318ad972e3152ea0c7fe446e1b9","signature":"e88ddddbfe7b23890bdf4948158967a97f24938f2c42b6700e345f003aaeffdc"},{"version":"996c7139caec31f0c15a4ba2856d91eb1c8d755dc14deeff924b531d116fce5e","signature":"3097b61150e65f994a8df6e0e325b9c6f76d4df1faf69acc1d4383ecdd670455"},{"version":"27413aeb3bcbddc80a18031e0b600c5b0b71c80a5c6b2c4dabf93fa639434212","signature":"bec87933b7a8593f5c1fda7bc4c822cc59965c0d21c722a31bf3d79f38f71e8b"},{"version":"f1d603af05e59e26aae3d9fa7bb0138e744bfbfc9f4793ddeaabe5c85da1d30f","impliedFormat":1},{"version":"b983cd9fe50d50cdf0f57f0e5c3e85c380185a3c56ab915ab94141f1bc5313b0","signature":"9f78b0e70c48dd03b7986ff1dcba5e2b2919e0fc13651840caecefa99262f7ba"},{"version":"3934e34440af01d3854d3f3709aead957b4fb0e92724e3c621ce1aee0fe582c4","signature":"0a811eef212edebbf0850ab37f09666a467dbce8251691a3a9b6f2f354cd8518"},{"version":"d0f3feab24ea726c1883ebf0f0aaf1d822e886e43ec41ff7be833ff1a09be69a","signature":"cf2fa1f79b8ea5400b227e2e3e5b30e9ad4119aed18c442e5b133a092de752f9"},{"version":"7b42766fc24747208f6a692944f6fadcb4c5d6fd0a0372005c26906f2d398774","signature":"26ddccf3e16dfc520c8faf80dc25eaf9e8538192ba39e9fc90a496dc53289318"},{"version":"f054d9c34d87eb542bdbd1ba1b7aacc306c523451248c914f60cf4aa3697adb3","signature":"d20a840c8f1d9e7da0daa573edebb3bb56507997f8ed90b022ebdadab381c1e4"},{"version":"5652c4a627417a2753dcdc14bed292ca72e1cae3b6b38d3ae177c487857e6f27","signature":"a3403143f801324689827edbabc3706d1dde46c2237dcff5094550f5eb7fef7f"},{"version":"67f9d5d70e6a2bf91cd252f147665c52f99c78d388c85a0fcfcaaedf2c15cec5","signature":"a2bb717aef0bcd7b0cca9a8d0cdeb7203ffb2941f0dbb436ae4df9f84e3c4320"},{"version":"defad07468ffac1501e10f07016b230ebe0a9acbd74722ef58269ee3e1118553","signature":"a23a2c7c0ff380d1b40d33c01531ce2969061f10160bcaad9094f10ad46a894c"},{"version":"ba32e3331e1ad737472f29f586974892d6b8d2e16e7ee958737746e2c7d4b389","signature":"0c3304bc620167b46ab6799f77e07ccd0573b2267ce0a96837a0ec0af4a5a862"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"ba481bca06f37d3f2c137ce343c7d5937029b2468f8e26111f3c9d9963d6568d","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d9ef24f9a22a88e3e9b3b3d8c40ab1ddb0853f1bfbd5c843c37800138437b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2677634fe27e87348825bb041651e22d50a613e2fdf6a4a3ade971d71bac37e","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f","impliedFormat":1},{"version":"8cd19276b6590b3ebbeeb030ac271871b9ed0afc3074ac88a94ed2449174b776","affectsGlobalScope":true,"impliedFormat":1},{"version":"696eb8d28f5949b87d894b26dc97318ef944c794a9a4e4f62360cd1d1958014b","impliedFormat":1},{"version":"3f8fa3061bd7402970b399300880d55257953ee6d3cd408722cb9ac20126460c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"68bd56c92c2bd7d2339457eb84d63e7de3bd56a69b25f3576e1568d21a162398","affectsGlobalScope":true,"impliedFormat":1},{"version":"3e93b123f7c2944969d291b35fed2af79a6e9e27fdd5faa99748a51c07c02d28","impliedFormat":1},{"version":"9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","impliedFormat":1},{"version":"87aad3dd9752067dc875cfaa466fc44246451c0c560b820796bdd528e29bef40","impliedFormat":1},{"version":"4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"8db0ae9cb14d9955b14c214f34dae1b9ef2baee2fe4ce794a4cd3ac2531e3255","affectsGlobalScope":true,"impliedFormat":1},{"version":"15fc6f7512c86810273af28f224251a5a879e4261b4d4c7e532abfbfc3983134","impliedFormat":1},{"version":"58adba1a8ab2d10b54dc1dced4e41f4e7c9772cbbac40939c0dc8ce2cdb1d442","impliedFormat":1},{"version":"641942a78f9063caa5d6b777c99304b7d1dc7328076038c6d94d8a0b81fc95c1","impliedFormat":1},{"version":"714435130b9015fae551788df2a88038471a5a11eb471f27c4ede86552842bc9","impliedFormat":1},{"version":"855cd5f7eb396f5f1ab1bc0f8580339bff77b68a770f84c6b254e319bbfd1ac7","impliedFormat":1},{"version":"5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86","impliedFormat":1},{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true,"impliedFormat":1},{"version":"27fdb0da0daf3b337c5530c5f266efe046a6ceb606e395b346974e4360c36419","impliedFormat":1},{"version":"2d2fcaab481b31a5882065c7951255703ddbe1c0e507af56ea42d79ac3911201","impliedFormat":1},{"version":"a192fe8ec33f75edbc8d8f3ed79f768dfae11ff5735e7fe52bfa69956e46d78d","impliedFormat":1},{"version":"ca867399f7db82df981d6915bcbb2d81131d7d1ef683bc782b59f71dda59bc85","affectsGlobalScope":true,"impliedFormat":1},{"version":"372413016d17d804e1d139418aca0c68e47a83fb6669490857f4b318de8cccb3","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","impliedFormat":1},{"version":"3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","impliedFormat":1},{"version":"6e70e9570e98aae2b825b533aa6292b6abd542e8d9f6e9475e88e1d7ba17c866","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"47ab634529c5955b6ad793474ae188fce3e6163e3a3fb5edd7e0e48f14435333","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"fad4e3c207fe23922d0b2d06b01acbfb9714c4f2685cf80fd384c8a100c82fd0","affectsGlobalScope":true,"impliedFormat":1},{"version":"74cf591a0f63db318651e0e04cb55f8791385f86e987a67fd4d2eaab8191f730","impliedFormat":1},{"version":"5eab9b3dc9b34f185417342436ec3f106898da5f4801992d8ff38ab3aff346b5","impliedFormat":1},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","impliedFormat":1},{"version":"809821b8a065e3234a55b3a9d7846231ed18d66dd749f2494c66288d890daf7f","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"c3b41e74b9a84b88b1dca61ec39eee25c0dbc8e7d519ba11bb070918cfacf656","affectsGlobalScope":true,"impliedFormat":1},{"version":"4737a9dc24d0e68b734e6cfbcea0c15a2cfafeb493485e27905f7856988c6b29","affectsGlobalScope":true,"impliedFormat":1},{"version":"36d8d3e7506b631c9582c251a2c0b8a28855af3f76719b12b534c6edf952748d","impliedFormat":1},{"version":"1ca69210cc42729e7ca97d3a9ad48f2e9cb0042bada4075b588ae5387debd318","impliedFormat":1},{"version":"f5ebe66baaf7c552cfa59d75f2bfba679f329204847db3cec385acda245e574e","impliedFormat":1},{"version":"ed59add13139f84da271cafd32e2171876b0a0af2f798d0c663e8eeb867732cf","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7c5e2ea4a9749097c347454805e933844ed207b6eefec6b7cfd418b5f5f7b28","impliedFormat":1},{"version":"b1810689b76fd473bd12cc9ee219f8e62f54a7d08019a235d07424afbf074d25","impliedFormat":1}],"root":[[47,49],[51,59]],"options":{"allowUnreachableCode":false,"declaration":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"inlineSources":true,"jsx":2,"module":1,"noEmitOnError":false,"outDir":"../../../lib","rootDir":"../../../src","sourceMap":true,"strict":true,"target":4,"tsBuildInfoFile":"./ts_l9Fw4VUO.json","useUnknownInCatchVariables":false},"referencedMap":[[109,1],[110,1],[111,2],[65,3],[112,4],[113,5],[114,6],[60,7],[63,8],[61,7],[62,7],[115,9],[116,10],[117,11],[118,12],[119,13],[120,14],[121,14],[122,15],[123,16],[124,17],[125,18],[66,7],[64,7],[126,19],[127,20],[128,21],[160,22],[129,23],[130,24],[131,25],[132,26],[133,27],[134,28],[135,29],[136,30],[137,31],[138,32],[139,32],[140,33],[141,7],[142,34],[144,35],[143,36],[145,37],[146,38],[147,39],[148,40],[149,41],[150,42],[151,43],[152,44],[153,45],[154,46],[155,47],[156,48],[157,49],[67,7],[68,7],[69,7],[108,50],[158,51],[159,52],[70,7],[46,7],[50,7],[44,7],[45,7],[9,7],[8,7],[2,7],[10,7],[11,7],[12,7],[13,7],[14,7],[15,7],[16,7],[17,7],[3,7],[18,7],[19,7],[4,7],[20,7],[24,7],[21,7],[22,7],[23,7],[25,7],[26,7],[27,7],[5,7],[28,7],[29,7],[30,7],[31,7],[6,7],[35,7],[32,7],[33,7],[34,7],[36,7],[7,7],[37,7],[42,7],[43,7],[38,7],[39,7],[40,7],[41,7],[1,7],[86,53],[96,54],[85,53],[106,55],[77,56],[76,57],[105,58],[99,59],[104,60],[79,61],[93,62],[78,63],[102,64],[74,65],[73,58],[103,66],[75,67],[80,68],[81,7],[84,68],[71,7],[107,69],[97,70],[88,71],[89,72],[91,73],[87,74],[90,75],[100,58],[82,76],[83,77],[92,78],[72,79],[95,70],[94,68],[98,7],[101,80],[58,81],[53,82],[56,83],[57,84],[55,85],[54,86],[59,87],[47,88],[51,89],[49,90],[48,7],[52,91]],"version":"5.9.3"}