@ddd-ts/types 0.0.36 → 0.0.37

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,16 +1,25 @@
1
1
  {
2
2
  "name": "@ddd-ts/types",
3
- "version": "0.0.36",
4
- "main": "dist/index.js",
3
+ "version": "0.0.37",
5
4
  "types": "dist/index.d.ts",
6
5
  "license": "MIT",
7
6
  "repository": {
8
7
  "url": "git+https://github.com/ddd-ts/monorepo"
9
8
  },
10
9
  "scripts": {
11
- "build": "tsc"
10
+ "build": "tsdown --config node_modules/@ddd-ts/tools/tsdown.config.js"
12
11
  },
13
12
  "devDependencies": {
14
- "@ddd-ts/tools": "0.0.36"
13
+ "@ddd-ts/tools": "0.0.37"
14
+ },
15
+ "exports": {
16
+ ".": "./src/index.ts",
17
+ "./package.json": "./package.json"
18
+ },
19
+ "publishConfig": {
20
+ "exports": {
21
+ ".": "./dist/index.js",
22
+ "./package.json": "./package.json"
23
+ }
15
24
  }
16
25
  }
package/dist/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export type AbstractConstructor<T = any, P extends any[] = any[]> = abstract new (...args: P) => T;
2
- export type Constructor<T = any, P extends any[] = any[]> = new (...args: P) => T;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,CAC7B,CAAC,GAAG,GAAG,EACP,CAAC,SAAS,GAAG,EAAE,GAAG,GAAG,EAAE,IACrB,QAAQ,MAAM,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC;AAEnC,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,GAAG,EAAE,GAAG,GAAG,EAAE,IAAI,KAC1D,GAAG,IAAI,EAAE,CAAC,KACP,CAAC,CAAC"}
package/dist/index.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"","sourcesContent":["export type AbstractConstructor<\n T = any,\n P extends any[] = any[],\n> = abstract new (...args: P) => T;\n\nexport type Constructor<T = any, P extends any[] = any[]> = new (\n ...args: P\n) => T;\n"]}