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

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.d.ts CHANGED
@@ -49,3 +49,10 @@ declare const _default: (this: Base, config: ConfigNuxt) => {
49
49
  };
50
50
  export default _default;
51
51
  export { default as getEslintConfig } from './get-eslint-config';
52
+ export { default as analyze } from './analyze';
53
+ export { default as dev } from './dev';
54
+ export { default as build } from './build';
55
+ export { default as prepublishOnly } from './prepublish-only';
56
+ export { default as lint } from './lint';
57
+ export { default as typecheck } from './typecheck';
58
+ export { default as start } from './start';
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ const resolver = createRequire(import.meta.url);
23
23
  const isInNodeModules = __dirname.split(pathLib.sep).includes("node_modules");
24
24
  export default defineBaseConfig(function (config) {
25
25
  return {
26
- allowedMatches: [".stylelintignore", ".stylelintrc.json", "server/api/**/*.ts", "server/plugins/**/*.ts", "server/routes/**/*.ts", "server/middleware/**/*.ts", "server/utils/**/*.ts", "app.vue", "assets", "components/**/*.vue", "composables/*.ts", "content", "i18n/*/*.ts", "layouts/*.vue", "middleware/*.ts", "model", "modules", "config.ts", "pages/**/*.vue", "plugins/*.ts", "public", "shared/utils/*.ts", "shared/types/*.ts", "utils/*.ts"],
26
+ allowedMatches: [".stylelintignore", ".stylelintrc.json", "server/api/**/*.ts", "server/plugins/**/*.ts", "server/routes/**/*.ts", "server/middleware/**/*.ts", "server/utils/**/*.ts", "app/app.vue", "app/assets", "app/components/**/*.vue", "app/composables/*.ts", "content", "i18n/*/*.ts", "app/layouts/*.vue", "app/middleware/*.ts", "app/pages/**/*.vue", "app/plugins/*.ts", "app/utils/*.ts", "model", "modules", "config.ts", "public", "shared/utils/*.ts", "shared/types/*.ts"],
27
27
  commands: {
28
28
  analyze,
29
29
  build,
@@ -83,4 +83,11 @@ export default defineBaseConfig(function (config) {
83
83
  useJobMatrix: true
84
84
  };
85
85
  });
86
- export { default as getEslintConfig } from "./get-eslint-config.js";
86
+ export { default as getEslintConfig } from "./get-eslint-config.js";
87
+ export { default as analyze } from "./analyze.js";
88
+ export { default as dev } from "./dev.js";
89
+ export { default as build } from "./build.js";
90
+ export { default as prepublishOnly } from "./prepublish-only.js";
91
+ export { default as lint } from "./lint.js";
92
+ export { default as typecheck } from "./typecheck.js";
93
+ export { default as start } from "./start.js";
package/dist/lint.js CHANGED
@@ -1,3 +1,4 @@
1
+ import dotenv from "@dword-design/dotenv-json-extended";
1
2
  import { execaCommand } from "execa";
2
3
  export default async function (options = {}) {
3
4
  options = {
@@ -10,6 +11,9 @@ export default async function (options = {}) {
10
11
  stdout: "inherit"
11
12
  }),
12
13
  cwd: this.cwd,
14
+ env: dotenv.parse({
15
+ cwd: this.cwd
16
+ }),
13
17
  stderr: options.stderr
14
18
  });
15
19
  await execaCommand("stylelint --fix --allow-empty-input --ignore-path .gitignore **/*.{css,scss,vue}", {
package/dist/typecheck.js CHANGED
@@ -1,3 +1,4 @@
1
+ import dotenv from "@dword-design/dotenv-json-extended";
1
2
  import { execaCommand } from "execa";
2
3
  export default async function (options = {}) {
3
4
  options = {
@@ -10,6 +11,9 @@ export default async function (options = {}) {
10
11
  stdout: "inherit"
11
12
  }),
12
13
  cwd: this.cwd,
14
+ env: dotenv.parse({
15
+ cwd: this.cwd
16
+ }),
13
17
  stderr: options.stderr
14
18
  });
15
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base-config-nuxt",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "repository": "dword-design/base-config-nuxt",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",