1.2.1 • Published 4 years ago

@dac-software/publish-tools v1.2.1

Weekly downloads
110
License
UNLICENSED
Repository
-
Last release
4 years ago

Publish tools

Package exports useful commands to automatically upgrading packages in few cases.

1) Command to set package version to last published version matching prerelease tag

npm-equal-pkg {featureBranchPreReleaseTag}

It is used to defining 'prerelease' version with some string which is related prerelease tag For example:

  • running command
npm-equal-pkg feature-branch-release
  • it results querying npm for last prerelease version with prerelease tag
feature-branch-release
  • function matches last version like:
1.0.0-feature-branch-release.12
  • function set npm version in package.json as last one

This function solves generating new prerelease tags after merging feature branches commited changes in package.json

2) Command to upgrade selected company packages to the freshest versions according to passed prerelease tag name.

npm-upgrade-pkg-versions {companyNpmNamespace} {featureBranchPreReleaseTag}

For example:

npm-upgrade-pkg-versions @dac-software feature-branch
  • it results querying npm for all packages from passed company for last prerelease version with prerelease tag
  • after, it installs new versions, saving changes in package.json / package-lock.json
1.2.1

4 years ago

1.2.0

4 years ago

1.2.0-alpha.20

4 years ago

1.2.0-alpha.18

4 years ago

1.2.0-alpha.19

4 years ago

1.2.0-alpha.17

4 years ago

1.2.0-alpha.16

4 years ago

1.2.0-alpha.15

4 years ago

1.2.0-alpha.14

4 years ago

1.2.0-alpha.13

4 years ago

1.2.0-alpha.12

4 years ago

1.2.0-alpha.10

4 years ago

1.2.0-alpha.11

4 years ago

1.2.0-alpha.9

4 years ago

1.2.0-alpha.8

4 years ago

1.2.0-alpha.7

4 years ago

1.2.0-alpha.6

4 years ago

1.2.0-alpha.4

4 years ago

1.2.0-alpha.5

4 years ago

1.2.0-alpha.2

4 years ago

1.2.0-alpha.3

4 years ago

1.2.0-alpha.1

4 years ago

1.2.0-alpha.0

4 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.5-dev

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.1-alpha.0

5 years ago

1.1.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago