refactor: split api into api, api-cli & api-plugin

This commit is contained in:
2023-06-02 16:41:25 +02:00
parent 495a63977c
commit b21833de40
205 changed files with 1981 additions and 1492 deletions

View File

@@ -17,9 +17,6 @@
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
"openstapps-api": "app.js"
},
"scripts": {
"build": "tsup --dts",
"docs": "typedoc --json ./docs/docs.json --options ../../typedoc.base.json src/index.ts",
@@ -30,56 +27,32 @@
"test": "c8 mocha"
},
"dependencies": {
"@krlwlfrt/async-pool": "0.7.0",
"@openstapps/core": "workspace:*",
"@openstapps/core-tools": "workspace:*",
"@openstapps/logger": "workspace:*",
"@types/cli-progress": "3.11.0",
"@types/express": "4.17.17",
"@types/morgan": "1.9.4",
"@types/node": "18.15.3",
"@types/traverse": "0.6.32",
"@types/uuid": "8.3.4",
"@types/wait-on": "5.3.1",
"body-parser": "1.20.2",
"cli-progress": "3.12.0",
"commander": "10.0.0",
"express": "4.18.2",
"got": "12.6.0",
"json-schema": "0.4.0",
"moment": "2.29.4",
"morgan": "1.10.0",
"rfdc": "1.3.0",
"traverse": "0.6.7",
"uuid": "8.3.2",
"wait-on": "6.0.1"
"uuid": "8.3.2"
},
"devDependencies": {
"@openstapps/eslint-config": "workspace:*",
"@openstapps/nyc-config": "workspace:*",
"@openstapps/prettier-config": "workspace:*",
"@openstapps/tsconfig": "workspace:*",
"@types/body-parser": "1.19.2",
"@types/chai": "4.3.5",
"@types/chai-as-promised": "7.1.5",
"@types/chai-spies": "1.0.3",
"@types/cli-progress": "3.11.0",
"@types/express": "4.17.17",
"@types/fs-extra": "9.0.13",
"@types/json-schema": "7.0.11",
"@types/mocha": "10.0.1",
"@types/traverse": "0.6.32",
"undici": "5.22.1",
"c8": "7.14.0",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"chai-spies": "1.0.0",
"conventional-changelog-cli": "2.2.2",
"fs-extra": "10.1.0",
"date-fns": "2.30.0",
"mocha": "10.2.0",
"nock": "13.3.1",
"traverse": "0.6.7",
"ts-node": "10.9.1",
"tsup": "6.7.0",
"typedoc": "0.24.7",
"typescript": "4.8.4"
"typescript": "4.9.5"
},
"peerDependencies": {
"@openstapps/core": "workspace:*"