Skip to content

Commit

Permalink
Update maintainer's guide to clarify release instructions (#1556)
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-ashleyintech authored Nov 9, 2022
1 parent 85bf475 commit 5abfa5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/maintainers_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Releasing can feel intimidating at first, but rest assured: if you make a mistak
7. Publish the release to npm
- To publish, you need to be a member of the `slack Org` on npm and set up 2-Factor Auth with your passsword generator of choice. Before you can publish with npm, you must run `npm login` from the command line.

- As the final validation, run `mv package-lock.json package-lock.json.bk && rm -rf node_modules/ dist/ && npm i && npm test && npm pack` and confirm if there are `*.js`, `*.d.ts` files under the `dist` directory.
- As the final validation, within the package directory (ex: `packages/types`), run `mv package-lock.json package-lock.json.bk && rm -rf node_modules/ dist/ && npm i && npm test && npm pack` and confirm if there are `*.js`, `*.d.ts` files under the `dist` directory.

- Run `npm publish . --otp YOUR_OTP_CODE`. To generate an OTP (One Time Password), use your password generator of choice (Duo, 1Password)

Expand Down

0 comments on commit 5abfa5e

Please sign in to comment.