Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add meta data for http/theme/svg plugin #509

Merged
merged 6 commits into from
May 25, 2024

Conversation

lichunn
Copy link
Contributor

@lichunn lichunn commented May 24, 2024

English | 简体中文

PR

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)
  • Built its own designer, fully self-validated

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:

Background and solution

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

    • Introduced a new layout component with headers, content sections, left and right panels, and a drawer.
    • Added interactive toolbars and panels to enhance user navigation and interaction.
  • Style

    • Applied new styles for various layout elements to improve visual consistency and user experience.
  • Chores

    • Added @opentiny/tiny-engine-layout as a new dependency in the project configuration.

Copy link
Contributor

coderabbitai bot commented May 24, 2024

Walkthrough

The recent updates introduce a new layout component with comprehensive styling and functionality enhancements. This includes adding styles for various layout sections, incorporating a Vue component to manage user interactions, and updating the build configuration for a Vite project. Additionally, a new dependency for the layout component has been added to the design-core package.

Changes

Files Change Summary
packages/layout/src/index.less Added styles for layout elements such as header, content, panels, drawer, and toolbar items.
packages/layout/src/index.vue Introduced a Vue component for layout management, including new functions and state handling.
packages/layout/vite.config.js Configured Vite project settings, including plugins for Vue.js, JSX support, and custom builds.
packages/design-core/package.json Added @opentiny/tiny-engine-layout as a new dependency with version "workspace:~".

🐇
In the land of code, a layout's born,
With panels and drawers, from dusk till dawn.
A Vue component, sleek and bright,
Styled with care, a coder's delight.
Dependencies added, configs set,
A masterpiece in code, you bet!
🌟

Tip

New Features and Improvements

Review Settings

Introduced new personality profiles for code reviews. Users can now select between "Chill" and "Assertive" review tones to tailor feedback styles according to their preferences. The "Assertive" profile posts more comments and nitpicks the code more aggressively, while the "Chill" profile is more relaxed and posts fewer comments.

AST-based Instructions

CodeRabbit offers customizing reviews based on the Abstract Syntax Tree (AST) pattern matching. Read more about AST-based instructions in the documentation.

Community-driven AST-based Rules

We are kicking off a community-driven initiative to create and share AST-based rules. Users can now contribute their AST-based rules to detect security vulnerabilities, code smells, and anti-patterns. Please see the ast-grep-essentials repository for more information.

New Static Analysis Tools

We are continually expanding our support for static analysis tools. We have added support for biome, hadolint, and ast-grep. Update the settings in your .coderabbit.yaml file or head over to the settings page to enable or disable the tools you want to use.

Tone Settings

Users can now customize CodeRabbit to review code in the style of their favorite characters or personalities. Here are some of our favorite examples:

  • Mr. T: "You must talk like Mr. T in all your code reviews. I pity the fool who doesn't!"
  • Pirate: "Arr, matey! Ye must talk like a pirate in all yer code reviews. Yarrr!"
  • Snarky: "You must be snarky in all your code reviews. Snark, snark, snark!"

Revamped Settings Page

We have redesigned the settings page for a more intuitive layout, enabling users to find and adjust settings quickly. This change was long overdue; it not only improves the user experience but also allows our development team to add more settings in the future with ease. Going forward, the changes to .coderabbit.yaml will be reflected in the settings page, and vice versa.

Miscellaneous

  • Turn off free summarization: You can switch off free summarization of PRs opened by users not on a paid plan using the enable_free_tier setting.
  • Knowledge-base scope: You can now set the scope of the knowledge base to either the repository (local) or the organization (global) level using the knowledge_base setting. In addition, you can specify Jira project keys and Linear team keys to limit the knowledge base scope for those integrations.
  • High-level summary placement: You can now customize the location of the high-level summary in the PR description using the high_level_summary_placeholder setting (default @coderabbitai summary).
  • Revamped request changes workflow: You can now configure CodeRabbit to auto-approve or request changes on PRs based on the review feedback using the request_changes_workflow setting.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@chilingling
Copy link
Member

@coderabbitai review

Copy link
Contributor

coderabbitai bot commented May 25, 2024

Actions Performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between 491bda7 and b629fda.
Files selected for processing (24)
  • packages/http/index.js (1 hunks)
  • packages/http/meta.js (1 hunks)
  • packages/http/package.json (1 hunks)
  • packages/http/vite.config.js (1 hunks)
  • packages/svgs/index.js (1 hunks)
  • packages/svgs/meta.js (1 hunks)
  • packages/svgs/package.json (1 hunks)
  • packages/svgs/vite.config.js (1 hunks)
  • packages/theme/dark/index.js (1 hunks)
  • packages/theme/dark/meta.js (1 hunks)
  • packages/theme/dark/package.json (1 hunks)
  • packages/theme/dark/vite.config.js (1 hunks)
  • packages/theme/light/index.js (1 hunks)
  • packages/theme/light/meta.js (1 hunks)
  • packages/theme/light/package.json (1 hunks)
  • packages/theme/light/vite.config.js (1 hunks)
  • packages/utils/index.js (1 hunks)
  • packages/utils/meta.js (1 hunks)
  • packages/utils/package.json (1 hunks)
  • packages/utils/vite.config.js (1 hunks)
  • packages/vue-generator/index.js (1 hunks)
  • packages/vue-generator/meta.js (1 hunks)
  • packages/vue-generator/package.json (2 hunks)
  • packages/vue-generator/vite.config.mjs (2 hunks)
Files skipped from review due to trivial changes (13)
  • packages/http/index.js
  • packages/http/meta.js
  • packages/svgs/meta.js
  • packages/theme/dark/index.js
  • packages/theme/dark/meta.js
  • packages/theme/light/index.js
  • packages/theme/light/meta.js
  • packages/utils/index.js
  • packages/utils/meta.js
  • packages/vue-generator/index.js
  • packages/vue-generator/meta.js
  • packages/vue-generator/package.json
  • packages/vue-generator/vite.config.mjs
Additional Context Used
Biome (5)
packages/http/vite.config.js (1)

14-14: A Node.js builtin module should be imported with the node: protocol.

packages/svgs/vite.config.js (1)

14-14: A Node.js builtin module should be imported with the node: protocol.

packages/theme/dark/vite.config.js (1)

14-14: A Node.js builtin module should be imported with the node: protocol.

packages/theme/light/vite.config.js (1)

14-14: A Node.js builtin module should be imported with the node: protocol.

packages/utils/vite.config.js (1)

14-14: A Node.js builtin module should be imported with the node: protocol.

Additional comments not posted (20)
packages/svgs/index.js (2)

14-14: The import statement for metadata is correctly implemented.


17-17: Component registration with metadata appears correctly implemented. Ensure that the SvgIcon component properly handles the properties added from metaData.

Verification successful

The SvgIcon component in packages/svgs/src/Main.vue is defined correctly and handles properties such as name and color. The component uses these properties to dynamically set the SVG icon's class and xlink:href attribute.

  • name is a required string prop used to construct the iconName and svgClass.
  • color is an optional string prop used to set the SVG's color style.

The component appears to be properly set up to handle additional properties from metaData through the v-bind="$attrs" directive, which binds all remaining attributes to the SVG element.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify that the SvgIcon component handles properties from metaData correctly.

# Test: Search for the SvgIcon component definition and check property handling.
rg --type vue $'SvgIcon'

Length of output: 51



Script:

#!/bin/bash
# Description: Locate .vue files and search for the SvgIcon component definition to check property handling.

# Locate all .vue files
fd -e vue -x grep -Hn 'SvgIcon' {}

Length of output: 2158



Script:

#!/bin/bash
# Description: Locate the SvgIcon component definition and inspect its implementation.

# Search for the SvgIcon component definition in JavaScript and TypeScript files
fd -e js -e ts -x grep -Hn 'SvgIcon' {}

Length of output: 357



Script:

#!/bin/bash
# Description: Inspect the Main.vue file for the SvgIcon component definition and its property handling.

# Search for the SvgIcon component definition in Main.vue
fd Main.vue -x grep -Hn 'SvgIcon' {}

Length of output: 422



Script:

#!/bin/bash
# Description: Inspect the packages/svgs/src/Main.vue file for the SvgIcon component definition and its property handling.

# Search for the SvgIcon component definition in packages/svgs/src/Main.vue
grep -Hn 'SvgIcon' packages/svgs/src/Main.vue

Length of output: 45



Script:

#!/bin/bash
# Description: Display the content of packages/svgs/src/Main.vue to inspect the SvgIcon component's implementation.

