@webpieces/nx-webpieces-rules 0.4.843 → 0.4.844

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/nx-webpieces-rules",
3
- "version": "0.4.843",
3
+ "version": "0.4.844",
4
4
  "description": "Nx-specific webpieces validation rules, graph tooling, executors, and inference plugin.",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -9,7 +9,8 @@
9
9
  ".": "./src/index.js",
10
10
  "./package.json": "./package.json",
11
11
  "./plugin": "./src/plugin.js",
12
- "./executors.json": "./executors.json"
12
+ "./executors.json": "./executors.json",
13
+ "./rule-pack": "./src/rule-pack.js"
13
14
  },
14
15
  "files": [
15
16
  "src/**/*",
@@ -18,12 +19,13 @@
18
19
  "README.md"
19
20
  ],
20
21
  "dependencies": {
21
- "@webpieces/api-doc-model": "0.4.843",
22
- "@webpieces/code-rules": "0.4.843",
23
- "@webpieces/core-util": "0.4.843",
24
- "@webpieces/eslint-rules": "0.4.843",
25
- "@webpieces/rules-config": "0.4.843",
26
- "madge": "8.0.0"
22
+ "@webpieces/api-doc-model": "0.4.844",
23
+ "@webpieces/code-rules": "0.4.844",
24
+ "@webpieces/core-util": "0.4.844",
25
+ "@webpieces/eslint-rules": "0.4.844",
26
+ "@webpieces/rules-config": "0.4.844",
27
+ "madge": "8.0.0",
28
+ "@webpieces/rules-sdk": "0.4.844"
27
29
  },
28
30
  "peerDependencies": {
29
31
  "@nx/devkit": ">=18.0.0"
@@ -38,6 +40,9 @@
38
40
  "publishConfig": {
39
41
  "access": "public"
40
42
  },
43
+ "devDependencies": {
44
+ "@webpieces/tooling-testkit": "0.4.844"
45
+ },
41
46
  "types": "./src/index.d.ts",
42
47
  "bin": {
43
48
  "wp-design-visualize": "./src/scripts/wp-design-visualize.js"
@@ -0,0 +1,2 @@
1
+ import { RulePackManifest } from '@webpieces/rules-sdk';
2
+ export declare const rulePackManifest: RulePackManifest;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.rulePackManifest = void 0;
4
+ const rules_sdk_1 = require("@webpieces/rules-sdk");
5
+ const rules_config_1 = require("@webpieces/rules-config");
6
+ const package_json_1 = require("../package.json");
7
+ /** Compatibility manifest; executable registries remain authoritative until ownership migration. */
8
+ const ownedRuleIds = [
9
+ "no-file-import-cycles",
10
+ "runtime-architecture",
11
+ "nx-wiring",
12
+ "di-graph",
13
+ "missing-design-annotation",
14
+ "validate-architecture-unchanged",
15
+ "validate-no-architecture-cycles",
16
+ "validate-packagejson",
17
+ "validate-versions-locked",
18
+ "validate-eslint-sync",
19
+ "no-root-union-api-type",
20
+ "api-rules-for-openapi",
21
+ "api-rules-for-mcp",
22
+ "api-lib-dependencies",
23
+ "api-lib-path",
24
+ "framework-folder"
25
+ ];
26
+ exports.rulePackManifest = new rules_sdk_1.RulePackManifest('@webpieces/nx-webpieces-rules', package_json_1.version, rules_sdk_1.RULE_PACK_API_VERSION, ownedRuleIds.map(id => new rules_sdk_1.OwnedRuleDefinition(id, rules_config_1.RULE_SCHEMAS[id], rules_sdk_1.RULE_SCHEMA_API_VERSION)), [
27
+ ...ownedRuleIds.map(id => new rules_sdk_1.RuleContribution(id, '@webpieces/nx-webpieces-rules', 'build')),
28
+ new rules_sdk_1.RuleContribution('validate-ts-in-src', '@webpieces/ai-hook-rules', 'build'),
29
+ ]);
30
+ //# sourceMappingURL=rule-pack.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule-pack.js","sourceRoot":"","sources":["../../../../../packages/tooling/nx-webpieces-rules/src/rule-pack.ts"],"names":[],"mappings":";;;AAAA,oDAA+I;AAC/I,0DAAuD;AACvD,kDAA0C;AAE1C,oGAAoG;AACpG,MAAM,YAAY,GAAG;IACjB,uBAAuB;IACvB,sBAAsB;IACtB,WAAW;IACX,UAAU;IACV,2BAA2B;IAC3B,iCAAiC;IACjC,iCAAiC;IACjC,sBAAsB;IACtB,0BAA0B;IAC1B,sBAAsB;IACtB,wBAAwB;IACxB,uBAAuB;IACvB,mBAAmB;IACnB,sBAAsB;IACtB,cAAc;IACd,kBAAkB;CACZ,CAAC;AAEE,QAAA,gBAAgB,GAAG,IAAI,4BAAgB,CAChD,+BAA+B,EAC/B,sBAAO,EACP,iCAAqB,EACrB,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,+BAAmB,CAAC,EAAE,EAAE,2BAAY,CAAC,EAAE,CAAC,EAAE,mCAAuB,CAAC,CAAC,EAC9F;IACI,GAAG,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,4BAAgB,CAAC,EAAE,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAC;IAC7F,IAAI,4BAAgB,CAAC,oBAAoB,EAAE,0BAA0B,EAAE,OAAO,CAAC;CAClF,CACJ,CAAC","sourcesContent":["import { OwnedRuleDefinition, RuleContribution, RulePackManifest, RULE_PACK_API_VERSION, RULE_SCHEMA_API_VERSION } from '@webpieces/rules-sdk';\nimport { RULE_SCHEMAS } from '@webpieces/rules-config';\nimport { version } from '../package.json';\n\n/** Compatibility manifest; executable registries remain authoritative until ownership migration. */\nconst ownedRuleIds = [\n \"no-file-import-cycles\",\n \"runtime-architecture\",\n \"nx-wiring\",\n \"di-graph\",\n \"missing-design-annotation\",\n \"validate-architecture-unchanged\",\n \"validate-no-architecture-cycles\",\n \"validate-packagejson\",\n \"validate-versions-locked\",\n \"validate-eslint-sync\",\n \"no-root-union-api-type\",\n \"api-rules-for-openapi\",\n \"api-rules-for-mcp\",\n \"api-lib-dependencies\",\n \"api-lib-path\",\n \"framework-folder\"\n] as const;\n\nexport const rulePackManifest = new RulePackManifest(\n '@webpieces/nx-webpieces-rules',\n version,\n RULE_PACK_API_VERSION,\n ownedRuleIds.map(id => new OwnedRuleDefinition(id, RULE_SCHEMAS[id], RULE_SCHEMA_API_VERSION)),\n [\n ...ownedRuleIds.map(id => new RuleContribution(id, '@webpieces/nx-webpieces-rules', 'build')),\n new RuleContribution('validate-ts-in-src', '@webpieces/ai-hook-rules', 'build'),\n ],\n);\n"]}