feat!: migrate to Vite 6 environment API #3822
ci.yml
on: pull_request
test
36s
test-react-server-basic
36s
test-react-server-basic-swc
36s
test-react-server-others
38s
test-react-server-package
38s
test-vite-node-miniflare
38s
test-vite-glob-routes
40s
test-pre-bundle-new-url
35s
Annotations
16 errors and 1 warning
test-pre-bundle-new-url
Type '(this: void, name: string, _config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => Promise<{ resolve: { noExternal: string[]; }; dev: { ...; }; } | undefined>' is not assignable to type 'ObjectHook<(this: void, name: string, config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => void | EnvironmentOptions | Promise<...> | null> | undefined'.
|
test-pre-bundle-new-url
Process completed with exit code 1.
|
test-react-server-basic
Type '(this: void, name: string, _config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => Promise<{ resolve: { noExternal: string[]; }; dev: { ...; }; } | undefined>' is not assignable to type 'ObjectHook<(this: void, name: string, config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => void | EnvironmentOptions | Promise<...> | null> | undefined'.
|
test-react-server-basic
Process completed with exit code 1.
|
test
Type '(this: void, name: string, _config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => Promise<{ resolve: { noExternal: string[]; }; dev: { ...; }; } | undefined>' is not assignable to type 'ObjectHook<(this: void, name: string, config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => void | EnvironmentOptions | Promise<...> | null> | undefined'.
|
test
Process completed with exit code 1.
|
test-react-server-basic-swc
Type '(this: void, name: string, _config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => Promise<{ resolve: { noExternal: string[]; }; dev: { ...; }; } | undefined>' is not assignable to type 'ObjectHook<(this: void, name: string, config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => void | EnvironmentOptions | Promise<...> | null> | undefined'.
|
test-react-server-basic-swc
Process completed with exit code 1.
|
test-react-server-others
Type '(this: void, name: string, _config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => Promise<{ resolve: { noExternal: string[]; }; dev: { ...; }; } | undefined>' is not assignable to type 'ObjectHook<(this: void, name: string, config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => void | EnvironmentOptions | Promise<...> | null> | undefined'.
|
test-react-server-others
Process completed with exit code 1.
|
test-react-server-package
Type '(this: void, name: string, _config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => Promise<{ resolve: { noExternal: string[]; }; dev: { ...; }; } | undefined>' is not assignable to type 'ObjectHook<(this: void, name: string, config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => void | EnvironmentOptions | Promise<...> | null> | undefined'.
|
test-react-server-package
Process completed with exit code 1.
|
test-vite-node-miniflare
Type '(this: void, name: string, _config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => Promise<{ resolve: { noExternal: string[]; }; dev: { ...; }; } | undefined>' is not assignable to type 'ObjectHook<(this: void, name: string, config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => void | EnvironmentOptions | Promise<...> | null> | undefined'.
|
test-vite-node-miniflare
Process completed with exit code 1.
|
test-vite-glob-routes
Type '(this: void, name: string, _config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => Promise<{ resolve: { noExternal: string[]; }; dev: { ...; }; } | undefined>' is not assignable to type 'ObjectHook<(this: void, name: string, config: EnvironmentOptions, env: ConfigEnv & { isSsrTargetWebworker?: boolean | undefined; }) => void | EnvironmentOptions | Promise<...> | null> | undefined'.
|
test-vite-glob-routes
Process completed with exit code 1.
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|