diff --git a/lib/index.ts b/lib/index.ts index e74126f..9d2f53d 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -1,9 +1,7 @@ -// Imported and exported to Uppercase to be in guidance with other decorators. -import { inject as Inject } from 'inversify'; - export * from './decorators/class'; export * from './decorators/method'; export { ServiceHelper, type TypedRequest, type ActionRequest, type ActionReturn } from './util/types/types'; export * from './util/helpers/CDSDispatcher'; -export { Inject }; +// Exported to uppercase to be in guidance with other decorators. +export { inject as Inject } from 'inversify'; diff --git a/package-lock.json b/package-lock.json index 428255c..11e8cb2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "cds-ts-dispatcher", - "version": "1.0.0", + "name": "@dxfrontier/cds-ts-dispatcher", + "version": "0.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "cds-ts-dispatcher", - "version": "1.0.0", + "name": "@dxfrontier/cds-ts-dispatcher", + "version": "0.1.2", "license": "MIT", "workspaces": [ "./test/bookshop" diff --git a/package.json b/package.json index 71b6283..b1b031d 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "fix": "npm run eslint:fix && npm run prettier:fix", "test": "npm run build:entities:test --prefix ./test/bookshop && jest", "test:newman": "newman run ./test/e2e/CDS-TS-Dispatcher.postman_collection.json --environment ./test/e2e/environment.json --bail", - "start:bookshop": "npm run start --prefix /test/bookshop", + "start:bookshop": "npm run start --prefix ./test/bookshop", "prepare": "husky install" }, "repository": { @@ -49,19 +49,19 @@ "homepage": "https://github.com/dxfrontier/cds-ts-dispatcher#readme", "dependencies": { "@sap/cds": "^7.3.0", - "inversify": "^6.0.1", + "inversify": "^6.0.2", "reflect-metadata": "^0.1.13" }, "devDependencies": { - "@cap-js/sqlite": "^1.3.0", - "@types/jest": "^29.5.5", - "@typescript-eslint/eslint-plugin": "^6.7.4", - "@typescript-eslint/parser": "^6.7.4", - "eslint": "^8.51.0", + "@cap-js/sqlite": "^1.3.1", + "@types/jest": "^29.5.6", + "@typescript-eslint/eslint-plugin": "^6.8.0", + "@typescript-eslint/parser": "^6.8.0", + "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-config-standard-with-typescript": "^39.1.1", - "eslint-plugin-import": "^2.28.1", - "eslint-plugin-n": "^16.1.0", + "eslint-plugin-import": "^2.29.0", + "eslint-plugin-n": "^16.2.0", "eslint-plugin-promise": "^6.1.1", "husky": "^8.0.3", "jest": "^29.7.0",