@datarails-ai/dr-appspace-cli 0.12.6 → 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.
- package/dist/cli.js +5 -3
- 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.
|
|
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-
|
|
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
|
-
|
|
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);
|