@animus-ui/cli 0.1.26 → 0.1.27

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/config.d.ts CHANGED
@@ -50,6 +50,7 @@ export declare function projectResolvedConfig(config: ResolvedCliConfig): {
50
50
  layers: string[] | null;
51
51
  extensions: string[] | null;
52
52
  staticCss: StaticCssConfig | null;
53
+ runtimeImport: string | null;
53
54
  exclude: readonly string[];
54
55
  provenance: Record<string, OptionProvenance>;
55
56
  };
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,iBAAiB,EACjB,UAAU,EACV,eAAe,EAEf,gBAAgB,EAEhB,eAAe,EAChB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,gBAAgB,YAC3B,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,CACV,CAAC;AAEX,MAAM,WAAW,mBAAmB;IAClC,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,QAAQ;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,aAAa,GAAG,YAAY,GAAG,KAAK,CAAC;AAE1E,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,KAAK,CAAC;IACd,2DAA2D;IAC3D,IAAI,EAAE,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AO;IACP,UAAU;EAEb"}
package/dist/index.cjs CHANGED
@@ -470,6 +470,7 @@ function parseLoadedCliConfig(raw) {
470
470
  minify: isConfigBoolean(raw.minify) ? raw.minify : void 0,
471
471
  staticCss: configStaticCss(raw.staticCss),
472
472
  layers: isConfigStringArray(raw.layers) ? raw.layers : void 0,
473
+ runtimeImport: isConfigString(raw.runtimeImport) ? raw.runtimeImport : void 0,
473
474
  mode: raw.mode === "development" || raw.mode === "production" ? raw.mode : void 0
474
475
  },
475
476
  cli: { outDir: cli.outDir }
@@ -562,6 +563,7 @@ async function resolveCliConfig(flags, cwd) {
562
563
  minify: pick("minify", void 0),
563
564
  staticCss: pick("staticCss", void 0),
564
565
  layers: pick("layers", void 0),
566
+ runtimeImport: pick("runtimeImport", void 0),
565
567
  mode: resolvedMode.mode
566
568
  };
567
569
  const excludePatterns = (0, _animus_ui_extract_pipeline.createExcludeMatcher)(options.exclude).patterns;
@@ -601,6 +603,7 @@ function projectResolvedConfig(config) {
601
603
  layers: config.options.layers ?? null,
602
604
  extensions: config.options.extensions ?? null,
603
605
  staticCss: config.options.staticCss ?? null,
606
+ runtimeImport: config.options.runtimeImport ?? null,
604
607
  exclude: config.excludePatterns,
605
608
  provenance: config.provenance
606
609
  };
package/dist/index.mjs CHANGED
@@ -469,6 +469,7 @@ function parseLoadedCliConfig(raw) {
469
469
  minify: isConfigBoolean(raw.minify) ? raw.minify : void 0,
470
470
  staticCss: configStaticCss(raw.staticCss),
471
471
  layers: isConfigStringArray(raw.layers) ? raw.layers : void 0,
472
+ runtimeImport: isConfigString(raw.runtimeImport) ? raw.runtimeImport : void 0,
472
473
  mode: raw.mode === "development" || raw.mode === "production" ? raw.mode : void 0
473
474
  },
474
475
  cli: { outDir: cli.outDir }
@@ -561,6 +562,7 @@ async function resolveCliConfig(flags, cwd) {
561
562
  minify: pick("minify", void 0),
562
563
  staticCss: pick("staticCss", void 0),
563
564
  layers: pick("layers", void 0),
565
+ runtimeImport: pick("runtimeImport", void 0),
564
566
  mode: resolvedMode.mode
565
567
  };
566
568
  const excludePatterns = createExcludeMatcher(options.exclude).patterns;
@@ -600,6 +602,7 @@ function projectResolvedConfig(config) {
600
602
  layers: config.options.layers ?? null,
601
603
  extensions: config.options.extensions ?? null,
602
604
  staticCss: config.options.staticCss ?? null,
605
+ runtimeImport: config.options.runtimeImport ?? null,
603
606
  exclude: config.excludePatterns,
604
607
  provenance: config.provenance
605
608
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@animus-ui/cli",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "Standalone Animus extraction CLI — one-shot builds and artifact emission for any build system",
5
5
  "keywords": [
6
6
  "animus",
@@ -41,7 +41,7 @@
41
41
  "compile": "tsc --noEmit"
42
42
  },
43
43
  "dependencies": {
44
- "@animus-ui/extract": "0.1.26"
44
+ "@animus-ui/extract": "0.1.27"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">=22.12.0"