@diagonal-hq/cli 0.42.23 → 0.43.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 CHANGED
@@ -1192,7 +1192,7 @@ Use `background: url(asset:hero)` in a CSS file. The hosted build replaces it wi
1192
1192
 
1193
1193
  The check follows CSS imports from pages, layouts, and components. An unknown `asset:` key fails with its file, line, and column. `asset:` in `@import` fails. A `url(asset:` value in a TypeScript or TSX module also fails. Move that value to a CSS file.
1194
1194
 
1195
- The check refuses binary imports from workspace modules, including images, fonts, SVG, video, audio, and PDF files. Binary files in `pages/` also fail when no module imports them. Upload an image as an Application Asset and use `url(asset:<key>)` in CSS. For icons, use `Sdk.Icon` or an SVG written as a TSX component. SVG and font uploads are not supported yet; use an https: URL for those files.
1195
+ The check refuses binary imports from workspace modules, including images, fonts, SVG, video, audio, and PDF files. Binary files fail in every folder, also when no module imports them. The check also refuses a file that a workspace cannot hold. Next to the definition files, a workspace holds `.ts`, `.tsx`, `.js`, and `.jsx` modules, CSS and Markdown files, the `.liquid` files of `notifications/` and `email-layouts/`, and `package.json`, `package-lock.json`, `npm-shrinkwrap.json`, `tsconfig.json`, and `LICENSE` at the root. Upload an image as an Application Asset and use `url(asset:<key>)` in CSS. For icons, use `Sdk.Icon` or an SVG written as a TSX component. SVG and font uploads are not supported yet; use an https: URL for those files.
1196
1196
 
1197
1197
  A CSS `url()` can name an Application Asset as `url(asset:<key>)`, a data URL, an HTTP or HTTPS URL, or a fragment. Relative, root-relative, and protocol-relative file URLs fail. CSS `@import` and `composes` cannot name binary files or Application Assets. Import a CSS file instead.
1198
1198
 
@@ -11,7 +11,7 @@ import {
11
11
  brand_kit_catalog_default,
12
12
  page_meta_resolvers_default,
13
13
  workspace_settings_catalog_default
14
- } from "./cli-chunk-JOTUZWUE.mjs";
14
+ } from "./cli-chunk-HQJJ3ZAJ.mjs";
15
15
  import {
16
16
  SCRIPT_SDK_FILES,
17
17
  scriptSdkSurface
@@ -3245,8 +3245,8 @@ export {
3245
3245
  declaredPermissionEntries,
3246
3246
  permissionUidReference,
3247
3247
  permissionsBinding,
3248
- page_meta_resolvers_default,
3249
3248
  GENERATED_ROLES_PATH,
3250
3249
  defineRoleArgument,
3251
- buildRole
3250
+ buildRole,
3251
+ page_meta_resolvers_default
3252
3252
  };