@mgamadeus/ddd-web 0.16.2 → 0.17.1
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/.claude/skills/ddd-web-specialist/SKILL.md +3 -3
- package/.claude/skills/ddd-web-specialist/references/consumer.md +24 -4
- package/.claude/skills/ddd-web-specialist/references/maintaining.md +2 -0
- package/CHANGELOG.md +47 -0
- package/README.md +111 -4
- package/dist/{chunk-6CQEUZ3B.js → chunk-3V22MYDI.js} +550 -62
- package/dist/{chunk-6CQEUZ3B.js.map → chunk-3V22MYDI.js.map} +1 -1
- package/dist/codegen/cli.js +31 -5
- package/dist/codegen/cli.js.map +1 -1
- package/dist/codegen/index.d.ts +63 -9
- package/dist/codegen/index.js +5 -1
- package/package.json +17 -9
package/dist/codegen/cli.js
CHANGED
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
SdkGenerationError,
|
|
4
4
|
consoleLogger,
|
|
5
5
|
generateSdk,
|
|
6
|
-
|
|
7
|
-
} from "../chunk-
|
|
6
|
+
runSkillLinks
|
|
7
|
+
} from "../chunk-3V22MYDI.js";
|
|
8
8
|
|
|
9
9
|
// src/codegen/cli.ts
|
|
10
10
|
import { parseArgs } from "util";
|
|
11
11
|
var HELP = `Usage:
|
|
12
12
|
ddd-web-sdk [options] Generate the RTK Query SDK (same as "ddd-web sdk")
|
|
13
13
|
ddd-web sdk [options]
|
|
14
|
-
ddd-web link-skills
|
|
14
|
+
ddd-web link-skills [options] Link the agent skills of every installed DDD package into .claude/skills/
|
|
15
15
|
|
|
16
16
|
SDK options:
|
|
17
17
|
--config <path> Config file (default: openapi-config.ts)
|
|
@@ -21,6 +21,13 @@ SDK options:
|
|
|
21
21
|
--skip-prettier Do not format the generated files
|
|
22
22
|
--skip-tsc Do not run tsc --noEmit after generation
|
|
23
23
|
-h, --help Show this help
|
|
24
|
+
|
|
25
|
+
link-skills options:
|
|
26
|
+
--check Change nothing; exit 1 on missing, stale or broken links, clashes, generated links still
|
|
27
|
+
tracked by git and edited vendor skills
|
|
28
|
+
--dry-run Print what would change, change nothing
|
|
29
|
+
--quiet Print only warnings and problems
|
|
30
|
+
--root <dir> Repository root (default: nearest ancestor with .git, else with .claude; env DDD_SKILLS_ROOT)
|
|
24
31
|
`;
|
|
25
32
|
async function main(argv) {
|
|
26
33
|
const [first, ...rest] = argv;
|
|
@@ -31,8 +38,27 @@ async function main(argv) {
|
|
|
31
38
|
return 0;
|
|
32
39
|
}
|
|
33
40
|
if (command === "link-skills") {
|
|
34
|
-
|
|
35
|
-
|
|
41
|
+
const { values: linkValues } = parseArgs({
|
|
42
|
+
args,
|
|
43
|
+
options: {
|
|
44
|
+
check: { type: "boolean" },
|
|
45
|
+
"dry-run": { type: "boolean" },
|
|
46
|
+
quiet: { type: "boolean", short: "q" },
|
|
47
|
+
root: { type: "string" },
|
|
48
|
+
help: { type: "boolean", short: "h" }
|
|
49
|
+
},
|
|
50
|
+
strict: true
|
|
51
|
+
});
|
|
52
|
+
if (linkValues.help) {
|
|
53
|
+
process.stdout.write(HELP);
|
|
54
|
+
return 0;
|
|
55
|
+
}
|
|
56
|
+
return runSkillLinks({
|
|
57
|
+
...linkValues.root ? { root: linkValues.root } : {},
|
|
58
|
+
check: linkValues.check ?? false,
|
|
59
|
+
dryRun: linkValues["dry-run"] ?? false,
|
|
60
|
+
quiet: linkValues.quiet ?? false
|
|
61
|
+
}).exitCode;
|
|
36
62
|
}
|
|
37
63
|
const { values } = parseArgs({
|
|
38
64
|
args,
|
package/dist/codegen/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/codegen/cli.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { parseArgs } from 'node:util';\nimport { generateSdk } from './generate';\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/codegen/cli.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { parseArgs } from 'node:util';\nimport { generateSdk } from './generate';\nimport { runSkillLinks } from './link-skills';\nimport { consoleLogger, SdkGenerationError } from './log';\n\nconst HELP = `Usage:\n ddd-web-sdk [options] Generate the RTK Query SDK (same as \"ddd-web sdk\")\n ddd-web sdk [options]\n ddd-web link-skills [options] Link the agent skills of every installed DDD package into .claude/skills/\n\nSDK options:\n --config <path> Config file (default: openapi-config.ts)\n --api <exportName> Generate only this api entry\n --schema <url|file> Spec source for the selected api (overrides schemaFile)\n --workspace <value> Value for config.workspace.envVar (alias: --subdomain)\n --skip-prettier Do not format the generated files\n --skip-tsc Do not run tsc --noEmit after generation\n -h, --help Show this help\n\nlink-skills options:\n --check Change nothing; exit 1 on missing, stale or broken links, clashes, generated links still\n tracked by git and edited vendor skills\n --dry-run Print what would change, change nothing\n --quiet Print only warnings and problems\n --root <dir> Repository root (default: nearest ancestor with .git, else with .claude; env DDD_SKILLS_ROOT)\n`;\n\nasync function main(argv: string[]): Promise<number> {\n const [first, ...rest] = argv;\n const command = first === 'sdk' || first === 'link-skills' || first === 'help' ? first : 'sdk';\n const args = command === first ? rest : argv;\n\n if (command === 'help') {\n process.stdout.write(HELP);\n return 0;\n }\n if (command === 'link-skills') {\n const { values: linkValues } = parseArgs({\n args,\n options: {\n check: { type: 'boolean' },\n 'dry-run': { type: 'boolean' },\n quiet: { type: 'boolean', short: 'q' },\n root: { type: 'string' },\n help: { type: 'boolean', short: 'h' },\n },\n strict: true,\n });\n if (linkValues.help) {\n process.stdout.write(HELP);\n return 0;\n }\n return runSkillLinks({\n ...(linkValues.root ? { root: linkValues.root } : {}),\n check: linkValues.check ?? false,\n dryRun: linkValues['dry-run'] ?? false,\n quiet: linkValues.quiet ?? false,\n }).exitCode;\n }\n\n const { values } = parseArgs({\n args,\n options: {\n config: { type: 'string' },\n api: { type: 'string' },\n schema: { type: 'string' },\n workspace: { type: 'string' },\n subdomain: { type: 'string' },\n 'skip-prettier': { type: 'boolean' },\n 'skip-tsc': { type: 'boolean' },\n help: { type: 'boolean', short: 'h' },\n },\n strict: true,\n });\n if (values.help) {\n process.stdout.write(HELP);\n return 0;\n }\n const workspace = values.workspace ?? values.subdomain;\n await generateSdk({\n ...(values.config ? { config: values.config } : {}),\n ...(values.api ? { api: values.api } : {}),\n ...(values.schema ? { schema: values.schema } : {}),\n ...(workspace ? { workspace } : {}),\n skipPrettier: values['skip-prettier'] ?? false,\n skipTsc: values['skip-tsc'] ?? false,\n });\n return 0;\n}\n\nmain(process.argv.slice(2)).then(\n (code) => process.exit(code),\n (error: unknown) => {\n if (error instanceof SdkGenerationError || (error as { code?: string }).code === 'ERR_PARSE_ARGS_UNKNOWN_OPTION') {\n consoleLogger.error((error as Error).message);\n } else {\n consoleLogger.error(error instanceof Error ? (error.stack ?? error.message) : String(error));\n }\n process.exit(1);\n },\n);\n"],"mappings":";;;;;;;;;AACA,SAAS,iBAAiB;AAK1B,IAAM,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBb,eAAe,KAAK,MAAiC;AACnD,QAAM,CAAC,OAAO,GAAG,IAAI,IAAI;AACzB,QAAM,UAAU,UAAU,SAAS,UAAU,iBAAiB,UAAU,SAAS,QAAQ;AACzF,QAAM,OAAO,YAAY,QAAQ,OAAO;AAExC,MAAI,YAAY,QAAQ;AACtB,YAAQ,OAAO,MAAM,IAAI;AACzB,WAAO;AAAA,EACT;AACA,MAAI,YAAY,eAAe;AAC7B,UAAM,EAAE,QAAQ,WAAW,IAAI,UAAU;AAAA,MACvC;AAAA,MACA,SAAS;AAAA,QACP,OAAO,EAAE,MAAM,UAAU;AAAA,QACzB,WAAW,EAAE,MAAM,UAAU;AAAA,QAC7B,OAAO,EAAE,MAAM,WAAW,OAAO,IAAI;AAAA,QACrC,MAAM,EAAE,MAAM,SAAS;AAAA,QACvB,MAAM,EAAE,MAAM,WAAW,OAAO,IAAI;AAAA,MACtC;AAAA,MACA,QAAQ;AAAA,IACV,CAAC;AACD,QAAI,WAAW,MAAM;AACnB,cAAQ,OAAO,MAAM,IAAI;AACzB,aAAO;AAAA,IACT;AACA,WAAO,cAAc;AAAA,MACnB,GAAI,WAAW,OAAO,EAAE,MAAM,WAAW,KAAK,IAAI,CAAC;AAAA,MACnD,OAAO,WAAW,SAAS;AAAA,MAC3B,QAAQ,WAAW,SAAS,KAAK;AAAA,MACjC,OAAO,WAAW,SAAS;AAAA,IAC7B,CAAC,EAAE;AAAA,EACL;AAEA,QAAM,EAAE,OAAO,IAAI,UAAU;AAAA,IAC3B;AAAA,IACA,SAAS;AAAA,MACP,QAAQ,EAAE,MAAM,SAAS;AAAA,MACzB,KAAK,EAAE,MAAM,SAAS;AAAA,MACtB,QAAQ,EAAE,MAAM,SAAS;AAAA,MACzB,WAAW,EAAE,MAAM,SAAS;AAAA,MAC5B,WAAW,EAAE,MAAM,SAAS;AAAA,MAC5B,iBAAiB,EAAE,MAAM,UAAU;AAAA,MACnC,YAAY,EAAE,MAAM,UAAU;AAAA,MAC9B,MAAM,EAAE,MAAM,WAAW,OAAO,IAAI;AAAA,IACtC;AAAA,IACA,QAAQ;AAAA,EACV,CAAC;AACD,MAAI,OAAO,MAAM;AACf,YAAQ,OAAO,MAAM,IAAI;AACzB,WAAO;AAAA,EACT;AACA,QAAM,YAAY,OAAO,aAAa,OAAO;AAC7C,QAAM,YAAY;AAAA,IAChB,GAAI,OAAO,SAAS,EAAE,QAAQ,OAAO,OAAO,IAAI,CAAC;AAAA,IACjD,GAAI,OAAO,MAAM,EAAE,KAAK,OAAO,IAAI,IAAI,CAAC;AAAA,IACxC,GAAI,OAAO,SAAS,EAAE,QAAQ,OAAO,OAAO,IAAI,CAAC;AAAA,IACjD,GAAI,YAAY,EAAE,UAAU,IAAI,CAAC;AAAA,IACjC,cAAc,OAAO,eAAe,KAAK;AAAA,IACzC,SAAS,OAAO,UAAU,KAAK;AAAA,EACjC,CAAC;AACD,SAAO;AACT;AAEA,KAAK,QAAQ,KAAK,MAAM,CAAC,CAAC,EAAE;AAAA,EAC1B,CAAC,SAAS,QAAQ,KAAK,IAAI;AAAA,EAC3B,CAAC,UAAmB;AAClB,QAAI,iBAAiB,sBAAuB,MAA4B,SAAS,iCAAiC;AAChH,oBAAc,MAAO,MAAgB,OAAO;AAAA,IAC9C,OAAO;AACL,oBAAc,MAAM,iBAAiB,QAAS,MAAM,SAAS,MAAM,UAAW,OAAO,KAAK,CAAC;AAAA,IAC7F;AACA,YAAQ,KAAK,CAAC;AAAA,EAChB;AACF;","names":[]}
|
package/dist/codegen/index.d.ts
CHANGED
|
@@ -473,24 +473,78 @@ interface GenerateSdkResult {
|
|
|
473
473
|
}
|
|
474
474
|
declare function generateSdk(options?: GenerateSdkOptions): Promise<GenerateSdkResult>;
|
|
475
475
|
|
|
476
|
-
|
|
476
|
+
/** One entry of `.ddd-skills.json` → `skills`. */
|
|
477
|
+
interface SkillsManifestEntry {
|
|
478
|
+
package: string | null;
|
|
479
|
+
version: string | null;
|
|
480
|
+
/** Skill folder relative to the repository root. */
|
|
481
|
+
source: string | null;
|
|
482
|
+
/** Symlink target as written (relative to the primary folder). */
|
|
483
|
+
target: string;
|
|
484
|
+
/** sha256 of SKILL.md when it was linked. */
|
|
485
|
+
sha256: string | null;
|
|
486
|
+
/** Mirror folders (`.agents/skills`, `.codex/skills`) that got a link. */
|
|
487
|
+
mirrors: string[];
|
|
488
|
+
}
|
|
489
|
+
interface SkillsManifest {
|
|
490
|
+
format: number;
|
|
491
|
+
skills: Record<string, SkillsManifestEntry>;
|
|
492
|
+
}
|
|
493
|
+
interface SkillLinksOptions {
|
|
494
|
+
/** Where the search for the repository root starts. Default `process.cwd()`. */
|
|
477
495
|
cwd?: string;
|
|
478
|
-
/**
|
|
479
|
-
|
|
496
|
+
/** Repository root; wins over `DDD_SKILLS_ROOT` and the search from `cwd`. */
|
|
497
|
+
root?: string;
|
|
498
|
+
/** Change nothing; report every deviation (exit code 1 on any). */
|
|
499
|
+
check?: boolean;
|
|
500
|
+
/** Change nothing; print what would change. */
|
|
501
|
+
dryRun?: boolean;
|
|
502
|
+
/** Print only warnings and problems. */
|
|
503
|
+
quiet?: boolean;
|
|
480
504
|
logger?: Logger;
|
|
505
|
+
/**
|
|
506
|
+
* @deprecated Kept for callers of 0.16 and older: link only the skills of this folder (package read from the
|
|
507
|
+
* `package.json` two levels up) instead of discovering every DDD package.
|
|
508
|
+
*/
|
|
509
|
+
sourceDir?: string;
|
|
481
510
|
}
|
|
482
511
|
type LinkSkillAction = 'linked' | 'relinked' | 'unchanged' | 'skipped';
|
|
483
512
|
interface LinkSkillsResult {
|
|
484
513
|
skill: string;
|
|
485
514
|
action: LinkSkillAction;
|
|
486
515
|
target: string;
|
|
516
|
+
package?: string;
|
|
517
|
+
}
|
|
518
|
+
/** @deprecated Use {@link SkillLinksOptions}. */
|
|
519
|
+
type LinkSkillsOptions = SkillLinksOptions;
|
|
520
|
+
interface SkillLinksReport {
|
|
521
|
+
/** Real path of the repository root. */
|
|
522
|
+
root: string;
|
|
523
|
+
/** 0, or 1 on check problems and on unexpected errors while writing. */
|
|
524
|
+
exitCode: number;
|
|
525
|
+
/** Per discovered skill (also the clashing ones, as `skipped`). */
|
|
526
|
+
skills: LinkSkillsResult[];
|
|
527
|
+
/** Every printed line, without prefix. */
|
|
528
|
+
lines: string[];
|
|
529
|
+
/** Problems (check mode) and warnings. */
|
|
530
|
+
problems: string[];
|
|
487
531
|
}
|
|
488
532
|
/**
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
*
|
|
533
|
+
* The repository root: the nearest ancestor of `startDirectory` (itself included) that contains `.git` (folder or
|
|
534
|
+
* file), else the nearest that contains `.claude` (the home folder's `.claude` is the user's global configuration and
|
|
535
|
+
* never counts), else `startDirectory` itself.
|
|
536
|
+
*/
|
|
537
|
+
declare function findSkillsRepositoryRoot(startDirectory: string): string;
|
|
538
|
+
/**
|
|
539
|
+
* Plans and (unless `check` / `dryRun`) applies the vendor skill links, the manifest and the gitignore blocks.
|
|
540
|
+
* Never throws for expected situations; an unexpected write error gives exit code 1.
|
|
541
|
+
*/
|
|
542
|
+
declare function runSkillLinks(options?: SkillLinksOptions): SkillLinksReport;
|
|
543
|
+
/**
|
|
544
|
+
* Links the agent skills of every installed DDD package into the repository's `.claude/skills` (see
|
|
545
|
+
* {@link runSkillLinks}); returns one result per discovered skill. Kept for callers of 0.16 and older.
|
|
492
546
|
*/
|
|
493
|
-
declare function linkSkills(options?:
|
|
547
|
+
declare function linkSkills(options?: SkillLinksOptions): LinkSkillsResult[];
|
|
494
548
|
|
|
495
549
|
/** Contract numbers (`info.x-ddd-contract.contract`) this codegen understands. */
|
|
496
550
|
declare const SUPPORTED_CONTRACT: {
|
|
@@ -505,5 +559,5 @@ declare function loadSpec(source: string, timeoutMs?: number): Promise<OpenApiDo
|
|
|
505
559
|
*/
|
|
506
560
|
declare function validateSpec(doc: OpenApiDocument, source: string, logger: Logger): void;
|
|
507
561
|
|
|
508
|
-
export { SUPPORTED_CONTRACT, SdkGenerationError, broadInvalidation, buildEndpointNameFromPath, consoleLogger, defineConfig, generateSdk, linkSkills, loadConfig, loadSpec, silentLogger, validateSpec };
|
|
509
|
-
export type { EndpointNamingOperation, EndpointOptions, GenerateSdkOptions, GenerateSdkResult, HooksOptions, InvalidationOperation, InvalidationResolver, InvalidationTag, LinkSkillAction, LinkSkillsOptions, LinkSkillsResult, LoadedConfig, Logger, ModelOptions, OpenApiDocument, OperationMatcher, ResponseHandlerOverride, SdkApiConfig, SdkConfig, SideEffectsOverride, WorkspaceOptions };
|
|
562
|
+
export { SUPPORTED_CONTRACT, SdkGenerationError, broadInvalidation, buildEndpointNameFromPath, consoleLogger, defineConfig, findSkillsRepositoryRoot, generateSdk, linkSkills, loadConfig, loadSpec, runSkillLinks, silentLogger, validateSpec };
|
|
563
|
+
export type { EndpointNamingOperation, EndpointOptions, GenerateSdkOptions, GenerateSdkResult, HooksOptions, InvalidationOperation, InvalidationResolver, InvalidationTag, LinkSkillAction, LinkSkillsOptions, LinkSkillsResult, LoadedConfig, Logger, ModelOptions, OpenApiDocument, OperationMatcher, ResponseHandlerOverride, SdkApiConfig, SdkConfig, SideEffectsOverride, SkillLinksOptions, SkillLinksReport, SkillsManifest, SkillsManifestEntry, WorkspaceOptions };
|
package/dist/codegen/index.js
CHANGED
|
@@ -5,13 +5,15 @@ import {
|
|
|
5
5
|
buildEndpointNameFromPath,
|
|
6
6
|
consoleLogger,
|
|
7
7
|
defineConfig,
|
|
8
|
+
findSkillsRepositoryRoot,
|
|
8
9
|
generateSdk,
|
|
9
10
|
linkSkills,
|
|
10
11
|
loadConfig,
|
|
11
12
|
loadSpec,
|
|
13
|
+
runSkillLinks,
|
|
12
14
|
silentLogger,
|
|
13
15
|
validateSpec
|
|
14
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-3V22MYDI.js";
|
|
15
17
|
export {
|
|
16
18
|
SUPPORTED_CONTRACT,
|
|
17
19
|
SdkGenerationError,
|
|
@@ -19,10 +21,12 @@ export {
|
|
|
19
21
|
buildEndpointNameFromPath,
|
|
20
22
|
consoleLogger,
|
|
21
23
|
defineConfig,
|
|
24
|
+
findSkillsRepositoryRoot,
|
|
22
25
|
generateSdk,
|
|
23
26
|
linkSkills,
|
|
24
27
|
loadConfig,
|
|
25
28
|
loadSpec,
|
|
29
|
+
runSkillLinks,
|
|
26
30
|
silentLogger,
|
|
27
31
|
validateSpec
|
|
28
32
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mgamadeus/ddd-web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "TypeScript web client for backends built with mgamadeus/ddd, the DDD entity framework for Symfony and Doctrine (Composer/Packagist). Generates a typed RTK Query SDK from the backend's OpenAPI document, builds DDD QueryOptions (filters, orderBy, expand, select, paging) and handles JWT auth with token refresh.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ddd",
|
|
@@ -31,11 +31,13 @@
|
|
|
31
31
|
"exports": {
|
|
32
32
|
"./contract": {
|
|
33
33
|
"types": "./dist/contract/index.d.ts",
|
|
34
|
-
"import": "./dist/contract/index.js"
|
|
34
|
+
"import": "./dist/contract/index.js",
|
|
35
|
+
"default": "./dist/contract/index.js"
|
|
35
36
|
},
|
|
36
37
|
"./query": {
|
|
37
38
|
"types": "./dist/query/index.d.ts",
|
|
38
|
-
"import": "./dist/query/index.js"
|
|
39
|
+
"import": "./dist/query/index.js",
|
|
40
|
+
"default": "./dist/query/index.js"
|
|
39
41
|
},
|
|
40
42
|
"./api": {
|
|
41
43
|
"types": "./dist/api/index.d.ts",
|
|
@@ -43,27 +45,33 @@
|
|
|
43
45
|
},
|
|
44
46
|
"./auth": {
|
|
45
47
|
"types": "./dist/auth/index.d.ts",
|
|
46
|
-
"import": "./dist/auth/index.js"
|
|
48
|
+
"import": "./dist/auth/index.js",
|
|
49
|
+
"default": "./dist/auth/index.js"
|
|
47
50
|
},
|
|
48
51
|
"./fetch-api-request": {
|
|
49
52
|
"types": "./dist/fetch-api-request/index.d.ts",
|
|
50
|
-
"import": "./dist/fetch-api-request/index.js"
|
|
53
|
+
"import": "./dist/fetch-api-request/index.js",
|
|
54
|
+
"default": "./dist/fetch-api-request/index.js"
|
|
51
55
|
},
|
|
52
56
|
"./issues": {
|
|
53
57
|
"types": "./dist/issues/index.d.ts",
|
|
54
|
-
"import": "./dist/issues/index.js"
|
|
58
|
+
"import": "./dist/issues/index.js",
|
|
59
|
+
"default": "./dist/issues/index.js"
|
|
55
60
|
},
|
|
56
61
|
"./issues/browser": {
|
|
57
62
|
"types": "./dist/issues/browser/index.d.ts",
|
|
58
|
-
"import": "./dist/issues/browser/index.js"
|
|
63
|
+
"import": "./dist/issues/browser/index.js",
|
|
64
|
+
"default": "./dist/issues/browser/index.js"
|
|
59
65
|
},
|
|
60
66
|
"./issues/node": {
|
|
61
67
|
"types": "./dist/issues/node/index.d.ts",
|
|
62
|
-
"import": "./dist/issues/node/index.js"
|
|
68
|
+
"import": "./dist/issues/node/index.js",
|
|
69
|
+
"default": "./dist/issues/node/index.js"
|
|
63
70
|
},
|
|
64
71
|
"./issues/wire": {
|
|
65
72
|
"types": "./dist/issues/wire/index.d.ts",
|
|
66
|
-
"import": "./dist/issues/wire/index.js"
|
|
73
|
+
"import": "./dist/issues/wire/index.js",
|
|
74
|
+
"default": "./dist/issues/wire/index.js"
|
|
67
75
|
},
|
|
68
76
|
"./vite": {
|
|
69
77
|
"types": "./dist/vite/index.d.ts",
|