690530:0805 ADR-030-230 context aware #10
This commit is contained in:
@@ -22,6 +22,7 @@ node_modules
|
||||
|
||||
# Build artifacts (rebuilt inside Docker)
|
||||
backend/dist
|
||||
**/*.tsbuildinfo
|
||||
frontend/.next
|
||||
|
||||
# Specs & docs (not needed in image)
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
/dist
|
||||
/node_modules
|
||||
/build
|
||||
/scratch/*.js
|
||||
/scratch/*.js.map
|
||||
/scratch/*.d.ts
|
||||
|
||||
# Logs
|
||||
logs
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ RUN cd backend && \
|
||||
pnpm run build
|
||||
|
||||
# ✅ เพิ่มตรงนี้
|
||||
RUN test -f /app/backend/dist/main.js || (echo "❌ build failed silently" && exit 1)
|
||||
# RUN test -f /app/backend/dist/main.js || (echo "❌ build failed silently" && exit 1)
|
||||
|
||||
# Deploy with production deps only (pnpm workspace isolation)
|
||||
RUN PNPM_IGNORE_SCRIPTS=none \
|
||||
|
||||
@@ -20,7 +20,11 @@ export default tseslint.config(
|
||||
sourceType: 'commonjs',
|
||||
parserOptions: {
|
||||
projectService: {
|
||||
allowDefaultProject: ['jest.config.js', '*.config.mjs'],
|
||||
allowDefaultProject: [
|
||||
'jest.config.js',
|
||||
'*.config.mjs',
|
||||
'scratch/*.ts',
|
||||
],
|
||||
},
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"incremental": false
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"test",
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"target": "ES2021",
|
||||
"sourceMap": true,
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist",
|
||||
"baseUrl": "./",
|
||||
"incremental": true,
|
||||
@@ -45,5 +46,6 @@
|
||||
"@workflow-engine": ["./src/modules/workflow-engine"]
|
||||
}
|
||||
},
|
||||
"include": ["src/**/*.ts"],
|
||||
"exclude": ["node_modules", "dist", "documentation"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user