np

A better `npm publish`

MIT License

Downloads
541K
Stars
7.5K
Committers
91

Bot releases are hidden (Show)

np - Latest Release

Published by sindresorhus 3 months ago

  • Allow publishConfig.registry to be npm default registry when using Yarn berry (#750) 6c5eee3

https://github.com/sindresorhus/np/compare/v10.0.6...v10.0.7

np -

Published by sindresorhus 4 months ago

  • Fix usage with pnpm and --any-branch or --branch (#745) d0c1493

https://github.com/sindresorhus/np/compare/v10.0.5...v10.0.6

np -

Published by sindresorhus 6 months ago

  • Fix npm 10 compatibility for real (#744) 34409be

https://github.com/sindresorhus/np/compare/v10.0.4...v10.0.5

np -

Published by sindresorhus 6 months ago

  • Fix compatibility with npm 10 (#743) 4caa295

https://github.com/sindresorhus/np/compare/v10.0.3...v10.0.4

np -

Published by sindresorhus 6 months ago

  • Fix publish OTP for Yarn Berry (#741) 02f60c7

https://github.com/sindresorhus/np/compare/v10.0.2...v10.0.3

np -

Published by sindresorhus 7 months ago

  • Use npm for tagging versions when pnpm is the chosen package manager (#739) 770418f

https://github.com/sindresorhus/np/compare/v10.0.1...v10.0.2

np -

Published by sindresorhus 7 months ago

  • Fix compatibility with npm 10 (#737) 9fdebd5

https://github.com/sindresorhus/np/compare/v10.0.0...v10.0.1

np -

Published by sindresorhus 8 months ago

Breaking

  • Remove the --yarn flag (#730) 4b3b599
    • The functionality is replaced by --package-manager. See below.

Improvements

  • Add --package-manager flag (#730) 4b3b599
    • This acts like the packageManager field in package.json. np will default to reading package.json, and look for lockfiles to determine the best package manager as a last resort.
  • Add pnpm support (#730) 4b3b599

https://github.com/sindresorhus/np/compare/v9.2.0...v10.0.0

np -

Published by sindresorhus 10 months ago

  • Fix yarn npm publish for scoped packages 8d3a984
  • Fix broken revert code after publish failure 819ed29

https://github.com/sindresorhus/np/compare/v9.1.0...v9.2.0

np -

Published by sindresorhus 11 months ago

  • Add Yarn Berry support (#723) 0d9522b

https://github.com/sindresorhus/np/compare/v9.0.0...v9.1.0

np -

Published by sindresorhus 11 months ago

Breaking

  • Require Node.js 18 and npm 9 6c2e00e

Improvements

  • Group unpublished files in folders (#716) c31c2bc
  • improve messages related to new files and dependencies (#702) ad7b09e

https://github.com/sindresorhus/np/compare/v8.0.4...v9.0.0

np -

Published by sindresorhus over 1 year ago

  • Handle first time display of dependencies (#707) 3f43d78

https://github.com/sindresorhus/np/compare/v8.0.3...v8.0.4

np -

Published by sindresorhus over 1 year ago

  • Fix skipping publish step (#706) 51dcc2d

https://github.com/sindresorhus/np/compare/v8.0.2...v8.0.3

np -

Published by sindresorhus over 1 year ago

  • Fix publish not working with Yarn 3d448c2
  • Include stack trace in errors 12fce88

https://github.com/sindresorhus/np/compare/v8.0.1...v8.0.2

np -

Published by sindresorhus over 1 year ago

  • Fix a crash in the new dependency check beb7db1

https://github.com/sindresorhus/np/compare/v8.0.0...v8.0.1

np -

Published by sindresorhus over 1 year ago

Breaking

  • Require Node.js 16 (#683) 72879e0

Improvements

  • Add 2FA support for npm version 9+ (#693) 9cb4bfd
  • Improve startup time (#688) eba203f
  • Improve the reliability of detecting which files will be included in the package (#682) a6ce792
  • Add check for new dependencies (#681) 6867fb9

https://github.com/sindresorhus/np/compare/v7.7.0...v8.0.0

np -

Published by sindresorhus over 1 year ago

  • Show new version in non-interactive mode (#679) a0a17fd

https://github.com/sindresorhus/np/compare/v7.6.4...v7.7.0

np -

Published by sindresorhus over 1 year ago

  • Fix UI prompt for new publicly scoped packages (#677) e71f691

https://github.com/sindresorhus/np/compare/v7.6.3...v7.6.4

np -

Published by sindresorhus almost 2 years ago

  • Fix npm 9 compatibility (#666) 0f5dd33

https://github.com/sindresorhus/np/compare/v7.6.2...v7.6.3

np -

Published by sindresorhus over 2 years ago

  • Work around npm bug with error reporting (#645) 6c871f9

https://github.com/sindresorhus/np/compare/v7.6.1...v7.6.2