@dword-design/base-config-nuxt 4.0.1 → 4.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.
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import prepublishOnly from "./prepublish-only.js";
15
15
  import start from "./start.js";
16
16
  const _require = createRequire(import.meta.url);
17
17
  export default {
18
- allowedMatches: ['.stylelintrc.json', 'api', 'assets', 'components', 'content', 'i18n', 'layouts', 'middleware', 'model', 'modules', 'config.js', 'pages', 'plugins', 'static', 'store', 'types'],
18
+ allowedMatches: ['.stylelintrc.json', 'server/api/**/*.js', 'server/middleware/**/*.js', 'assets', 'components', 'content', 'i18n', 'layouts', 'middleware', 'model', 'modules', 'config.js', 'pages', 'plugins', 'static', 'store', 'types'],
19
19
  commands: {
20
20
  analyze,
21
21
  dev,
@@ -3,7 +3,8 @@ import { addPlugin, addTemplate, installModule } from '@nuxt/kit';
3
3
  import packageName from 'depcheck-package-name';
4
4
  import { createRequire } from 'module';
5
5
  import P from 'path';
6
- import expressModule from "./modules/express/index.js";
6
+
7
+ // import expressModule from './modules/express/index.js'
7
8
  import i18nModule from "./modules/i18n/index.js";
8
9
  import localeLinkModule from "./modules/locale-link/index.js";
9
10
  import svgModule from "./modules/svg.js";
@@ -83,7 +84,9 @@ export default (async (options, nuxt) => {
83
84
  failOnWarning: true,
84
85
  fix: true,
85
86
  lintOnStart: false
86
- }], i18nModule, expressModule, svgModule, localeLinkModule, ...(projectConfig.modules || [])];
87
+ }], i18nModule,
88
+ // expressModule,
89
+ svgModule, localeLinkModule, ...(projectConfig.modules || [])];
87
90
  for (let module of modules) {
88
91
  module = [].concat(module);
89
92
  await installModule(module[0], module[1]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base-config-nuxt",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "repository": "dword-design/base-config-nuxt",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",
@@ -56,7 +56,6 @@
56
56
  "axios": "^0.22.0",
57
57
  "depcheck": "^1.4.2",
58
58
  "nuxt-dev-ready": "^2.0.0",
59
- "p-all": "^5.0.0",
60
59
  "port-ready": "^0.1.0",
61
60
  "tree-kill-promise": "^3.0.1",
62
61
  "xml-formatter": "^3.2.0"