srcdev-nuxt-components 9.0.1 → 9.0.3

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.
Files changed (2) hide show
  1. package/nuxt.config.ts +11 -15
  2. package/package.json +14 -15
package/nuxt.config.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // https://nuxt.com/docs/api/configuration/nuxt-config
2
- const isStandalone = !!process.env.NUXT_STANDALONE;
2
+ const isStandalone = !!process.env.SRCDEV_STANDALONE;
3
3
 
4
4
  export default defineNuxtConfig({
5
5
  devtools: { enabled: true },
@@ -22,14 +22,8 @@ export default defineNuxtConfig({
22
22
  "@vueuse/motion/nuxt",
23
23
  "pinia-plugin-persistedstate/nuxt",
24
24
  // Dev-only — only when running the layer as a standalone app
25
- ...(isStandalone ? ["@nuxt/eslint", "@nuxtjs/i18n", "nuxt-qrcode", "@nuxt/test-utils/module"] : []),
25
+ ...(isStandalone ? ["@nuxt/eslint", "nuxt-qrcode", "@nuxt/test-utils/module"] : []),
26
26
  ],
27
- ...(isStandalone ? {
28
- i18n: {
29
- defaultLocale: "en",
30
- locales: ["en"],
31
- },
32
- } : {}),
33
27
  imports: {
34
28
  dirs: ["./stores"],
35
29
  },
@@ -121,12 +115,14 @@ export default defineNuxtConfig({
121
115
  includeWorkspace: true,
122
116
  strict: true,
123
117
  typeCheck: "build", // Enable type checking during build only - Fixes vue-tsc dependency issues
124
- ...(isStandalone ? {
125
- tsConfig: {
126
- compilerOptions: {
127
- types: ["vitest/globals"], // TypeScript support for globals
128
- },
129
- },
130
- } : {}),
118
+ ...(isStandalone
119
+ ? {
120
+ tsConfig: {
121
+ compilerOptions: {
122
+ types: ["vitest/globals"], // TypeScript support for globals
123
+ },
124
+ },
125
+ }
126
+ : {}),
131
127
  },
132
128
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-components",
3
3
  "type": "module",
4
- "version": "9.0.1",
4
+ "version": "9.0.3",
5
5
  "main": "nuxt.config.ts",
6
6
  "types": "types.d.ts",
7
7
  "license": "MIT",
@@ -14,23 +14,23 @@
14
14
  "cleanall": "rm -rf node_modules && rm -rf .nuxt && rm -rf .output && rm package-lock.json",
15
15
  "reinstall": "rm -rf node_modules && npm install",
16
16
  "cleaninstall": "npm run clean && npm run reinstall",
17
- "dev": "NUXT_STANDALONE=true nuxi dev",
18
- "build": "NUXT_STANDALONE=true nuxt build",
19
- "generate": "NUXT_STANDALONE=true nuxt generate",
20
- "preview": "NUXT_STANDALONE=true nuxt preview",
17
+ "dev": "SRCDEV_STANDALONE=true nuxi dev",
18
+ "build": "SRCDEV_STANDALONE=true nuxt build",
19
+ "generate": "SRCDEV_STANDALONE=true nuxt generate",
20
+ "preview": "SRCDEV_STANDALONE=true nuxt preview",
21
21
  "lint": "eslint .",
22
- "postinstall": "NUXT_STANDALONE=true nuxt prepare",
22
+ "prepare": "SRCDEV_STANDALONE=true nuxt prepare",
23
23
  "release": "release-it",
24
- "test": "NUXT_STANDALONE=true vitest",
25
- "test:run": "NUXT_STANDALONE=true vitest --run",
26
- "test:ui": "NUXT_STANDALONE=true vitest --ui",
27
- "test:update": "NUXT_STANDALONE=true vitest --update",
28
- "storybook": "NUXT_STANDALONE=true storybook dev -p 6006",
29
- "storybook:build": "NUXT_STANDALONE=true storybook build",
24
+ "test": "SRCDEV_STANDALONE=true vitest",
25
+ "test:run": "SRCDEV_STANDALONE=true vitest --run",
26
+ "test:ui": "SRCDEV_STANDALONE=true vitest --ui",
27
+ "test:update": "SRCDEV_STANDALONE=true vitest --update",
28
+ "storybook": "SRCDEV_STANDALONE=true storybook dev -p 6006",
29
+ "storybook:build": "SRCDEV_STANDALONE=true storybook build",
30
30
  "storybook:serve": "npm run storybook:build && npx http-server storybook-static --port 6006",
31
31
  "storybook:cache:clean": "rm -rf node_modules/.cache/storybook node_modules/.vite",
32
- "playwright": "NUXT_STANDALONE=true npx playwright test",
33
- "playwright:update": "NUXT_STANDALONE=true npx playwright test --update-snapshots"
32
+ "playwright": "SRCDEV_STANDALONE=true npx playwright test",
33
+ "playwright:update": "SRCDEV_STANDALONE=true npx playwright test --update-snapshots"
34
34
  },
35
35
  "files": [
36
36
  "app/",
@@ -49,7 +49,6 @@
49
49
  "@iconify-json/mdi": "1.2.3",
50
50
  "@nuxt/eslint": "1.13.0",
51
51
  "@nuxt/test-utils": "3.23.0",
52
- "@nuxtjs/i18n": "10.2.1",
53
52
  "@nuxtjs/storybook": "9.1.0-29374011.dab79ae",
54
53
  "@playwright/test": "1.58.2",
55
54
  "@storybook/addon-a11y": "10.0.7",