Skip to content

Commit 621b15d

Browse files
committed
chore: add emit and clean commands for .d.mts.map stuff
1 parent 2cda635 commit 621b15d

File tree

3 files changed

+11
-52
lines changed

3 files changed

+11
-52
lines changed

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,11 @@ coverage
33
**/dist
44
**/*.dist.*
55
*.tsbuildinfo
6+
*.d.cts
7+
*.d.cts.map
8+
*.d.mts
9+
*.d.mts.map
10+
**/*.d.cts
11+
**/*.d.cts.map
12+
**/*.d.mts
13+
**/*.d.mts.map

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"version": "2.0.8",
44
"type": "module",
55
"main": "ubik.mjs",
6-
"types": "ubik.d.ts",
76
"homepage": "https://github.com/hackbg/ubik",
87
"repository": "hackbg/ubik",
98
"bin": {
@@ -27,7 +26,9 @@
2726
"release": "./ubik.cli.mjs release --access public --otp 123123",
2827
"check": "tsc --noEmit",
2928
"test": "time ./ubik.test.mjs",
30-
"cov": "time c8 -x .fixtures -x '**/*.test.mjs' -r text -r html ./ubik.test.mjs"
29+
"cov": "time c8 -x .fixtures -x '**/*.test.mjs' -r text -r html ./ubik.test.mjs",
30+
"emit": "tsc --declaration --emitDeclarationOnly --declarationMap",
31+
"clean": "find . \\( -name \\*.d.\\*ts -o -name \\*.d.\\*ts.map \\) ! -path '*/node_modules/*' -exec rm {} \\;"
3132
},
3233
"dependencies": {
3334
"@hackbg/logs": "^2.0.8",

ubik.d.ts

-50
This file was deleted.

0 commit comments

Comments
 (0)