Skip to content

Commit

Permalink
feat: rollback API server
Browse files Browse the repository at this point in the history
  • Loading branch information
Amzani committed May 14, 2024
1 parent 2629929 commit 885caa0
Show file tree
Hide file tree
Showing 69 changed files with 150 additions and 1,816 deletions.
1,205 changes: 2 additions & 1,203 deletions package-lock.json

Large diffs are not rendered by default.

22 changes: 2 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,10 @@
"@smoya/multi-parser": "^5.0.7",
"@stoplight/spectral-cli": "6.9.0",
"ajv": "^8.12.0",
"archiver": "^6.0.1",
"body-parser": "^1.20.2",
"chalk": "^4.1.0",
"chokidar": "^3.5.2",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.18.2",
"fast-levenshtein": "^3.0.0",
"fs-extra": "^11.1.0",
"helmet": "^7.1.0",
"indent-string": "^4.0.0",
"inquirer": "^8.2.0",
"js-yaml": "^4.1.0",
Expand All @@ -52,7 +46,6 @@
"strip-ansi": "^6.0.0",
"unzipper": "^0.10.11",
"uuid": "^9.0.1",
"winston": "^3.11.0",
"wrap-ansi": "^9.0.0",
"ws": "^8.2.3"
},
Expand All @@ -61,16 +54,9 @@
"@babel/core": "^7.19.3",
"@oclif/test": "^2",
"@swc/core": "^1.3.2",
"@types/archiver": "^6.0.2",
"@types/body-parser": "^1.19.5",
"@types/chai": "^4.3.6",
"@types/compression": "^1.7.5",
"@types/config": "^3.3.3",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/fast-levenshtein": "^0.0.2",
"@types/fs-extra": "^11.0.1",
"@types/helmet": "^4.0.0",
"@types/inquirer": "^8.1.3",
"@types/js-yaml": "^4.0.5",
"@types/lodash.template": "^4.4.4",
Expand All @@ -97,7 +83,6 @@
"globby": "^10.0.2",
"markdown-toc": "^1.2.0",
"mocha": "^10.2.0",
"nodemon": "^3.1.0",
"nyc": "^15.1.0",
"react": "^16.14.0",
"react-dom": "^16.14.0",
Expand Down Expand Up @@ -126,11 +111,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"oclif": {
"commands": "./lib/adapters/cli/commands",
"commands": "./lib/cli/commands",
"bin": "asyncapi",
"hooks": {
"command_not_found": [
"./lib/adapters/cli/hooks/command_not_found/myhook"
"./lib/cli/hooks/command_not_found/myhook"
]
},
"macos": {
Expand Down Expand Up @@ -166,9 +151,6 @@
"build": "rimraf lib && node scripts/fetch-asyncapi-example.js && tsc && oclif manifest && echo \"Build Completed\"",
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION",
"dev": "tsc --watch",
"api:prod": "npm run build && cross-env NODE_ENV=production node lib/api.js",
"api:local": "npm run build && cross-env NODE_ENV=production NODE_API_PORT=3001 node lib/api.js",
"api:dev": "cross-env NODE_ENV=production NODE_API_PORT=3001 nodemon src/api.ts",
"docker:build": "docker build -t asyncapi/cli:latest .",
"generate:readme:create": "node -e \"const fs = require('fs'); fs.writeFileSync('scripts/README.md', '# Usage\\n\\n<!-- usage -->\\n\\n# Commands\\n\\n<!-- commands -->\\n');\"",
"generate:readme:commands": "npm run build && cd scripts && cross-env DEBUG=* oclif readme",
Expand Down
113 changes: 0 additions & 113 deletions src/adapters/api/controllers/generator.controller.ts

This file was deleted.

21 changes: 0 additions & 21 deletions src/adapters/api/controllers/ping.controller.ts

This file was deleted.

78 changes: 0 additions & 78 deletions src/adapters/api/core/app.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/adapters/api/core/constants.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/adapters/api/core/exceptions/problem.exception.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/adapters/api/core/interfaces.ts

This file was deleted.

27 changes: 0 additions & 27 deletions src/adapters/api/core/middlewares/problem.middleware.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/adapters/api/core/server-api.d.ts

This file was deleted.

20 changes: 0 additions & 20 deletions src/adapters/cli/commands/start/api.ts

This file was deleted.

Loading

0 comments on commit 885caa0

Please sign in to comment.