@sit-onyx/nuxt 1.0.0-alpha.37 → 1.0.0-alpha.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -38,9 +38,11 @@ const module = defineNuxtModule({
|
|
|
38
38
|
register({
|
|
39
39
|
langDir: resolve("./runtime/locales"),
|
|
40
40
|
locales: [
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
{ code: "
|
|
41
|
+
// we need to use .js files instead of .ts because the .ts files would be compiled to .js in the build step, so
|
|
42
|
+
// when projects use this nuxt module, .ts files will throw a "can not find file" error
|
|
43
|
+
{ code: "de-DE", file: "de-DE.js" },
|
|
44
|
+
{ code: "en-US", file: "en-US.js" },
|
|
45
|
+
{ code: "ko-KR", file: "ko-KR.js" }
|
|
44
46
|
]
|
|
45
47
|
});
|
|
46
48
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sit-onyx/nuxt",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.39",
|
|
4
4
|
"description": "A Nuxt module to easily integrate onyx into Nuxt projects",
|
|
5
5
|
"author": "Schwarz IT KG",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"vue-i18n": "^9.13.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"sit-onyx": "^1.0.0-alpha.
|
|
41
|
+
"sit-onyx": "^1.0.0-alpha.158"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"dev": "nuxi dev playground",
|