@antelopejs/dms-lang 0.3.0 → 0.4.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antelopejs/dms-lang",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Language and translation management for the AntelopeJS DMS: coverage overview, translation matrix, translation queue and public translation workspaces.",
5
5
  "keywords": [
6
6
  "antelopejs",
@@ -62,14 +62,14 @@
62
62
  "@antelopejs/interface-api": ">=0.0.15 <1.0.0",
63
63
  "@antelopejs/interface-api-util": ">=0.1.3 <1.0.0",
64
64
  "@antelopejs/interface-core": ">=0.2.4 <1.0.0",
65
- "@antelopejs/interface-dms": ">=0.7.2 <1.0.0",
65
+ "@antelopejs/interface-dms": ">=0.8.0 <1.0.0",
66
66
  "@intlify/message-compiler": "^11.1.12",
67
67
  "zod": "~3.24.2"
68
68
  },
69
69
  "devDependencies": {
70
- "@antelopejs/core": "1.16.0",
71
- "@antelopejs/dms": ">=0.9.3 <1.0.0",
72
- "@antelopejs/dms-frontend": "0.6.3",
70
+ "@antelopejs/core": "1.17.0",
71
+ "@antelopejs/dms": ">=0.10.0 <1.0.0",
72
+ "@antelopejs/dms-frontend": "0.8.0",
73
73
  "@antelopejs/tooling-configs": ">=0.0.9 <1.0.0",
74
74
  "@types/chai": "^5.2.3",
75
75
  "@types/mocha": "^10.0.10",
@@ -95,5 +95,6 @@
95
95
  "skills": [
96
96
  "./skills"
97
97
  ]
98
- }
98
+ },
99
+ "dmsFrontend": "dist/frontend-module.js"
99
100
  }
@@ -26,7 +26,7 @@ ajs project modules add @antelopejs/dms-lang
26
26
  - `config.editable: true` in `antelope.config.ts` allows every write. Default `false`: writes fail with a read-only error.
27
27
  - The project's own frontend module needs `options: { dmsI18nAppLayer: true }` in `AddFrontendModule`; its `<name>-<xx-XX>.json` files become the writable **Project files** workspace. Lang scans `i18n/locales` recursively, or `layers/*/i18n/locales` instead when `layers` exists (the root locale folder is then ignored). `app-` is a convention, not a requirement: one file per domain (`crm-en-GB.json`, `team-en-GB.json`) works. A file without the `-xx-XX` region suffix (`app-it.json`) is ignored.
28
28
  - Writes to the project files go to the file defining the key; a new key goes to the file holding its longest namespace, else to `app-<xx-XX>.json`, else to the last file of the language. A rename stays in the key's file.
29
- - Frontend modules registered or removed after Lang started (in their own `construct`/`start`) are picked up within ~2 s, no restart; file edits show on the next read.
29
+ - Frontend modules registered or removed after Lang started (in their own `construct`/`start`) are picked up as soon as they register (the DMS fires `FrontendModulesChanged`), no restart; file edits show on the next read.
30
30
  - `config.workspacesDir` stores the created workspaces outside the module's install folder (default `i18n-workspaces/` inside it, wiped by a reinstall).
31
31
  - Lang 0.2 requires `@antelopejs/dms` >=0.9 (interface-dms 0.7, renderer `@antelopejs/dms-frontend` 0.6); Lang 0.1 is the DMS 0.8 line.
32
32