Project Status
Bundle Sizes
Versions
Our Badges
This is a mono-repo for all NodeJS related packages used throughout other AIR projects. This repository is managed by Lerna. Each package has its own subfolder in the packages folder, you can easily create a new package with the lerna create command.
Please see Lerna and working on air-node-packages on the air-dev repo
To get autocompletion for Lerna follow these steps:
git clone https://github.com/favware/zsh-lerna ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-lerna
zsh-lerna in your ~/.zshrc:plugins=(… zsh-lerna)
~/.zshrc or reload your terminalRun yarn lint from repository root
Run yarn test from repository root
To easily update failing snapshots for webcomponents run this command from repository root: yarn test:web
Run yarn build from repository root.
If it fails, try running yarn clean, yarn, and yarn pre-build before. This will clean up install and build files.
It is important webcomponents is build before building all others.
yarn build to ensure you're about to publish all latest versions. This repo has TypeScript code that needs to be compiled to JavaScript before it can be published!git push to finish the commit, go to the next step using lerna publish.lerna publish to start the publishing process. This will publish packages to NPM and commit the change to github.lerna publish failsgit tag -d <name_of_tag> [...<name_of_other_tag>].tig to find commit hash.git checkout <commit_hash>.git push --force.yarn build to ensure your fixes fix everything.Run yarn pre-build. This will compile all typescript files and create dist folders.
Check out the docs on github pages
Generated using TypeDoc