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 When specifying the contents flag like `np --contents=./../../ --preview"` it seems to be ignored. This may be caused by my setup but I am not sure because using...

`[email protected]` seems to hang when run as a local devDependency. ## Description I've installed `[email protected]` as a local devDependency.: `yarn add -D np`. When running `yarn np` (with or without...

`np` has grown from a simple shell script to a massively popular tool. This also means that the maintenance burden has increased substantially. I could use some help with triaging...

help wanted

## Description Check for scoped packages when publish to a private registry as mention in https://github.blog/2021-02-12-avoiding-npm-substitution-attacks. When a non-scoped package is published to a private registry, `np` could throw a...

No matter whether `"type": "module"` is used in package.json, we should use ESM for the config file. Blocked by https://github.com/davidtheclark/cosmiconfig/issues/224.

enhancement
help wanted

It looks like [Nexus Package Manager](https://www.sonatype.com/nexus/repository-oss-download) (which is pretty popular in corporate sector) doesn't support the `ls-collaborators` calls. This leads to the following error: ``` Command failed with exit code...

So it would be super useful to see the actual underlying commands (without running them) in order to help debug issues. Just like `--preview` but more verbose, maybe something like...

enhancement
help wanted

## Description `np` fails to publish package due to login error: ```console ? This scoped repo @scope/pkg hasn't been published. Do you want to publish it publicly? Yes ❯ Prerequisite...

bug
help wanted

Process fails at "Check git remote". I just initialized a new git repository using git init and git remote add origin GITLAB_URL and then pushed the files to master. My...

## Description `np` key is present in `package.json` with `yolo` set to `true` ```js "np": { "yarn": false, "contents": "dist", "yolo": true }, ``` But when running the command `np`,...

bug
help wanted