Skip to content

Commit

Permalink
[add] Controller Abstract Class mixin (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery authored Nov 22, 2022
1 parent 25067b5 commit 7bf99d4
Show file tree
Hide file tree
Showing 11 changed files with 3,522 additions and 3,381 deletions.
26 changes: 14 additions & 12 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Server",
"type": "node",
"request": "launch",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "dev"]
}
]
}
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Server",
"type": "node",
"request": "launch",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "dev"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
7 changes: 4 additions & 3 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@
Execute a command:

```shell
npm run dev
npm i pnpm -g
pnpm dev
```

or just press <kbd>F5</kbd> key in [VS Code][12].

#### Migration

```shell
npm run upgrade:dev
pnpm upgrade:dev
```

### Deployment
Expand All @@ -48,7 +49,7 @@ npm start
#### Migration

```shell
npm run upgrade:pro
pnpm upgrade:pro
```

[1]: https://en.wikipedia.org/wiki/Representational_state_transfer
Expand Down
29 changes: 16 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"source": "source/index.ts",
"main": "dist/index.js",
"engines": {
"node": "^14.0.0"
"node": ">=14"
},
"dependencies": {
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"dotenv": "^16.0.0",
"dotenv": "^16.0.3",
"jsonwebtoken": "^8.5.1",
"kcors": "^2.2.2",
"koa": "^2.13.4",
Expand All @@ -29,26 +29,29 @@
"koa-logger": "^3.2.1",
"koa-mount": "^4.0.0",
"koa-multer": "^1.0.2",
"koa-router": "^10.1.1",
"koa-router": "^12.0.0",
"koagger": "^0.2.4",
"pg": "^8.7.3",
"pg": "^8.8.0",
"pg-connection-string": "^2.5.0",
"reflect-metadata": "^0.1.13",
"routing-controllers": "^0.9.0",
"routing-controllers-openapi": "^3.1.0",
"typeorm": "^0.3.6"
"tslib": "^2.4.1",
"typeorm": "^0.3.10",
"web-utility": "^3.9.9"
},
"devDependencies": {
"@types/jsonwebtoken": "^8.5.8",
"@types/koa": "^2.13.4",
"@types/jsonwebtoken": "^8.5.9",
"@types/koa": "^2.13.5",
"@types/koa-logger": "^3.1.2",
"@types/node": "^16.18.3",
"cross-env": "^7.0.3",
"husky": "^7.0.4",
"lint-staged": "^12.3.8",
"prettier": "^2.6.2",
"sqlite3": "^5.0.3",
"ts-node-dev": "^1.1.8",
"typescript": "^4.6.3"
"husky": "^8.0.2",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"sqlite3": "^5.1.2",
"ts-node-dev": "^2.0.0",
"typescript": "~4.8.4"
},
"prettier": {
"singleQuote": true,
Expand Down
Loading

0 comments on commit 7bf99d4

Please sign in to comment.