Skip to content

Commit

Permalink
more rework and versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaaz committed Nov 30, 2023
1 parent 14cfea8 commit 8795e33
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 198 deletions.
1 change: 1 addition & 0 deletions fern/api/generators.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
default-group: local
openapi: ../spec/openapi.yml
groups:
local:
generators:
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,20 @@
"@types/express": "^4.17.17",
"@types/node": "^20.6.0",
"@types/swagger-ui-express": "^4.1.3",
"concurrently": "^8.2.1",
"eslint": "^8.54.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"typescript": "^5.3.2"
},
"scripts": {
"lint": "eslint src/**/*.ts",
"clean": "rm -rf build spec",
"build": "yarn build:tsoa && yarn build:ts && yarn build:fern",
"clean:ts": "rm -rf build spec",
"clean:spec": "rm -rf spec",
"clean:packages": "rm -rf packages",
"build": "yarn build:spec && yarn build:ts && yarn build:packages",
"build:ts": "tsc --experimentalDecorators",
"build:tsoa": "yarn run tsoa spec-and-routes",
"build:fern": "rm -rf generated && cp spec/tsoa/swagger.json fern/api/openapi/swagger.json && fern generate",
"dev": "concurrently \"nodemon\" \"nodemon -x tsoa spec-and-routes\"",
"build:spec": "yarn run tsoa spec-and-routes",
"build:packages": "rm -rf generated && cp spec/tsoa/swagger.json fern/api/openapi/swagger.json && fern generate",
"deploy": "deploy",
"docker:build": "docker-build",
"docker:push": "docker-push",
Expand Down
29 changes: 13 additions & 16 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
{
"compilerOptions": {
"incremental": true,
"target": "es6",
"module": "esnext",
"target": "ESNext",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "build",
"baseUrl": ".",

"esModuleInterop": true,
"resolveJsonModule": true,
"experimentalDecorators": true,

"strict": true,
"noImplicitAny": true,
Expand All @@ -13,18 +19,10 @@
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,

"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,

"moduleResolution": "node10",
"baseUrl": ".",
"esModuleInterop": true,

"experimentalDecorators": true,

"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true

},
"include": [
"**/*",
Expand All @@ -33,10 +31,9 @@
"exclude": [
"node_modules",
"build",
"test",
"testing",
"scripts",
"examples",
"docs"
"k8s",
"spec",
"generated",
"packages",
]
}
Loading

0 comments on commit 8795e33

Please sign in to comment.