@nuxt/module-builder 0.1.4 → 0.1.5

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/README.md CHANGED
@@ -14,9 +14,17 @@
14
14
  - Auto generated types and shims for `@nuxt/schema`
15
15
 
16
16
 
17
+ ## Quick start
18
+
19
+ You can quickly get started with pre-configured [module starter](https://github.com/nuxt/starter/tree/module):
20
+
21
+ ```bash
22
+ $ npx nuxi init -t "nuxt/starter#module" my-module
23
+ ```
24
+
17
25
  ## Project structure
18
26
 
19
- Using module builder, requires a special project setup. You can check a full example [here](./example).
27
+ Using module builder, requires a special project setup. You can check an example [here](./example).
20
28
 
21
29
  ### `src/module.ts`
22
30
 
@@ -81,7 +81,7 @@ ${schemaShims.join("\n")}
81
81
  }
82
82
  ` : ""}
83
83
 
84
- export * from './module'
84
+ export { default } from './module'
85
85
  `;
86
86
  await promises.writeFile(dtsFile, dtsContents, "utf8");
87
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/module-builder",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Complete solution to build Nuxt Modules",
5
5
  "license": "MIT",
6
6
  "type": "module",