@stardeck-customer-apps/compose 0.4.0 → 0.6.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/SKILL.md +13 -2
- package/dist/cli.js +2157 -26
- package/dist/index.js +2158 -27
- package/dist/index.mjs +2170 -16
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -41,8 +41,11 @@ from `apps/web/stardeck.compose.json` instead:
|
|
|
41
41
|
{
|
|
42
42
|
"connectedStores": [
|
|
43
43
|
// `type` is optional and defaults to "database"; "storage" marks an
|
|
44
|
-
// object-storage store. The platform writes
|
|
45
|
-
|
|
44
|
+
// object-storage store. The platform writes storage rows, with `type` set,
|
|
45
|
+
// for projects on platform >= 10.1.0 (compose 0.4.0); older forks get
|
|
46
|
+
// database rows without `type`.
|
|
47
|
+
{ "storeId": "ds_123", "slug": "media", "bindingKey": null, "accessLevel": "write" },
|
|
48
|
+
{ "storeId": "ds_456", "slug": "uploads", "bindingKey": null, "accessLevel": "write", "type": "storage" }
|
|
46
49
|
],
|
|
47
50
|
"installs": {
|
|
48
51
|
"pos": { "installedVersion": "7.49.0", "datastoreBindings": { "media": "ds_123" } }
|
|
@@ -78,6 +81,14 @@ a silent fallback. It holds deployment facts: gitignore it (`apps/web/.gitignore
|
|
|
78
81
|
missing or wrong makes compose refuse rather than clobber your edit.
|
|
79
82
|
- Change `module.json` (or the Module's own source under `routes/`,
|
|
80
83
|
`contributions.ts`, `i18n/`, …) and re-run compose.
|
|
84
|
+
- To reword a Module string, don't edit the Module: put the same key in
|
|
85
|
+
`apps/web/src/lib/i18n/overrides/<locale>.json` (app-owned, composed last).
|
|
86
|
+
It may only replace keys a Module or `lib/i18n/substrate/` defines; an
|
|
87
|
+
override of a missing key fails compose and names the key. An override file
|
|
88
|
+
for a locale the Modules don't ship (e.g. `ja`) translates their keys for that
|
|
89
|
+
locale; the locale also needs a `lib/i18n/substrate/<locale>.json`. New keys
|
|
90
|
+
go in `lib/i18n/substrate/<locale>.json`, never in an override. Needs compose
|
|
91
|
+
0.6.0 or later.
|
|
81
92
|
- `@stardeck-customer-apps/compose/runtime` exports `isModuleEnabledByList`,
|
|
82
93
|
the single enablement rule, and imports nothing — it is safe in client
|
|
83
94
|
components.
|