@dommaker/harness 0.1.1 → 0.1.3

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.
@@ -2,7 +2,7 @@
2
2
  * 验证器导出
3
3
  */
4
4
  export { CheckpointValidator } from './checkpoint';
5
- export { PassesGate } from './passes-gate';
5
+ export { PassesGate, createPassesGate } from './passes-gate';
6
6
  export { CSOValidator, type CSOValidationResult, type CSOIssue } from './cso';
7
7
  export type { Checkpoint, CheckpointCheck, CheckpointResult, CheckResult, CheckpointContext, CheckType, CheckConfig, } from '../../types/checkpoint';
8
8
  export type { PassesGateConfig, PassesGateResult, TaskTestResult, DynamicTask, } from '../../types/passes-gate';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/validators/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAG9E,YAAY,EACV,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAEhC,YAAY,EACV,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,WAAW,GACZ,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/validators/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAG9E,YAAY,EACV,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAEhC,YAAY,EACV,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,WAAW,GACZ,MAAM,yBAAyB,CAAC"}
@@ -3,11 +3,12 @@
3
3
  * 验证器导出
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.CSOValidator = exports.PassesGate = exports.CheckpointValidator = void 0;
6
+ exports.CSOValidator = exports.createPassesGate = exports.PassesGate = exports.CheckpointValidator = void 0;
7
7
  var checkpoint_1 = require("./checkpoint");
8
8
  Object.defineProperty(exports, "CheckpointValidator", { enumerable: true, get: function () { return checkpoint_1.CheckpointValidator; } });
9
9
  var passes_gate_1 = require("./passes-gate");
10
10
  Object.defineProperty(exports, "PassesGate", { enumerable: true, get: function () { return passes_gate_1.PassesGate; } });
11
+ Object.defineProperty(exports, "createPassesGate", { enumerable: true, get: function () { return passes_gate_1.createPassesGate; } });
11
12
  var cso_1 = require("./cso");
12
13
  Object.defineProperty(exports, "CSOValidator", { enumerable: true, get: function () { return cso_1.CSOValidator; } });
13
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/validators/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,2CAAmD;AAA1C,iHAAA,mBAAmB,OAAA;AAC5B,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,6BAA8E;AAArE,mGAAA,YAAY,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/validators/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,2CAAmD;AAA1C,iHAAA,mBAAmB,OAAA;AAC5B,6CAA6D;AAApD,yGAAA,UAAU,OAAA;AAAE,+GAAA,gBAAgB,OAAA;AACrC,6BAA8E;AAArE,mGAAA,YAAY,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dommaker/harness",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "通用工程约束框架 - 铁律系统、检查点验证、测试门控",
5
5
  "keywords": [
6
6
  "harness",
@@ -19,15 +19,18 @@
19
19
  "exports": {
20
20
  ".": {
21
21
  "types": "./dist/index.d.ts",
22
- "require": "./dist/index.js"
22
+ "require": "./dist/index.js",
23
+ "import": "./dist/index.js"
23
24
  },
24
25
  "./core": {
25
26
  "types": "./dist/core/index.d.ts",
26
- "require": "./dist/core/index.js"
27
+ "require": "./dist/core/index.js",
28
+ "import": "./dist/core/index.js"
27
29
  },
28
30
  "./presets": {
29
31
  "types": "./dist/presets/index.d.ts",
30
- "require": "./dist/presets/index.js"
32
+ "require": "./dist/presets/index.js",
33
+ "import": "./dist/presets/index.js"
31
34
  }
32
35
  },
33
36
  "files": [