dequanto 0.1.3 → 0.1.4

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.
@@ -21,6 +21,9 @@ jobs:
21
21
  - run:
22
22
  name: Build Project
23
23
  command: npm run build
24
+ - run:
25
+ name: Build d.ts Types
26
+ command: npm run build-types
24
27
  - run:
25
28
  name: Launch Server
26
29
  command: npm run server
@@ -26,6 +26,7 @@ jobs:
26
26
 
27
27
  - run: npm ci
28
28
  - run: npm run build
29
+ - run: npm run build-types
29
30
  - run: npm run test-node
30
31
  - run: npm publish --provenance --access public
31
32
  env:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dequanto",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "author": {
5
5
  "name": "Alex Kit",
6
6
  "email": "alex.kit@atmajs.com"
@@ -21,8 +21,7 @@
21
21
  "build": "app-bundler",
22
22
  "build-cjs": "app-bundler --app cjs",
23
23
  "build-esm": "app-bundler --app esm",
24
- "build-dts": "tsc -p tsconfig.umd.json && atma run tools/build-dts",
25
- "build-types": "tsc -p tsconfig-src.json",
24
+ "build-types": "tsc -p tsconfig-src.json && atma run tools/copy-dts",
26
25
  "watch": "app-bundler --watch",
27
26
  "server": "atma server --TEST",
28
27
  "test": "atma --openssl-legacy-provider test --config='settings.base=./' --TEST",
package/tools/copy-dts.ts CHANGED
@@ -43,6 +43,8 @@ async function process () {
43
43
  }
44
44
 
45
45
  }).toArrayAsync();
46
+
47
+ await Directory.removeAsync(`./lib/types/`);
46
48
  }
47
49
 
48
50
  export { process }