0.0.14 • Published 1 year ago

@linkurious/code-tools v0.0.14

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Code automation tools

npm i -D @linkurious/code-tools

sync_versions

$ sync_versions

Syncs versions between package.json, .version, .bumpversion.cfg. Use in postbump npm script:

"scripts": {
  "postversion": "sync_versions", // will sync everything after 'npm version ...'
  ...
}

copy_npmrc

$ copy_npmrc

Copies .npmrc to all the subpackages in packages directory of a monorepository. Needed to make lerna work with Node<16.x.

"scripts": {
  "postinstall": "copy_npmrc && lerna bootstrap", // will copy .npmrc to all subpackages
  ...
}
0.0.14

1 year ago

0.0.10

1 year ago

0.0.12

1 year ago

0.0.8

2 years ago

0.0.6

2 years ago

0.0.4

3 years ago

0.0.2

3 years ago