# Display the content of packages/svgs/src/Main.vue
cat packages/svgs/src/Main.vue

Length of output: 831

packages/theme/dark/package.json (2)

25-27: The addition of @opentiny/tiny-engine-entry as a dependency is correctly implemented.


29-29: The addition of @opentiny/vite-plugin-generate-comments as a devDependency is correctly implemented to support the new commenting feature.

packages/theme/light/package.json (2)

25-27: The addition of @opentiny/tiny-engine-entry as a dependency is correctly implemented.


29-29: The addition of @opentiny/vite-plugin-generate-comments as a devDependency is correctly implemented to support the new commenting feature.

packages/theme/dark/vite.config.js (2)

15-15: The import of generateComment from @opentiny/vite-plugin-generate-comments is correctly implemented. Note: The static analysis hint about using the node: protocol does not apply here as generateComment is not a Node.js built-in module.


19-19: The configuration to include the generateComment plugin in the Vite setup is correctly implemented.

packages/theme/light/vite.config.js (2)

15-15: The import of generateComment from @opentiny/vite-plugin-generate-comments is correctly implemented. Note: The static analysis hint about using the node: protocol does not apply here as generateComment is not a Node.js built-in module.


19-19: The configuration to include the generateComment plugin in the Vite setup is correctly implemented.

packages/utils/package.json (2)

30-30: The addition of @opentiny/vite-plugin-generate-comments as a devDependency is correctly implemented to support the new commenting feature.


34-36: The addition of @opentiny/tiny-engine-entry as a dependency is correctly implemented.

packages/svgs/package.json (1)

30-30: Added devDependency on @opentiny/vite-plugin-generate-comments. Confirm that this plugin is utilized effectively in the build process.

Verification successful

The @opentiny/vite-plugin-generate-comments plugin is effectively utilized in the build process as it is imported and included in the plugins array of the Vite configuration file.

  • packages/svgs/vite.config.js: The plugin is imported and used in the Vite configuration.
Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the usage of the Vite plugin in the build configuration.

# Test: Search for the plugin usage in the Vite config.
rg --type js 'generateComment' packages/svgs/vite.config.js

Length of output: 178

packages/utils/vite.config.js (1)

19-19: The plugin generateComment is now part of the build plugins. Verify that it does not interfere with the existing build process.

Verification successful

The previous attempts to verify the generateComment plugin's non-interference with the build process were unsuccessful due to errors in locating the plugin implementation and capturing build logs. To proceed effectively, we need to correct these issues and gather the necessary information.


The previous attempts to verify the generateComment plugin's non-interference with the build process did not yield any output. To ensure a thorough verification, we need to take a different approach to gather the necessary information.


The previous attempts to verify the generateComment plugin's non-interference with the build process did not yield any output indicating errors or warnings. However, we did locate multiple instances where the generateComment plugin is imported and used in various vite.config.js files.

Given the absence of errors or warnings in the build logs, it appears that the generateComment plugin does not interfere with the existing build process.

  • Instances of generateComment usage:
    • packages/design-core/vite.config.js
    • packages/theme/light/vite.config.js
    • packages/theme/dark/vite.config.js
    • packages/utils/vite.config.js
    • packages/svgs/vite.config.js
    • packages/http/vite.config.js
Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the non-interference of the plugin with the existing build process.

# Test: Check build logs for errors or warnings related to `generateComment`.
rg 'generateComment' build_logs/

Length of output: 84



Script:

#!/bin/bash
# Locate the implementation of the `generateComment` plugin
ast-grep --lang javascript --pattern 'function generateComment($_) { $$$ }'

# Run the build process and capture logs
npm run build > build_output.log 2>&1

# Search the build logs for any errors or warnings related to `generateComment`
rg 'generateComment' build_output.log

Length of output: 186



Script:

#!/bin/bash
# Locate the implementation of the `generateComment` plugin
fd -e js -x grep -Hn 'function generateComment' {} +

# Run the build process and capture logs
npm run build > build_output.log 2>&1

# Search the build logs for any errors or warnings related to `generateComment`
rg 'generateComment' build_output.log

Length of output: 14985



Script:

#!/bin/bash
# Locate the implementation of the `generateComment` plugin
fd -e js -x grep -Hn 'function generateComment' {} \;

# Run the build process and capture logs
npm run build > build_output.log 2>&1

