np icon indicating copy to clipboard operation
np copied to clipboard

A better `npm publish`

Results 132 np issues
Sort by recently updated
recently updated
newest added

I'd like to use rollup-plugin-version-injector to inject a version property into my bundle but i can't find the right hook to do so with np. I tried several of the...

## Description It is not including the `dist/` folder when it is specified to be ignored in `.gitignore` but not in `.npmignore`. ## Steps to reproduce 1. Ignore `dist` in...

## Description When i run the np command it useally takes like 3 minutes or more before something pops up on the screen. sometimes it just doesnt work at all...

## Description Publishing one of the packages from a workspace like [`packages/react-scripts`](https://github.com/upleveled/create-react-app/tree/main/packages/react-scripts) in [a `create-react-app` fork](https://github.com/upleveled/create-react-app) leads to a `ENOWORKSPACES` error when running the `npm config get registry` command: ```bash...

## Description Scenario: 1. Commit changes to the code. 2. Run `np`. Current behavior: 1. `np` prompts: `The following new files will not be part of your published package:` and...

`file:///usr/lib/node_modules/np/source/version.js:4 const {packageJson: pkg} = await readPackageUp(); ^ TypeError: Cannot destructure property 'packageJson' of '(intermediate value)' as it is undefined. at file:///usr/lib/node_modules/np/source/version.js:4:21`

## Description Some users won't need `np` to auto-generate release notes from commits, since GitHub now has a feature to do this when creating a release or they might have...

## Description Add possibility / instructions how to publish package with [provenance](https://docs.npmjs.com/generating-provenance-statements). **Is the feature request related to a problem?** No particular problem, but in general improving packages credibility by...

Error during "Creating release draft on GitHub" step ## Description Latest version of np, trying to publish a org package, all steps go through but the latest step "Creating release...

more information needed