@tagproject/base-shared-config

v4.0.6
Base shared config for tagproject packages
base config shared

Package logo

Build Status npm Standard Shared Config

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" to scripts property in your package.json
  • Rename your prepare scripts to prepare:[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 config
  • generate - run all generate:*
  • generate:changelog - generate changelog
  • prepare - run all prepare:*
  • prepare:config - rebuild local configs
  • prepare:husky - install husky hooks
  • release - lint, build config, generate changelog and bump package version

dependencies:

configure:

{
  "exports": "./lib/index.js",
  "manager": "npm",
  "type": "module",
  "types": "./lib/index.d.ts"
}
npm i @tagproject/base-shared-config

Metadata

  • MIT
  • >=15.14.0
  • Daniil Ryazanov
  • released 2/12/2024

Downloads

Maintainers