@sivrad/matrix-collection-tools
v1.0.24
Published
Collection CI/CD.
Downloads
32
Readme
Installation
yarn add -D @sivrad/matrix-collection-tools
Usage
Lint the Collection
This will compare files that match:
./collection.json
./types/*.json
matrix lint
Or using a script and yarn:
"scripts": {
"lint": "yarn matrix lint"
}
Build the Collection Package
This will build the files in ./src/
.
matrix build
Make a new Type
You can quickly create a new type with this command.
matrix mk-type YourTypeName
Build
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