Skip to content

Commit

Permalink
Add HANDBOOK.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterKale committed Aug 21, 2023
1 parent 6a80f97 commit bf55d53
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions HANDBOOK.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Handbook

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

## Deployment Process

### Determine which packages need to be published

```
npx lerna version --no-push
```

What packages need to be published?

1.
- [ ] typescript-types
1.
- [ ] browser
1.
- [ ] server

### 1. Need to publish typescript-types?

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

### 2. Need to publish browser?

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

### 3. Need to publish Server?

1.
- [ ] 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)
```

0 comments on commit bf55d53

Please sign in to comment.