-
-
Couldn't load subscription status.
- Fork 638
Remove package-lock.json #1804
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
Remove package-lock.json #1804
Changes from all commits
Commits
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co | |
| 1. **ALWAYS run `bundle exec rubocop` and fix ALL violations** | ||
| 2. **ALWAYS ensure files end with a newline character** | ||
| 3. **NEVER push without running full lint check first** | ||
| 4. **ALWAYS let Prettier handle ALL formatting - never manually format** | ||
| 4. **ALWAYS let Prettier and RuboCop handle ALL formatting - never manually format** | ||
|
|
||
| These requirements are non-negotiable. CI will fail if not followed. | ||
|
|
||
|
|
@@ -39,10 +39,11 @@ Git hooks will automatically run linting on **all changed files (staged + unstag | |
| - **Build**: `yarn run build` (compiles TypeScript to JavaScript in node_package/lib) | ||
| - **Type checking**: `yarn run type-check` | ||
| - **⚠️ MANDATORY BEFORE GIT PUSH**: `bundle exec rubocop` and fix ALL violations + ensure trailing newlines | ||
| - Never run `npm` commands, only equivalent Yarn Classic ones | ||
|
|
||
| ## ⚠️ FORMATTING RULES | ||
|
|
||
| **Prettier is the SOLE authority for formatting. NEVER manually format code.** | ||
| **Prettier is the SOLE authority for formatting non-Ruby files, and RuboCop for formatting Ruby files. NEVER manually format code.** | ||
|
|
||
| ### Standard Workflow | ||
| 1. Make code changes | ||
|
|
@@ -120,10 +121,10 @@ This project maintains both a Ruby gem and an NPM package: | |
| ## Important Notes | ||
|
|
||
| - Use `yalc` for local development when testing with external apps | ||
| - The project supports both Webpacker and Shakapacker | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Obsolete. |
||
| - Server-side rendering uses isolated Node.js processes | ||
| - React Server Components support available in Pro version | ||
| - Generated examples are in `gen-examples/` (ignored by git) | ||
| - Only use `yarn` as the JS package manager, never `npm` | ||
|
|
||
| ## IDE Configuration | ||
|
|
||
|
|
||
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.
Could tell it to look up the
packageManagerfield inpackage.json, but this seems more reliable. Just need to update this if/when we switch tonpm.