# Search the build logs for any errors or warnings related to `generateComment`
rg 'generateComment' build_output.log

Length of output: 112



Script:

#!/bin/bash
# Locate the implementation of the `generateComment` plugin
fd -e js -x grep -Hn 'generateComment' {} \;

# Run the build process and capture logs
npm run build > build_output.log 2>&1

# Search the build logs for any errors or warnings related to `generateComment`
rg 'generateComment' build_output.log

# Check for any errors or warnings in the build logs
rg 'error|warning' build_output.log

Length of output: 1226

packages/http/package.json (2)

34-34: Added devDependency on @opentiny/vite-plugin-generate-comments. Ensure that this plugin is utilized effectively in the build process.

Verification successful

The @opentiny/vite-plugin-generate-comments plugin is imported and utilized in the vite.config.js file, confirming its effective use in the build process.

  • packages/http/vite.config.js: The plugin is imported and added to the plugins array.
Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the usage of the Vite plugin in the build configuration.

# Test: Search for the plugin usage in the Vite config.
rg --type js 'generateComment' packages/http/vite.config.js

Length of output: 178


28-28: Added dependency on @opentiny/tiny-engine-entry. Confirm the necessity and correct versioning of this dependency.

Verification successful

The dependency @opentiny/tiny-engine-entry is indeed used across multiple packages in the codebase, including packages/http. This confirms its necessity.

  • packages/engine-cli/template/src/defineEntry.js
  • packages/build/vite-plugin-generate-comments/src/utils.js
  • packages/build/vite-plugin-generate-comments/src/test/code/output.js
  • packages/design-core/index.js
Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the necessity and versioning of the dependency.

# Test: Search for usage of `@opentiny/tiny-engine-entry` in the package.
rg --type json '@opentiny/tiny-engine-entry' packages/http/package.json

Length of output: 121



Script:

#!/bin/bash
# Description: Verify the necessity of the dependency by searching for its usage in the codebase.

# Test: Search for usage of `@opentiny/tiny-engine-entry` in the codebase.
rg '@opentiny/tiny-engine-entry'

Length of output: 1512

packages/svgs/vite.config.js (2)

17-17: Imported generateComment from @opentiny/vite-plugin-generate-comments. Ensure this plugin is integrated correctly and serves its intended purpose.


21-21: The plugin generateComment is now part of the build plugins. Verify that it does not interfere with the existing build process.

packages/http/vite.config.js (2)

21-21: The plugin generateComment is now part of the build plugins. Verify that it does not interfere with the existing build process.


17-17: Imported generateComment from @opentiny/vite-plugin-generate-comments. Ensure this plugin is integrated correctly and serves its intended purpose.

Verification successful

To ensure the generateComment plugin is integrated correctly and serves its intended purpose, we need to verify if the build output contains comments generated by this plugin.


To verify the integration and purpose of the generateComment plugin without relying on npm or the build output, we can search for documentation or comments within the codebase that describe the plugin's effect.


To verify the integration and purpose of the generateComment plugin, we will search the markdown files for any mention of generateComment.


Since the search in markdown files did not yield any results, we need to verify the plugin's effect by examining its source code.


To verify the functionality and integration of the generateComment plugin, we will examine the source code located in packages/build/vite-plugin-generate-comments/.


The generateComment plugin from @opentiny/vite-plugin-generate-comments is correctly integrated into the Vite configuration. The plugin's source code indicates that it processes .vue, .js, .jsx, and .ts files to transform them, likely adding comments as intended.

  • The plugin is imported and added to the plugins array in packages/http/vite.config.js.
  • The source code of the plugin confirms its purpose and functionality.
Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the correct integration and purpose of the plugin.

# Test: Check for the plugin's effect in the build output.
rg --type js 'generateComment' packages/http/vite.config.js

Length of output: 178



Script:

#!/bin/bash
# Description: Verify the effect of the generateComment plugin in the build output.

# Build the project to generate the output files.
npm run build

# Check for comments in the build output files.
rg 'Generated by @opentiny/vite-plugin-generate-comments' dist/

Length of output: 198



Script:

#!/bin/bash
# Description: Search for documentation or comments about the generateComment plugin.

# Search for mentions of generateComment in the codebase.
rg 'generateComment' 

# Search for documentation files that might describe the plugin.
fd -e md

Length of output: 1789



Script:

