@epsilon-asi/foundation 0.0.1-rc3 → 0.0.2

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.
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,2 @@
1
+ export declare class ValidatableClass<T = any> {
2
+ }
@@ -1,4 +1,12 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidatableClass = void 0;
4
+ const factory_1 = require("../factory");
5
+ class ValidatableClass {
6
+ }
7
+ exports.ValidatableClass = ValidatableClass;
8
+ const registry = (0, factory_1.createDecoratorRegistry)({ namespace: 'crud-example' });
9
+ const ValidatableRegistry = registry.for();
2
10
  // import {createDecoratorRegistry} from "../factory";
3
11
  // export class ValidatableClass<T = any> {}
4
12
  //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epsilon-asi/foundation",
3
- "version": "0.0.1-rc3",
3
+ "version": "0.0.2",
4
4
  "description": "",
5
5
  "mainDir": "./",
6
6
  "scripts": {
@@ -12,7 +12,9 @@
12
12
  "start:dev": "npx nodemon --exec \"npx tsc\" --watch src -e ts",
13
13
  "test": "export IS_TEST='true' && jest --clearCache && jest --coverage --detectOpenHandles",
14
14
  "test:watch": "export IS_TEST='true' && jest --clearCache && jest --coverage --detectOpenHandles --watchAll",
15
- "verify": "npm run typecheck && npm run typecheck:tests && npm run examples && npm run test && npm run build"
15
+ "verify": "npm run typecheck && npm run typecheck:tests && npm run examples && npm run test && npm run build",
16
+ "bump": "../../scripts/bump_version.sh",
17
+ "pub": "npm run build && npm run bump && npm publish --access public"
16
18
  },
17
19
  "jest": {
18
20
  "clearMocks": true,
@@ -33,6 +35,7 @@
33
35
  "collectCoverageFrom": [
34
36
  "src/**/*.ts",
35
37
  "!src/**/*.test.ts",
38
+ "!.ai/**/*",
36
39
  "!src/**/*.type-test.ts",
37
40
  "!src/**/__tests__/**",
38
41
  "!src/type-tests/**",