backend: Refactors package name
Renames the backend package to align with monorepo structure. Updates package references and scripts to use the new package name. Ensures consistent naming and improves project organization.
This commit is contained in:
parent
3724dce30b
commit
999793d148
@ -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!'"
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "openvidu-meet-backend",
|
||||
"name": "@openvidu-meet/backend",
|
||||
"version": "3.4.1",
|
||||
"description": "OpenVidu Meet Backend",
|
||||
"author": "OpenVidu",
|
||||
|
||||
@ -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 && \
|
||||
|
||||
4
meet.sh
4
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
|
||||
}
|
||||
|
||||
28
package.json
28
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"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user