Import the lifecycle runner from pnpm/npm-lifecycle at 178f3d5 as @pnpm/exec.npm-lifecycle, so it is maintained alongside its consumer and a fix no longer needs a separate release. The source is converted to TypeScript with typed options, package data, log and child-process interfaces, which replaces the any-typed declaration in __typings__/local.d.ts. The legacy pkg._data unwrapping and the unused opts.config are dropped. The tests are ported to jest. The node-gyp wrappers ship with the package; the runner finds them beside lib in the package and in dist once the CLI bundle has flattened the module, where the CLI ships its own copy. The manifest updater keeps node-gyp-bin in the package's files. @yarnpkg/shell's declarations import micromatch's, so a packageExtensions entry gives it @types/micromatch. The Artistic-2.0 license is preserved. The imported code includes the fix for the terminal SIGINT being relayed to a script that already had it (pnpm/npm-lifecycle#62), which this brings to pnpm v11; a pseudo-terminal test covers it in the package and in the CLI. Related to pnpm/pnpm#7374
56 lines
944 B
JSON
56 lines
944 B
JSON
{
|
|
"extends": "@pnpm/tsconfig",
|
|
"compilerOptions": {
|
|
"outDir": "lib",
|
|
"rootDir": "src"
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"../../__typings__/**/*.d.ts"
|
|
],
|
|
"references": [
|
|
{
|
|
"path": "../../__utils__/prepare"
|
|
},
|
|
{
|
|
"path": "../../__utils__/test-fixtures"
|
|
},
|
|
{
|
|
"path": "../../__utils__/test-ipc-server"
|
|
},
|
|
{
|
|
"path": "../../bins/linker"
|
|
},
|
|
{
|
|
"path": "../../core/core-loggers"
|
|
},
|
|
{
|
|
"path": "../../core/error"
|
|
},
|
|
{
|
|
"path": "../../core/logger"
|
|
},
|
|
{
|
|
"path": "../../core/types"
|
|
},
|
|
{
|
|
"path": "../../fetching/directory-fetcher"
|
|
},
|
|
{
|
|
"path": "../../pkg-manifest/reader"
|
|
},
|
|
{
|
|
"path": "../../store/cafs-types"
|
|
},
|
|
{
|
|
"path": "../../store/controller-types"
|
|
},
|
|
{
|
|
"path": "../../workspace/task-scheduler"
|
|
},
|
|
{
|
|
"path": "../npm-lifecycle"
|
|
}
|
|
]
|
|
}
|