chore: upgrade tsup & deps #829
Annotations
4 errors and 1 warning
Could not find a declaration file for module '@egoist/path-parser'. '/home/runner/work/tsup/tsup/test/node_modules/.pnpm/@egoist[email protected]/node_modules/@egoist/path-parser/dist/index.mjs' implicitly has an 'any' type.
|
Could not find a declaration file for module '@egoist/path-parser'. '/home/runner/work/tsup/tsup/test/node_modules/.pnpm/@egoist[email protected]/node_modules/@egoist/path-parser/dist/index.mjs' implicitly has an 'any' type.
|
test/utils.ts#L46
Error: Command failed with exit code 1: /home/runner/work/tsup/tsup/dist/cli-default.js input.ts --dts --dts-resolve
input.ts(1,33): error TS7016: Could not find a declaration file for module '@egoist/path-parser'. '/home/runner/work/tsup/tsup/test/node_modules/.pnpm/@egoist[email protected]/node_modules/@egoist/path-parser/dist/index.mjs' implicitly has an 'any' type.
There are types at '/home/runner/work/tsup/tsup/test/node_modules/@egoist/path-parser/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@egoist/path-parser' library may need to update its package.json or typings.
Error: error occured in dts build
at Worker.<anonymous> (/home/runner/work/tsup/tsup/dist/index.js:1533:26)
at Worker.emit (node:events:519:28)
at MessagePort.<anonymous> (node:internal/worker:263:53)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:820:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
DTS Build error
RollupError: [plugin dts] input.ts: Failed to compile. Check the logs above.
at getRollupError (/home/runner/work/tsup/tsup/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/parseAst.js:282:41)
at Object.error (/home/runner/work/tsup/tsup/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/parseAst.js:278:42)
at Object.error (/home/runner/work/tsup/tsup/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:804:32)
at Object.error (/home/runner/work/tsup/tsup/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:19759:42)
at generateDtsFromTs (/home/runner/work/tsup/tsup/dist/rollup.js:8048:22)
at /home/runner/work/tsup/tsup/dist/rollup.js:8055:59
at _nullishCoalesce (/home/runner/work/tsup/tsup/dist/rollup.js:1:473)
at Object.transform (/home/runner/work/tsup/tsup/dist/rollup.js:8055:18)
at /home/runner/work/tsup/tsup/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:989:40
CLI Building entry: input.ts
CLI Using tsconfig: ../../../tsconfig.json
CLI tsup v0.0.0-semantic-release
CLI Using tsup config: /home/runner/work/tsup/tsup/test/package.json
CLI Target: esnext
CJS Build start
CJS dist/input.js 754.00 B
CJS ⚡️ Build success in 32ms
DTS Build start
❯ Worker.<anonymous> dist/index.js:1533:26
❯ getRollupError node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/parseAst.js:282:41
❯ Object.error node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/parseAst.js:278:42
❯ Object.error node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:804:32
❯ Object.error node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:19759:42
❯ generateDtsFromTs dist/rollup.js:8048:22
❯ dist/rollup.js:8055:59
❯ _nullishCoalesce dist/rollup.js:1:473
❯ Object.transform dist/rollup.js:8055:18
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/index.js:118:26
❯ Module.run test/utils.ts:46:40
❯ test/example.test.ts:19:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: /home/runner/work/tsup/tsup/dist/cli-default.js input.ts --dts --dts-resolve', command: '/home/runner/work/tsup/tsup/dist/cli-default.js input.ts --dts --dts-resolve', escapedCommand: '"/home/runner/work/tsup/tsup/dist/cli-default.js" input.ts --dts --dts-resolve', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '\u001b[34mCLI\u001b[39m Building entry: input.ts\n\u001b[34mCLI\u001b[39m Using tsconfig: ../../../tsconfig.json\n\u001b[34mCLI\u001b[39m tsup v0.0.0-semantic-release\n\u001b[34mCLI\u001b[39m Using tsup config: /home/runner/work/tsup/tsup/test/package.json\n\u001b[34mCLI\u001b[39m Target: esnext\n\u001b[34mCJS\u001b[39m Build start\n\u001b[32mCJS\u001b[39m \u001b[1mdist/input.js \u001b[22m\u001b[32m754.00 B\u001b[39m\n\u001b[32mCJS\u001b[39m ⚡️ Build success in 32ms\n\u001b[34mDTS\u001b[39m Build start', s
|
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading