@leo-h/create-nodejs-app 1.0.31 → 1.0.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leo-h/create-nodejs-app",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "packageManager": "pnpm@9.15.9",
5
5
  "author": "Leonardo Henrique <leonardo0507.business@gmail.com>",
6
6
  "description": "Create a modern Node.js app with TypeScript using one command.",
@@ -38,7 +38,7 @@ export async function routesPlugin(app: FastifyInstance) {
38
38
  for (const controller of controllers) {
39
39
  if (!controller.imports.default) {
40
40
  throw new Error(
41
- `The controller file in "${controller.pathFromSrc}" does not have default import.`,
41
+ `The controller file in "${controller.pathFromSrc}" does not have default export.`,
42
42
  );
43
43
  }
44
44