mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-25 15:07:06 -04:00
* feat: add `pnpm runtime set` command and deprecate `pnpm env use` Add a new `pnpm runtime set <name> <version> [-g]` command (alias: `rt`) in a new `@pnpm/runtime.commands` package. It delegates to `pnpm add <name>@runtime:<version>` supporting node, deno, and bun. `pnpm env use` now prints a deprecation warning pointing users to the new command. * fix: address PR review feedback for runtime command - Use opts.dir as cwd when --global is not passed (instead of always using pnpmHomeDir) - Only pass --global-bin-dir when in global mode - Keep deprecated env command in help output for discoverability - Add Jest tests for the runtime command (7 tests)
29 lines
454 B
JSON
29 lines
454 B
JSON
{
|
|
"extends": "@pnpm/tsconfig",
|
|
"compilerOptions": {
|
|
"outDir": "lib",
|
|
"rootDir": "src"
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"../../__typings__/**/*.d.ts"
|
|
],
|
|
"references": [
|
|
{
|
|
"path": "../../cli/cli-utils"
|
|
},
|
|
{
|
|
"path": "../../config/config"
|
|
},
|
|
{
|
|
"path": "../../exec/pnpm-cli-runner"
|
|
},
|
|
{
|
|
"path": "../../packages/error"
|
|
},
|
|
{
|
|
"path": "../../packages/logger"
|
|
}
|
|
]
|
|
}
|