Skip to content

Commit

Permalink
update package reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ckng0221 committed Jan 9, 2024
1 parent 95d8645 commit ec4d4fe
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ README.md
dist

.turbo

out
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ lerna-debug.log*

# Turborepo
.turbo

out
1 change: 1 addition & 0 deletions apps/apigateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"morgan": "^1.10.0"
},
"devDependencies": {
"@repo/typescript-config": "*",
"@jest/globals": "^29.7.0",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
Expand Down
2 changes: 1 addition & 1 deletion apps/apigateway/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "@repo/typescript-config/base.json",
"compilerOptions": {
"outDir": "../../dist/apps/apigateway/"
},
Expand Down
1 change: 1 addition & 0 deletions apps/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
},
"devDependencies": {
"@repo/common": "*",
"@repo/typescript-config": "*",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.10.0",
Expand Down
9 changes: 3 additions & 6 deletions apps/ui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
{
"extends": "@repo/typescript-config/base.json",
"compilerOptions": {
"target": "ES2016",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,

"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",

"strict": true,
"incremental": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true
"outDir": "../../dist/apps/ui/"
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
Expand Down
17 changes: 14 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions packages/config-typescript/base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"compilerOptions": {
"module": "commonjs",
"declaration": false,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2016",
"sourceMap": false,
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": false,
"noImplicitAny": true,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": false,
"paths": {},
"strict": true,
"esModuleInterop": true
},
"exclude": ["node_modules"]
}
9 changes: 9 additions & 0 deletions packages/config-typescript/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "@repo/typescript-config",
"version": "0.0.0",
"private": true,
"license": "MIT",
"publishConfig": {
"access": "public"
}
}

0 comments on commit ec4d4fe

Please sign in to comment.