Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.04 KB

HANDBOOK.md

File metadata and controls

48 lines (33 loc) · 1.04 KB

Handbook

Notes for myself that I don't want cluttering up the README

Deployment Process

Step 1: Determine which packages need to be published

pnpm run update-version

What packages need to be published?

    • typescript-types
    • browser
    • server

Step 2: Need to publish typescript-types?

pnpm run build:types && (cd packages/typescript-types/npm; pnpm publish)

Step 3: Need to publish browser?

pnpm run build:browser && (cd packages/browser; pnpm publish)

Step 4: Need to publish server?

    • 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 of typescript-types specified in mappings in build_npm.ts is unavailable.
pnpm run build:server && (cd packages/server/npm; pnpm publish)

Step 5: Push up HEAD to origin

Don't forget to push up the latest changes to origin when everything's been published!