Skip to content

Conversation

@discreted66
Copy link
Collaborator

@discreted66 discreted66 commented Jan 6, 2026

PR

feat:设计器支持obs部署

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our Commit Message Guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Summary by CodeRabbit

  • New Features

    • Integrated lowcode-designer functionality into the main application, enabling new design capabilities.
  • Chores

    • Updated package dependencies and optimized module resolution configurations for improved build performance and stability.
    • Enhanced development environment setup with improved configuration loading and environment variable handling.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 6, 2026

Caution

Review failed

The pull request is closed.

Walkthrough

The changes integrate the lowcode-designer into the build pipeline and main site across the monorepo. Updates include adding build and copy steps in CI/CD, enabling the feature via environment variables, configuring Vite module resolution, and adjusting @opentiny package versions across different contexts with varying version targets.

Changes

Cohort / File(s) Summary
CI/CD Pipeline
.github/workflows/deploy-obs.yml
Adds build step for lowcode-designer with VITE_LOWCODE_DESIGNER_ENABLED=true flag and new step to copy built designer assets to template/tinyvue/dist/vue-pro/designer/.
Package Version Management
package.json, template/lowcode-designer/package.json, template/tinyvue/package.json
Introduces pnpm overrides in root package.json (~3.20.0). Downgrades lowcode-designer dependencies from ^3.27.0 to ~3.20.0. Bumps tinyvue dependencies from ^3.27.0 to ~3.28.0 (version inconsistency across monorepo).
Vite Configuration
template/tinyvue/config/vite.config.base.ts, template/tinyvue/config/vite.config.dev.ts
Adds explicit paths for @opentiny/vue-icon and new @opentiny/vue-theme alias. Extends module resolution to include .css files. Adds environment loading in dev config and defines VITE_LOWCODE_DESIGNER_ENABLED for client injection.
Type Import Optimization
template/nestJs/src/.generate/i18n.generated.ts
Converts runtime import of Path to type-only import from nestjs-i18n.
Feature Enablement
template/tinyvue/dev.env, template/tinyvue/src/components/navbar/index.vue
Sets VITE_LOWCODE_DESIGNER_ENABLED to true in dev environment. Adds console logging to track feature flag evaluation.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~30 minutes

Poem

🐰 A designer lowcode hops in the door,
With aliases mapped and versions restored,
Environment flags flutter bright and true,
Build steps and copies make dreams come through,
The monorepo dance—a pnpm core! 🌿

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch lk0104

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 12f464b and bdd6d30.

⛔ Files ignored due to path filters (2)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • template/lowcode-designer/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (10)
  • .github/workflows/deploy-obs.yml
  • package.json
  • template/lowcode-designer/package.json
  • template/lowcode-designer/tmp/report.html
  • template/nestJs/src/.generate/i18n.generated.ts
  • template/tinyvue/config/vite.config.base.ts
  • template/tinyvue/config/vite.config.dev.ts
  • template/tinyvue/dev.env
  • template/tinyvue/package.json
  • template/tinyvue/src/components/navbar/index.vue

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@discreted66 discreted66 changed the title [wip]feat: The designer supports OBS deployment. [WIP]feat: The designer supports OBS deployment. Jan 6, 2026
@discreted66 discreted66 closed this Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants