Problema de los path en build
This commit is contained in:
@@ -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));
|
||||
@@ -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",
|
||||
|
||||
34
packages/shared/tsconfig.json
Normal file
34
packages/shared/tsconfig.json
Normal 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"
|
||||
],
|
||||
}
|
||||
@@ -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",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../dist/sim-consumidor-nos",
|
||||
"outDir": "../../dist/packages/sim-consumidor-nos",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"#config/*": [
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../dist/sim-consumidor-objenioius",
|
||||
"outDir": "../../dist/packages/sim-consumidor-objenioius",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"#config/*": [
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../dist/sim-entrada-eventos",
|
||||
"outDir": "../../dist/packages/sim-entrada-eventos",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"#config/*": [
|
||||
|
||||
Reference in New Issue
Block a user