artifact is a command-line interface which allows you:
- to boilerplate your project from multiple packages
- to merge the duplicated configuration files found across the packages
- to keep your configurations up to date
*.json(JSON or JSONC)
*rc(YAML, JSON or JSONC)
With node previously installed:
npm install -g @zokugun/artifact
Add the configuration packages:
artifact add @daiyam/base @daiyam/lang-ts @daiyam/npm-ts
With the previous command,
artifact will pull the following packages:
yeoman, a configuration package must be prefixed with
The configuration/boilerplate files must be put inside the folder
For example, the package @daiyam/artifact-base:
artifact-configs/base/ ├── configs/ │ ├── .commitlintrc.yml │ ├── .editorconfig │ ├── .lintstagedrc │ ├── gitignore │ ├── package.json │ └── ... ├── LICENSE ├── package.json └── README.md
Update your configurations with the command:
It is recommended to review the changes and manually revert any bad changes.
Furthermore, a configuration package can control how to apply an update via the file
artifact can be used in a yeoman generator. Ex: @daiyam/generator-new-project
Support this project by becoming a financial contributor.
Copyright © 2021-present Baptiste Augrain
Licensed under the MIT license.