diff --git a/meet-ce/backend/nodemon.docs.json b/meet-ce/backend/nodemon.docs.json index 4ad33de..090f793 100644 --- a/meet-ce/backend/nodemon.docs.json +++ b/meet-ce/backend/nodemon.docs.json @@ -2,5 +2,5 @@ "watch": ["openapi/**/*.yaml", "openapi/**/*.yml"], "ext": "yaml,yml", "ignore": [], - "exec": "pnpm --filter openvidu-meet-backend run doc:api && pnpm --filter openvidu-meet-backend run doc:internal-api && echo '✅ OpenVidu Meet REST API docs updated successfully!'" + "exec": "pnpm --filter @openvidu-meet/backend run doc:api && pnpm --filter @openvidu-meet/backend run doc:internal-api && echo '✅ OpenVidu Meet REST API docs updated successfully!'" } diff --git a/meet-ce/backend/package.json b/meet-ce/backend/package.json index 1682579..a12d4a0 100644 --- a/meet-ce/backend/package.json +++ b/meet-ce/backend/package.json @@ -1,5 +1,5 @@ { - "name": "openvidu-meet-backend", + "name": "@openvidu-meet/backend", "version": "3.4.1", "description": "OpenVidu Meet Backend", "author": "OpenVidu", diff --git a/meet-ce/docker/Dockerfile b/meet-ce/docker/Dockerfile index 12b303c..827bd23 100644 --- a/meet-ce/docker/Dockerfile +++ b/meet-ce/docker/Dockerfile @@ -79,7 +79,7 @@ COPY --from=builder --chown=node:node /app/meet-ce/typings/package.json ./meet-c # Copy entrypoint script COPY meet-ce/docker/entrypoint.sh /usr/local/bin/entrypoint.sh -RUN pnpm install --prod --filter openvidu-meet-backend --filter @openvidu-meet/typings +RUN pnpm install --prod --filter @openvidu-meet/backend --filter @openvidu-meet/typings # Set permissions RUN chmod +x /usr/local/bin/entrypoint.sh && \ diff --git a/meet.sh b/meet.sh index 6b18ea8..af2e5b7 100755 --- a/meet.sh +++ b/meet.sh @@ -382,11 +382,11 @@ start_services() { case "$MODE" in prod) echo -e "${BLUE}Building and starting in production mode...${NC}" - NODE_ENV=production pnpm --filter openvidu-meet-backend run start + NODE_ENV=production pnpm --filter @openvidu-meet/backend run start ;; ci) echo -e "${BLUE}Building and starting in CI mode...${NC}" - NODE_ENV=ci pnpm --filter openvidu-meet-backend run start + NODE_ENV=ci pnpm --filter @openvidu-meet/backend run start ;; esac } diff --git a/package.json b/package.json index 03a8f8b..b98129f 100644 --- a/package.json +++ b/package.json @@ -6,29 +6,31 @@ "scripts": { "build": "pnpm run build:typings && pnpm run build:backend && pnpm run build:frontend && pnpm run build:webcomponent", "build:frontend": "pnpm --filter openvidu-meet-frontend run build ${BASE_HREF:-/}", - "build:backend": "pnpm --filter openvidu-meet-backend run build", + "build:backend": "pnpm --filter @openvidu-meet/backend run build", "build:webcomponent": "pnpm --filter openvidu-meet-webcomponent run build", "build:typings": "pnpm --filter @openvidu-meet/typings run build", "build:testapp": "pnpm --filter testapp run build", "build:webcomponent-doc": "node scripts/generate-webcomponent-docs.js docs", - "build:rest-api-docs": "pnpm --filter openvidu-meet-backend run doc:api && pnpm --filter openvidu-meet-backend run doc:internal-api", + "build:rest-api-docs": "pnpm --filter @openvidu-meet/backend run doc:api && pnpm --filter @openvidu-meet/backend run doc:internal-api", "dev:frontend": "pnpm --filter openvidu-meet-frontend run dev", - "dev:backend": "pnpm --filter openvidu-meet-backend run start:dev", + "dev:pro-frontend": "pnpm --filter openvidu-meet-pro-frontend run dev", + "dev:backend": "pnpm --filter @openvidu-meet/backend run start:dev", + "dev:pro-backend": "pnpm --filter @openvidu-meet-pro/backend run start:dev", "dev:webcomponent": "pnpm --filter openvidu-meet-webcomponent run build:watch", "dev:testapp": "pnpm --filter testapp run dev", "dev:typings": "pnpm --filter @openvidu-meet/typings run dev", "dev:rest-api-docs": "nodemon --config meet-ce/backend/nodemon.docs.json", "start:testapp": "pnpm --filter testapp run start", - "test:integration-backend": "pnpm --filter openvidu-meet-backend run test:integration", - "test:integration-backend-rooms": "pnpm --filter openvidu-meet-backend run test:integration-rooms", - "test:integration-backend-webhooks": "pnpm --filter openvidu-meet-backend run test:integration-webhooks", - "test:integration-backend-security": "pnpm --filter openvidu-meet-backend run test:integration-security", - "test:integration-backend-global-config": "pnpm --filter openvidu-meet-backend run test:integration-global-config", - "test:integration-backend-participants": "pnpm --filter openvidu-meet-backend run test:integration-participants", - "test:integration-backend-meetings": "pnpm --filter openvidu-meet-backend run test:integration-meetings", - "test:integration-backend-users": "pnpm --filter openvidu-meet-backend run test:integration-users", - "test:integration-backend-recordings": "pnpm --filter openvidu-meet-backend run test:integration-recordings", - "test:unit-backend": "pnpm --filter openvidu-meet-backend run test:unit", + "test:integration-backend": "pnpm --filter @openvidu-meet/backend run test:integration", + "test:integration-backend-rooms": "pnpm --filter @openvidu-meet/backend run test:integration-rooms", + "test:integration-backend-webhooks": "pnpm --filter @openvidu-meet/backend run test:integration-webhooks", + "test:integration-backend-security": "pnpm --filter @openvidu-meet/backend run test:integration-security", + "test:integration-backend-global-config": "pnpm --filter @openvidu-meet/backend run test:integration-global-config", + "test:integration-backend-participants": "pnpm --filter @openvidu-meet/backend run test:integration-participants", + "test:integration-backend-meetings": "pnpm --filter @openvidu-meet/backend run test:integration-meetings", + "test:integration-backend-users": "pnpm --filter @openvidu-meet/backend run test:integration-users", + "test:integration-backend-recordings": "pnpm --filter @openvidu-meet/backend run test:integration-recordings", + "test:unit-backend": "pnpm --filter @openvidu-meet/backend run test:unit", "test:e2e-webcomponent": "pnpm --filter openvidu-meet-webcomponent run test:e2e", "test:unit-webcomponent": "pnpm --filter openvidu-meet-webcomponent run test:unit" },