@nuxt/module-builder 0.5.0 → 0.5.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/cli.mjs CHANGED
@@ -17,6 +17,7 @@ function main() {
17
17
  return buildModule({
18
18
  rootDir: resolve(args._[0] || "."),
19
19
  outDir: args.outDir,
20
+ sourcemap: args.sourcemap,
20
21
  stub: args.stub
21
22
  });
22
23
  }
package/dist/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
1
  interface BuildModuleOptions {
2
2
  rootDir: string;
3
+ sourcemap?: boolean;
3
4
  stub?: boolean;
4
5
  outDir?: string;
5
6
  }
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  interface BuildModuleOptions {
2
2
  rootDir: string;
3
+ sourcemap?: boolean;
3
4
  stub?: boolean;
4
5
  outDir?: string;
5
6
  }
package/dist/index.mjs CHANGED
@@ -9,6 +9,7 @@ async function buildModule(opts) {
9
9
  const outDir = opts.outDir || "dist";
10
10
  await build(opts.rootDir, false, {
11
11
  declaration: true,
12
+ sourcemap: opts.sourcemap,
12
13
  stub: opts.stub,
13
14
  outDir,
14
15
  entries: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/module-builder",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "repository": "nuxt/module-builder",
5
5
  "description": "Complete solution to build Nuxt Modules",
6
6
  "license": "MIT",
@@ -29,19 +29,19 @@
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@nuxt/kit": "^3.7.0",
32
- "nuxi": "^3.7.2"
32
+ "nuxi": "^3.7.3"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@nuxt/kit": "^3.7.0",
36
36
  "@nuxt/schema": "^3.7.0",
37
- "@nuxtjs/eslint-config-typescript": "^12.0.0",
37
+ "@nuxtjs/eslint-config-typescript": "^12.1.0",
38
38
  "@types/mri": "^1.1.1",
39
39
  "@types/node": "^20.5.7",
40
40
  "@vitest/coverage-v8": "^0.34.3",
41
41
  "changelogen": "^0.5.5",
42
42
  "eslint": "^8.48.0",
43
43
  "jiti": "^1.19.3",
44
- "nuxi": "^3.7.2",
44
+ "nuxi": "^3.7.3",
45
45
  "nuxt": "^3.7.0",
46
46
  "vitest": "^0.34.3"
47
47
  },