@dword-design/base-config-nuxt 9.0.10 → 9.0.12

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/index.js CHANGED
@@ -74,10 +74,16 @@ export default defineBaseConfig(function () {
74
74
  typecheck,
75
75
  typescriptConfig: {
76
76
  files: [],
77
- references: [{
78
- path: "./.nuxt/tsconfig.app.json"
79
- }, {
77
+ references: [
78
+ /**
79
+ * TODO: I needed to swap app and server here because otherwise eslint-plugin-import-x
80
+ * (via the TypeScript resolver) won't find #auth in a server file. According to
81
+ * https://nuxt.com/docs/4.x/directory-structure/tsconfig, app should be first though.
82
+ */
83
+ {
80
84
  path: "./.nuxt/tsconfig.server.json"
85
+ }, {
86
+ path: "./.nuxt/tsconfig.app.json"
81
87
  }, {
82
88
  path: "./.nuxt/tsconfig.shared.json"
83
89
  }, {
@@ -55,7 +55,15 @@ export default defineNuxtConfig({
55
55
  }
56
56
  },
57
57
  typescript: {
58
- strict: !!typescriptConfig.compilerOptions.strict
58
+ strict: !!typescriptConfig.compilerOptions.strict,
59
+ tsConfig: {
60
+ vueCompilerOptions: {
61
+ // TODO: https://github.com/vuejs/language-tools/pull/5901
62
+ // @ts-expect-error See the link above
63
+ cssModulesLocalsConvention: "camelCaseOnly",
64
+ strictCssModules: true
65
+ }
66
+ }
59
67
  },
60
68
  vite: {
61
69
  css: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base-config-nuxt",
3
- "version": "9.0.10",
3
+ "version": "9.0.12",
4
4
  "repository": "dword-design/base-config-nuxt",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",