@dword-design/base-config-nuxt 8.1.9 → 9.0.0

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.
@@ -1,4 +1,3 @@
1
- declare const basicAuthUser: string;
2
1
  declare const _default: {
3
2
  app: {
4
3
  head: {
@@ -30,13 +29,6 @@ declare const _default: {
30
29
  linkActiveClass: string;
31
30
  };
32
31
  };
33
- runtimeConfig: {
34
- basicAuth?: {
35
- pairs: {
36
- [basicAuthUser]: string | undefined;
37
- };
38
- } | undefined;
39
- };
40
32
  typescript: {
41
33
  strict: boolean;
42
34
  };
@@ -46,7 +38,6 @@ declare const _default: {
46
38
  localsConvention: string;
47
39
  };
48
40
  };
49
- plugins: import("vite").Plugin<any>[];
50
41
  vue: {
51
42
  template: {
52
43
  transformAssetUrls: boolean;
@@ -1,10 +1,7 @@
1
1
  import { defineNuxtModule } from "@nuxt/kit";
2
2
  import packageName from "depcheck-package-name";
3
3
  import ts from "typescript";
4
- import viteSvgLoader from "vite-svg-loader";
5
4
  import config from "./config.js";
6
- const basicAuthUser = process.env.BASIC_AUTH_USER;
7
- const isBasicAuthEnabled = basicAuthUser && process.env.BASIC_AUTH_PASSWORD;
8
5
  const {
9
6
  config: typescriptConfig
10
7
  } = ts.readConfigFile("tsconfig.json", ts.sys.readFile);
@@ -45,9 +42,7 @@ export default {
45
42
  }
46
43
  }
47
44
  }
48
- }), [packageName`nuxt-basic-authentication-module`, {
49
- enabled: !!isBasicAuthEnabled
50
- }], packageName`@nuxt/eslint`, [packageName`@nuxtjs/stylelint-module`, {
45
+ }), packageName`@nuxt/eslint`, [packageName`@nuxtjs/stylelint-module`, {
51
46
  allowEmptyInput: true,
52
47
  failOnWarning: true,
53
48
  fix: true,
@@ -55,25 +50,12 @@ export default {
55
50
  }], [packageName`@dword-design/nuxt-page-title`, {
56
51
  description: config.title,
57
52
  name: config.name
58
- }], [packageName`@dword-design/nuxt-i18n`, {
59
- ...(process.env.BASE_URL && {
60
- baseUrl: process.env.BASE_URL
61
- })
62
53
  }]],
63
54
  router: {
64
55
  options: {
65
56
  linkActiveClass: "active"
66
57
  }
67
58
  },
68
- runtimeConfig: {
69
- ...(isBasicAuthEnabled && {
70
- basicAuth: {
71
- pairs: {
72
- [basicAuthUser]: process.env.BASIC_AUTH_PASSWORD
73
- }
74
- }
75
- })
76
- },
77
59
  typescript: {
78
60
  strict: !!typescriptConfig.compilerOptions.strict
79
61
  },
@@ -83,7 +65,6 @@ export default {
83
65
  localsConvention: "camelCaseOnly"
84
66
  }
85
67
  },
86
- plugins: [viteSvgLoader()],
87
68
  vue: {
88
69
  template: {
89
70
  transformAssetUrls: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base-config-nuxt",
3
- "version": "8.1.9",
3
+ "version": "9.0.0",
4
4
  "repository": "dword-design/base-config-nuxt",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",
@@ -24,6 +24,7 @@
24
24
  "depcheck": "base depcheck",
25
25
  "dev": "base dev",
26
26
  "lint": "base lint",
27
+ "prepare": "base prepare",
27
28
  "prepublishOnly": "base prepublishOnly",
28
29
  "test": "base test",
29
30
  "typecheck": "base typecheck",
@@ -31,10 +32,9 @@
31
32
  },
32
33
  "dependencies": {
33
34
  "@babel/core": "^7.28.5",
34
- "@dword-design/base": "^16.0.4",
35
+ "@dword-design/base": "^16.1.0",
35
36
  "@dword-design/depcheck-parser-sass": "^5.0.0",
36
37
  "@dword-design/dotenv-json-extended": "^4.0.1",
37
- "@dword-design/nuxt-i18n": "^1.0.1",
38
38
  "@dword-design/nuxt-page-title": "^1.0.0",
39
39
  "@dword-design/stylelint-config": "^4.1.0",
40
40
  "@nuxt/eslint": "^1.10.0",
@@ -50,19 +50,16 @@
50
50
  "globby": "^16.0.0",
51
51
  "jiti": "^2.6.1",
52
52
  "lodash-es": "^4.17.21",
53
- "nuxt": "^3.20.1",
54
- "nuxt-basic-authentication-module": "^0.2.1",
53
+ "nuxt": "^4.0.0",
55
54
  "output-files": "^3.0.0",
56
55
  "require-package-name": "^2.0.1",
57
56
  "sass": "^1.94.2",
58
57
  "stylelint": "^16.26.0",
59
58
  "typescript": "^5.9.3",
60
- "vite-plugin-eslint2": "^5.0.4",
61
- "vite-svg-loader": "^5.1.0"
59
+ "vite-plugin-eslint2": "^5.0.4"
62
60
  },
63
61
  "devDependencies": {
64
62
  "@dword-design/defu": "^1.0.3",
65
- "@nuxtjs/sitemap": "^7.4.7",
66
63
  "@nuxtjs/tailwindcss": "7.0.0-beta.0",
67
64
  "@playwright/browser-chromium": "^1.56.1",
68
65
  "@playwright/test": "^1.56.1",
@@ -74,8 +71,7 @@
74
71
  "get-port": "^7.1.0",
75
72
  "nuxt-dev-ready": "^5.0.1",
76
73
  "port-ready": "^0.1.0",
77
- "tree-kill-promise": "^4.0.0",
78
- "xml-formatter": "^3.6.7"
74
+ "tree-kill-promise": "^4.0.0"
79
75
  },
80
76
  "peerDependencies": {
81
77
  "depcheck": "*"