mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-31 12:10:49 -04:00
Replaces the unmaintained `enquirer` package with `@inquirer/prompts` for all interactive CLI prompts. Fixes the `update -i` scrolling overflow bug where long choice lists were clipped in the terminal. Fixes #6643 ## User-facing changes - **`pnpm update -i` / `pnpm update -i --latest`**: Scrolling now works correctly when many packages are available; the new library uses visual-line-aware pagination via `usePagination` - **`pnpm audit --fix -i`**: Same scrolling fix for vulnerability selection - **`pnpm approve-builds`**: Interactive build approval prompts updated - **`pnpm patch`**: Version selection and "apply to all" prompts updated - **`pnpm patch-remove`**: Patch removal selection updated - **`pnpm publish`**: Branch confirmation prompt updated - **`pnpm login`**: Credential prompts updated - **`pnpm run` / `pnpm exec`** (with `verifyDepsBeforeRun=prompt`): Confirmation prompt updated ## Internal changes - `OtpEnquirer` DI interface changed from `{ prompt }` to `{ input }` - `LoginEnquirer` DI interface changed from `{ prompt }` to `{ input, password }` - `enquirer` removed from catalog and all 8 package.json files - `@inquirer/prompts` v8.4.3 added to catalog and all 8 package.json files - Removed `OtpPromptOptions` and `OtpPromptResponse` exports from `@pnpm/network.web-auth` (no longer needed) --------- Co-authored-by: Zoltan Kochan <z@kochan.io>
96 lines
3.0 KiB
JSON
96 lines
3.0 KiB
JSON
{
|
|
"name": "@pnpm/patching.commands",
|
|
"version": "1100.0.23",
|
|
"description": "Commands for creating patches",
|
|
"keywords": [
|
|
"pnpm",
|
|
"pnpm11",
|
|
"scripts"
|
|
],
|
|
"license": "MIT",
|
|
"funding": "https://opencollective.com/pnpm",
|
|
"repository": "https://github.com/pnpm/pnpm/tree/main/patching/commands",
|
|
"homepage": "https://github.com/pnpm/pnpm/tree/main/patching/commands#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/pnpm/pnpm/issues"
|
|
},
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"exports": {
|
|
".": "./lib/index.js"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"!*.map"
|
|
],
|
|
"scripts": {
|
|
"start": "tsgo --watch",
|
|
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"test": "pn compile && pn .test",
|
|
"prepublishOnly": "tsgo --build",
|
|
"compile": "tsgo --build && pn lint --fix",
|
|
".test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest"
|
|
},
|
|
"dependencies": {
|
|
"@inquirer/prompts": "catalog:",
|
|
"@pnpm/cli.utils": "workspace:*",
|
|
"@pnpm/config.reader": "workspace:*",
|
|
"@pnpm/config.writer": "workspace:*",
|
|
"@pnpm/constants": "workspace:*",
|
|
"@pnpm/crypto.hash": "workspace:*",
|
|
"@pnpm/error": "workspace:*",
|
|
"@pnpm/fetching.pick-fetcher": "workspace:*",
|
|
"@pnpm/fs.packlist": "workspace:*",
|
|
"@pnpm/installing.commands": "workspace:*",
|
|
"@pnpm/installing.modules-yaml": "workspace:*",
|
|
"@pnpm/lockfile.fs": "workspace:*",
|
|
"@pnpm/lockfile.utils": "workspace:*",
|
|
"@pnpm/patching.apply-patch": "workspace:*",
|
|
"@pnpm/pkg-manifest.reader": "workspace:*",
|
|
"@pnpm/resolving.parse-wanted-dependency": "workspace:*",
|
|
"@pnpm/store.connection-manager": "workspace:*",
|
|
"@pnpm/store.path": "workspace:*",
|
|
"@pnpm/types": "workspace:*",
|
|
"@pnpm/workspace.project-manifest-reader": "workspace:*",
|
|
"@pnpm/workspace.workspace-manifest-reader": "workspace:*",
|
|
"chalk": "catalog:",
|
|
"escape-string-regexp": "catalog:",
|
|
"is-windows": "catalog:",
|
|
"make-empty-dir": "catalog:",
|
|
"normalize-path": "catalog:",
|
|
"ramda": "catalog:",
|
|
"realpath-missing": "catalog:",
|
|
"render-help": "catalog:",
|
|
"safe-execa": "catalog:",
|
|
"semver": "catalog:",
|
|
"terminal-link": "catalog:",
|
|
"tinyglobby": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"@pnpm/logger": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "catalog:",
|
|
"@pnpm/logger": "workspace:*",
|
|
"@pnpm/patching.commands": "workspace:*",
|
|
"@pnpm/prepare": "workspace:*",
|
|
"@pnpm/registry-mock": "catalog:",
|
|
"@pnpm/test-fixtures": "workspace:*",
|
|
"@pnpm/testing.command-defaults": "workspace:*",
|
|
"@pnpm/workspace.projects-filter": "workspace:*",
|
|
"@types/is-windows": "catalog:",
|
|
"@types/normalize-path": "catalog:",
|
|
"@types/ramda": "catalog:",
|
|
"@types/semver": "catalog:",
|
|
"tempy": "catalog:",
|
|
"write-yaml-file": "catalog:"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.13"
|
|
},
|
|
"jest": {
|
|
"preset": "@pnpm/jest-config/with-registry"
|
|
}
|
|
}
|