@simplysm/sd-cli 14.2.2 → 14.2.3
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.
- package/dist/commands/init/generators/root.d.ts.map +1 -1
- package/dist/commands/init/generators/root.js +1 -8
- package/dist/commands/init/generators/root.js.map +1 -1
- package/dist/commands/init/init-client.js +1 -1
- package/dist/commands/init/init-client.js.map +1 -1
- package/dist/commands/init/patch.d.ts +1 -1
- package/dist/commands/init/patch.d.ts.map +1 -1
- package/dist/commands/init/patch.js +1 -1
- package/dist/commands/init/patch.js.map +1 -1
- package/dist/commands/publish/git-phase.d.ts +1 -1
- package/dist/commands/publish/git-phase.js +1 -1
- package/dist/deps/replace-deps/collect-deps.js +1 -1
- package/dist/deps/server-externals/server-production-files.d.ts +1 -1
- package/dist/deps/server-externals/server-production-files.js +1 -1
- package/dist/esbuild/esbuild-client-config.js +1 -1
- package/dist/esbuild/esbuild-client-config.js.map +1 -1
- package/dist/esbuild/esbuild-worker-plugin.js +1 -1
- package/dist/esbuild/esbuild-worker-plugin.js.map +1 -1
- package/dist/orchestrators/BuildOrchestrator.d.ts.map +1 -1
- package/dist/orchestrators/BuildOrchestrator.js +1 -3
- package/dist/orchestrators/BuildOrchestrator.js.map +1 -1
- package/dist/orchestrators/TypecheckOrchestrator.js +1 -1
- package/dist/runtime/ResultCollector.d.ts +1 -1
- package/dist/runtime/ResultCollector.js +1 -1
- package/dist/sd-config.types.d.ts.map +1 -1
- package/dist/typecheck/typecheck-non-package.js +1 -1
- package/dist/typecheck/typecheck-non-package.js.map +1 -1
- package/dist/utils/import-config-module.d.ts +1 -1
- package/dist/utils/import-config-module.js +1 -1
- package/dist/utils/package-utils.d.ts +2 -2
- package/dist/utils/package-utils.js +2 -2
- package/package.json +6 -6
- package/src/commands/init/generators/root.ts +1 -8
- package/src/commands/init/init-client.ts +1 -1
- package/src/commands/init/patch.ts +1 -1
- package/src/commands/init/templates/client/src/app/home/master/role-permission/role-permission.view.ts.hbs +1 -1
- package/src/commands/init/templates/client/src/app/home/master/role-permission/role.list.ts.hbs +2 -2
- package/src/commands/init/templates/client/src/app/home/master/user.detail.ts.hbs +1 -1
- package/src/commands/init/templates/client/src/app/home/master/user.list.ts.hbs +3 -3
- package/src/commands/init/templates/client/src/main.server.ts.hbs +1 -1
- package/src/commands/init/templates/server/src/services/user.service.ts.hbs +3 -3
- package/src/commands/init/templates/workspace-root/package.json.hbs +1 -1
- package/src/commands/publish/git-phase.ts +1 -1
- package/src/deps/replace-deps/collect-deps.ts +1 -1
- package/src/deps/server-externals/server-production-files.ts +1 -1
- package/src/esbuild/esbuild-client-config.ts +1 -1
- package/src/esbuild/esbuild-worker-plugin.ts +1 -1
- package/src/orchestrators/BuildOrchestrator.ts +13 -11
- package/src/orchestrators/TypecheckOrchestrator.ts +1 -1
- package/src/runtime/ResultCollector.ts +1 -1
- package/src/sd-config.types.ts +4 -1
- package/src/typecheck/typecheck-non-package.ts +1 -1
- package/src/utils/import-config-module.ts +1 -1
- package/src/utils/package-utils.ts +2 -2
- package/tests/capacitor/capacitor-npm-config.spec.ts +106 -94
- package/tests/deps/replace-deps/collect-deps.acc.spec.ts +3 -3
- package/tests/esbuild/esbuild-worker-plugin.acc.spec.ts +1 -1
- package/tests/init/patch.spec.ts +1 -1
- package/tests/init/render.spec.ts +2 -2
- package/tests/orchestrators/build-orchestrator.spec.ts +32 -31
- package/tests/ts-compiler/fixtures/non-angular-pkg/.cache/typecheck-browser.tsbuildinfo +1 -0
- package/tests/ts-compiler/fixtures/non-angular-pkg/.cache/typecheck-node.tsbuildinfo +1 -0
- package/tests/ts-compiler/fixtures/non-angular-pkg/.cache/typecheck.tsbuildinfo +1 -0
- package/tests/utils/copy-src.spec.ts +2 -6
- package/tests/utils/package-utils.spec.ts +23 -36
- package/src/commands/init/templates/workspace-root/.prettierrc.yaml +0 -12
|
@@ -94,7 +94,10 @@ beforeEach(() => {
|
|
|
94
94
|
vi.spyOn(buildEnv, "getVersion").mockResolvedValue("1.0.0");
|
|
95
95
|
vi.spyOn(copySrc, "copySrcFiles").mockResolvedValue(undefined);
|
|
96
96
|
vi.spyOn(lintUtils, "runLintInWorker").mockResolvedValue({
|
|
97
|
-
success: true,
|
|
97
|
+
success: true,
|
|
98
|
+
errorCount: 0,
|
|
99
|
+
warningCount: 0,
|
|
100
|
+
formattedOutput: "",
|
|
98
101
|
});
|
|
99
102
|
vi.spyOn(outputUtils, "formatBuildMessages").mockImplementation(
|
|
100
103
|
(name: string, target: string, msgs: string[]) => `${name} (${target}): ${msgs.join(", ")}`,
|
|
@@ -135,9 +138,7 @@ describe("BuildOrchestrator.initialize", () => {
|
|
|
135
138
|
const orchestrator = new BuildOrchestrator({ targets: [], options: [] });
|
|
136
139
|
await orchestrator.initialize();
|
|
137
140
|
|
|
138
|
-
expect(loadSdConfig).toHaveBeenCalledWith(
|
|
139
|
-
expect.objectContaining({ dev: false }),
|
|
140
|
-
);
|
|
141
|
+
expect(loadSdConfig).toHaveBeenCalledWith(expect.objectContaining({ dev: false }));
|
|
141
142
|
});
|
|
142
143
|
|
|
143
144
|
it("throws and sets exitCode=1 when sd.config.ts load fails", async () => {
|
|
@@ -169,9 +170,7 @@ describe("BuildOrchestrator.initialize", () => {
|
|
|
169
170
|
const orchestrator = new BuildOrchestrator({ targets: [], options: ["production"] });
|
|
170
171
|
await orchestrator.initialize();
|
|
171
172
|
|
|
172
|
-
expect(loadSdConfig).toHaveBeenCalledWith(
|
|
173
|
-
expect.objectContaining({ opt: ["production"] }),
|
|
174
|
-
);
|
|
173
|
+
expect(loadSdConfig).toHaveBeenCalledWith(expect.objectContaining({ opt: ["production"] }));
|
|
175
174
|
});
|
|
176
175
|
|
|
177
176
|
it("returns false when only scripts packages exist", async () => {
|
|
@@ -204,9 +203,7 @@ describe("BuildOrchestrator.start", () => {
|
|
|
204
203
|
await orchestrator.initialize();
|
|
205
204
|
await orchestrator.start();
|
|
206
205
|
|
|
207
|
-
expect(fsx.rm).toHaveBeenCalledWith(
|
|
208
|
-
expect.stringContaining("core-common"),
|
|
209
|
-
);
|
|
206
|
+
expect(fsx.rm).toHaveBeenCalledWith(expect.stringContaining("core-common"));
|
|
210
207
|
});
|
|
211
208
|
|
|
212
209
|
it("uses BuildEngine for buildPackages", async () => {
|
|
@@ -224,7 +221,12 @@ describe("BuildOrchestrator.start", () => {
|
|
|
224
221
|
|
|
225
222
|
// BuildEngine should be created and run() called
|
|
226
223
|
expect(createBuildEngine).toHaveBeenCalledOnce();
|
|
227
|
-
expect(mockEngines[0].run).toHaveBeenCalledWith({
|
|
224
|
+
expect(mockEngines[0].run).toHaveBeenCalledWith({
|
|
225
|
+
js: true,
|
|
226
|
+
dts: true,
|
|
227
|
+
lint: false,
|
|
228
|
+
includeTests: false,
|
|
229
|
+
});
|
|
228
230
|
expect(mockEngines[0].stop).toHaveBeenCalled();
|
|
229
231
|
});
|
|
230
232
|
|
|
@@ -463,7 +465,6 @@ describe("BuildOrchestrator.start", () => {
|
|
|
463
465
|
|
|
464
466
|
expect(mockLogger.warn).toHaveBeenCalled();
|
|
465
467
|
});
|
|
466
|
-
|
|
467
468
|
});
|
|
468
469
|
|
|
469
470
|
describe("classifyPackages", () => {
|
|
@@ -493,19 +494,15 @@ describe("classifyPackages", () => {
|
|
|
493
494
|
|
|
494
495
|
// Acceptance: Scenario "targets 필터에 미포함된 client 패키지 제외"
|
|
495
496
|
it("excludes client packages not in targets", () => {
|
|
496
|
-
const result = classifyPackages(
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
);
|
|
497
|
+
const result = classifyPackages({ "my-client": { target: "client", server: "srv" } as any }, [
|
|
498
|
+
"other-pkg",
|
|
499
|
+
]);
|
|
500
500
|
expect(result.clientPackages).toHaveLength(0);
|
|
501
501
|
});
|
|
502
502
|
|
|
503
503
|
// Acceptance: Scenario "scripts target은 여전히 제외"
|
|
504
504
|
it("still excludes scripts target", () => {
|
|
505
|
-
const result = classifyPackages(
|
|
506
|
-
{ "sd-claude": { target: "scripts" } },
|
|
507
|
-
[],
|
|
508
|
-
);
|
|
505
|
+
const result = classifyPackages({ "sd-claude": { target: "scripts" } }, []);
|
|
509
506
|
expect(result.buildPackages).toHaveLength(0);
|
|
510
507
|
expect(result.serverPackages).toHaveLength(0);
|
|
511
508
|
expect(result.clientPackages).toHaveLength(0);
|
|
@@ -575,7 +572,12 @@ describe("BuildOrchestrator client build", () => {
|
|
|
575
572
|
expect.any(Object),
|
|
576
573
|
);
|
|
577
574
|
const engineMock = vi.mocked(createBuildEngine).mock.results[0].value;
|
|
578
|
-
expect(engineMock.run).toHaveBeenCalledWith({
|
|
575
|
+
expect(engineMock.run).toHaveBeenCalledWith({
|
|
576
|
+
js: true,
|
|
577
|
+
dts: false,
|
|
578
|
+
lint: false,
|
|
579
|
+
includeTests: false,
|
|
580
|
+
});
|
|
579
581
|
expect(engineMock.stop).toHaveBeenCalled();
|
|
580
582
|
});
|
|
581
583
|
|
|
@@ -645,9 +647,7 @@ describe("BuildOrchestrator client build", () => {
|
|
|
645
647
|
await orchestrator.initialize();
|
|
646
648
|
await orchestrator.start();
|
|
647
649
|
|
|
648
|
-
expect(fsx.rm).toHaveBeenCalledWith(
|
|
649
|
-
expect.stringContaining("my-client"),
|
|
650
|
-
);
|
|
650
|
+
expect(fsx.rm).toHaveBeenCalledWith(expect.stringContaining("my-client"));
|
|
651
651
|
});
|
|
652
652
|
|
|
653
653
|
// Acceptance: Scenario "client 패키지 빌드 실행"
|
|
@@ -802,7 +802,12 @@ describe("BuildOrchestrator native build integration (Slice 1)", () => {
|
|
|
802
802
|
// ViteEngine should have been called
|
|
803
803
|
expect(createBuildEngine).toHaveBeenCalled();
|
|
804
804
|
const engineMock = vi.mocked(createBuildEngine).mock.results[0].value;
|
|
805
|
-
expect(engineMock.run).toHaveBeenCalledWith({
|
|
805
|
+
expect(engineMock.run).toHaveBeenCalledWith({
|
|
806
|
+
js: true,
|
|
807
|
+
dts: false,
|
|
808
|
+
lint: false,
|
|
809
|
+
includeTests: false,
|
|
810
|
+
});
|
|
806
811
|
|
|
807
812
|
// Capacitor should have been created, initialized, and built
|
|
808
813
|
expect(Capacitor.create).toHaveBeenCalledWith(
|
|
@@ -811,9 +816,7 @@ describe("BuildOrchestrator native build integration (Slice 1)", () => {
|
|
|
811
816
|
undefined,
|
|
812
817
|
);
|
|
813
818
|
expect(mockCapacitorInstance.initialize).toHaveBeenCalled();
|
|
814
|
-
expect(mockCapacitorInstance.build).toHaveBeenCalledWith(
|
|
815
|
-
expect.stringContaining("dist"),
|
|
816
|
-
);
|
|
819
|
+
expect(mockCapacitorInstance.build).toHaveBeenCalledWith(expect.stringContaining("dist"));
|
|
817
820
|
});
|
|
818
821
|
|
|
819
822
|
// Acceptance: Scenario "Electron 빌드 통합"
|
|
@@ -840,9 +843,7 @@ describe("BuildOrchestrator native build integration (Slice 1)", () => {
|
|
|
840
843
|
undefined,
|
|
841
844
|
);
|
|
842
845
|
expect(mockElectronInstance.initialize).toHaveBeenCalled();
|
|
843
|
-
expect(mockElectronInstance.build).toHaveBeenCalledWith(
|
|
844
|
-
expect.stringContaining("dist"),
|
|
845
|
-
);
|
|
846
|
+
expect(mockElectronInstance.build).toHaveBeenCalledWith(expect.stringContaining("dist"));
|
|
846
847
|
});
|
|
847
848
|
|
|
848
849
|
// Acceptance: Scenario "Capacitor + Electron 동시 빌드"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/index.ts","../src/util.ts"],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"d6b1eba8496bdd0eed6fc8a685768fe01b2da4a0388b5fe7df558290bffcf32f","affectsGlobalScope":true,"impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},"ad723b33e495a90b0d656522f61d30bbdd41893d01582d8a2b72fcaf6745bf69","9a30ac96b5d5c1b67eca69e1e2cf0798817d9578c8d7d904a81a67b983b35cba"],"root":[59,60],"options":{"declaration":false,"declarationMap":false,"emitDeclarationOnly":false,"module":7,"outDir":"../dist","skipLibCheck":true,"sourceMap":false,"strict":true,"target":9,"tsBuildInfoFile":"./typecheck-browser.tsbuildinfo"},"semanticDiagnosticsPerFile":[1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58],"affectedFilesPendingEmit":[59,60],"version":"6.0.3"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/index.ts","../src/util.ts"],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},"ad723b33e495a90b0d656522f61d30bbdd41893d01582d8a2b72fcaf6745bf69","9a30ac96b5d5c1b67eca69e1e2cf0798817d9578c8d7d904a81a67b983b35cba"],"root":[58,59],"options":{"declaration":false,"declarationMap":false,"emitDeclarationOnly":false,"module":7,"outDir":"../dist","skipLibCheck":true,"sourceMap":false,"strict":true,"target":9,"tsBuildInfoFile":"./typecheck-node.tsbuildinfo"},"semanticDiagnosticsPerFile":[1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57],"affectedFilesPendingEmit":[58,59],"version":"6.0.3"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/index.ts","../src/util.ts"],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"d6b1eba8496bdd0eed6fc8a685768fe01b2da4a0388b5fe7df558290bffcf32f","affectsGlobalScope":true,"impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},"ad723b33e495a90b0d656522f61d30bbdd41893d01582d8a2b72fcaf6745bf69","9a30ac96b5d5c1b67eca69e1e2cf0798817d9578c8d7d904a81a67b983b35cba"],"root":[59,60],"options":{"declaration":false,"declarationMap":false,"emitDeclarationOnly":false,"module":7,"outDir":"../dist","skipLibCheck":true,"sourceMap":false,"strict":true,"target":9,"tsBuildInfoFile":"./typecheck.tsbuildinfo"},"semanticDiagnosticsPerFile":[1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58],"affectedFilesPendingEmit":[59,60],"version":"6.0.3"}
|
|
@@ -29,9 +29,7 @@ describe("copySrcFiles", () => {
|
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
it("copies files matching glob patterns preserving relative paths", async () => {
|
|
32
|
-
vi.mocked(fsx.glob).mockResolvedValue([
|
|
33
|
-
toPosix(path.join(srcDir, "styles", "app.css")),
|
|
34
|
-
]);
|
|
32
|
+
vi.mocked(fsx.glob).mockResolvedValue([toPosix(path.join(srcDir, "styles", "app.css"))]);
|
|
35
33
|
|
|
36
34
|
await copySrcFiles(pkgDir, ["**/*.css"]);
|
|
37
35
|
|
|
@@ -127,9 +125,7 @@ describe("watchCopySrcFiles", () => {
|
|
|
127
125
|
changes: Array<{ event: string; path: string }>,
|
|
128
126
|
) => Promise<void>;
|
|
129
127
|
|
|
130
|
-
await onChangeCallback([
|
|
131
|
-
{ event: "add", path: toPosix(path.join(srcDir, "new.css")) },
|
|
132
|
-
]);
|
|
128
|
+
await onChangeCallback([{ event: "add", path: toPosix(path.join(srcDir, "new.css")) }]);
|
|
133
129
|
|
|
134
130
|
expect(fsx.copy).toHaveBeenCalledWith(
|
|
135
131
|
toPosix(path.join(srcDir, "new.css")),
|
|
@@ -14,7 +14,7 @@ describe("validateTargets", () => {
|
|
|
14
14
|
const packages = {
|
|
15
15
|
"core-node": { target: "node" },
|
|
16
16
|
"core-common": { target: "neutral" },
|
|
17
|
-
|
|
17
|
+
storage: { target: "node" },
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
it("does nothing when targets is empty", () => {
|
|
@@ -26,15 +26,11 @@ describe("validateTargets", () => {
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
it("throws SdError for a single unknown target", () => {
|
|
29
|
-
expect(() => validateTargets(["nonexistent"], packages)).toThrow(
|
|
30
|
-
"Unknown target: nonexistent",
|
|
31
|
-
);
|
|
29
|
+
expect(() => validateTargets(["nonexistent"], packages)).toThrow("Unknown target: nonexistent");
|
|
32
30
|
});
|
|
33
31
|
|
|
34
32
|
it("throws SdError listing all unknown targets", () => {
|
|
35
|
-
expect(() => validateTargets(["bad1", "bad2"], packages)).toThrow(
|
|
36
|
-
"Unknown target: bad1, bad2",
|
|
37
|
-
);
|
|
33
|
+
expect(() => validateTargets(["bad1", "bad2"], packages)).toThrow("Unknown target: bad1, bad2");
|
|
38
34
|
});
|
|
39
35
|
|
|
40
36
|
it("throws SdError when some targets are valid and some are not", () => {
|
|
@@ -61,13 +57,11 @@ describe("validateTargets", () => {
|
|
|
61
57
|
});
|
|
62
58
|
|
|
63
59
|
describe("discoverWorkspacePackages", () => {
|
|
64
|
-
it("discovers
|
|
60
|
+
it("discovers workspace directories declared in pnpm-workspace.yaml", () => {
|
|
65
61
|
const result = discoverWorkspacePackages(process.cwd());
|
|
66
62
|
expect(result.get("core-common")).toBe("packages/core-common");
|
|
67
63
|
expect(result.get("orm")).toBe("tests/orm");
|
|
68
64
|
expect(result.get("service")).toBe("tests/service");
|
|
69
|
-
expect(result.get("sd")).toBe("plugins/sd");
|
|
70
|
-
expect(result.get("sd-wiki")).toBe("plugins/sd-wiki");
|
|
71
65
|
});
|
|
72
66
|
|
|
73
67
|
it("returns empty map when directory does not exist", () => {
|
|
@@ -75,15 +69,15 @@ describe("discoverWorkspacePackages", () => {
|
|
|
75
69
|
expect(result.size).toBe(0);
|
|
76
70
|
});
|
|
77
71
|
|
|
78
|
-
it("includes all workspace kinds (packages
|
|
72
|
+
it("includes all workspace kinds (packages/, tests/, plugins/)", () => {
|
|
79
73
|
const tmpDir = path.join(process.cwd(), ".tmp", "test-workspace-plugins");
|
|
80
74
|
fs.rmSync(tmpDir, { recursive: true, force: true });
|
|
81
75
|
fs.mkdirSync(path.join(tmpDir, "packages", "app"), { recursive: true });
|
|
82
76
|
fs.mkdirSync(path.join(tmpDir, "tests", "orm"), { recursive: true });
|
|
83
77
|
fs.mkdirSync(path.join(tmpDir, "plugins", "sd"), { recursive: true });
|
|
84
78
|
fs.writeFileSync(
|
|
85
|
-
path.join(tmpDir, "
|
|
86
|
-
|
|
79
|
+
path.join(tmpDir, "pnpm-workspace.yaml"),
|
|
80
|
+
"packages:\n - packages/*\n - tests/*\n - plugins/*\n",
|
|
87
81
|
);
|
|
88
82
|
fs.writeFileSync(path.join(tmpDir, "packages", "app", "package.json"), "{}");
|
|
89
83
|
fs.writeFileSync(path.join(tmpDir, "tests", "orm", "package.json"), "{}");
|
|
@@ -108,8 +102,8 @@ describe("discoverWorkspacePackages", () => {
|
|
|
108
102
|
it("throws when same directory name exists in both packages/ and tests/", () => {
|
|
109
103
|
fs.mkdirSync(path.join(tmpDir, "packages", "foo"), { recursive: true });
|
|
110
104
|
fs.writeFileSync(
|
|
111
|
-
path.join(tmpDir, "
|
|
112
|
-
|
|
105
|
+
path.join(tmpDir, "pnpm-workspace.yaml"),
|
|
106
|
+
"packages:\n - packages/*\n - tests/*\n",
|
|
113
107
|
);
|
|
114
108
|
fs.writeFileSync(path.join(tmpDir, "packages", "foo", "package.json"), "{}");
|
|
115
109
|
fs.mkdirSync(path.join(tmpDir, "tests", "foo"), { recursive: true });
|
|
@@ -123,8 +117,8 @@ describe("discoverWorkspacePackages", () => {
|
|
|
123
117
|
});
|
|
124
118
|
|
|
125
119
|
describe("mergeTestsPackagesIntoConfig", () => {
|
|
126
|
-
// Acceptance: targets 없이 watch 실행 시 비배포 워크스페이스(tests
|
|
127
|
-
it("merges non-deploy workspaces (tests
|
|
120
|
+
// Acceptance: targets 없이 watch 실행 시 비배포 워크스페이스(tests/, plugins/)가 포함된다
|
|
121
|
+
it("merges non-deploy workspaces (tests/, plugins/) into config with target node", () => {
|
|
128
122
|
const configPackages: Record<string, SdPackageConfig | undefined> = {
|
|
129
123
|
"core-common": { target: "neutral" },
|
|
130
124
|
"core-node": { target: "node" },
|
|
@@ -139,7 +133,7 @@ describe("mergeTestsPackagesIntoConfig", () => {
|
|
|
139
133
|
|
|
140
134
|
const { merged, pathMap } = mergeTestsPackagesIntoConfig(configPackages, workspacePackages);
|
|
141
135
|
|
|
142
|
-
// non-deploy workspaces (tests
|
|
136
|
+
// non-deploy workspaces (tests/, plugins/) are included as node
|
|
143
137
|
expect(merged["orm"]).toEqual({ target: "node" });
|
|
144
138
|
expect(merged["service"]).toEqual({ target: "node" });
|
|
145
139
|
expect(merged["sd"]).toEqual({ target: "node" });
|
|
@@ -174,9 +168,7 @@ describe("mergeTestsPackagesIntoConfig", () => {
|
|
|
174
168
|
const configPackages: Record<string, SdPackageConfig | undefined> = {
|
|
175
169
|
"core-common": { target: "neutral" },
|
|
176
170
|
};
|
|
177
|
-
const workspacePackages = new Map([
|
|
178
|
-
["core-common", "packages/core-common"],
|
|
179
|
-
]);
|
|
171
|
+
const workspacePackages = new Map([["core-common", "packages/core-common"]]);
|
|
180
172
|
|
|
181
173
|
const { merged } = mergeTestsPackagesIntoConfig(configPackages, workspacePackages);
|
|
182
174
|
|
|
@@ -201,11 +193,9 @@ describe("mergeTestsPackagesIntoConfig", () => {
|
|
|
201
193
|
// Acceptance: 이름 충돌 시 에러 발생
|
|
202
194
|
it("throws when config package name collides with tests package name", () => {
|
|
203
195
|
const configPackages: Record<string, SdPackageConfig | undefined> = {
|
|
204
|
-
|
|
196
|
+
orm: { target: "node" },
|
|
205
197
|
};
|
|
206
|
-
const workspacePackages = new Map([
|
|
207
|
-
["orm", "tests/orm"],
|
|
208
|
-
]);
|
|
198
|
+
const workspacePackages = new Map([["orm", "tests/orm"]]);
|
|
209
199
|
|
|
210
200
|
expect(() => mergeTestsPackagesIntoConfig(configPackages, workspacePackages)).toThrow(
|
|
211
201
|
/Duplicate package name.*orm/,
|
|
@@ -232,7 +222,7 @@ describe("iteratePackages", () => {
|
|
|
232
222
|
const packages = {
|
|
233
223
|
"core-common": { target: "neutral" } as SdBuildPackageConfig,
|
|
234
224
|
"core-node": { target: "node" } as SdBuildPackageConfig,
|
|
235
|
-
|
|
225
|
+
storage: { target: "node" } as SdBuildPackageConfig,
|
|
236
226
|
};
|
|
237
227
|
|
|
238
228
|
const result = iteratePackages(packages, ["core-common", "storage"]);
|
|
@@ -244,8 +234,8 @@ describe("iteratePackages", () => {
|
|
|
244
234
|
// Unit: returns all when targets is empty
|
|
245
235
|
it("returns all non-null entries when targets is empty", () => {
|
|
246
236
|
const packages = {
|
|
247
|
-
|
|
248
|
-
|
|
237
|
+
a: { target: "node" } as SdBuildPackageConfig,
|
|
238
|
+
b: { target: "browser" } as SdBuildPackageConfig,
|
|
249
239
|
};
|
|
250
240
|
|
|
251
241
|
const result = iteratePackages(packages, []);
|
|
@@ -256,8 +246,8 @@ describe("iteratePackages", () => {
|
|
|
256
246
|
// Unit: returns empty when all configs are null
|
|
257
247
|
it("returns empty array when all configs are null/undefined", () => {
|
|
258
248
|
const packages = {
|
|
259
|
-
|
|
260
|
-
|
|
249
|
+
a: undefined,
|
|
250
|
+
b: undefined,
|
|
261
251
|
};
|
|
262
252
|
|
|
263
253
|
const result = iteratePackages(packages, []);
|
|
@@ -280,7 +270,7 @@ describe("hasAngularCoreDependency", () => {
|
|
|
280
270
|
fs.writeFileSync(
|
|
281
271
|
path.join(pkgDir, "package.json"),
|
|
282
272
|
JSON.stringify({
|
|
283
|
-
dependencies: { "@angular/core": "^21.0.0",
|
|
273
|
+
dependencies: { "@angular/core": "^21.0.0", rxjs: "^7" },
|
|
284
274
|
}),
|
|
285
275
|
);
|
|
286
276
|
|
|
@@ -308,7 +298,7 @@ describe("hasAngularCoreDependency", () => {
|
|
|
308
298
|
fs.writeFileSync(
|
|
309
299
|
path.join(pkgDir, "package.json"),
|
|
310
300
|
JSON.stringify({
|
|
311
|
-
dependencies: {
|
|
301
|
+
dependencies: { rxjs: "^7" },
|
|
312
302
|
devDependencies: { "@angular/compiler": "^21.0.0" },
|
|
313
303
|
}),
|
|
314
304
|
);
|
|
@@ -327,10 +317,7 @@ describe("hasAngularCoreDependency", () => {
|
|
|
327
317
|
it("returns false when no dependencies or peerDependencies", () => {
|
|
328
318
|
const pkgDir = path.join(tmpDir, "empty-deps");
|
|
329
319
|
fs.mkdirSync(pkgDir, { recursive: true });
|
|
330
|
-
fs.writeFileSync(
|
|
331
|
-
path.join(pkgDir, "package.json"),
|
|
332
|
-
JSON.stringify({ name: "test" }),
|
|
333
|
-
);
|
|
320
|
+
fs.writeFileSync(path.join(pkgDir, "package.json"), JSON.stringify({ name: "test" }));
|
|
334
321
|
|
|
335
322
|
expect(hasAngularCoreDependency(pkgDir)).toBe(false);
|
|
336
323
|
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
printWidth: 100
|
|
2
|
-
tabWidth: 2
|
|
3
|
-
useTabs: false
|
|
4
|
-
semi: true
|
|
5
|
-
quoteProps: consistent
|
|
6
|
-
trailingComma: all
|
|
7
|
-
bracketSpacing: true
|
|
8
|
-
bracketSameLine: false
|
|
9
|
-
arrowParens: always
|
|
10
|
-
endOfLine: lf
|
|
11
|
-
htmlWhitespaceSensitivity: ignore
|
|
12
|
-
embeddedLanguageFormatting: auto
|