Skip to content

Commit

Permalink
fix build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sitek94 committed Nov 26, 2023
1 parent d0f6f43 commit c6236ba
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 28 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ dist
build
public/build
.next
**/*.tsbuildinfo

## Monorepo
.turbo
Expand Down
16 changes: 14 additions & 2 deletions apps/nestjs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
{
"extends": "@repo/tsconfig/nest.json",
"include": ["**/*.ts", "jest.config.js"],
"exclude": ["node_modules", "build"],
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"outDir": "./build",
"incremental": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"noFallthroughCasesInSwitch": false,
"resolveJsonModule": true,
"baseUrl": "./",
"paths": {
"~/*": ["./src/*"]
Expand Down
9 changes: 5 additions & 4 deletions libs/tsconfig/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"compilerOptions": {
"outDir": "./build",
"target": "esnext",
"module": "esnext",
"allowJs": true,
"composite": false,
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"allowImportingTsExtensions": true,
"noEmit": true,
"inlineSources": false,
"isolatedModules": true,
"moduleResolution": "node",
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveWatchOutput": true,
"skipLibCheck": true,
"strict": true,
"strictNullChecks": true
"strict": true
},
"exclude": ["node_modules"]
}
22 changes: 0 additions & 22 deletions libs/tsconfig/nest.json

This file was deleted.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"private": true,
"scripts": {
"build": "turbo run build",
"build:nestjs": "turbo run build -F nestjs...",
"build:remix": "turbo run build -F remix... build",
"deploy:nestjs": "fly deploy --config ./apps/nestjs/fly.toml --dockerfile ./apps/nestjs/Dockerfile",
"deploy:remix": "fly deploy --config ./apps/remix/fly.toml --dockerfile ./apps/remix/Dockerfile",
"develop:docs": "turbo run develop --filter docs",
Expand Down

0 comments on commit c6236ba

Please sign in to comment.