@prettier-ai/dsh-client-ui-settings 0.1.2-alpha.3 → 0.1.2-alpha.4
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.i18n.yaml +2 -2
- package/README.md +2 -0
- package/README.zh.md +2 -0
- package/package.json +7 -13
- package/lib/invariant.js +0 -25
- package/lib/types/invariant.d.ts +0 -16
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/client/ui-settings/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: bd2f5d840f07aa12f76c72f10c52f7627509685f
|
|
6
|
+
README.zh.md: a930f7db3631d1ddce3381d9cb30de257a7a8f17
|
package/README.md
CHANGED
|
@@ -105,3 +105,5 @@ These limits define where the settings transport cannot reach; they are current
|
|
|
105
105
|
None.
|
|
106
106
|
|
|
107
107
|
</details>
|
|
108
|
+
|
|
109
|
+
**Runtime invariant:** No companion is published. A presentation shell projecting the settings.section ledger into navigation — it emits no cordis events and owns no cross-plugin mutable relation; slot declaration/registration conflicts already fail loud in the slot core at load time.
|
package/README.zh.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prettier-ai/dsh-client-ui-settings",
|
|
3
3
|
"description": "Settings domain base plugin: the settings-namespace scope service and the canonical settings slot-type contract",
|
|
4
|
-
"version": "0.1.2-alpha.
|
|
4
|
+
"version": "0.1.2-alpha.4",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -18,10 +18,6 @@
|
|
|
18
18
|
"types": "./lib/types/index.d.ts",
|
|
19
19
|
"default": "./lib/index.js"
|
|
20
20
|
},
|
|
21
|
-
"./invariant": {
|
|
22
|
-
"types": "./lib/types/invariant.d.ts",
|
|
23
|
-
"default": "./lib/invariant.js"
|
|
24
|
-
},
|
|
25
21
|
"./client": {
|
|
26
22
|
"types": "./lib/types/client/index.d.ts",
|
|
27
23
|
"default": "./lib/client.js"
|
|
@@ -45,18 +41,16 @@
|
|
|
45
41
|
"@types/react": "~18.3.1",
|
|
46
42
|
"react": "^18.2.0",
|
|
47
43
|
"@prettier-ai/cordis": "^4.0.2",
|
|
48
|
-
"@prettier-ai/dsh-api-remotes": "^0.1.2-alpha.
|
|
49
|
-
"@prettier-ai/dsh-client-store": "^0.1.2-alpha.
|
|
50
|
-
"@prettier-ai/dsh-client-test-runtime": "^0.1.2-alpha.
|
|
51
|
-
"@prettier-ai/dsh-
|
|
52
|
-
"@prettier-ai/dsh-
|
|
53
|
-
"@prettier-ai/dsh-settings": "^0.1.2-alpha.3",
|
|
44
|
+
"@prettier-ai/dsh-api-remotes": "^0.1.2-alpha.4",
|
|
45
|
+
"@prettier-ai/dsh-client-store": "^0.1.2-alpha.4",
|
|
46
|
+
"@prettier-ai/dsh-client-test-runtime": "^0.1.2-alpha.4",
|
|
47
|
+
"@prettier-ai/dsh-settings": "^0.1.2-alpha.4",
|
|
48
|
+
"@prettier-ai/dsh-client-ui-slots": "^0.1.2-alpha.4",
|
|
54
49
|
"@prettier-ai/schemastery": "^3.18.2",
|
|
55
|
-
"@prettier-ai/dsh-util-values": "^0.1.2-alpha.
|
|
50
|
+
"@prettier-ai/dsh-util-values": "^0.1.2-alpha.4"
|
|
56
51
|
},
|
|
57
52
|
"files": [
|
|
58
53
|
"lib/index.js",
|
|
59
|
-
"lib/invariant.js",
|
|
60
54
|
"lib/client.js",
|
|
61
55
|
"lib/types/**/*.d.ts"
|
|
62
56
|
],
|
package/lib/invariant.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
//#region lib/types/invariant.js
|
|
2
|
-
/**
|
|
3
|
-
* Package-owned invariant companion for `@prettier-ai/dsh-client-ui-settings`.
|
|
4
|
-
* @module @prettier-ai/dsh-client-ui-settings/invariant
|
|
5
|
-
*/
|
|
6
|
-
const PACKAGE_NAME = "@prettier-ai/dsh-client-ui-settings";
|
|
7
|
-
/** Cordis companion plugin name. */
|
|
8
|
-
const name = "client-ui-settings-invariant";
|
|
9
|
-
/** Service required before the companion can reserve package ownership. */
|
|
10
|
-
const inject = ["invariants"];
|
|
11
|
-
/**
|
|
12
|
-
* No runtime invariant: a presentation shell projecting the settings.section
|
|
13
|
-
* ledger into navigation — it emits no cordis events and owns no cross-plugin
|
|
14
|
-
* mutable relation; slot declaration/registration conflicts already fail loud
|
|
15
|
-
* in the slot core at load time.
|
|
16
|
-
*/
|
|
17
|
-
const install = () => {};
|
|
18
|
-
/**
|
|
19
|
-
* Register this package's invariant companion.
|
|
20
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
21
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
22
|
-
*/
|
|
23
|
-
const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
24
|
-
//#endregion
|
|
25
|
-
export { apply, inject, name };
|
package/lib/types/invariant.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Package-owned invariant companion for `@prettier-ai/dsh-client-ui-settings`.
|
|
3
|
-
* @module @prettier-ai/dsh-client-ui-settings/invariant
|
|
4
|
-
*/
|
|
5
|
-
import type { Context } from '@prettier-ai/cordis';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export declare const name = "client-ui-settings-invariant";
|
|
8
|
-
/** Service required before the companion can reserve package ownership. */
|
|
9
|
-
export declare const inject: string[];
|
|
10
|
-
/**
|
|
11
|
-
* Register this package's invariant companion.
|
|
12
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
13
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
14
|
-
*/
|
|
15
|
-
export declare const apply: (ctx: Context) => Promise<() => void>;
|
|
16
|
-
//# sourceMappingURL=invariant.d.ts.map
|