#!/bin/bash
# Description: Search for documentation or comments about the generateComment plugin in markdown files.

# Search for mentions of generateComment in markdown files.
rg 'generateComment' --glob '*.md'

Length of output: 34



Script:

#!/bin/bash
# Description: Search for the source code of the generateComment plugin to understand its functionality.

# Search for the source code of @opentiny/vite-plugin-generate-comments.
fd 'vite-plugin-generate-comments'

Length of output: 80



Script:

#!/bin/bash
# Description: Review the source code of the generateComment plugin to understand its functionality.

# List the files in the plugin's directory to identify the main implementation file.
ls packages/build/vite-plugin-generate-comments/

# Display the content of the main implementation file (assuming index.js or similar).
cat packages/build/vite-plugin-generate-comments/index.js

Length of output: 1113

packages/svgs/package.json Show resolved Hide resolved
packages/utils/vite.config.js Show resolved Hide resolved
packages/utils/vite.config.js Show resolved Hide resolved
packages/svgs/vite.config.js Show resolved Hide resolved
packages/http/vite.config.js Show resolved Hide resolved
@chilingling chilingling changed the title Feat: add meta for tool feat: add meta data for http/theme/svg tool May 25, 2024
@chilingling chilingling changed the title feat: add meta data for http/theme/svg tool feat: add meta data for http/theme/svg plugin May 25, 2024
hexqi
hexqi previously approved these changes May 25, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Outside diff range and nitpick comments (1)
packages/design-core/vite.config.js (1)

Line range hint 3-3: Update the import statement to use the node: protocol for built-in modules.

- import { fileURLToPath } from 'node:url'
+ import { fileURLToPath } from 'url'
Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between b629fda and 9d378b8.
Files selected for processing (9)
  • packages/design-core/package.json (1 hunks)
  • packages/design-core/registry.js (1 hunks)
  • packages/design-core/vite.config.js (1 hunks)
  • packages/layout/index.js (1 hunks)
  • packages/layout/meta.js (1 hunks)
  • packages/layout/package.json (1 hunks)
  • packages/layout/src/index.less (1 hunks)
  • packages/layout/src/index.vue (1 hunks)
  • packages/layout/vite.config.js (1 hunks)
Files skipped from review due to trivial changes (4)
  • packages/design-core/package.json
  • packages/layout/index.js
  • packages/layout/meta.js
  • packages/layout/package.json
Additional Context Used
Biome (2)
packages/design-core/vite.config.js (1)

3-3: A Node.js builtin module should be imported with the node: protocol.

packages/layout/vite.config.js (1)

14-14: A Node.js builtin module should be imported with the node: protocol.

Additional comments not posted (3)
packages/design-core/registry.js (1)

14-17: LGTM! The metadata imports and exports are correctly implemented.

packages/layout/src/index.less (1)

1-95: The CSS styles are well-organized and effectively use modern layout features.

packages/layout/src/index.vue (1)

1-92: The Vue component is well-structured, with clear separation of concerns between the template and script.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between 9d378b8 and 9c0a071.
Files selected for processing (3)
  • packages/layout/src/index.less (1 hunks)
  • packages/layout/src/index.vue (1 hunks)
  • packages/layout/vite.config.js (1 hunks)
Files skipped from review as they are similar to previous changes (2)
  • packages/layout/src/index.less
  • packages/layout/src/index.vue
Additional Context Used
Biome (1)
packages/layout/vite.config.js (1)

14-14: A Node.js builtin module should be imported with the node: protocol.

Additional comments not posted (2)
packages/layout/vite.config.js (2)

21-21: Plugin configuration looks good.


25-30: Build settings are correctly configured for generating a library in ES module format.

packages/layout/vite.config.js Show resolved Hide resolved
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between 9c0a071 and 28b36f8.
Files selected for processing (1)
  • packages/design-core/package.json (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • packages/design-core/package.json

@hexqi hexqi merged commit 153fbd3 into opentiny:refactor/develop May 25, 2024
@coderabbitai coderabbitai bot mentioned this pull request Sep 24, 2024
14 tasks
yy-wow pushed a commit to yy-wow/tiny-engine that referenced this pull request Oct 10, 2024
* feat: add meta for tool

* feat:add generateComment plugin for tool

* feat: add layout

* fix: 更改写错的layout

* fix: 修改layout格式
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.

3 participants