wp-typia 0.22.5 → 0.22.6
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/README.md +7 -0
- package/dist-bunli/.bunli/commands.gen.js +1820 -1020
- package/dist-bunli/{cli-xbzfx7qz.js → cli-0q0tz4dq.js} +4 -4
- package/dist-bunli/{cli-hb9vpsev.js → cli-2rqf6t0b.js} +1 -1
- package/dist-bunli/{cli-6bhfzq5e.js → cli-52ke0ptp.js} +2 -2
- package/dist-bunli/{cli-j30rk466.js → cli-5kn2p7ee.js} +693 -259
- package/dist-bunli/{cli-ctddkm3n.js → cli-6a65qfb1.js} +475 -249
- package/dist-bunli/{cli-add-1gqgshf0.js → cli-add-5vmxpgmn.js} +84 -62
- package/dist-bunli/{cli-doctor-w35s8y9w.js → cli-doctor-ngzs8kkc.js} +15 -18
- package/dist-bunli/{cli-nzwpmw4y.js → cli-f44sphgv.js} +98 -32
- package/dist-bunli/cli-fys8vm2t.js +20 -0
- package/dist-bunli/{cli-btbpt84c.js → cli-hhp1d348.js} +1 -1
- package/dist-bunli/{cli-init-z8sjmkvc.js → cli-init-df1wg71p.js} +421 -401
- package/dist-bunli/{cli-scaffold-ad3bd555.js → cli-scaffold-btx3wfsn.js} +8 -7
- package/dist-bunli/cli.js +8 -6
- package/dist-bunli/{command-list-scd6zqp8.js → command-list-bqr2tp8w.js} +16 -12
- package/dist-bunli/{migrations-skkzdvhm.js → migrations-bnrjw4k1.js} +7 -6
- package/dist-bunli/node-cli.js +253 -97
- package/dist-bunli/{workspace-project-7826tewa.js → workspace-project-csnnggz6.js} +2 -2
- package/package.json +2 -2
|
@@ -19,26 +19,27 @@ import {
|
|
|
19
19
|
resolvePackageManagerId,
|
|
20
20
|
resolveTemplateId,
|
|
21
21
|
scaffoldProject
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-6a65qfb1.js";
|
|
23
23
|
import"./cli-1sm60g1z.js";
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
24
|
+
import"./cli-0q0tz4dq.js";
|
|
25
|
+
import"./cli-2rqf6t0b.js";
|
|
26
26
|
import"./cli-bq2v559b.js";
|
|
27
27
|
import"./cli-10pe4mf8.js";
|
|
28
28
|
import {
|
|
29
29
|
OFFICIAL_WORKSPACE_TEMPLATE_PACKAGE,
|
|
30
30
|
isBuiltInTemplateId
|
|
31
31
|
} from "./cli-tke8twkn.js";
|
|
32
|
-
import"./cli-
|
|
32
|
+
import"./cli-5kn2p7ee.js";
|
|
33
33
|
import {
|
|
34
34
|
createManagedTempRoot
|
|
35
35
|
} from "./cli-t73q5aqz.js";
|
|
36
|
+
import"./cli-fys8vm2t.js";
|
|
36
37
|
import"./cli-p95wr1q8.js";
|
|
37
|
-
import"./cli-
|
|
38
|
+
import"./cli-hhp1d348.js";
|
|
38
39
|
import {
|
|
39
40
|
formatInstallCommand,
|
|
40
41
|
formatRunScript
|
|
41
|
-
} from "./cli-
|
|
42
|
+
} from "./cli-52ke0ptp.js";
|
|
42
43
|
import"./cli-xnn9xjcy.js";
|
|
43
44
|
|
|
44
45
|
// ../wp-typia-project-tools/src/runtime/cli-scaffold.ts
|
|
@@ -556,4 +557,4 @@ export {
|
|
|
556
557
|
getNextSteps
|
|
557
558
|
};
|
|
558
559
|
|
|
559
|
-
//# debugId=
|
|
560
|
+
//# debugId=B0B154A223C91D5164756E2164756E21
|
package/dist-bunli/cli.js
CHANGED
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
buildCommandOptionParser,
|
|
12
12
|
collectOptionNamesByType,
|
|
13
13
|
collectPositionalIndexes,
|
|
14
|
+
createMissingOptionValueError,
|
|
14
15
|
createPlugin,
|
|
15
16
|
extractKnownOptionValuesFromArgv,
|
|
16
17
|
findFirstPositionalIndex,
|
|
@@ -21,7 +22,7 @@ import {
|
|
|
21
22
|
package_default,
|
|
22
23
|
validateCliOutputFormatArgv,
|
|
23
24
|
writeStructuredCliDiagnosticError
|
|
24
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-f44sphgv.js";
|
|
25
26
|
import"./cli-03j0axbt.js";
|
|
26
27
|
import {
|
|
27
28
|
GLOBAL_FLAGS,
|
|
@@ -36,6 +37,7 @@ import {
|
|
|
36
37
|
} from "./cli-hv2yedw2.js";
|
|
37
38
|
import"./cli-ac2ebaf8.js";
|
|
38
39
|
import"./cli-6v0pcxw6.js";
|
|
40
|
+
import"./cli-fys8vm2t.js";
|
|
39
41
|
import"./cli-p95wr1q8.js";
|
|
40
42
|
import {
|
|
41
43
|
__require
|
|
@@ -2294,7 +2296,7 @@ function assertStringOptionValues(argv) {
|
|
|
2294
2296
|
if (SHORT_OPTION_NAMES_WITH_VALUES.has(arg.slice(1))) {
|
|
2295
2297
|
const next2 = argv[index + 1];
|
|
2296
2298
|
if (!next2 || next2.startsWith("-")) {
|
|
2297
|
-
throw
|
|
2299
|
+
throw createMissingOptionValueError(arg);
|
|
2298
2300
|
}
|
|
2299
2301
|
index += 1;
|
|
2300
2302
|
}
|
|
@@ -2309,13 +2311,13 @@ function assertStringOptionValues(argv) {
|
|
|
2309
2311
|
}
|
|
2310
2312
|
if (arg.includes("=")) {
|
|
2311
2313
|
if (!inlineValue) {
|
|
2312
|
-
throw
|
|
2314
|
+
throw createMissingOptionValueError(`--${rawName}`);
|
|
2313
2315
|
}
|
|
2314
2316
|
continue;
|
|
2315
2317
|
}
|
|
2316
2318
|
const next = argv[index + 1];
|
|
2317
2319
|
if (!next || next.startsWith("-")) {
|
|
2318
|
-
throw
|
|
2320
|
+
throw createMissingOptionValueError(`--${rawName}`);
|
|
2319
2321
|
}
|
|
2320
2322
|
index += 1;
|
|
2321
2323
|
}
|
|
@@ -2455,7 +2457,7 @@ async function formatCliError(error) {
|
|
|
2455
2457
|
}
|
|
2456
2458
|
async function createWpTypiaCli(options = {}) {
|
|
2457
2459
|
applyStandaloneSupportLayoutEnv();
|
|
2458
|
-
const { wpTypiaCommands } = await import("./command-list-
|
|
2460
|
+
const { wpTypiaCommands } = await import("./command-list-bqr2tp8w.js");
|
|
2459
2461
|
const cli = await createCLI({
|
|
2460
2462
|
...bunliConfig,
|
|
2461
2463
|
description: package_default.description,
|
|
@@ -2515,4 +2517,4 @@ export {
|
|
|
2515
2517
|
createWpTypiaCli
|
|
2516
2518
|
};
|
|
2517
2519
|
|
|
2518
|
-
//# debugId=
|
|
2520
|
+
//# debugId=8055E7CFBE8C705564756E2164756E21
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
ADD_KIND_IDS,
|
|
4
3
|
ADD_OPTION_METADATA,
|
|
5
4
|
CREATE_OPTION_METADATA,
|
|
6
5
|
DOCTOR_OPTION_METADATA,
|
|
@@ -18,7 +17,7 @@ import {
|
|
|
18
17
|
package_default,
|
|
19
18
|
prefersStructuredCliOutput,
|
|
20
19
|
resolveCommandOptionValues
|
|
21
|
-
} from "./cli-
|
|
20
|
+
} from "./cli-f44sphgv.js";
|
|
22
21
|
import {
|
|
23
22
|
Result,
|
|
24
23
|
TaggedError,
|
|
@@ -35,6 +34,9 @@ import"./cli-ac2ebaf8.js";
|
|
|
35
34
|
import {
|
|
36
35
|
createManagedTempRoot
|
|
37
36
|
} from "./cli-t73q5aqz.js";
|
|
37
|
+
import {
|
|
38
|
+
ADD_KIND_IDS
|
|
39
|
+
} from "./cli-fys8vm2t.js";
|
|
38
40
|
import {
|
|
39
41
|
CLI_DIAGNOSTIC_CODES,
|
|
40
42
|
createCliDiagnosticCodeError
|
|
@@ -44,7 +46,7 @@ import {
|
|
|
44
46
|
formatPackageExecCommand,
|
|
45
47
|
formatRunScript,
|
|
46
48
|
inferPackageManagerId
|
|
47
|
-
} from "./cli-
|
|
49
|
+
} from "./cli-52ke0ptp.js";
|
|
48
50
|
import {
|
|
49
51
|
__require,
|
|
50
52
|
__toESM
|
|
@@ -400,7 +402,9 @@ var ADD_KIND_REGISTRY = {
|
|
|
400
402
|
getValues: (result) => ({
|
|
401
403
|
abilitySlug: result.abilitySlug
|
|
402
404
|
}),
|
|
403
|
-
|
|
405
|
+
getWarnings: (result) => result.warnings,
|
|
406
|
+
missingNameMessage: "`wp-typia add ability` requires <name>. Usage: wp-typia add ability <name>.",
|
|
407
|
+
warnLine: context.warnLine
|
|
404
408
|
});
|
|
405
409
|
},
|
|
406
410
|
sortOrder: 90,
|
|
@@ -844,7 +848,7 @@ async function simulateWorkspaceAddDryRun({
|
|
|
844
848
|
cwd,
|
|
845
849
|
execute
|
|
846
850
|
}) {
|
|
847
|
-
const { resolveWorkspaceProject } = await import("./workspace-project-
|
|
851
|
+
const { resolveWorkspaceProject } = await import("./workspace-project-csnnggz6.js");
|
|
848
852
|
const workspace = resolveWorkspaceProject(cwd);
|
|
849
853
|
const relativeCwd = path.relative(workspace.projectDir, path.resolve(cwd));
|
|
850
854
|
const { path: tempRoot, cleanup } = await createManagedTempRoot("wp-typia-add-plan-");
|
|
@@ -1380,14 +1384,14 @@ async function executeSyncCommand({
|
|
|
1380
1384
|
}
|
|
1381
1385
|
|
|
1382
1386
|
// src/runtime-bridge.ts
|
|
1383
|
-
var loadCliAddRuntime = () => import("./cli-add-
|
|
1387
|
+
var loadCliAddRuntime = () => import("./cli-add-5vmxpgmn.js");
|
|
1384
1388
|
var loadCliDiagnosticsRuntime = () => import("./cli-diagnostics-5dvztm7q.js");
|
|
1385
|
-
var loadCliDoctorRuntime = () => import("./cli-doctor-
|
|
1386
|
-
var loadCliInitRuntime = () => import("./cli-init-
|
|
1389
|
+
var loadCliDoctorRuntime = () => import("./cli-doctor-ngzs8kkc.js");
|
|
1390
|
+
var loadCliInitRuntime = () => import("./cli-init-df1wg71p.js");
|
|
1387
1391
|
var loadCliPromptRuntime = () => import("./cli-prompt-614tq57c.js");
|
|
1388
|
-
var loadCliScaffoldRuntime = () => import("./cli-scaffold-
|
|
1392
|
+
var loadCliScaffoldRuntime = () => import("./cli-scaffold-btx3wfsn.js");
|
|
1389
1393
|
var loadCliTemplatesRuntime = () => import("./cli-templates-9t2a7zqd.js");
|
|
1390
|
-
var loadMigrationsRuntime = () => import("./migrations-
|
|
1394
|
+
var loadMigrationsRuntime = () => import("./migrations-bnrjw4k1.js");
|
|
1391
1395
|
async function wrapCliCommandError(command, error) {
|
|
1392
1396
|
const { createCliCommandError } = await loadCliDiagnosticsRuntime();
|
|
1393
1397
|
return createCliCommandError({ command, error });
|
|
@@ -2335,7 +2339,7 @@ var doctorCommand = defineCommand({
|
|
|
2335
2339
|
const prefersStructuredOutput = prefersStructuredCliOutput(args);
|
|
2336
2340
|
if (prefersStructuredOutput) {
|
|
2337
2341
|
const [{ getDoctorChecks }, { getDoctorFailureDetailLines }] = await Promise.all([
|
|
2338
|
-
import("./cli-doctor-
|
|
2342
|
+
import("./cli-doctor-ngzs8kkc.js"),
|
|
2339
2343
|
import("./cli-diagnostics-5dvztm7q.js")
|
|
2340
2344
|
]);
|
|
2341
2345
|
const checks = await getDoctorChecks(args.cwd);
|
|
@@ -3201,4 +3205,4 @@ export {
|
|
|
3201
3205
|
wpTypiaCommands
|
|
3202
3206
|
};
|
|
3203
3207
|
|
|
3204
|
-
//# debugId=
|
|
3208
|
+
//# debugId=2AA06F030398E13464756E2164756E21
|
|
@@ -15,12 +15,13 @@ import {
|
|
|
15
15
|
snapshotProjectVersion,
|
|
16
16
|
verifyProjectMigrations,
|
|
17
17
|
wizardProjectMigrations
|
|
18
|
-
} from "./cli-
|
|
19
|
-
import"./cli-
|
|
18
|
+
} from "./cli-0q0tz4dq.js";
|
|
19
|
+
import"./cli-2rqf6t0b.js";
|
|
20
20
|
import"./cli-bq2v559b.js";
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
21
|
+
import"./cli-5kn2p7ee.js";
|
|
22
|
+
import"./cli-fys8vm2t.js";
|
|
23
|
+
import"./cli-hhp1d348.js";
|
|
24
|
+
import"./cli-52ke0ptp.js";
|
|
24
25
|
import"./cli-xnn9xjcy.js";
|
|
25
26
|
export {
|
|
26
27
|
wizardProjectMigrations,
|
|
@@ -40,4 +41,4 @@ export {
|
|
|
40
41
|
diffProjectMigrations
|
|
41
42
|
};
|
|
42
43
|
|
|
43
|
-
//# debugId=
|
|
44
|
+
//# debugId=6C9410F9A5F336C364756E2164756E21
|