@sit-onyx/nuxt 1.0.1 → 1.1.0-dev-20260617080625

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.mjs CHANGED
@@ -2,7 +2,7 @@ import { defineNuxtModule, useLogger, createResolver, addComponent, addPlugin }
2
2
  import { stat } from 'node:fs/promises';
3
3
  import * as onyx from 'sit-onyx';
4
4
 
5
- const module = defineNuxtModule({
5
+ const module$1 = defineNuxtModule({
6
6
  meta: {
7
7
  name: "@sit-onyx/nuxt",
8
8
  configKey: "onyx"
@@ -69,4 +69,4 @@ function getModuleIndex(modules, ...moduleNames) {
69
69
  return -1;
70
70
  }
71
71
 
72
- export { module as default };
72
+ export { module$1 as default };
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ // @ts-check
2
+ import { defineI18nLocale } from "#i18n";
3
+ import bgBG from "sit-onyx/locales/bg-BG.json";
4
+
5
+ export default defineI18nLocale(() => {
6
+ return { onyx: bgBG };
7
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ // @ts-check
2
+ import { defineI18nLocale } from "#i18n";
3
+ import csCZ from "sit-onyx/locales/cs-CZ.json";
4
+
5
+ export default defineI18nLocale(() => {
6
+ return { onyx: csCZ };
7
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ // @ts-check
2
+ import { defineI18nLocale } from "#i18n";
3
+ import esES from "sit-onyx/locales/es-ES.json";
4
+
5
+ export default defineI18nLocale(() => {
6
+ return { onyx: esES };
7
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ // @ts-check
2
+ import { defineI18nLocale } from "#i18n";
3
+ import frFR from "sit-onyx/locales/fr-FR.json";
4
+
5
+ export default defineI18nLocale(() => {
6
+ return { onyx: frFR };
7
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ // @ts-check
2
+ import { defineI18nLocale } from "#i18n";
3
+ import hrHR from "sit-onyx/locales/hr-HR.json";
4
+
5
+ export default defineI18nLocale(() => {
6
+ return { onyx: hrHR };
7
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ // @ts-check
2
+ import { defineI18nLocale } from "#i18n";
3
+ import itIT from "sit-onyx/locales/it-IT.json";
4
+
5
+ export default defineI18nLocale(() => {
6
+ return { onyx: itIT };
7
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ // @ts-check
2
+ import { defineI18nLocale } from "#i18n";
3
+ import nlNL from "sit-onyx/locales/nl-NL.json";
4
+
5
+ export default defineI18nLocale(() => {
6
+ return { onyx: nlNL };
7
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ // @ts-check
2
+ import { defineI18nLocale } from "#i18n";
3
+ import plPL from "sit-onyx/locales/pl-PL.json";
4
+
5
+ export default defineI18nLocale(() => {
6
+ return { onyx: plPL };
7
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ // @ts-check
2
+ import { defineI18nLocale } from "#i18n";
3
+ import ptPT from "sit-onyx/locales/pt-PT.json";
4
+
5
+ export default defineI18nLocale(() => {
6
+ return { onyx: ptPT };
7
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ // @ts-check
2
+ import { defineI18nLocale } from "#i18n";
3
+ import roRO from "sit-onyx/locales/ro-RO.json";
4
+
5
+ export default defineI18nLocale(() => {
6
+ return { onyx: roRO };
7
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ // @ts-check
2
+ import { defineI18nLocale } from "#i18n";
3
+ import skSK from "sit-onyx/locales/sk-SK.json";
4
+
5
+ export default defineI18nLocale(() => {
6
+ return { onyx: skSK };
7
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sit-onyx/nuxt",
3
- "version": "1.0.1",
3
+ "version": "1.1.0-dev-20260617080625",
4
4
  "description": "A Nuxt module to easily integrate onyx into Nuxt projects",
5
5
  "type": "module",
6
6
  "author": "Schwarz IT KG",
@@ -27,20 +27,21 @@
27
27
  "files": [
28
28
  "dist"
29
29
  ],
30
+ "peerDependencies": {
31
+ "sit-onyx": "^1.15.0-dev-20260617080625"
32
+ },
30
33
  "devDependencies": {
31
- "@nuxt/devtools": "^2.6.5",
32
- "@nuxt/kit": "^4.1.2",
34
+ "@nuxt/devtools": "^3.2.4",
35
+ "@nuxt/kit": "^4.4.8",
33
36
  "@nuxt/module-builder": "^1.0.2",
34
- "@nuxt/schema": "^4.1.2",
35
- "@nuxt/test-utils": "^3.19.2",
36
- "@nuxtjs/i18n": "^10.1.0",
37
- "nuxt": "4.1.2",
38
- "typescript": "5.9.2",
39
- "vue-i18n": "^11.1.12",
40
- "sit-onyx": "^1.1.0"
41
- },
42
- "peerDependencies": {
43
- "sit-onyx": "^1.1.0"
37
+ "@nuxt/schema": "^4.4.8",
38
+ "@nuxt/test-utils": "^4.0.3",
39
+ "@nuxtjs/i18n": "^10.4.0",
40
+ "nuxt": "4.4.8",
41
+ "typescript": "6.0.3",
42
+ "vue-i18n": "^11.4.5",
43
+ "@sit-onyx/shared": "^0.1.0",
44
+ "sit-onyx": "^1.15.0-dev-20260617080625"
44
45
  },
45
46
  "scripts": {
46
47
  "dev": "nuxi dev playground",
@@ -49,6 +50,7 @@
49
50
  "build": "pnpm run dev:prepare && nuxt-module-build build",
50
51
  "type-check": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
51
52
  "test": "vitest",
53
+ "test:playwright": "playwright install && playwright test",
52
54
  "test:coverage": "vitest run --coverage"
53
55
  }
54
56
  }