Skip to content

Commit 4f8cc81

Browse files
committed
tsup integration + deployment checklist
1 parent 936d857 commit 4f8cc81

File tree

6 files changed

+1364
-20
lines changed

6 files changed

+1364
-20
lines changed

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ jest.config.js
1010
.prettierrc.json
1111
.prettierignore
1212
*.tsbuildinfo
13-
package-test/
13+
package-test/
14+
DEPLOYMENT.md
15+
tsup.config.ts

DEPLOYMENT.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Deployment Checklist
2+
- run tests with `npm test`
3+
- build package with `npm run build`
4+
- update the package.json file with new version
5+
- run `npm pack --dry-run` and inspect the .tgz contents
6+
- create tarball (.tgz) using `npm pack`
7+
- create an external project and test the package using the tarball
8+
- publish the package to npm `npm publish`
9+
- create a new tag and release with the tarball on github

0 commit comments

Comments
 (0)