feat(vitepress): add @i18n-micro/vitepress package #1194
Annotations
9 errors and 1 warning
|
ci
Process completed with exit code 2.
|
|
ci:
packages/vitepress/vite.config.mts#L56
No overload matches this call.
|
|
ci:
packages/vitepress/tests/with-i18n-micro.test.ts#L185
Type '((to: string) => unknown) | undefined' is not assignable to type '(to: string) => unknown'.
|
|
ci:
packages/vitepress/tests/with-i18n-micro.test.ts#L143
Type '((to: string) => unknown) | undefined' is not assignable to type '(to: string) => unknown'.
|
|
ci:
packages/vitepress/tests/with-i18n-micro.test.ts#L49
Property 'vite' does not exist on type '{}'.
|
|
ci:
packages/vitepress/tests/define-theme.test.ts#L97
Type '((to: string) => unknown) | undefined' is not assignable to type '(to: string) => unknown'.
|
|
ci:
packages/vitepress/tests/define-theme.test.ts#L59
Property 'enhanceApp' does not exist on type '{ Layout: never; }'.
|
|
ci:
packages/vitepress/tests/define-theme.test.ts#L55
Type '((to: string) => unknown) | undefined' is not assignable to type '(to: string) => unknown'.
|
|
ci:
packages/vitepress/src/define-theme.ts#L55
Conversion of type 'Promise<{ default: typeof import("virtual:i18n-micro/config"); config: { defaultLocale: string; fallbackLocale: string; locales: Locale[]; localeCodes: string[]; translationDir: string | null; autoDetect: boolean; redirectToDefault: boolean; localeCookie: string | null; missingWarn: boolean | null; }; }>' to type 'Promise<{ config: VirtualI18nConfig; }>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
|
ci
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|