Thanks to visit codestin.com
Credit goes to github.com

Skip to content

resync #1

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

Merged
merged 734 commits into from
May 17, 2025
Merged

resync #1

merged 734 commits into from
May 17, 2025

Conversation

jsnanigans
Copy link
Owner

@jsnanigans jsnanigans commented Dec 22, 2024

Summary by CodeRabbit

  • New Features
    • Added new Angular benchmark variants with zoneless change detection using control flow and signals.
    • Introduced a new Aurelia 2 benchmark implementation with full data manipulation features.
    • Added a Reflex-DOM atomic benchmark variant showcasing fine-grained reactive state management.
  • Dependency Updates
    • Upgraded Angular, zone.js, TypeScript, and related tooling to version 19.x across multiple Angular benchmarks.
    • Updated Alpine.js, AppRun, and other framework dependencies to newer versions.
  • Build & Tooling
    • Updated Angular and Alpine build configurations to use the latest builders and plugins.
    • Refactored ESLint configuration to a modern flat config style with updated plugin usage.
    • Enhanced CLI commands with new targeted framework update and rebuild options, replacing obsolete checks.
  • Bug Fixes
    • Prevented default anchor behavior in Angular keyed signals template to avoid unwanted navigation.
  • Chores
    • Expanded and refined .gitignore entries for better exclusion of build artifacts, environment files, and testing artifacts.
    • Added and updated documentation, configuration, and metadata files for new and existing benchmarks.
    • Removed obsolete files and replaced deprecated scripts with improved update mechanisms.

Copy link

@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

🧹 Nitpick comments (1)
frameworks/keyed/angular-cf-nozone/src/app/app.component.ts (1)

87-87: Replace 'var' with 'const'.

Using var is flagged by ESLint. For better scoping and to follow modern JavaScript practices, replace with const since this variable isn't reassigned.

-            var a = this.data[1];
+            const a = this.data[1];
🧰 Tools
🪛 ESLint

[error] 87-87: Unexpected var, use let or const instead.

(no-var)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6035526 and 11a6d8e.

📒 Files selected for processing (1)
  • frameworks/keyed/angular-cf-nozone/src/app/app.component.ts (4 hunks)
🧰 Additional context used
🪛 ESLint
frameworks/keyed/angular-cf-nozone/src/app/app.component.ts

[error] 87-87: Unexpected var, use let or const instead.

(no-var)

🔇 Additional comments (4)
frameworks/keyed/angular-cf-nozone/src/app/app.component.ts (4)

1-1: Updated imports to use newer Angular APIs.

The change from ChangeDetectorRef to ApplicationRef aligns with the "no zone" approach for this benchmark implementation, effectively managing manual change detection at the application level rather than component level.


12-15: Component decorator simplified.

The component is no longer configured as a standalone component with explicit NgFor import. Ensure that NgFor is properly available through module imports if it's used in the template.


17-17: Modern dependency injection pattern adopted.

Using inject() function instead of constructor injection follows modern Angular best practices introduced in newer versions, making the code more maintainable.


45-45: Change detection strategy updated.

All component-level change detection calls have been replaced with application-level ticks. While this approach works well for the "no zone" benchmark, be aware that applicationRef.tick() triggers change detection for the entire application, which may have different performance characteristics than cdr.detectChanges().

Also applies to: 56-56, 61-61, 66-66, 73-73, 78-78, 83-83, 91-91

Copy link

@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

🧹 Nitpick comments (1)
cli/zip.js (1)

58-60: Case added for Deku framework with output-es path.

The addition of "deku" to use the same output path as "halogen" is a good alignment for consistency. This change properly handles the modernized output structure where these frameworks now use output-es/bundle.js instead of the previous location.

For added robustness during transitions, you might consider checking both paths when possible:

    case "deku": 
    case "halogen": {
      addLocalFileIfExists(`${frameworkDir}/output-es/bundle.js`, `${zipFrameworkPath}/output-es`);
+     // Fallback for older versions that might still use the previous path
+     addLocalFileIfExists(`${frameworkDir}/output/bundle.js`, `${zipFrameworkPath}/output`);
      break;
    }
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 11a6d8e and 61208f3.

📒 Files selected for processing (1)
  • cli/zip.js (1 hunks)

@jsnanigans jsnanigans merged commit 44faa94 into jsnanigans:master May 17, 2025
1 check passed
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.