diff --git a/apps/api/README.md b/apps/api/README.md index bee04293f686..0771a59ac1d0 100644 --- a/apps/api/README.md +++ b/apps/api/README.md @@ -7,7 +7,7 @@ -# @novu/api +# @novu/api-service A RESTful API for accessing the Novu platform, built using [NestJS](https://nestjs.com/). diff --git a/apps/api/jarvis-api-intro.md b/apps/api/jarvis-api-intro.md index 5ec0272cb3b2..1aba8e1edd97 100644 --- a/apps/api/jarvis-api-intro.md +++ b/apps/api/jarvis-api-intro.md @@ -3,7 +3,7 @@ Hi, I'm Jarvis 🤖 I'm a bot built to help you with your contribution to Novu. I will add instructions and guides on how to run the subset of the Novu platform associated to this issue and make your first contribution. -This issue was tagged as related to `@novu/api` and the related code is located at the `apps/api` folder, here is how I can help you: +This issue was tagged as related to `@novu/api-service` and the related code is located at the `apps/api` folder, here is how I can help you:
First time contributing to Novu? @@ -17,7 +17,7 @@ If that's the first time you want to contribute to Novu here are a few simple st
- Run and test `@novu/api` locally + Run and test `@novu/api-service` locally ### Run API in watch mode diff --git a/eslint.config.mjs b/eslint.config.mjs index a3eef606f131..361bb97d41b5 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -43,7 +43,6 @@ const noRestrictedImportsMultiLevelNovuPattern = { group: [ '@novu/*/**/*', '!@novu/api/**/*', // This allows all imports from @novu/api - // '!@novu/api/funcs/triggerBulk', // These packages have legitimate exports 1 path part below the root level // This flatMap logic ignores the path 1 below the root level and prevents deeper imports. ...['framework', 'js', 'novui'].flatMap((pkg) => [`!@novu/${pkg}/**/*`, `@novu/${pkg}/*/**/*`]), diff --git a/novu.code-workspace b/novu.code-workspace index 71b928ad811d..6014850fc685 100644 --- a/novu.code-workspace +++ b/novu.code-workspace @@ -5,7 +5,7 @@ "path": ".", }, { - "name": "🚀 @novu/api", + "name": "🚀 @novu/api-service", "path": "apps/api", }, { diff --git a/nx.json b/nx.json index ebadc5f98214..d7894d4c7462 100644 --- a/nx.json +++ b/nx.json @@ -26,7 +26,7 @@ "groups": { "apps": { "projects": [ - "@novu/api", + "@novu/api-service", "@novu/dashboard", "@novu/inbound-mail", "@novu/web", diff --git a/package.json b/package.json index e134be89742e..992616b44118 100644 --- a/package.json +++ b/package.json @@ -44,9 +44,9 @@ "release": "node scripts/release.mjs", "release:version:apps": "nx release version --projects=tag:type:app", "setup:project": "npx --yes pnpm@9.11.0 i && node scripts/setup-env-files.js && pnpm build", - "start:api:dev": "cross-env nx run @novu/api:start:dev", - "start:api:test": "cross-env nx run-many --target=start:test --projects=@novu/api", - "start:api": "cross-env nx run @novu/api:start", + "start:api:dev": "cross-env nx run @novu/api-service:start:dev", + "start:api:test": "cross-env nx run-many --target=start:test --projects=@novu/api-service", + "start:api": "cross-env nx run @novu/api-service:start", "start:dal": "cross-env nx run @novu/dal:start", "start:dashboard": "cross-env nx run @novu/dashboard:start", "start:dev": "cross-env lerna run start:dev --stream --parallel --concurrency=20 --scope=@novu/{api,worker,web,widget,ws,notification-center}",