@newt-app/templates 0.8.1 → 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.
- package/dist/index.js +12 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1272,13 +1272,9 @@ var package_json_default4 = {
|
|
|
1272
1272
|
"version": "0.0.0",
|
|
1273
1273
|
"private": true,
|
|
1274
1274
|
"exports": {
|
|
1275
|
-
".":
|
|
1276
|
-
"default": "./dist/index.js",
|
|
1277
|
-
"types": "./dist/index.d.ts"
|
|
1278
|
-
}
|
|
1275
|
+
".": "./src/index.ts"
|
|
1279
1276
|
},
|
|
1280
1277
|
"scripts": {
|
|
1281
|
-
"build": "tsc",
|
|
1282
1278
|
"migrate": "dotenv -e .env -- auth migrate --config src/index.ts",
|
|
1283
1279
|
"generate": "dotenv -e .env -- auth generate --config src/index.ts"
|
|
1284
1280
|
},
|
|
@@ -9440,6 +9436,16 @@ var web_tsconfig_default = {
|
|
|
9440
9436
|
}`
|
|
9441
9437
|
};
|
|
9442
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
|
+
|
|
9443
9449
|
// src/nest-di-only/index.ts
|
|
9444
9450
|
var nestDiOnly = {
|
|
9445
9451
|
templates: [
|
|
@@ -9447,6 +9453,7 @@ var nestDiOnly = {
|
|
|
9447
9453
|
api_tsconfig_default,
|
|
9448
9454
|
api_index_default,
|
|
9449
9455
|
web_nest_context_default,
|
|
9456
|
+
web_hello_route_default,
|
|
9450
9457
|
web_todos_route_default,
|
|
9451
9458
|
web_todos_id_route_default,
|
|
9452
9459
|
web_todos_toggle_route_default,
|