mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-07 16:49:48 -04:00
Replace node-fetch with native undici for HTTP requests throughout pnpm. Key changes: - Replace node-fetch with undici's fetch() and dispatcher system - Replace @pnpm/network.agent with a new dispatcher module in @pnpm/network.fetch - Cache dispatchers via LRU cache keyed by connection parameters - Handle proxies via undici ProxyAgent instead of http/https-proxy-agent - Convert test mocking from nock to undici MockAgent where applicable - Add minimatch@9 override to fix ESM incompatibility with brace-expansion
81 lines
1.4 KiB
JSON
81 lines
1.4 KiB
JSON
{
|
|
"extends": "@pnpm/tsconfig",
|
|
"compilerOptions": {
|
|
"outDir": "lib",
|
|
"rootDir": "src",
|
|
"target": "es2020"
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"../../../__typings__/**/*.d.ts"
|
|
],
|
|
"references": [
|
|
{
|
|
"path": "../../../__utils__/prepare"
|
|
},
|
|
{
|
|
"path": "../../../bins/linker"
|
|
},
|
|
{
|
|
"path": "../../../building/policy"
|
|
},
|
|
{
|
|
"path": "../../../cli/meta"
|
|
},
|
|
{
|
|
"path": "../../../cli/utils"
|
|
},
|
|
{
|
|
"path": "../../../config/reader"
|
|
},
|
|
{
|
|
"path": "../../../core/error"
|
|
},
|
|
{
|
|
"path": "../../../core/logger"
|
|
},
|
|
{
|
|
"path": "../../../core/types"
|
|
},
|
|
{
|
|
"path": "../../../deps/graph-hasher"
|
|
},
|
|
{
|
|
"path": "../../../global/commands"
|
|
},
|
|
{
|
|
"path": "../../../global/packages"
|
|
},
|
|
{
|
|
"path": "../../../installing/client"
|
|
},
|
|
{
|
|
"path": "../../../installing/deps-restorer"
|
|
},
|
|
{
|
|
"path": "../../../installing/env-installer"
|
|
},
|
|
{
|
|
"path": "../../../lockfile/types"
|
|
},
|
|
{
|
|
"path": "../../../resolving/npm-resolver"
|
|
},
|
|
{
|
|
"path": "../../../shell/path"
|
|
},
|
|
{
|
|
"path": "../../../store/connection-manager"
|
|
},
|
|
{
|
|
"path": "../../../store/controller"
|
|
},
|
|
{
|
|
"path": "../../../testing/mock-agent"
|
|
},
|
|
{
|
|
"path": "../../../workspace/project-manifest-reader"
|
|
}
|
|
]
|
|
}
|