-
-
Notifications
You must be signed in to change notification settings - Fork 261
Closed
Description
My project builds just fine on version 8.2.0
but is unable to build on 8.2.1
.
When running pnpm i
on 8.2.1
:
# after running pnpm install
packages/redacted
│└─┬ tsup 8.2.1
│ └─┬ fdir 6.1.1
│ └── ✕ unmet peer picomatch@3.x: found 4.0.2 in tsup
When running tsup
:
# after running tsup
> tsup
Cannot find src
Installing peers did not fix the issue for me; pinning my version to 8.2.0
in my package.json
fixed the issue.
My tsconfig:
{
"compilerOptions": {
"rootDir": ".",
"outDir": "dist"
},
"include": ["**/*.ts", ".eslintrc.cjs"]
}
My tsup.config.ts
:
import { defineConfig } from "tsup";
const tsupConfig = defineConfig({
entry: ["src"],
format: ["esm"]
})
export default tsupConfig;
The relevant parts of my package.json:
{
"name": "@monorepo/redacted",
"type": "module",
"exports": {
"./redacted": {
"types": "./src/redacted.ts",
"import": "./dist/redacted.js"
}
},
"scripts": {
"build": "tsup"
},
"devDependencies": {
"tsup": "8.2.1",
"typescript": "5.5.3"
},
"packageManager": "pnpm@9.5.0",
"engines": {
"node": ">=20"
}
}
dbolotin, lkwr and mayank1513
Metadata
Metadata
Assignees
Labels
No labels