Skip to content

Commit

Permalink
refactor: run npm-dts in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Nast committed Sep 13, 2023
1 parent a0d7cec commit 226af4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 283 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
registry-url: 'https://npm.pkg.github.com'
scope: '@sinc-gmbh'
- run: yarn install --frozen-lockfile
- run: npm-dts generate
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -32,6 +33,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
scope: '@sinc-gmbh'
- run: yarn install --frozen-lockfile
- run: npm-dts generate
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
278 changes: 0 additions & 278 deletions index.d.ts

This file was deleted.

7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"name": "@sinc-gmbh/textcontrol-promises",
"version": "1.0.1",
"version": "1.1.0",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"pack": "npm pack --pack-destination dist",
"dts": "npm-dts generate -L debug"
},
"scripts": {},
"devDependencies": {
"npm-dts": "1.3.12",
"typescript": "^5.0.4"
Expand Down

0 comments on commit 226af4e

Please sign in to comment.