Rollback failing API deployment

This commit is contained in:
MartinBraquet
2026-02-20 18:49:22 +01:00
parent 0bfc714a41
commit 85ea90b9c8
4 changed files with 29 additions and 2 deletions

View File

@@ -5,13 +5,13 @@
"private": true,
"scripts": {
"watch:serve": "tsx watch src/serve.ts",
"watch:compile": "npx concurrently \"(cd ../../common && tsc --watch)\" \"(cd ../shared && tsc --watch)\" \"(cd ../email && tsc --watch)\" \"tsc --watch --preserveWatchOutput\" \"tsc-alias --watch\" \"(cd ../../common && tsc-alias --watch)\" \"(cd ../shared && tsc-alias --watch)\" \"(cd ../email && tsc-alias --watch)\"",
"watch:compile": "npx concurrently \"tsc -b --watch --preserveWatchOutput\" \"(cd ../../common && tsc-alias --watch)\" \"(cd ../shared && tsc-alias --watch)\" \"(cd ../email && tsc-alias --watch)\" \"tsc-alias --watch\"",
"dev": "yarn watch:serve",
"prod": "npx concurrently -n COMPILE,SERVER -c cyan,green \"yarn watch:compile\" \"yarn watch:serve\"",
"build": "yarn compile && yarn dist:clean && yarn dist:copy",
"build:fast": "yarn compile && yarn dist:copy",
"clean": "rm -rf lib && (cd ../../common && rm -rf lib) && (cd ../shared && rm -rf lib) && (cd ../email && rm -rf lib)",
"compile": "(cd ../../common && tsc) && (cd ../shared && tsc) && (cd ../email && tsc) && tsc && tsc-alias && (cd ../../common && tsc-alias) && (cd ../shared && tsc-alias) && (cd ../email && tsc-alias) && cp -r src/public/ lib/",
"compile": "tsc -b && tsc-alias && (cd ../../common && tsc-alias) && (cd ../shared && tsc-alias) && (cd ../email && tsc-alias) && cp -r src/public/ lib/",
"debug": "nodemon -r tsconfig-paths/register --watch src -e ts --watch ../../common/src --watch ../shared/src --exec \"yarn build && node --inspect-brk src/serve.ts\"",
"dist": "yarn dist:clean && yarn dist:copy",
"dist:clean": "rm -rf dist && mkdir -p dist/common/lib dist/backend/shared/lib dist/backend/api/lib dist/backend/email/lib",

View File

@@ -1,8 +1,11 @@
{
"compilerOptions": {
"rootDir": "src",
"composite": true,
"module": "commonjs",
"noImplicitReturns": true,
"outDir": "./lib",
"tsBuildInfoFile": "lib/tsconfig.tsbuildinfo",
"sourceMap": true,
"strict": true,
"resolveJsonModule": true,
@@ -21,6 +24,17 @@
"ts-node": {
"require": ["tsconfig-paths/register"]
},
"references": [
{
"path": "../../common"
},
{
"path": "../shared"
},
{
"path": "../email"
}
],
"compileOnSave": true,
"include": ["src/**/*.ts", "package.json", "backend/api/package.json"],
"exclude": ["**/*.test.ts", "**/*.spec.ts"]

View File

@@ -1,9 +1,12 @@
{
"compilerOptions": {
"rootDir": "emails",
"composite": true,
"module": "commonjs",
"moduleResolution": "node",
"noImplicitReturns": true,
"outDir": "lib",
"tsBuildInfoFile": "lib/tsconfig.tsbuildinfo",
"sourceMap": true,
"strict": true,
"esModuleInterop": true,
@@ -12,6 +15,7 @@
"allowJs": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"resolveJsonModule": true,
"isolatedModules": false,
"declaration": true,
@@ -25,5 +29,6 @@
"ts-node": {
"require": ["tsconfig-paths/register"]
},
"references": [{"path": "../../common"}, {"path": "../shared"}],
"include": ["emails/**/*.ts", "emails/**/*.tsx"]
}

View File

@@ -1,9 +1,12 @@
{
"compilerOptions": {
"rootDir": "src",
"composite": true,
"module": "commonjs",
"moduleResolution": "node",
"noImplicitReturns": true,
"outDir": "lib",
"tsBuildInfoFile": "lib/tsconfig.tsbuildinfo",
"sourceMap": true,
"strict": true,
"target": "esnext",
@@ -19,6 +22,11 @@
"ts-node": {
"require": ["tsconfig-paths/register"]
},
"references": [
{
"path": "../../common"
}
],
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["**/*.test.ts", "**/*.spec.ts"]
}