From 65204f9d527f56a3a4fe372f84e391a8b7db6e77 Mon Sep 17 00:00:00 2001 From: sleepyfran Date: Mon, 29 Jul 2024 00:21:45 +0200 Subject: [PATCH] Fix templates --- .../infrastructure/template/package.json.hbs | 22 +++++++++++++------ .../services/template/package.json.hbs | 22 +++++++++++++------ 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/tools/plop-templates/infrastructure/template/package.json.hbs b/tools/plop-templates/infrastructure/template/package.json.hbs index 651b94d..217c894 100644 --- a/tools/plop-templates/infrastructure/template/package.json.hbs +++ b/tools/plop-templates/infrastructure/template/package.json.hbs @@ -1,7 +1,15 @@ -{ "name": "@echo/infrastructure-{{dashCase name}}", "private": true, "version": -"1.0.0", "description": "Contains the -{{properCase name}} -related infrastructure", "main": "index.js", "scripts": { "lint": "eslint . ---ext ts,tsx --report-unused-disable-directives --max-warnings 0", "typecheck": -"tsc --noEmit" }, "dependencies": { "@echo/core-types": "^1.0.0", "effect": -"^3.5.8" } } \ No newline at end of file +{ + "name": "@echo/infrastructure-{{dashCase name}}", + "private": true, + "version": "1.0.0", + "description": "Contains the {{properCase name}} related infrastructure", + "main": "index.js", + "scripts": { + "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "typecheck": "tsc --noEmit" + }, + "dependencies": { + "@echo/core-types": "^1.0.0", + "effect": "^3.2.8" + } +} \ No newline at end of file diff --git a/tools/plop-templates/services/template/package.json.hbs b/tools/plop-templates/services/template/package.json.hbs index 6508bd2..4916e8d 100644 --- a/tools/plop-templates/services/template/package.json.hbs +++ b/tools/plop-templates/services/template/package.json.hbs @@ -1,7 +1,15 @@ -{ "name": "@echo/services-{{dashCase name}}", "private": true, "version": -"1.0.0", "description": "Contains the implementation for the -{{properCase name}} -service", "main": "index.js", "scripts": { "lint": "eslint . --ext ts,tsx ---report-unused-disable-directives --max-warnings 0", "typecheck": "tsc ---noEmit" }, "dependencies": { "@echo/core-types": "^1.0.0", "effect": "^3.5.8" -} } \ No newline at end of file +{ + "name": "@echo/services-{{dashCase name}}", + "private": true, + "version": "1.0.0", + "description": "Contains the implementation for the {{properCase name}} service", + "main": "index.js", + "scripts": { + "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "typecheck": "tsc --noEmit" + }, + "dependencies": { + "@echo/core-types": "^1.0.0", + "effect": "^3.2.8" + } +} \ No newline at end of file