fix: bun monorepo complex deps
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"$schema": "https://inlang.com/schema/inlang-message-format",
|
||||
"hello": "Hello from the shared translations",
|
||||
"hero": "One shared translation source"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"$schema": "https://inlang.com/schema/inlang-message-format",
|
||||
"hello": "Hej fran de delade oversattningarna",
|
||||
"hero": "En gemensam oversattningskalla"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "@workspace/i18n",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"./messages": "./src/paraglide/messages.js",
|
||||
"./runtime": "./src/paraglide/runtime.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "paraglide-js compile --project ./project.inlang --outdir ./src/paraglide"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@inlang/paraglide-js": "catalog:"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "https://inlang.com/schema/project-settings",
|
||||
"baseLocale": "en",
|
||||
"locales": [
|
||||
"en",
|
||||
"sv"
|
||||
],
|
||||
"modules": [
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@4/dist/index.js",
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@2/dist/index.js"
|
||||
],
|
||||
"plugin.inlang.messageFormat": {
|
||||
"pathPattern": "./messages/{locale}.json"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user