@tagproject/base-shared-config
v4.0.6
Published
Base shared config for tagproject packages
Downloads
63
Readme
Standard Shared Config for tagproject
packages with shared configs
Install
npm install @tagproject/base-shared-config --save-dev
Usage
- Add
"prepare:config": "base-shared-config"
toscripts
property in yourpackage.json
- Rename your
prepare
scripts toprepare:[NAME]
- Add
"prepare": "run-s prepare:*"
- Run
npm run prepare
Configs
extract actions and hooks:
.github
.husky
merge files:
.husky/commit-msg
.gitignore
.npmignore
append to package.json
:
scripts:
build
- build shared configgenerate
- run allgenerate:*
generate:changelog
- generate changelogprepare
- run allprepare:*
prepare:config
- rebuild local configsprepare:husky
- install husky hooksrelease
- lint, build config, generate changelog and bump package version
dependencies:
- changelog-guru:
4.x
- husky:
9.x
- npm-run-all:
4.x
configure:
{
"exports": "./lib/index.js",
"manager": "npm",
"type": "module",
"types": "./lib/index.d.ts"
}