Matrix Collection Tools
Collection CI/CD.
[ Installation 💾 | Usage 🤓 | NPM 📦 | Github 🕸 ]
yarn add -D @sivrad/matrix-collection-tools
This will compare files that match:
./collection.json
./types/*.json
matrix lint
Or using a script and yarn:
"scripts": {
"lint": "yarn matrix lint"
}
This will build the files in ./src/
.
matrix build
You can quickly create a new type with this command.
matrix mk-type YourTypeName
The 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