Notes for myself that I don't want cluttering up the README
Run this first to update packages/typescript-types/dom.ts then commit the changes:
(cd packages/typescript-types; pnpm run extract-dom-types)
Run this command, but cancel out the first time! Use it to determine which packages need entries in CHANGELOG.md!
pnpm run update-version
What packages need to be published?
-
- typescript-types
-
- browser
-
- server
Add entries to CHANGELOG.md, then re-run the command but go all the way through with it so that the latest changes have an entry in the CHANGELOG that gets bundled with the release.
pnpm run publish:types
pnpm run publish:browser
-
- Make sure the correct version of
typescript-types
is on NPM - The
npm install
step that dnt performs while building the project pulls from NPM. The build will fail if the version oftypescript-types
specified inmappings
in build_npm.ts is unavailable.
- Make sure the correct version of
pnpm run publish:server
Don't forget to push up the latest changes to origin
when everything's been published!