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