Matrix Collection Tools
Collection CI/CD.
[ Installation 💾 | Usage 🤓 | NPM 📦 | Github 🕸 ]
yarn add -D @sivrad/matrix-collection-toolsThis will compare files that match:
./collection.json./types/*.json
matrix lintOr using a script and yarn:
"scripts": {
"lint": "yarn matrix lint"
}This will build the files in ./src/.
matrix buildYou can quickly create a new type with this command.
matrix mk-type YourTypeNameThe main function of this the collection tools is the Build functionality.
This will create all the files for the collection package.
These files include:
./src/./src/index.ts./src/collection.ts./src/types./src/types/index.ts./src/types/YourTypeName.ts