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

## Description I have multiple yarn.lock files in my library: one for the library and one for an example application. I added the example application directory into .npmignore, but np...

## Description I just installed this for the first time and ran `np` and received an error. ## Steps to reproduce 1. npm install --global np 2. np ## Expected...

Fixes #729 ~This is starting out as a draft, because it ended up being a fairly big change. If it's unwanted, I can scrap this and do a smaller change...

Closes #88. Currently just a scaffold for a new prerequisite task. Related: https://github.com/sindresorhus/read-pkg/issues/28 Some questions: - What happens if the old version defined a Node version, but the new one...

Hi there! I know this has been raised a *quite* a few times (https://github.com/sindresorhus/np/issues/694, https://github.com/sindresorhus/np/issues/638, https://github.com/sindresorhus/np/issues/628, https://github.com/sindresorhus/np/issues/251), but I figured worth asking again because: 1. Since most of those issues,...

## Description I ran `np` and my `prepublishOnly` script failed during the npm publish step. `np` reported that `The project was rolled back to its previous state.` However, I still...

## Description `np` was working for me previously, but now when I publish a package the CLI hangs indefinitely on: "Publishing package using npm" When I check npm, the package...

## Description npm now asks to complete 2FA in the browser: ``` npm notice Publishing to https://registry.npmjs.org/ with tag latest and default access Authenticate your account at: https://www.npmjs.com/auth/cli/cda65f41-0edf4e1c6f4b Press ENTER...

enhancement
help wanted

Per https://github.com/sindresorhus/np/pull/683#issuecomment-1493433966, this is a reminder issue: https://github.com/listr2/listr2

enhancement
help wanted

Until https://github.com/avajs/ava/discussions/3213#discussioncomment-6587118 lands, testing on Node.js 20 with a custom loader requires a workaround for `AVA`. I felt that adding a test script was easier than using something like `cross-env`...