@elementumai/edk 0.9.17 → 0.9.19
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 +8 -3
- package/dist-sdk/src/catalog/factories.d.ts +11 -0
- package/dist-sdk/src/catalog/factories.js +6 -0
- package/dist-sdk/src/catalog/index.d.ts +2 -2
- package/dist-sdk/src/catalog/index.js +2 -2
- package/dist-sdk/src/catalog/org.d.ts +39 -1
- package/dist-sdk/src/catalog/org.js +460 -50
- package/dist-sdk/src/catalog/types.d.ts +12 -2
- package/dist-sdk/src/catalog/types.js +2 -0
- package/dist-sdk/src/engine/pull/ref-only.js +54 -20
- package/dist-sdk/src/engine/pull/result-output.d.ts +2 -0
- package/dist-sdk/src/engine/pull/result-output.js +1 -1
- package/dist-sdk/src/engine/tf/expr.js +38 -13
- package/dist-sdk/src/engine/tf/index.d.ts +2 -2
- package/dist-sdk/src/engine/tf/index.js +2 -2
- package/dist-sdk/src/engine/tf/labels.d.ts +2 -0
- package/dist-sdk/src/engine/tf/labels.js +4 -0
- package/dist-sdk/src/engine/tf/parse.d.ts +19 -0
- package/dist-sdk/src/engine/tf/parse.js +105 -6
- package/dist-sdk/src/engine/workspace/loader.js +49 -12
- package/dist-sdk/src/entities/access-policy/from-tf.d.ts +11 -1
- package/dist-sdk/src/entities/access-policy/from-tf.js +6 -1
- package/dist-sdk/src/entities/access-policy/to-tf.d.ts +11 -0
- package/dist-sdk/src/entities/access-policy/to-tf.js +11 -4
- package/dist-sdk/src/entities/agent-tool/to-tf.js +2 -1
- package/dist-sdk/src/entities/app/build.d.ts +10 -0
- package/dist-sdk/src/entities/app/build.js +0 -13
- package/dist-sdk/src/entities/app/deserializer/normalize.d.ts +6 -1
- package/dist-sdk/src/entities/app/from-tf.js +4 -3
- package/dist-sdk/src/entities/app/index.d.ts +2 -0
- package/dist-sdk/src/entities/app/index.js +1 -0
- package/dist-sdk/src/entities/app/module.js +13 -0
- package/dist-sdk/src/entities/app/to-tf.js +2 -0
- package/dist-sdk/src/entities/automation/build.d.ts +2 -1
- package/dist-sdk/src/entities/automation/build.js +27 -0
- package/dist-sdk/src/entities/automation/deserializer/print-automation.js +6 -0
- package/dist-sdk/src/entities/automation/from-tf.js +156 -26
- package/dist-sdk/src/entities/automation/index.d.ts +1 -1
- package/dist-sdk/src/entities/automation/module.d.ts +2 -0
- package/dist-sdk/src/entities/automation/module.js +56 -0
- package/dist-sdk/src/entities/automation/output-field-types.d.ts +5 -4
- package/dist-sdk/src/entities/automation/output-field-types.js +23 -5
- package/dist-sdk/src/entities/automation/system-ref-name.d.ts +16 -0
- package/dist-sdk/src/entities/automation/system-ref-name.js +44 -0
- package/dist-sdk/src/entities/automation/task-output-labels.d.ts +15 -0
- package/dist-sdk/src/entities/automation/task-output-labels.js +38 -0
- package/dist-sdk/src/entities/automation/tasks.d.ts +37 -5
- package/dist-sdk/src/entities/automation/tasks.js +23 -1
- package/dist-sdk/src/entities/automation/to-tf.js +158 -84
- package/dist-sdk/src/entities/automation/types.js +1 -0
- package/dist-sdk/src/entities/chart/from-tf.js +33 -17
- package/dist-sdk/src/entities/chart/module.js +3 -1
- package/dist-sdk/src/entities/chart/printer.d.ts +1 -0
- package/dist-sdk/src/entities/chart/printer.js +26 -16
- package/dist-sdk/src/entities/chart/rebind-owner.d.ts +3 -0
- package/dist-sdk/src/entities/chart/rebind-owner.js +42 -0
- package/dist-sdk/src/entities/chart/to-tf.js +12 -10
- package/dist-sdk/src/entities/dashboard/build.d.ts +4 -0
- package/dist-sdk/src/entities/dashboard/from-tf.js +15 -4
- package/dist-sdk/src/entities/dashboard/to-tf.d.ts +2 -0
- package/dist-sdk/src/entities/dashboard/to-tf.js +13 -0
- package/dist-sdk/src/entities/dashboard-widget/module.js +4 -0
- package/dist-sdk/src/entities/dynamic-layout/build.d.ts +51 -2
- package/dist-sdk/src/entities/dynamic-layout/dialect.d.ts +3 -0
- package/dist-sdk/src/entities/dynamic-layout/dialect.js +5 -0
- package/dist-sdk/src/entities/dynamic-layout/from-tf.d.ts +9 -6
- package/dist-sdk/src/entities/dynamic-layout/from-tf.js +188 -26
- package/dist-sdk/src/entities/dynamic-layout/module.js +4 -1
- package/dist-sdk/src/entities/dynamic-layout/to-tf.d.ts +5 -1
- package/dist-sdk/src/entities/dynamic-layout/to-tf.js +254 -23
- package/dist-sdk/src/entities/element/build.d.ts +8 -0
- package/dist-sdk/src/entities/element/build.js +1 -0
- package/dist-sdk/src/entities/element/from-tf.d.ts +1 -0
- package/dist-sdk/src/entities/element/from-tf.js +6 -2
- package/dist-sdk/src/entities/element/index.d.ts +1 -0
- package/dist-sdk/src/entities/element/index.js +1 -0
- package/dist-sdk/src/entities/element/module.js +2 -0
- package/dist-sdk/src/entities/element/to-tf.js +12 -0
- package/dist-sdk/src/entities/field/from-tf.d.ts +2 -0
- package/dist-sdk/src/entities/field/from-tf.js +11 -0
- package/dist-sdk/src/entities/field/to-tf.js +13 -9
- package/dist-sdk/src/entities/relationship/from-tf.d.ts +8 -1
- package/dist-sdk/src/entities/relationship/from-tf.js +53 -10
- package/dist-sdk/src/entities/relationship/to-tf.d.ts +8 -0
- package/dist-sdk/src/entities/relationship/to-tf.js +19 -10
- package/dist-sdk/src/entities/shared/filters/ast.d.ts +7 -2
- package/dist-sdk/src/entities/shared/filters/index.d.ts +23 -2
- package/dist-sdk/src/entities/shared/filters/index.js +24 -1
- package/dist-sdk/src/entities/shared/filters/print.js +22 -4
- package/dist-sdk/src/entities/shared/filters/tf-codec.d.ts +23 -3
- package/dist-sdk/src/entities/shared/filters/tf-codec.js +60 -18
- package/dist-sdk/src/entities/shared/filters/types.d.ts +13 -4
- package/dist-sdk/src/entities/shared/foreign-ref.d.ts +16 -0
- package/dist-sdk/src/entities/shared/foreign-ref.js +17 -1
- package/dist-sdk/src/entities/shared/tool-field-ref.js +6 -9
- package/dist-sdk/src/entities/skill/access-policy.d.ts +17 -0
- package/dist-sdk/src/entities/skill/access-policy.js +101 -0
- package/dist-sdk/src/entities/skill/build.d.ts +3 -0
- package/dist-sdk/src/entities/skill/build.js +3 -0
- package/dist-sdk/src/entities/skill/deserializer/print-skill-v2.d.ts +4 -1
- package/dist-sdk/src/entities/skill/deserializer/print-skill-v2.js +21 -0
- package/dist-sdk/src/entities/skill/from-tf.d.ts +2 -0
- package/dist-sdk/src/entities/skill/from-tf.js +4 -9
- package/dist-sdk/src/entities/skill/index.d.ts +2 -0
- package/dist-sdk/src/entities/skill/index.js +1 -0
- package/dist-sdk/src/entities/skill/module.js +1 -0
- package/dist-sdk/src/entities/skill/to-tf.d.ts +2 -2
- package/dist-sdk/src/entities/skill/to-tf.js +5 -2
- package/dist-sdk/src/entities/skill-tool/to-tf.js +2 -1
- package/dist-sdk/src/entities/table/to-tf.js +3 -3
- package/dist-sdk/src/entities/view/agent-view-layout-from-tf.d.ts +49 -0
- package/dist-sdk/src/entities/view/agent-view-layout-from-tf.js +224 -0
- package/dist-sdk/src/entities/view/agent-view-layout-to-tf.d.ts +36 -0
- package/dist-sdk/src/entities/view/agent-view-layout-to-tf.js +288 -0
- package/dist-sdk/src/entities/view/agent-view-layout.d.ts +121 -0
- package/dist-sdk/src/entities/view/agent-view-layout.js +21 -0
- package/dist-sdk/src/entities/view/from-tf.d.ts +3 -1
- package/dist-sdk/src/entities/view/from-tf.js +42 -7
- package/dist-sdk/src/entities/view/ragnarok.d.ts +7 -0
- package/dist-sdk/src/entities/view/ragnarok.js +1 -0
- package/dist-sdk/src/entities/view/to-tf.d.ts +10 -1
- package/dist-sdk/src/entities/view/to-tf.js +30 -1
- package/dist-sdk/src/entities/view/types.js +2 -0
- package/dist-sdk/src/entities/widget/to-tf.js +2 -2
- package/dist-sdk/src/generated/ragnarok/ragnarok-spec.d.ts +815 -0
- package/dist-sdk/src/generated/ragnarok/ragnarok-spec.js +5 -0
- package/dist-sdk/src/graph/index.d.ts +43 -0
- package/dist-sdk/src/graph/index.js +9 -0
- package/dist-sdk/src/graph/types.d.ts +78 -0
- package/package.json +11 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// Generated by `npm run generate:ragnarok` — do not edit. Refresh with `npm run refresh:ragnarok`.
|
|
2
|
+
// Source: urn:elementum:elementum-blocks:spec:v1 version 1.32.0
|
|
3
|
+
// Schema sha256: e7aaa8b67a6efb61e10fd927c08be354c14ec1bb09cb740df41100abb56059bc
|
|
4
|
+
// Generator revision: 2
|
|
5
|
+
export {};
|
|
@@ -51,6 +51,49 @@ export declare const BUILD_VS_EXPORT_RESOLVED_DATA_REFERENCE_EQUIVALENCES: {
|
|
|
51
51
|
dataType: string;
|
|
52
52
|
blockType: string;
|
|
53
53
|
}[];
|
|
54
|
+
export declare const BUILD_VS_EXPORT_KEYED_LOCAL_ALIASES: {
|
|
55
|
+
listAttribute: string;
|
|
56
|
+
keyAttribute: string;
|
|
57
|
+
nameAttribute: string;
|
|
58
|
+
byNameSuffix: string;
|
|
59
|
+
byKeySuffix: string;
|
|
60
|
+
blockType: string;
|
|
61
|
+
}[];
|
|
62
|
+
export declare const BUILD_VS_EXPORT_MANAGED_LOOKUP_ATTRIBUTES: {
|
|
63
|
+
readonly lookupType: string;
|
|
64
|
+
readonly attribute: string;
|
|
65
|
+
readonly ownerType: string;
|
|
66
|
+
readonly ownerReference: string;
|
|
67
|
+
}[];
|
|
68
|
+
export declare const BUILD_VS_EXPORT_COMPUTED_MAP_ATTRIBUTES: {
|
|
69
|
+
attribute: string;
|
|
70
|
+
listAttribute: string;
|
|
71
|
+
keyAttribute: string;
|
|
72
|
+
valueAttribute: string;
|
|
73
|
+
blockType: string;
|
|
74
|
+
}[];
|
|
75
|
+
export declare const BUILD_VS_EXPORT_NESTED_OMITTED_DEFAULTS: {
|
|
76
|
+
attribute: string;
|
|
77
|
+
defaults: Readonly<Record<string, import("../engine/tf/model.js").TfValue>>;
|
|
78
|
+
blockType: string;
|
|
79
|
+
}[];
|
|
80
|
+
export declare const BUILD_VS_EXPORT_COMPUTED_REFERENCE_MAPS: {
|
|
81
|
+
readonly resourceType: string;
|
|
82
|
+
readonly attribute: string;
|
|
83
|
+
readonly listAttribute: string;
|
|
84
|
+
readonly nameAttribute: string;
|
|
85
|
+
readonly value: (name: string) => string;
|
|
86
|
+
}[];
|
|
87
|
+
export declare const BUILD_VS_EXPORT_RECORD_FIELD_OUTPUT_KEYS: {
|
|
88
|
+
readonly nameAttribute: string;
|
|
89
|
+
readonly ownerAttribute: string;
|
|
90
|
+
}[];
|
|
91
|
+
export declare const BUILD_VS_EXPORT_ATTRIBUTE_LOCALS: {
|
|
92
|
+
readonly resourceType: string;
|
|
93
|
+
readonly attribute: string;
|
|
94
|
+
readonly localPrefix: string;
|
|
95
|
+
}[];
|
|
96
|
+
export declare const BUILD_VS_EXPORT_TASK_OUTPUT_REFERENCE_NAMES: ReadonlyMap<string, ReadonlyMap<string, string>>;
|
|
54
97
|
/** Kind id → module. */
|
|
55
98
|
export declare const KIND_BY_ID: ReadonlyMap<KindId, EntityKindModule>;
|
|
56
99
|
/** @deprecated Use {@link KIND_BY_ID}. */
|
|
@@ -57,6 +57,15 @@ export const BUILD_VS_EXPORT_SCOPE_TYPES = new Set([
|
|
|
57
57
|
export const BUILD_VS_EXPORT_REFERENCE_ALIASES = KIND_MODULES.flatMap((module) => module.roundtrip?.referenceAliases ?? []);
|
|
58
58
|
/** Entity-declared typed-data-vs-resolved-literal equivalences for export comparison. */
|
|
59
59
|
export const BUILD_VS_EXPORT_RESOLVED_DATA_REFERENCE_EQUIVALENCES = KIND_MODULES.flatMap((module) => (module.roundtrip?.resolvedDataReferences ?? []).flatMap((equivalence) => implementedResourceTypes(module.resource).map((blockType) => ({ blockType, ...equivalence }))));
|
|
60
|
+
export const BUILD_VS_EXPORT_KEYED_LOCAL_ALIASES = KIND_MODULES.flatMap((module) => (module.roundtrip?.keyedLocalAliases ?? []).flatMap((alias) => implementedResourceTypes(module.resource).map((blockType) => ({ blockType, ...alias }))));
|
|
61
|
+
export const BUILD_VS_EXPORT_MANAGED_LOOKUP_ATTRIBUTES = KIND_MODULES.flatMap((module) => module.roundtrip?.managedLookupAttributes ?? []);
|
|
62
|
+
export const BUILD_VS_EXPORT_COMPUTED_MAP_ATTRIBUTES = KIND_MODULES.flatMap((module) => (module.roundtrip?.computedMapAttributes ?? []).flatMap((declared) => implementedResourceTypes(module.resource).map((blockType) => ({ blockType, ...declared }))));
|
|
63
|
+
export const BUILD_VS_EXPORT_NESTED_OMITTED_DEFAULTS = KIND_MODULES.flatMap((module) => (module.roundtrip?.nestedOmittedDefaults ?? []).flatMap((declared) => implementedResourceTypes(module.resource).map((blockType) => ({ blockType, ...declared }))));
|
|
64
|
+
export const BUILD_VS_EXPORT_COMPUTED_REFERENCE_MAPS = KIND_MODULES.flatMap((module) => module.roundtrip?.computedReferenceMaps ?? []);
|
|
65
|
+
export const BUILD_VS_EXPORT_RECORD_FIELD_OUTPUT_KEYS = KIND_MODULES.flatMap((module) => module.roundtrip?.recordFieldOutputKeys ?? []);
|
|
66
|
+
export const BUILD_VS_EXPORT_ATTRIBUTE_LOCALS = KIND_MODULES.flatMap((module) => module.roundtrip?.exportedAttributeLocals ?? []);
|
|
67
|
+
export const BUILD_VS_EXPORT_TASK_OUTPUT_REFERENCE_NAMES = new Map(KIND_MODULES.flatMap((module) => Object.entries(module.roundtrip?.taskOutputReferenceNames ?? {}))
|
|
68
|
+
.map(([taskType, names]) => [taskType, new Map(Object.entries(names))]));
|
|
60
69
|
/** Kind id → module. */
|
|
61
70
|
export const KIND_BY_ID = new Map(KIND_MODULES.map((m) => [m.kind, m]));
|
|
62
71
|
/** @deprecated Use {@link KIND_BY_ID}. */
|
|
@@ -280,6 +280,8 @@ export interface UnresolvedReferenceDiagnostic {
|
|
|
280
280
|
readonly portability: "source-org-only";
|
|
281
281
|
}
|
|
282
282
|
export interface PrintOwnFileOptions {
|
|
283
|
+
/** Directory refName → actual flat barrel key, including app/element collisions. */
|
|
284
|
+
readonly elementCatalogKeys?: ReadonlyMap<string, string>;
|
|
283
285
|
readonly appRefName: string;
|
|
284
286
|
/** The owning stream root; required for typed app/element authoring output. */
|
|
285
287
|
readonly parentScope: ChildResourceScope | "table";
|
|
@@ -483,6 +485,11 @@ export type LifecycleFacet = {
|
|
|
483
485
|
* the source (relative to its folder). Required for the pruning above.
|
|
484
486
|
*/
|
|
485
487
|
readonly companionRefs?: (source: string) => readonly string[];
|
|
488
|
+
/**
|
|
489
|
+
* Rebind an extracted child's self references to an existing authored owner.
|
|
490
|
+
* Kinds with typed foreign identities can override the generic deep rebind.
|
|
491
|
+
*/
|
|
492
|
+
readonly rebindOwnFileOwner?: (item: unknown, extractedOwnerRefName: string, authoredOwnerRefName: string) => unknown;
|
|
486
493
|
/** Print one extracted own-file instance to TypeScript source. */
|
|
487
494
|
readonly printOwnFile?: (item: unknown, opts: PrintOwnFileOptions) => PrintedOwnFile;
|
|
488
495
|
/** Re-pull: preserve author-owned values that the live export cannot represent. */
|
|
@@ -548,6 +555,77 @@ export interface EntityKindModule {
|
|
|
548
555
|
readonly attribute: string;
|
|
549
556
|
readonly suffix: string;
|
|
550
557
|
}[];
|
|
558
|
+
/**
|
|
559
|
+
* Two `<label><suffix>` locals that read the same list on this kind's
|
|
560
|
+
* resource, one indexed by each entry's name and one by its key.
|
|
561
|
+
*/
|
|
562
|
+
readonly keyedLocalAliases?: readonly {
|
|
563
|
+
readonly listAttribute: string;
|
|
564
|
+
readonly keyAttribute: string;
|
|
565
|
+
readonly nameAttribute: string;
|
|
566
|
+
readonly byNameSuffix: string;
|
|
567
|
+
readonly byKeySuffix: string;
|
|
568
|
+
}[];
|
|
569
|
+
/**
|
|
570
|
+
* Attributes a data lookup of one of this kind's managed resources (by
|
|
571
|
+
* that resource's own id) reads from the sibling resource referencing it,
|
|
572
|
+
* e.g. a published automation's `parameter_ids` from its trigger.
|
|
573
|
+
*/
|
|
574
|
+
readonly managedLookupAttributes?: readonly {
|
|
575
|
+
readonly lookupType: string;
|
|
576
|
+
readonly attribute: string;
|
|
577
|
+
readonly ownerType: string;
|
|
578
|
+
readonly ownerReference: string;
|
|
579
|
+
}[];
|
|
580
|
+
/**
|
|
581
|
+
* Per task resource type, refs-map keys whose task reference name (what
|
|
582
|
+
* an exported value envelope carries) differs from the key. Every other
|
|
583
|
+
* task output's reference name is its refs-map key.
|
|
584
|
+
*/
|
|
585
|
+
readonly taskOutputReferenceNames?: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
586
|
+
/**
|
|
587
|
+
* A found record's `record.<field id>` output is listed in the task's
|
|
588
|
+
* refs under the field's `<nameAttribute>`, unique per `<ownerAttribute>`.
|
|
589
|
+
*/
|
|
590
|
+
readonly recordFieldOutputKeys?: readonly {
|
|
591
|
+
readonly nameAttribute: string;
|
|
592
|
+
readonly ownerAttribute: string;
|
|
593
|
+
}[];
|
|
594
|
+
/**
|
|
595
|
+
* Map attributes the provider computes at plan time from the resource's
|
|
596
|
+
* own list: `<attribute>[entry.<nameAttribute>]` is `value(name)`.
|
|
597
|
+
*/
|
|
598
|
+
readonly computedReferenceMaps?: readonly {
|
|
599
|
+
readonly resourceType: string;
|
|
600
|
+
readonly attribute: string;
|
|
601
|
+
readonly listAttribute: string;
|
|
602
|
+
readonly nameAttribute: string;
|
|
603
|
+
readonly value: (name: string) => string;
|
|
604
|
+
}[];
|
|
605
|
+
/**
|
|
606
|
+
* Map attributes the provider computes on this kind's resource as
|
|
607
|
+
* `{ for e in <listAttribute> : e.<keyAttribute> => e.<valueAttribute> }`.
|
|
608
|
+
*/
|
|
609
|
+
readonly computedMapAttributes?: readonly {
|
|
610
|
+
readonly attribute: string;
|
|
611
|
+
readonly listAttribute: string;
|
|
612
|
+
readonly keyAttribute: string;
|
|
613
|
+
readonly valueAttribute: string;
|
|
614
|
+
}[];
|
|
615
|
+
/**
|
|
616
|
+
* Keys the export writes at their default on every object nested in
|
|
617
|
+
* `<attribute>` (including jsonencoded payloads) and the build omits.
|
|
618
|
+
*/
|
|
619
|
+
readonly nestedOmittedDefaults?: readonly {
|
|
620
|
+
readonly attribute: string;
|
|
621
|
+
readonly defaults: Readonly<Record<string, TfValue>>;
|
|
622
|
+
}[];
|
|
623
|
+
/** Server-assigned attributes the export records as a `<localPrefix><label>` local. */
|
|
624
|
+
readonly exportedAttributeLocals?: readonly {
|
|
625
|
+
readonly resourceType: string;
|
|
626
|
+
readonly attribute: string;
|
|
627
|
+
readonly localPrefix: string;
|
|
628
|
+
}[];
|
|
551
629
|
};
|
|
552
630
|
}
|
|
553
631
|
export declare function implementedResourceTypes(resource: ResourceFacet): readonly string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementumai/edk",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.19",
|
|
4
4
|
"description": "Elementum Development Kit — statically typed SDK for building Elementum apps, automations, and agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -155,8 +155,13 @@
|
|
|
155
155
|
"fetch:schema": "make -C provider fetch-schema",
|
|
156
156
|
"generate:schema": "make -C provider generate-schema",
|
|
157
157
|
"generate:graphql": "make -C provider generate-graphql",
|
|
158
|
+
"fetch:ragnarok": "tsx src/scripts/ragnarok-schema.ts fetch",
|
|
159
|
+
"generate:ragnarok": "tsx src/scripts/ragnarok-schema.ts generate",
|
|
160
|
+
"refresh:ragnarok": "npm run fetch:ragnarok && npm run generate:ragnarok",
|
|
158
161
|
"build": "npm run build:sdk",
|
|
162
|
+
"prebuild:sdk": "npm run generate:ragnarok",
|
|
159
163
|
"build:sdk": "rm -rf dist-sdk && tsc -p tsconfig.sdk.json",
|
|
164
|
+
"prebuild:cli": "npm run generate:ragnarok",
|
|
160
165
|
"build:cli": "npm run sync:version && npm run sync:skills && npm run sync:compatibility && rm -rf dist-cli && tsc -p tsconfig.cli.json",
|
|
161
166
|
"prebuild:provider": "npm run generate:graphql",
|
|
162
167
|
"build:provider": "go -C provider build .",
|
|
@@ -197,10 +202,15 @@
|
|
|
197
202
|
"test:integration": "node integration/run.mjs",
|
|
198
203
|
"reap:orphans": "node integration/tools/reap-orphaned-test-entities.mjs",
|
|
199
204
|
"typecheck": "npm run typecheck:ci",
|
|
205
|
+
"pretypecheck:ci": "npm run generate:ragnarok",
|
|
200
206
|
"typecheck:ci": "tsc --noEmit -p tsconfig.ci.json && tsc --noEmit -p tsconfig.examples-check.json",
|
|
207
|
+
"pretypecheck:src": "npm run generate:ragnarok",
|
|
201
208
|
"typecheck:src": "tsc --noEmit",
|
|
209
|
+
"pretypecheck:examples": "npm run generate:ragnarok",
|
|
202
210
|
"typecheck:examples": "tsc --noEmit -p tsconfig.examples-check.json",
|
|
211
|
+
"pretypecheck:consumer": "npm run generate:ragnarok",
|
|
203
212
|
"typecheck:consumer": "tsc --noEmit -p tsconfig.package-consumer-check.json",
|
|
213
|
+
"pretypecheck:tests": "npm run generate:ragnarok",
|
|
204
214
|
"typecheck:tests": "tsc --noEmit -p tsconfig.typecheck-tests.json",
|
|
205
215
|
"lint": "eslint src/cli src/internal/sdk-package.ts src/scripts/prepare-release-promotion.ts src/scripts/test-package-consumer.ts examples/package-consumer",
|
|
206
216
|
"lint:all": "eslint .",
|