@diagonal-hq/cli 0.9.2 → 0.9.3

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/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -413,7 +413,7 @@ export default defineAssets({
413
413
  });
414
414
  ```
415
415
 
416
- Use `background: url(asset:hero)` in a CSS file. The hosted build replaces it with the version's delivery URL and records its verified digest in the deployment manifest. SVG and font uploads are not supported yet.
416
+ Use `background: url(asset:hero)` in a CSS file. The hosted build replaces it with the version's delivery URL and records its verified digest in the deployment manifest. SVG, ICO, WOFF and WOFF2 files are Application Assets too. Use `@font-face { font-family: Brand; src: url(asset:brandFont) format('woff2'); }` in a CSS file. Asset keys match `^[a-z][A-Za-z0-9]*$`.
417
417
 
418
418
  `diagonal check` validates this file offline. Each key must be a camelCase name of at most 64 letters and digits that starts with a lowercase letter, such as `hero`; otherwise the check reports `Asset key "<key>" must be a camelCase name ...` at the key. The manifest can have at most 500 entries. Each value must be `asset.version()` with one lower-case UUID string literal written without escapes. The default export must be `defineAssets({...})`. Other calls and non-literal expressions fail at their source location. The hosted build also checks that each version belongs to this application's asset library.
419
419
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/cli",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "The diagonal CLI and the configuration helpers for file-based Diagonal workspaces.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {