@webpieces/rules-config 0.4.864 → 0.4.866

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.864",
3
+ "version": "0.4.866",
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.864",
23
- "@webpieces/repo-workflow-core": "0.4.864",
24
- "@webpieces/rules-sdk": "0.4.864"
22
+ "@webpieces/tooling-common": "0.4.866",
23
+ "@webpieces/repo-workflow-core": "0.4.866",
24
+ "@webpieces/rules-sdk": "0.4.866"
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.864"
37
+ "@webpieces/tooling-testkit": "0.4.866"
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, rpcTarget(SaveApi, 'save'), filters);
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, rpcTarget(SaveApi, 'save'));
157
+ provideRpcClient(BROWSER_TOKEN, SaveApi, 'save');
158
158
  ```
159
159
 
160
- Architecture validation checks ALL CODE in every participating owner, even unchanged projects
161
- outside the current diff. Canonical `wiring.ts` is checked too. Resolve every reported occurrence;
162
- moving raw factories to wiring alone does not satisfy the grammar. Preserve each existing token,
163
- API, deployment and supported filter list. Registration remains lazy and singleton; test overrides
164
- must still avoid resolving the production factory. Framework implementations, low-level calls,
165
- transient registrations, custom config options and provider filters without a helper equivalent
166
- are outside this helper-equivalence check. Review the resulting runtime declaration candidates
167
- and qualified API/deployment relationships before updating approvals.
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.