The pie elements package set.
Elements are in packages
.
- whilst publishing w/ lerna will bump dependencies in the main packages, it won't do so for internal pie packages (ie controller/configure).
npm install -g lerna # don't use for now
npm install
- the packages use
independent
versioning, meaning that a change in 1 package won't bump another package's version. - use conventional commits syntax when commiting, lerna will detect the appropriate version bump.
cd packages/multiple-choice
pie info
Sometimes you want to link in libraries to the config ui:
cd docs/demo/.pie/.configure
npm link @pie-libs/editable-html # will link up the local editable-html package
lerna publish --conventional-commits # will add conventional commits to each packages CHANGELOG.md
# you can add --skip-npm and/or --skip-git if you want to bypass publishing to either.
TODO: we need to set up a flow where we merge
develop
->master
then run the publish cmd.