Feature: Migrate to Typescript7 & AdonisJs7
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
FROM node:22-alpine3.20
|
||||
FROM node:24-alpine3.22
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install workspace deps
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
RUN npm ci
|
||||
RUN npm ci --force
|
||||
|
||||
# Copy project
|
||||
COPY apps/admin ./apps/admin
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
"allowImportingTsExtensions": true,
|
||||
"isolatedModules": true,
|
||||
"moduleDetection": "force",
|
||||
"types": ["node"],
|
||||
"noEmit": true,
|
||||
"jsx": "react-jsx",
|
||||
/* Linting */
|
||||
@@ -20,7 +21,6 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedSideEffectImports": true,
|
||||
"noPropertyAccessFromIndexSignature": true,
|
||||
"baseUrl": "./",
|
||||
/* Path alias */
|
||||
"paths": {
|
||||
"#*": ["./src/*"]
|
||||
|
||||
@@ -62,7 +62,7 @@ export default defineConfig(({ mode }) => {
|
||||
host: true,
|
||||
strictPort: true,
|
||||
port: 5173,
|
||||
open: true
|
||||
open: false
|
||||
},
|
||||
define: Object.fromEntries(
|
||||
Object.entries(mergedEnv).map(([key, value]) => [
|
||||
|
||||
Reference in New Issue
Block a user