-
-
Notifications
You must be signed in to change notification settings - Fork 638
PR #4: Split JS Pro Code to Separate Package #1841
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
Open
AbanoubGhadban
wants to merge
40
commits into
master
Choose a base branch
from
split-js-pro-package
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
188063e
Add comprehensive implementation plan for JS Pro package separation
AbanoubGhadban 255f289
Step 1 Complete: Create React-on-Rails-Pro Package Structure
AbanoubGhadban c3c8d1a
Step 2: Create Simple MIT Registries for Core Package
AbanoubGhadban 2d98750
Step 3: Update Core Package to Use New Registries
AbanoubGhadban 5a28c85
Step 4: Move Pro Files to Pro Package
AbanoubGhadban ef2af54
Update import paths in pro package files
AbanoubGhadban 34136e8
Fix clientStartup.ts for core package
AbanoubGhadban 0605be2
Fix core package behavior: render all components after page load
AbanoubGhadban f60a223
Step 5: Move Pro Tests to Pro Package
AbanoubGhadban 490fe3b
Create Pro package main entry point
AbanoubGhadban 2c0f07e
Fix pro package to use react-on-rails as proper dependency
AbanoubGhadban 0d30e6a
Add .gitignore entries for TypeScript build artifacts
AbanoubGhadban 4eba22c
Step 7.1: Update workspace configuration
AbanoubGhadban a1230a4
Step 8: Update LICENSE.md for new package structure
AbanoubGhadban 4404989
Step 9: Update documentation for new package structure
AbanoubGhadban af0b5b7
Fix serverRenderReactComponent tests for new architecture
AbanoubGhadban ecde677
Mark all implementation steps as complete
AbanoubGhadban 972f053
Fix: Disable incremental compilation in pro package
AbanoubGhadban 56bf9c1
Better fix: Configure tsBuildInfoFile location instead of disabling i…
AbanoubGhadban ae7e120
Enhance TypeScript configuration for react-on-rails packages
AbanoubGhadban f654a71
Refactor TypeScript configuration for react-on-rails packages
AbanoubGhadban fab7300
Refactor imports to use local utils module
AbanoubGhadban 0298002
Refactor loadJsonFile import and add new implementation
AbanoubGhadban 7b01a8c
Add utility functions for enhanced fetch handling and caching
AbanoubGhadban 090a199
Remove utility functions from utils.ts
AbanoubGhadban 75ea583
Refactor Jest configuration and enhance testing utilities
AbanoubGhadban 9487596
Update dependencies and improve Jest configuration for react-on-rails…
AbanoubGhadban 0b1d4ee
Update react-on-rails dependency and adjust import paths
AbanoubGhadban bbf20bf
tmp
AbanoubGhadban a9b94af
Update client startup behavior and configuration settings
AbanoubGhadban 5c6eda2
Update package.json references in convert script
AbanoubGhadban 22e5c63
Add build step for Renderer package in CI workflow
AbanoubGhadban 07b598d
Refactor JavaScript pack tag expectations in ReactOnRailsHelper spec
AbanoubGhadban f9ec9ab
Enhance ClientRenderer with cleanup and improved startup behavior
AbanoubGhadban 272c731
Update JavaScript pack tag expectation in ReactOnRailsHelper spec to …
AbanoubGhadban 9b34703
Refactor client startup and component loading behavior
AbanoubGhadban eaf45a3
Enhance ESLint configuration and TypeScript support for react-on-rail…
AbanoubGhadban 59d8f9b
Remove obsolete ESLint configuration files for react-on-rails packages
AbanoubGhadban a1e23ec
Refactor knip configuration and remove unused loadJsonFile function
AbanoubGhadban 0e49d15
Refactor React on Rails package structure and enhance functionality
AbanoubGhadban File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion | 🟠 Major
❓ Verification inconclusive
Do not blanket-ignore
/packages/*/src/**/*.js
.This pattern makes it impossible to commit any legitimate JavaScript sources (e.g., stories, config files, runtime JS) that live alongside TS in
packages/*/src
. Today or later, dropping one of those files would silently remove real code from the package. Please scope the ignore to the actual build output directory (e.g.,/packages/*/lib
) or otherwise restrict it so real JS sources remain trackable. Also double-check the repo for existing.js
files underpackages/*/src
that would be affected.Run this to list any currently tracked
.js
files that would be ignored:🏁 Script executed:
Length of output: 0
Restrict
.gitignore
to build output, not/packages/*/src/**/*.js
Even though no
.js
files currently exist underpackages/*/src
, a blanket-ignore could hide future legitimate JS sources. Change the patterns to target your build directory (e.g.,/packages/*/lib/**/*.js
,.map
, etc.) instead of thesrc
folder.🤖 Prompt for AI Agents