@iwsdk/cli 1.2.0-rc.0 → 1.2.0-rc.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/README.md +40 -13
- package/dist/agent-guidance/files/.agents/skills/iwsdk-build-model/SKILL.md +1 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-compose-scene/SKILL.md +1 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-debug/SKILL.md +1 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-depth-occlusion/SKILL.md +1 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-dev/SKILL.md +1 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-dev/references/api-reference.md +2 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-dev/references/headless-rendering.md +15 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-dev/references/iterate.md +7 -3
- package/dist/agent-guidance/files/.agents/skills/iwsdk-glasses-test/SKILL.md +1 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-grab/SKILL.md +1 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-hosting/SKILL.md +3 -2
- package/dist/agent-guidance/files/.agents/skills/iwsdk-native-xr-test/SKILL.md +1 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-offline/SKILL.md +217 -0
- package/dist/agent-guidance/files/.agents/skills/iwsdk-offline/assets/offline.ts.template +99 -0
- package/dist/agent-guidance/files/.agents/skills/iwsdk-offline/assets/sw.js.template +241 -0
- package/dist/agent-guidance/files/.agents/skills/iwsdk-offline/assets/write-service-worker.mjs.template +72 -0
- package/dist/agent-guidance/files/.agents/skills/iwsdk-offline/references/build-step.md +71 -0
- package/dist/agent-guidance/files/.agents/skills/iwsdk-offline/references/page.md +70 -0
- package/dist/agent-guidance/files/.agents/skills/iwsdk-offline/references/service-worker.md +107 -0
- package/dist/agent-guidance/files/.agents/skills/iwsdk-offline/references/testing.md +57 -0
- package/dist/agent-guidance/files/.agents/skills/iwsdk-physics/SKILL.md +1 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-physics/references/tuning-and-config.md +1 -0
- package/dist/agent-guidance/files/.agents/skills/iwsdk-physics/references/workflows.md +9 -3
- package/dist/agent-guidance/files/.agents/skills/iwsdk-pwa-packaging/SKILL.md +13 -2
- package/dist/agent-guidance/files/.agents/skills/iwsdk-pwa-packaging/references/manifest-and-icons.md +1 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-pwa-packaging/references/troubleshooting.md +30 -0
- package/dist/agent-guidance/files/.agents/skills/iwsdk-ray/SKILL.md +1 -1
- package/dist/agent-guidance/files/.agents/skills/iwsdk-ui/SKILL.md +12 -5
- package/dist/agent-guidance/files/.agents/skills/iwsdk-upgrade/SKILL.md +1 -1
- package/dist/agent-guidance/files/.claude/agents/iwsdk-project-code-reviewer.md +1 -1
- package/dist/agent-guidance/files/.claude/rules/assets-and-manifest.md +1 -1
- package/dist/agent-guidance/files/.claude/rules/ecs-api.md +1 -1
- package/dist/agent-guidance/files/.claude/rules/scene-json.md +1 -1
- package/dist/agent-guidance/files/.claude/rules/uikitml.md +1 -1
- package/dist/agent-guidance/files/.claude/settings.json +1 -0
- package/dist/agent-guidance/files/.claude/skills/iwsdk-build-model/SKILL.md +1 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-compose-scene/SKILL.md +1 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-debug/SKILL.md +1 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-depth-occlusion/SKILL.md +1 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-dev/SKILL.md +1 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-dev/references/api-reference.md +2 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-dev/references/headless-rendering.md +15 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-dev/references/iterate.md +7 -3
- package/dist/agent-guidance/files/.claude/skills/iwsdk-glasses-test/SKILL.md +1 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-grab/SKILL.md +1 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-hosting/SKILL.md +3 -2
- package/dist/agent-guidance/files/.claude/skills/iwsdk-native-xr-test/SKILL.md +1 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-offline/SKILL.md +217 -0
- package/dist/agent-guidance/files/.claude/skills/iwsdk-offline/assets/offline.ts.template +99 -0
- package/dist/agent-guidance/files/.claude/skills/iwsdk-offline/assets/sw.js.template +241 -0
- package/dist/agent-guidance/files/.claude/skills/iwsdk-offline/assets/write-service-worker.mjs.template +72 -0
- package/dist/agent-guidance/files/.claude/skills/iwsdk-offline/references/build-step.md +71 -0
- package/dist/agent-guidance/files/.claude/skills/iwsdk-offline/references/page.md +70 -0
- package/dist/agent-guidance/files/.claude/skills/iwsdk-offline/references/service-worker.md +107 -0
- package/dist/agent-guidance/files/.claude/skills/iwsdk-offline/references/testing.md +57 -0
- package/dist/agent-guidance/files/.claude/skills/iwsdk-physics/SKILL.md +1 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-physics/references/tuning-and-config.md +1 -0
- package/dist/agent-guidance/files/.claude/skills/iwsdk-physics/references/workflows.md +9 -3
- package/dist/agent-guidance/files/.claude/skills/iwsdk-pwa-packaging/SKILL.md +13 -2
- package/dist/agent-guidance/files/.claude/skills/iwsdk-pwa-packaging/references/manifest-and-icons.md +1 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-pwa-packaging/references/troubleshooting.md +30 -0
- package/dist/agent-guidance/files/.claude/skills/iwsdk-ray/SKILL.md +1 -1
- package/dist/agent-guidance/files/.claude/skills/iwsdk-ui/SKILL.md +12 -5
- package/dist/agent-guidance/files/.claude/skills/iwsdk-upgrade/SKILL.md +1 -1
- package/dist/agent-guidance/files/.cursor/rules/assets-and-manifest.mdc +1 -1
- package/dist/agent-guidance/files/.cursor/rules/ecs-api.mdc +1 -1
- package/dist/agent-guidance/files/.cursor/rules/scene-json.mdc +1 -1
- package/dist/agent-guidance/files/.cursor/rules/uikitml.mdc +1 -1
- package/dist/agent-guidance/files/.github/instructions/assets-and-manifest.instructions.md +1 -1
- package/dist/agent-guidance/files/.github/instructions/ecs-api.instructions.md +1 -1
- package/dist/agent-guidance/files/.github/instructions/scene-json.instructions.md +1 -1
- package/dist/agent-guidance/files/.github/instructions/uikitml.instructions.md +1 -1
- package/dist/agent-guidance/files/AGENTS.md +1 -1
- package/dist/agent-guidance/files/public/scenes/AGENTS.md +1 -1
- package/dist/agent-guidance/files/public/ui/AGENTS.md +1 -1
- package/dist/agent-guidance/files/src/AGENTS.md +1 -1
- package/dist/agent-guidance/manifest.json +111 -11
- package/dist/agent-guidance.d.ts +31 -4
- package/dist/agent-guidance.d.ts.map +1 -1
- package/dist/agent-guidance.js +269 -60
- package/dist/agent-guidance.js.map +1 -1
- package/dist/cli.js +1128 -131
- package/dist/cli.js.map +1 -1
- package/dist/commands/upgrade.d.ts +87 -0
- package/dist/commands/upgrade.d.ts.map +1 -1
- package/dist/guidance-refresh.d.ts +23 -3
- package/dist/guidance-refresh.d.ts.map +1 -1
- package/dist/help.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1128 -131
- package/dist/index.js.map +1 -1
- package/dist/metavr-telemetry.d.ts +6 -0
- package/dist/metavr-telemetry.d.ts.map +1 -1
- package/dist/package-manager.d.ts +6 -0
- package/dist/package-manager.d.ts.map +1 -1
- package/dist/release-notes.json +132 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import type { CliOptions, CliSuccess, ResolvedCliIo } from '../cli-types.js';
|
|
8
|
+
import { type PackageManagerInfo } from '../package-manager.js';
|
|
8
9
|
/** Packages published together (the fixed group in .changeset/config.json, minus private @iwsdk/reference-assets). */
|
|
9
10
|
export declare const RELEASED_PACKAGES: string[];
|
|
10
11
|
interface PackageBump {
|
|
@@ -46,6 +47,92 @@ export interface UpgradeResult {
|
|
|
46
47
|
};
|
|
47
48
|
manualSteps: string[];
|
|
48
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Thrown when the upgrade stops before writing anything; `code` becomes the
|
|
52
|
+
* error code of the CLI's JSON failure.
|
|
53
|
+
*/
|
|
54
|
+
export declare class UpgradeError extends Error {
|
|
55
|
+
readonly code: 'release_not_on_registry';
|
|
56
|
+
readonly details: Record<string, unknown>;
|
|
57
|
+
constructor(message: string, code: 'release_not_on_registry', details: Record<string, unknown>);
|
|
58
|
+
}
|
|
59
|
+
/** Yarn in Yarn 2+ projects, which ignore .npmrc; npm everywhere else. */
|
|
60
|
+
export type RegistryClient = 'npm' | 'yarn';
|
|
61
|
+
/** How to ask the registry the install uses; see `registryLookup`. */
|
|
62
|
+
export interface RegistryLookup {
|
|
63
|
+
client: RegistryClient;
|
|
64
|
+
/** Where the client runs. */
|
|
65
|
+
cwd: string;
|
|
66
|
+
/** Flags for every npm call. */
|
|
67
|
+
npmArgs?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* npm_config_* variables for every npm call: the registry and auth
|
|
70
|
+
* settings of an app's own .npmrc, which pnpm and Yarn 1 merge over the
|
|
71
|
+
* workspace root's.
|
|
72
|
+
*/
|
|
73
|
+
env?: Record<string, string>;
|
|
74
|
+
/** A Yarn 1 project: Yarn, run here, names its registry; npm asks it. */
|
|
75
|
+
yarnClassicCwd?: string;
|
|
76
|
+
}
|
|
77
|
+
/** The fields of a published package.json that the upgrade reads. */
|
|
78
|
+
interface PublishedManifest {
|
|
79
|
+
version?: string;
|
|
80
|
+
dependencies?: Record<string, string>;
|
|
81
|
+
/** Every published version (npm is asked for it for core only). */
|
|
82
|
+
versions?: string[];
|
|
83
|
+
}
|
|
84
|
+
export type ReleaseCheck = {
|
|
85
|
+
status: 'found';
|
|
86
|
+
registry: string;
|
|
87
|
+
core?: PublishedManifest;
|
|
88
|
+
} | {
|
|
89
|
+
status: 'missing';
|
|
90
|
+
registry: string;
|
|
91
|
+
/** Each package the registry does not have at the version. */
|
|
92
|
+
missing: Array<{
|
|
93
|
+
/** `<name>@<version>`. */
|
|
94
|
+
spec: string;
|
|
95
|
+
/** npm's or Yarn's error. */
|
|
96
|
+
reason: string;
|
|
97
|
+
/** No such package, which a registry also answers when you may not access it. */
|
|
98
|
+
packageNotFound: boolean;
|
|
99
|
+
}>;
|
|
100
|
+
/** The registry is the one set for the @iwsdk scope. */
|
|
101
|
+
scoped: boolean;
|
|
102
|
+
} | {
|
|
103
|
+
status: 'unavailable';
|
|
104
|
+
registry: string | null;
|
|
105
|
+
reason: string;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Ask the registry for every package at `version` before anything is
|
|
109
|
+
* written, the way the install will ask it (see `registryLookup`). Says which
|
|
110
|
+
* registry it asks on `stderr`.
|
|
111
|
+
*/
|
|
112
|
+
export declare function checkRegistry({ names, version, stderr, timeoutMs, ...lookup }: RegistryLookup & {
|
|
113
|
+
names: string[];
|
|
114
|
+
version: string;
|
|
115
|
+
stderr: NodeJS.WritableStream;
|
|
116
|
+
timeoutMs?: number;
|
|
117
|
+
}): Promise<ReleaseCheck>;
|
|
118
|
+
/**
|
|
119
|
+
* How to ask the registry the install will use. The install runs in the
|
|
120
|
+
* project directory.
|
|
121
|
+
* - npm installs there with the workspace root's .npmrc and ignores the
|
|
122
|
+
* project's own, so npm runs in the workspace root.
|
|
123
|
+
* - pnpm and Yarn 1 merge the project's own .npmrc over the workspace root's,
|
|
124
|
+
* setting by setting: a scope registry or a token only the root sets still
|
|
125
|
+
* applies. When both set the registry or auth, npm runs in the workspace
|
|
126
|
+
* root and gets the project's registry and auth settings as npm_config_*
|
|
127
|
+
* variables, which npm takes over any .npmrc (unless the environment
|
|
128
|
+
* already sets them, as pnpm and Yarn 1 then do too). Otherwise npm runs in
|
|
129
|
+
* whichever directory sets them, the root when neither does. npm gets
|
|
130
|
+
* --no-workspaces, so that it reads the .npmrc there and not that of a root
|
|
131
|
+
* whose package.json declares workspaces.
|
|
132
|
+
* - Yarn 1 also takes the registry from .yarnrc, so Yarn names it.
|
|
133
|
+
* - Yarn 2+ reads only .yarnrc.yml, and is asked itself.
|
|
134
|
+
*/
|
|
135
|
+
export declare function registryLookup(projectRoot: string, info: PackageManagerInfo): RegistryLookup;
|
|
49
136
|
export declare function handleUpgrade(options: CliOptions, io: ResolvedCliIo): Promise<CliSuccess<UpgradeResult>>;
|
|
50
137
|
export {};
|
|
51
138
|
//# sourceMappingURL=upgrade.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgrade.d.ts","sourceRoot":"","sources":["../../src/commands/upgrade.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"upgrade.d.ts","sourceRoot":"","sources":["../../src/commands/upgrade.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAqBH,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAO7E,OAAO,EAIL,KAAK,kBAAkB,EACxB,MAAM,uBAAuB,CAAC;AAU/B,sHAAsH;AACtH,eAAO,MAAM,iBAAiB,UAS7B,CAAC;AAEF,UAAU,WAAW;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,UAAU,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,M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AI,EAAE,kBAAkB,GACvB,cAAc,CA8BhB;AA8JD,wBAAsB,aAAa,CACjC,OAAO,EAAE,UAAU,EACnB,EAAE,EAAE,aAAa,GAChB,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAsXpC"}
|
|
@@ -15,8 +15,20 @@ export interface GuidanceRefreshReport {
|
|
|
15
15
|
version: string;
|
|
16
16
|
/** Why a stale project was not refreshed automatically. */
|
|
17
17
|
reason?: 'mode-warn' | 'ci' | 'lockfile-mismatch';
|
|
18
|
+
/** Units written or removed (or, when stale, that would be). */
|
|
18
19
|
changed: GuidanceUnitResult[];
|
|
20
|
+
/**
|
|
21
|
+
* Units left alone: edited or not written by IWSDK, written by a newer
|
|
22
|
+
* release, or retired but kept (reason `retired`).
|
|
23
|
+
*/
|
|
19
24
|
skipped: GuidanceUnitResult[];
|
|
25
|
+
/**
|
|
26
|
+
* Units the installed release ships that the project does not have: the
|
|
27
|
+
* developer removed them (or a block or import from their file), or they
|
|
28
|
+
* are new in the release. The refresh adds only units that replace retired
|
|
29
|
+
* guidance it removes; `agents sync` adds these.
|
|
30
|
+
*/
|
|
31
|
+
missing: GuidanceUnitResult[];
|
|
20
32
|
migrations: MaterializedMigration[];
|
|
21
33
|
notice: string;
|
|
22
34
|
}
|
|
@@ -25,9 +37,17 @@ export declare function resolveAgentGuidanceMode(projectRoot: string, env?: Node
|
|
|
25
37
|
export declare function readGuidanceVersion(projectRoot: string): string | null;
|
|
26
38
|
export { readLockedCoreVersion };
|
|
27
39
|
/**
|
|
28
|
-
* Called by `iwsdk dev up`/`restart`.
|
|
29
|
-
*
|
|
30
|
-
*
|
|
40
|
+
* Called by `iwsdk dev up`/`restart`. Brings the guidance a project already
|
|
41
|
+
* has up to the installed @iwsdk/core: files IWSDK wrote and nobody edited are
|
|
42
|
+
* updated. A retired unit is replaced whole: removed, with its successors
|
|
43
|
+
* written in the same run when the release names them (and kept otherwise),
|
|
44
|
+
* so a refresh never leaves less guidance than it found. Apart from those
|
|
45
|
+
* successors it never adds a skill, file, AGENTS.md block, CLAUDE.md import
|
|
46
|
+
* or skill permission the project lacks, since the developer may have
|
|
47
|
+
* removed it on purpose; units new in the release are not added either. A
|
|
48
|
+
* refresh lists them, and `iwsdk agents sync` adds them. In CI, in warn mode,
|
|
49
|
+
* or when node_modules disagrees with the lockfile it only reports. Returns
|
|
50
|
+
* null when nothing needs refreshing; never throws.
|
|
31
51
|
*/
|
|
32
52
|
export declare function refreshAgentGuidanceForDev(projectRoot: string, env?: NodeJS.ProcessEnv): Promise<GuidanceRefreshReport | null>;
|
|
33
53
|
//# sourceMappingURL=guidance-refresh.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guidance-refresh.d.ts","sourceRoot":"","sources":["../src/guidance-refresh.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,
|
|
1
|
+
{"version":3,"file":"guidance-refresh.d.ts","sourceRoot":"","sources":["../src/guidance-refresh.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAML,KAAK,kBAAkB,EACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAIL,KAAK,qBAAqB,EAC3B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAM7D,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAExD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,WAAW,GAAG,OAAO,GAAG,SAAS,CAAC;IAC1C,wEAAwE;IACxE,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,MAAM,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,mBAAmB,CAAC;IAClD,gEAAgE;IAChE,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B;;;OAGG;IACH,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B;;;;;OAKG;IACH,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;CAChB;AAcD,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,MAAM,EACnB,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,iBAAiB,CAMnB;AAED,sEAAsE;AACtE,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQtE;AAGD,OAAO,EAAE,qBAAqB,EAAE,CAAC;AAgFjC;;;;;;;;;;;;GAYG;AACH,wBAAsB,0BAA0B,CAC9C,WAAW,EAAE,MAAM,EACnB,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,OAAO,CAAC,qBAAqB,GAAG,IAAI,CAAC,CAiHvC"}
|
package/dist/help.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../src/help.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAkHH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,GACb,MAAM,EAAE,CAoFV;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAuB/D;AAED,wBAAgB,mBAAmB,IAAI,MAAM,EAAE,CAO9C;AAED,wBAAgB,mBAAmB,IAAI,MAAM,EAAE,CAc9C;AAED,wBAAgB,yBAAyB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAgEnE;AAED,wBAAgB,mBAAmB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAkC7D;AAED,wBAAgB,sBAAsB,IAAI,MAAM,EAAE,CAmBjD;AAED,wBAAgB,uBAAuB,IAAI,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../src/help.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAkHH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,GACb,MAAM,EAAE,CAoFV;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAuB/D;AAED,wBAAgB,mBAAmB,IAAI,MAAM,EAAE,CAO9C;AAED,wBAAgB,mBAAmB,IAAI,MAAM,EAAE,CAc9C;AAED,wBAAgB,yBAAyB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAgEnE;AAED,wBAAgB,mBAAmB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAkC7D;AAED,wBAAgB,sBAAsB,IAAI,MAAM,EAAE,CAmBjD;AAED,wBAAgB,uBAAuB,IAAI,MAAM,EAAE,CAwBlD;AAED,wBAAgB,UAAU,IAAI,MAAM,EAAE,CAqBrC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAUH,OAAO,KAAK,EAAoB,KAAK,EAAiB,MAAM,gBAAgB,CAAC;AAuC7E,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAEhC,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,CAAC;AAE5D,wBAAsB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAE,KAAU,GAAG,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAUH,OAAO,KAAK,EAAoB,KAAK,EAAiB,MAAM,gBAAgB,CAAC;AAuC7E,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAEhC,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,CAAC;AAE5D,wBAAsB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAE,KAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAsN5E"}
|