Skip to content

Commit

Permalink
Add declaration to publish step.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Jul 2, 2023
1 parent 03f4beb commit 8eff762
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ jobs:
# already-used version number. By running `npm publish` after `git push`,
# back-to-back merges will cause the first merge's workflow to fail but
# the second's will succeed.
- run: npm run build
name: Build with Rollup
-
run: npm publish
env:
Expand Down
16 changes: 5 additions & 11 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "ep_table_of_contents",
"version": "0.3.56",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": ["dist"],
"type": "module",
"description": "View a table of contents for your pad",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"outDir": "./dist/",
/* Visit https://aka.ms/tsconfig to read more about this file */

"declaration": true,
/* Projects */
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
Expand Down

0 comments on commit 8eff762

Please sign in to comment.