Skip to content

Commit

Permalink
Merge pull request #66 from Rich-Harris/dts-buddy
Browse files Browse the repository at this point in the history
generate types with dts-buddy
  • Loading branch information
Rich-Harris committed May 22, 2023
2 parents 1499af2 + 55ae24e commit c7187ea
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.2
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
Expand Down
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.DS_Store
node_modules
*.d.ts
dist
/node_modules
/types
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@
],
"types": "./types/index.d.ts",
"devDependencies": {
"dts-buddy": "^0.0.4",
"publint": "^0.1.7",
"typescript": "^3.1.3",
"uvu": "^0.5.6"
},
"scripts": {
"build": "tsc",
"build": "dts-buddy",
"test": "uvu test",
"prepublishOnly": "npm test && publint && npm run build"
},
"license": "MIT",
"type": "module",
"packageManager": "pnpm@7.9.5"
"packageManager": "pnpm@8.5.1"
}
91 changes: 91 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"checkJs": true,
"declaration": true,
"declarationDir": "types",
"declarationMap": true,
"emitDeclarationOnly": true,
"noImplicitAny": true,
"diagnostics": true,
Expand Down

0 comments on commit c7187ea

Please sign in to comment.