Just upgraded @intlify/unplugin-vue-i18n to version 1.2.0 and I can't build my Vite app anymore because of the following issues:
Missing definition for type MessageFunctionReturn:
node_modules/@intlify/core-base/dist/core-base.d.ts:645:77 - error TS2552: Cannot find name 'MessageFunctionInternal'. Did you mean 'MessageFunctionReturn'?
645 export declare type MessageFunction<T = string> = MessageFunctionCallable | MessageFunctionInternal<T>;
~~~~~~~~~~~~~~~~~~~~~~~
By looking into the file I saw this line which I guess is related?
/* Excluded from this release type: MessageFunctionInternal */
Missing dependency @intlify/devtools-if:
node_modules/@intlify/core-base/dist/core-base.d.ts:8:38 - error TS2307: Cannot find module '@intlify/devtools-if' or its corresponding type declarations.
6 import type { IntlifyDevToolsEmitter } from '@intlify/devtools-if';
7 import type { IntlifyDevToolsHookPayloads } from '@intlify/devtools-if';
8 import { IntlifyDevToolsHooks } from '@intlify/devtools-if';
~~~~~~~~~~~~~~~~~~~~~~
Missing dependency @intlify/vue-devtools:
node_modules/@intlify/core-base/dist/core-base.d.ts:10:41 - error TS2307: Cannot find module '@intlify/vue-devtools' or its corresponding type declarations.
10 import type { VueDevToolsEmitter } from '@intlify/vue-devtools';
~~~~~~~~~~~~~~~~~~~~~~~
Expected behavior
MessageFunctionInternal should be declared somwhere
@intlify/vue-devtools and @intlify/@intlify/devtools-if should be added to the dependencies of the package.
Reporting a bug?
Just upgraded
@intlify/unplugin-vue-i18n
to version1.2.0
and I can't build my Vite app anymore because of the following issues:MessageFunctionReturn
:By looking into the file I saw this line which I guess is related?
/* Excluded from this release type: MessageFunctionInternal */
@intlify/devtools-if
:@intlify/vue-devtools
:Expected behavior
MessageFunctionInternal
should be declared somwhere@intlify/vue-devtools
and@intlify/@intlify/devtools-if
should be added to the dependencies of the package.Reproduction
npm run build
Issue Package
vite-plugin-vue-i18n
System Info
Screenshot
No response
Additional context
No response
Validations