ny
ny copied to clipboard
🗽 Fast, Proxy Package Manager for JavaScript
`"build": "yarn run test && yarn vite"` will still run yarn process twice, even with `ny`. We could translate such calls automatically to: `"build": "ny run test && ny run...
It would be nice to support the `why` command. 1. npm: ~~not supported~~ `npm ls` 2. yarn: [`yarn why`](https://classic.yarnpkg.com/lang/en/docs/cli/why/) 3. berry: [`yarn why`](https://yarnpkg.com/cli/why) 4. pnpm: [`pnpm why`](https://pnpm.io/cli/why)
Currently not tested on windows. I have no idea if works and we just need to tweak release workflow or it's totally broken.
`ny tes` - should suggest "did you mean. running`ny test`"?
* error messages should be visually distinctive (for example red) * In some cases error messages could be clearer: * `ny test` when executed not in js repo returns: "Error:...
It should be possible to do this per command (for example: `ny add --no-typings react`) and globally via config file.
Right now doing `ny` in empty repo results in an error because there is no lock file. Additionally, this would allow us to support `init` command.