@dword-design/base-config-nuxt 7.0.0 → 7.0.2

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/dist/index.js +4 -2
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -20,7 +20,7 @@ const resolver = createRequire(import.meta.url);
20
20
  const isInNodeModules = __dirname.split(P.sep).includes("node_modules");
21
21
  export default function (config) {
22
22
  return {
23
- allowedMatches: [".stylelintrc.json", "server/api/**/*.ts", "server/plugins/**/*.ts", "server/routes/**/*.ts", "server/middleware/**/*.ts", "app.vue", "assets", "components", "composables", "content", "i18n", "layouts", "middleware", "model", "modules", "config.ts", "pages", "plugins", "public", "store", "types"],
23
+ allowedMatches: [".stylelintignore", ".stylelintrc.json", "server/api/**/*.ts", "server/plugins/**/*.ts", "server/routes/**/*.ts", "server/middleware/**/*.ts", "app.vue", "assets", "components", "composables", "content", "i18n", "layouts", "middleware", "model", "modules", "config.ts", "pages", "plugins", "public", "store", "types"],
24
24
  commands: {
25
25
  analyze,
26
26
  build,
@@ -37,7 +37,7 @@ export default function (config) {
37
37
  cwd: this.cwd
38
38
  })]
39
39
  },
40
- editorIgnore: [".eslintcache", ".stylelintcache", ".stylelintrc.json", ".nuxt", ".output", "dist", "nuxt.config.ts"],
40
+ editorIgnore: [".eslintcache", ".stylelintcache", ".stylelintignore", ".stylelintrc.json", ".nuxt", ".output", "dist", "nuxt.config.ts"],
41
41
  eslintConfig: getEslintConfig(pick(config, ["virtualImports"])),
42
42
  gitignore: ["/.eslintcache", "/.nuxt", "/.output", "/.stylelintcache", "/dist", "/nuxt.config.ts"],
43
43
  lint,
@@ -49,6 +49,8 @@ export default function (config) {
49
49
  const configPath = isInNodeModules ? "@dword-design/base-config-nuxt/config" : `./${P.relative(this.cwd, resolver.resolve("./config")).split(P.sep).join("/")}`;
50
50
  const parentConfigPath = isInNodeModules ? "@dword-design/base-config-nuxt/nuxt.config" : `./${P.relative(this.cwd, resolver.resolve("./nuxt.config")).split(P.sep).join("/")}`;
51
51
  await outputFiles(this.cwd, {
52
+ ".stylelintignore": "/.nuxt\n",
53
+ // For Tailwind directives inside .nuxt folder
52
54
  ".stylelintrc.json": `${JSON.stringify({
53
55
  extends: packageName`@dword-design/stylelint-config`
54
56
  }, void 0, 2)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base-config-nuxt",
3
- "version": "7.0.0",
3
+ "version": "7.0.2",
4
4
  "repository": "dword-design/base-config-nuxt",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",
@@ -60,6 +60,7 @@
60
60
  "devDependencies": {
61
61
  "@dword-design/base": "^13.0.7",
62
62
  "@nuxtjs/sitemap": "^7.4.0",
63
+ "@nuxtjs/tailwindcss": "7.0.0-beta.0",
63
64
  "@playwright/test": "^1.53.0",
64
65
  "axios": "^1.10.0",
65
66
  "delay": "^6.0.0",