- ES6 (generators are blacklisted).
- TAPE for unit tests.
- MonoRepo approach.
- As simple as possible.
In order to simplify the startup, please execute npm run dev. The script will
do all the necessary steps to:
- Install dependencies.
- Link packages to be used locally.
- Try to prune any packages which is possible to be removed.
We have 4 packages (for now) handling different parts of the system as isolated as possible.
Each packages should pass:
npm lint(it's available at root level).npm test(it's available at package level).- Demos should continue working each time we tag a version.
This step is required to run the tests, and each packages provides his own
npm run build. At root level we provide a npm run build which builds all
the packages in the correct order, so please, each time you want to release
a bundled version, remember to run npm run build at the root dir of the
repository.
Once everything works, you could continue with the official release of a new version, to help in the process, we are using a custom version of lerna.
- Go and update the 6
package.jsons manually switching to the version you will release. (This will change in a near future). lerna publish
nvm use 4.2.4(this version matches with the current version used for development).git clone ?(I deleted the repo => update this once I push it again).npm linkinside the directory where you cloned the custom version of lerna.lerna --versionshould show 2.0.0.