Skip to content

Commit c7187ea

Browse files
authored
Merge pull request #66 from Rich-Harris/dts-buddy
generate types with dts-buddy
2 parents 1499af2 + 55ae24e commit c7187ea

File tree

5 files changed

+98
-6
lines changed

5 files changed

+98
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- run: git config --global core.autocrlf false
2525
- uses: actions/checkout@v3
26-
- uses: pnpm/action-setup@v2.2.2
26+
- uses: pnpm/action-setup@v2
2727
- uses: actions/setup-node@v3
2828
with:
2929
node-version: ${{ matrix.node-version }}

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
.DS_Store
2-
node_modules
3-
*.d.ts
4-
dist
2+
/node_modules
3+
/types

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,17 @@
1717
],
1818
"types": "./types/index.d.ts",
1919
"devDependencies": {
20+
"dts-buddy": "^0.0.4",
2021
"publint": "^0.1.7",
2122
"typescript": "^3.1.3",
2223
"uvu": "^0.5.6"
2324
},
2425
"scripts": {
25-
"build": "tsc",
26+
"build": "dts-buddy",
2627
"test": "uvu test",
2728
"prepublishOnly": "npm test && publint && npm run build"
2829
},
2930
"license": "MIT",
3031
"type": "module",
31-
"packageManager": "pnpm@7.9.5"
32+
"packageManager": "pnpm@8.5.1"
3233
}

pnpm-lock.yaml

Lines changed: 91 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"checkJs": true,
55
"declaration": true,
66
"declarationDir": "types",
7+
"declarationMap": true,
78
"emitDeclarationOnly": true,
89
"noImplicitAny": true,
910
"diagnostics": true,

0 commit comments

Comments
 (0)