包详细信息

@tagproject/base-shared-config

tagproject55MIT4.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"
}

更新日志

Important Changes

Dependencies

<summary>Peer Dependencies</summary> - Bumped changelog-guru from 4.x to 5.x

Contributors

@keindev