@newt-app/templates 0.18.5 → 0.18.6

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 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10080,9 +10080,7 @@ var api_tsconfig_default = {
10080
10080
  var api_index_default = {
10081
10081
  filename: "apps/api/src/index.ts",
10082
10082
  template: `export { AppModule } from './app.module';
10083
- export { AppService } from './app.service';
10084
- export { TodosService } from './todos/todos.service';
10085
- export type { Todo } from './todos/todos.service';`
10083
+ export { AppService } from './app.service';`
10086
10084
  };
10087
10085
 
10088
10086
  // src/nest-di-only/templates/web-nest-context.ts
@@ -10506,6 +10504,15 @@ import { TodosModule } from './todos/todos.module';
10506
10504
  export class AppModule {}`
10507
10505
  };
10508
10506
 
10507
+ // src/todo-example/templates/api-index.ts
10508
+ var api_index_default2 = {
10509
+ filename: "apps/api/src/index.ts",
10510
+ template: `export { AppModule } from './app.module';
10511
+ export { AppService } from './app.service';
10512
+ export { TodosService } from './todos/todos.service';
10513
+ export type { Todo } from './todos/todos.service';`
10514
+ };
10515
+
10509
10516
  // src/todo-example/templates/web-todos-route.ts
10510
10517
  var web_todos_route_default = {
10511
10518
  filename: "apps/web/app/api/todos/route.ts",
@@ -11037,7 +11044,7 @@ var todoExampleControllers = {
11037
11044
  templates: [todos_controller_default, todos_module_controllers_default, app_module_controllers_default]
11038
11045
  };
11039
11046
  var todoExampleDi = {
11040
- templates: [web_todos_route_default, web_todos_id_route_default, web_todos_toggle_route_default, app_module_di_default]
11047
+ templates: [web_todos_route_default, web_todos_id_route_default, web_todos_toggle_route_default, app_module_di_default, api_index_default2]
11041
11048
  };
11042
11049
  var todoExampleWeb = {
11043
11050
  templates: [web_todo_list_default, web_page_default]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newt-app/templates",
3
- "version": "0.18.5",
3
+ "version": "0.18.6",
4
4
  "private": false,
5
5
  "description": "Templates for newt-app",
6
6
  "type": "module",