1.2.3 • Published 3 years ago

@pie-ui/multi-trait-rubric v1.2.3

Weekly downloads
48
License
ISC
Repository
github
Last release
3 years ago

pie-ui

CircleCI

The pie custom elements only.

install

yarn global add lerna
yarn install # install root package and child packages

develop

  • 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.

Commands

ActionCmdNotes
testnpm test
lintnpm run lint
buildnpm run build
releasenpm run release
release nextnpm run release:nextWill release a new version tagged as next
watchscripts/watch --scope $package-nameThis can be useful when you have a package linked elsewhere and what your changes in src to be picked up
demoscripts/demo --scope $package-nameWill start the demo webapp targeting the scoped package
build demonpm run build:demoBuilds a static version of the demo site
deploy demonpm run deploy:demoDeploys static site to pie-ui.now.sh
deploy demo devnpm run deploy:demo:nextDeploys static site to pie-ui-next.now.sh

test single packages

To test an individual package you can do:

./node_modules/.bin/jest packages/calculator

running in a browser

scripts/demo $package-name

release

Merging to master will create a new release and build the demo site.

release @next

Merging to develop will release @next versions and build the next demo site.

dependencies

  • lerna js for handling multiple packages in a mono repo
  • pie to test/build the pies

package development

  • use jest for testing - it is set up at the root of this repo.
  • file names - use kebab-case for filenames