@webpieces/rules-config 0.4.865 → 0.4.867
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": "@webpieces/rules-config",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.867",
|
|
4
4
|
"description": "Shared webpieces.config.json loader. Single source of truth for validation rule configuration consumed by @webpieces/ai-hook-rules, @webpieces/code-rules, and @webpieces/nx-webpieces-rules.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"inversify": "7.10.4",
|
|
20
20
|
"reflect-metadata": "0.2.2",
|
|
21
21
|
"minimatch": "10.0.1",
|
|
22
|
-
"@webpieces/tooling-common": "0.4.
|
|
23
|
-
"@webpieces/repo-workflow-core": "0.4.
|
|
24
|
-
"@webpieces/rules-sdk": "0.4.
|
|
22
|
+
"@webpieces/tooling-common": "0.4.867",
|
|
23
|
+
"@webpieces/repo-workflow-core": "0.4.867",
|
|
24
|
+
"@webpieces/rules-sdk": "0.4.867"
|
|
25
25
|
},
|
|
26
26
|
"author": "Dean Hiller",
|
|
27
27
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@webpieces/tooling-testkit": "0.4.
|
|
37
|
+
"@webpieces/tooling-testkit": "0.4.867"
|
|
38
38
|
},
|
|
39
39
|
"types": "./src/index.d.ts",
|
|
40
40
|
"bin": {
|
|
@@ -148,20 +148,21 @@ and replace supported hand-written singleton/provider factories with the public
|
|
|
148
148
|
```typescript
|
|
149
149
|
// @webpieces/http-client-node (filters remain the optional fourth argument)
|
|
150
150
|
const clients = new RuntimeClients(options);
|
|
151
|
-
clients.bindRpc(TOKEN, SaveApi,
|
|
151
|
+
clients.bindRpc(TOKEN, SaveApi, 'save', filters);
|
|
152
152
|
|
|
153
153
|
// @webpieces/cloudtasks-client (no filter argument is supported)
|
|
154
154
|
new RuntimeTaskClients(options).bindPubSub(TASK_TOKEN, TaskApi, 'worker');
|
|
155
155
|
|
|
156
156
|
// @webpieces/http-client-browser (no filter argument is supported)
|
|
157
|
-
provideRpcClient(BROWSER_TOKEN, SaveApi,
|
|
157
|
+
provideRpcClient(BROWSER_TOKEN, SaveApi, 'save');
|
|
158
158
|
```
|
|
159
159
|
|
|
160
|
-
|
|
161
|
-
outside the
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
160
|
+
The wiring-format rule checks canonical `src/wiring.ts` in every participating tagged owner,
|
|
161
|
+
including unchanged projects outside the diff. Imported implementation files are outside this format
|
|
162
|
+
rule; semantic architecture validation can still resolve their declarations. Use Wiring/AppWiring
|
|
163
|
+
with literal arrays of named BindingModule and RouteModule instances; only AppWiring selects library
|
|
164
|
+
Wirings. Set maxLines explicitly (the agreed limit is 200). Preserve each existing token, API,
|
|
165
|
+
deployment and supported filter list. Registration remains lazy and singleton; test overrides must
|
|
166
|
+
still avoid resolving the production factory. Put custom factories and setup in imported named
|
|
167
|
+
implementations, keeping topology declarations visible. Review the resulting runtime declaration
|
|
168
|
+
candidates and qualified API/deployment relationships before updating approvals.
|