Problema de los path en build

This commit is contained in:
2026-01-30 14:24:42 +01:00
parent 237eda4174
commit b30c7e71e9
13 changed files with 64 additions and 18 deletions

View File

@@ -1,7 +0,0 @@
import { makeValidator } from 'envalid';
import { isValidEnvString, isValidEnvStringArray } from '#shared/domain/utils/env-validators';
export const ensureEnvStringArray = makeValidator((value: unknown) => isValidEnvStringArray(value));
export const ensureEnvString = makeValidator((value: unknown) => isValidEnvString(value));

View File

@@ -4,7 +4,8 @@
"description": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "echo \" Shared no es un modulo ejecutable \" "
"dev": "echo \" Shared no es un modulo ejecutable \" ",
"build": "tsc"
},
"author": "",
"license": "ISC",

View File

@@ -0,0 +1,34 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/packages/shared",
"baseUrl": ".",
"paths": {
"#config/*": [
"config/*"
],
"#adapters/*": [
"adapters/*"
],
"#domain/*": [
"domain/*"
],
"#ports/*": [
"ports/*"
],
"#tests/*": [
"__tests__/*"
],
"#shared/*": [
"../shared/*"
],
}
},
"exclude": [
"node_modules"
],
"include": [
"**/*.ts",
"src/**/*.d.ts"
],
}

View File

@@ -5,7 +5,8 @@
"main": "index.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "tsx watch index.ts "
"dev": "tsx watch index.ts ",
"start": "echo \"Proyecto no completado\""
},
"author": "",
"license": "ISC",

View File

@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/sim-consumidor-nos",
"outDir": "../../dist/packages/sim-consumidor-nos",
"baseUrl": ".",
"paths": {
"#config/*": [

View File

@@ -5,7 +5,9 @@
"main": "index.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "tsx watch index.ts "
"dev": "tsx watch index.ts",
"build": "yarn tsc --project tsconfig.json",
"start": "node index.js"
},
"author": "",
"license": "ISC",

View File

@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/sim-consumidor-objenioius",
"outDir": "../../dist/packages/sim-consumidor-objenioius",
"baseUrl": ".",
"paths": {
"#config/*": [

View File

@@ -5,7 +5,9 @@
"main": "index.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "tsx watch index.ts"
"build": "yarn tsc --project tsconfig.json",
"dev": "tsx watch index.ts",
"start": "node index.js"
},
"author": "",
"license": "ISC",

View File

@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/sim-entrada-eventos",
"outDir": "../../dist/packages/sim-entrada-eventos",
"baseUrl": ".",
"paths": {
"#config/*": [