Skip to content

fix(types): emit bare specifier for auto-imports from subpaths #11066

fix(types): emit bare specifier for auto-imports from subpaths

fix(types): emit bare specifier for auto-imports from subpaths #11066

Triggered via pull request August 29, 2026 14:28
Status Success
Total duration 2m 4s
Artifacts

ci.yml

on: pull_request
Matrix: tests-checks
Matrix: tests-rolldown
Matrix: tests-rollup
publish-nitro-nightly
publish-nitro-nightly
publish-pkg-pr-new
48s
publish-pkg-pr-new
Fit to window
Zoom out
Zoom in

Annotations

50 errors, 2 warnings, and 1 notice
tests-checks (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_moduleNodeToLoadAddedImports' of exported anonymous class type may not be private or protected.
tests-checks (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_logger' of exported anonymous class type may not be private or protected.
tests-checks (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_getPluginContext' of exported anonymous class type may not be private or protected.
tests-checks (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_getAddedImports' of exported anonymous class type may not be private or protected.
tests-checks (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_devEngine' of exported anonymous class type may not be private or protected.
tests-checks (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_closed' of exported anonymous class type may not be private or protected.
tests-checks (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_buildStartPromise' of exported anonymous class type may not be private or protected.
tests-checks (ubuntu-latest): src/build/vite/dev.ts#L73
Property '#preventExternalize' of exported anonymous class type may not be private or protected.
tests-checks (ubuntu-latest): src/build/vite/dev.ts#L73
Property '#entry' of exported anonymous class type may not be private or protected.
tests-checks (ubuntu-latest): src/build/vite/dev.ts#L73
Return type of exported function has or is using name 'DepsOptimizer' from external module "/home/runner/work/nitro/nitro/node_modules/.pnpm/vite@8.2.1_@types+node@26.2.0_esbuild@0.28.2_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/index" but cannot be named.
tests-rolldown (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_moduleNodeToLoadAddedImports' of exported anonymous class type may not be private or protected.
tests-rolldown (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_logger' of exported anonymous class type may not be private or protected.
tests-rolldown (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_getPluginContext' of exported anonymous class type may not be private or protected.
tests-rolldown (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_getAddedImports' of exported anonymous class type may not be private or protected.
tests-rolldown (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_devEngine' of exported anonymous class type may not be private or protected.
tests-rolldown (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_closed' of exported anonymous class type may not be private or protected.
tests-rolldown (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_buildStartPromise' of exported anonymous class type may not be private or protected.
tests-rolldown (ubuntu-latest): src/build/vite/dev.ts#L73
Property '#preventExternalize' of exported anonymous class type may not be private or protected.
tests-rolldown (ubuntu-latest): src/build/vite/dev.ts#L73
Property '#entry' of exported anonymous class type may not be private or protected.
tests-rolldown (ubuntu-latest): src/build/vite/dev.ts#L73
Return type of exported function has or is using name 'DepsOptimizer' from external module "/home/runner/work/nitro/nitro/node_modules/.pnpm/vite@8.2.1_@types+node@26.2.0_esbuild@0.28.2_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/index" but cannot be named.
publish-pkg-pr-new: src/build/vite/dev.ts#L73
Property '_moduleNodeToLoadAddedImports' of exported anonymous class type may not be private or protected.
publish-pkg-pr-new: src/build/vite/dev.ts#L73
Property '_logger' of exported anonymous class type may not be private or protected.
publish-pkg-pr-new: src/build/vite/dev.ts#L73
Property '_getPluginContext' of exported anonymous class type may not be private or protected.
publish-pkg-pr-new: src/build/vite/dev.ts#L73
Property '_getAddedImports' of exported anonymous class type may not be private or protected.
publish-pkg-pr-new: src/build/vite/dev.ts#L73
Property '_devEngine' of exported anonymous class type may not be private or protected.
publish-pkg-pr-new: src/build/vite/dev.ts#L73
Property '_closed' of exported anonymous class type may not be private or protected.
publish-pkg-pr-new: src/build/vite/dev.ts#L73
Property '_buildStartPromise' of exported anonymous class type may not be private or protected.
publish-pkg-pr-new: src/build/vite/dev.ts#L73
Property '#preventExternalize' of exported anonymous class type may not be private or protected.
publish-pkg-pr-new: src/build/vite/dev.ts#L73
Property '#entry' of exported anonymous class type may not be private or protected.
publish-pkg-pr-new: src/build/vite/dev.ts#L73
Return type of exported function has or is using name 'DepsOptimizer' from external module "/home/runner/work/nitro/nitro/node_modules/.pnpm/vite@8.2.1_@types+node@26.2.0_esbuild@0.28.2_jiti@2.7.0_yaml@2.9.0/node_modules/vite/dist/node/index" but cannot be named.
tests-rollup (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_normalizeRawLog' of exported anonymous class type may not be private or protected.
tests-rollup (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_moduleNodeToLoadAddedImports' of exported anonymous class type may not be private or protected.
tests-rollup (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_logger' of exported anonymous class type may not be private or protected.
tests-rollup (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_getPluginContext' of exported anonymous class type may not be private or protected.
tests-rollup (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_getAddedImports' of exported anonymous class type may not be private or protected.
tests-rollup (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_closed' of exported anonymous class type may not be private or protected.
tests-rollup (ubuntu-latest): src/build/vite/dev.ts#L73
Property '_buildStartPromise' of exported anonymous class type may not be private or protected.
tests-rollup (ubuntu-latest): src/build/vite/dev.ts#L73
Property '#preventExternalize' of exported anonymous class type may not be private or protected.
tests-rollup (ubuntu-latest): src/build/vite/dev.ts#L73
Property '#entry' of exported anonymous class type may not be private or protected.
tests-rollup (ubuntu-latest): src/build/vite/dev.ts#L73
Return type of exported function has or is using name 'DepsOptimizer' from external module "/home/runner/work/nitro/nitro/node_modules/.pnpm/vite@7.3.6_@types+node@26.2.0_jiti@2.7.0_lightningcss@1.33.0_yaml@2.9.0/node_modules/vite/dist/node/index" but cannot be named.
tests-rolldown (windows-latest): src/build/vite/dev.ts#L73
Property '_moduleNodeToLoadAddedImports' of exported anonymous class type may not be private or protected.
tests-rolldown (windows-latest): src/build/vite/dev.ts#L73
Property '_logger' of exported anonymous class type may not be private or protected.
tests-rolldown (windows-latest): src/build/vite/dev.ts#L73
Property '_getPluginContext' of exported anonymous class type may not be private or protected.
tests-rolldown (windows-latest): src/build/vite/dev.ts#L73
Property '_getAddedImports' of exported anonymous class type may not be private or protected.
tests-rolldown (windows-latest): src/build/vite/dev.ts#L73
Property '_devEngine' of exported anonymous class type may not be private or protected.
tests-rolldown (windows-latest): src/build/vite/dev.ts#L73
Property '_closed' of exported anonymous class type may not be private or protected.
tests-rolldown (windows-latest): src/build/vite/dev.ts#L73
Property '_buildStartPromise' of exported anonymous class type may not be private or protected.
tests-rolldown (windows-latest): src/build/vite/dev.ts#L73
Property '#preventExternalize' of exported anonymous class type may not be private or protected.
tests-rolldown (windows-latest): src/build/vite/dev.ts#L73
Property '#entry' of exported anonymous class type may not be private or protected.
tests-rolldown (windows-latest): src/build/vite/dev.ts#L73
Return type of exported function has or is using name 'DepsOptimizer' from external module "D:/a/nitro/nitro/node_modules/.pnpm/vite@8.2.1_@types+node@26.2_c6b5deef4bc428f0c02469f5474961c0/node_modules/vite/dist/node/index" but cannot be named.
typescript(no-non-null-asserted-optional-chain): src/routing.ts#L216
src/routing.ts:216:35: Optional chain expressions can return undefined by design: using a non-null assertion is unsafe and wrong.
eslint(no-eval): test/unit/routing.test.ts#L14
test/unit/routing.test.ts:14:10: eval can be harmful.
publish-pkg-pr-new
{ "workflowData": { "owner": "nitrojs", "repo": "nitro", "sha": "d59e2588e1605b00cee611faf9da96f1c80f5f60", "ref": "4565", "headBranch": "fix/auto-import-types" }, "key": "J25NZz7ENI", "runId": 33257712061, "webhookDebug": { "action": "requested", "head_branch": "fix/auto-import-types", "head_repository_full_name": "nitrojs/nitro", "full_name": "nitrojs/nitro", "isPullRequest": true, "prNumber": 4565, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "nitrojs/nitro:fix/auto-import-types", "oldPrDataHash": "B2qM3OaGf2", "lookupKey": "nitrojs/nitro:fix/auto-import-types", "data": { "owner": "nitrojs", "repo": "nitro", "sha": "d59e2588e1605b00cee611faf9da96f1c80f5f60", "ref": "4565", "headBranch": "fix/auto-import-types" } }, "currentCursor": { "sha": "51da3cbe017452ee71f4e21f911839a0cd0be2a1", "timestamp": 33255547653 }, "pkgPrNewVersion": "0.0.88" }