@diagonal-hq/cli 0.33.1 → 0.33.2

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
@@ -237,7 +237,7 @@ export default defineConfig({
237
237
  - `default_timezone` is an IANA timezone name, such as `America/Edmonton`. `default_currency` is a lower-case currency code, such as `cad`. `website` is a URL. `head_html` is at most 50,000 characters.
238
238
  - Each `custom_<status>_error_page` setting names a page file by its uid, as `Pages.<Name>.uid` from `@app/generated/pages`. The page route must not have a parameter. The check refuses an unknown page, a page with a route parameter, and a value that is not a page uid, at the line of the setting. The deploy stores the setting as `{ id }` with the page uid, which is the page id. See [Page reference settings](#page-reference-settings).
239
239
  - The check refuses `name`, `slug`, and `brand_kit` in `settings`, and any other key, at the line of the key. It also refuses a value that the setting does not accept.
240
- - Each deploy writes `name` and every setting to the workspace. The file owns them: a setting that the file omits gets its default, for example `America/Chicago` or `usd`, and a setting without a default becomes `null`. A deploy replaces a value that someone changed in the admin UI.
240
+ - Each deploy writes `name` and every setting to the workspace. The file owns them: a setting that the file omits gets its default, for example `America/Chicago` or `usd`, and a setting without a default becomes `null`. A change to `name` or a setting in the admin settings, the API, the AI assistant, or the Control Panel commits to this file and deploys it.
241
241
  - The deploy checks each value again with the rules of the workspace field. A value that fails, such as a timezone that the server does not know, stops the deploy, and the workspace keeps its values. The deploy checks an error page setting against the pages of the build instead, because a file page has no page row.
242
242
  - A rollback writes the config of the older deployment. A deployment built before the deploy wrote the config writes nothing.
243
243
  - `domains` declares the domains of the workspace, and `primaryDomain` names the one that is primary. See [Domains](#domains).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/cli",
3
- "version": "0.33.1",
3
+ "version": "0.33.2",
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": {