@datarails-ai/dr-appspace-cli 0.12.7 → 0.12.8

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.
Files changed (2) hide show
  1. package/dist/cli.js +5 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import { fileURLToPath as fileURLToPath6 } from "url";
13
13
  // package.json
14
14
  var package_default = {
15
15
  name: "@datarails-ai/dr-appspace-cli",
16
- version: "0.12.7",
16
+ version: "0.12.8",
17
17
  description: "Datarails App Space CLI \u2014 build, try, push and publish App Space apps",
18
18
  type: "module",
19
19
  engines: {
@@ -57,7 +57,7 @@ var package_default = {
57
57
  };
58
58
 
59
59
  // src/buildInfo.ts
60
- var BUILD_TIME = "2026-10-13T11:28:57.721Z";
60
+ var BUILD_TIME = "2026-10-13T12:47:02.126Z";
61
61
  function formatBuildTime(iso) {
62
62
  if (iso === "") return "";
63
63
  const d = new Date(iso);
@@ -20865,6 +20865,7 @@ var CONTROL_KIND = "data-dr-control-kind";
20865
20865
  var CONTROL_BOXES = /* @__PURE__ */ new Set(["controls", "filters"]);
20866
20866
  var WIDGET_LIBRARY2 = /^vendor\/dr-widgets@\d+\.\d+\.\d+\/widgets\.js$/;
20867
20867
  var ASSISTANT_MODULE = /^vendor\/dr-insights@(\d+\.\d+\.\d+)\/(insights\.(?:css|js))$/;
20868
+ var UI_KITS = ["ui-kit/v3", "ui-kit/v4"];
20868
20869
  var WIDGET_ID = /^[a-z][a-z0-9_-]*$/;
20869
20870
  var REQUIRED_WIDGET_ATTRS = ["data-dr-widget-title", "data-dr-widget-description", "data-dr-widget-source"];
20870
20871
  var SPAN_MARK = "data-dr-span";
@@ -20961,7 +20962,8 @@ function checkPage2(app, page, kit) {
20961
20962
  });
20962
20963
  }
20963
20964
  const uiKit = `${kit.uiKit}/dr.css`;
20964
- if (!loads("link", "href", uiKit)) {
20965
+ const accepted = /* @__PURE__ */ new Set([kit.uiKit, ...UI_KITS]);
20966
+ if (![...accepted].some((version) => loads("link", "href", `${version}/dr.css`))) {
20965
20967
  violations.push({ rule: "R2.7", where: page.path, message: `${page.path} loads no stylesheet ${climb}${uiKit}; the grid, the card, the tab bar and every token come from it` });
20966
20968
  }
20967
20969
  const boxes = controlBoxes(page.text);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarails-ai/dr-appspace-cli",
3
- "version": "0.12.7",
3
+ "version": "0.12.8",
4
4
  "description": "Datarails App Space CLI — build, try, push and publish App Space apps",
5
5
  "type": "module",
6
6
  "engines": {