-
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a80f97
commit bf55d53
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
``` |