@newt-app/templates 0.8.2 → 0.8.3

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.
Files changed (2) hide show
  1. package/dist/index.js +11 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9436,6 +9436,16 @@ var web_tsconfig_default = {
9436
9436
  }`
9437
9437
  };
9438
9438
 
9439
+ // src/nest-di-only/templates/web-hello-route.ts
9440
+ var web_hello_route_default = {
9441
+ filename: "apps/web/app/api/hello/route.ts",
9442
+ template: `import { NextResponse } from 'next/server';
9443
+
9444
+ export async function GET() {
9445
+ return NextResponse.json({ message: 'Hello from Nest' });
9446
+ }`
9447
+ };
9448
+
9439
9449
  // src/nest-di-only/index.ts
9440
9450
  var nestDiOnly = {
9441
9451
  templates: [
@@ -9443,6 +9453,7 @@ var nestDiOnly = {
9443
9453
  api_tsconfig_default,
9444
9454
  api_index_default,
9445
9455
  web_nest_context_default,
9456
+ web_hello_route_default,
9446
9457
  web_todos_route_default,
9447
9458
  web_todos_id_route_default,
9448
9459
  web_todos_toggle_route_default,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newt-app/templates",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "private": false,
5
5
  "description": "Templates for newt-app",
6
6
  "type": "module",