#Developer notes
yarn bootstrap
: Does yarn install
and yarn build
using lerna for all packages in the monorepo
yarn run dev
: Serve app.ts in sample app with hot-reload. Also rebuilds keysmith when changes are detected in packages/keysmith/src. Logs are streamed for both packages in the same terminal window.
Within /packages/keysmith
, there is a playground dir where you can experiment with Me3
class with hot-reload capabilities
###Steps:
- Go to root and run
yarn playground
- Make your changes in
packages/keysmith/src/__playgrounds__/index.ts
accordingly
###Prerequisites:
- Requires R/W
.npmrc
-> Obtain from @Ailin lerna
global installed on your machine
###Steps:
- Commit your changes
- On the root of the repo,
lerna publish
- Choose the version bump, please follow semantic versioning and feel free to make use of alpha versions if you're testing unstable code
- The publish process would actually run
eslint -fix
so you might end up with some uncommitted eslint changes. You can either make another commit
###What happens if your publish fails: TBC Reminder of things to cover:
- possible types of errors
- type errors
- failed tests
- git tag already exists
- no changes to publish
- how to completely recover from a failed publish attempt
- We have a separate GitHub Pages for Keysmith documentation
- Please go to Me3Keysmith-Documentation and update the documentation accordingly