We published momentum-abstract to offer the data from Momentum Design. In order to use momentum-abstract to build your own application, you need build Momentum Desgin data to the files you can use.
momentum-constructor contains building tools for momentum-abstract.
All the momentum-constructor package is under ./tools
.
-
All tools need to be available in sustainable integration tools
-
Input and output should be configable.
Common modules, including reading momentum-abstract files and momentum-abstract types.
A tool to rename files or json node.
A tool to build icons into svg symbol.
-
Folk momentum-constructor, edit the repo in your own repo and then send pull request. Please rebase commits before sending PR.
-
We assume your new package name is
momentum-constructor-new
, create folder namednew
under./tools
. -
Add publishConfig in your
package.json
.
"publishConfig": {
"access": "public"
}
-
We use jest for unit test.
-
Do not forget to add document and put your README.md 's link here.
-
If we find any updates under your package folder, we will try to get the next version of your package from NPM server and update the version in
package.json
. -
If you do not want to use update the version number, you can add
[skip ci]
as a part of the commit title. Be careful to use this feature, it will skip all the CI. -
We run a job twice a day to check our packages under
./tools
. If the version number is greater than npm server's version, we will run npm publish.
The title should be like feat(add): detail update
- feat
- doc
- test
- fix