Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
281e753
refactor: Extract JS dependency management into shared module
github-actions[bot] Sep 24, 2025
3896f80
fix: Address code review issues and optimize package_json gem usage
github-actions[bot] Sep 24, 2025
3c7c49e
fix: Fix failing generator tests in message_deduplication_spec
github-actions[bot] Sep 24, 2025
f6931de
fix: Fix failing generator tests in PR #1812
ihabadham Sep 24, 2025
8fdff7f
fix: Fix RuboCop violations and remove accidental dependency
ihabadham Sep 24, 2025
24d8b2c
refactor: Extract dependency arrays as frozen constants and add modul…
ihabadham Sep 24, 2025
6324ff1
perf: Optimize add_react_on_rails_package to eliminate redundant arra…
ihabadham Sep 24, 2025
3f3841b
fix: Always run final install to prevent edge cases
ihabadham Sep 24, 2025
861caa1
refactor: Simplify JS dependency manager by removing redundant packag…
github-actions[bot] Sep 24, 2025
83765cb
fix: Address code review issues in JS dependency manager
justin808 Nov 16, 2025
f14c980
fix: Add Rspack and TypeScript support to shared JS dependency manager
justin808 Nov 17, 2025
62d06f0
fix: Use SWC as default and remove Babel dependencies managed by Shak…
justin808 Nov 17, 2025
29f2b61
fix: Address code review issues in JS dependency manager
justin808 Nov 17, 2025
ce98bed
Replace scss-lint with stylelint (#1825)
ihabadham Nov 17, 2025
4e1dd18
Fix spec/dummy bin/dev to use correct route (#2029)
justin808 Nov 17, 2025
a1e80bb
Bump version to 16.2.0.beta.5
justin808 Nov 17, 2025
a642b66
fix: Update shakapacker config to use javascript_transpiler instead o…
justin808 Nov 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/lint-js-and-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ jobs:
run: yarn run eslint --report-unused-disable-directives
- name: Check formatting
run: yarn start format.listDifferent
- name: Lint SCSS with stylelint
run: yarn run lint:scss
- name: Type-check TypeScript
run: yarn run type-check
- name: Pack for attw and publint
Expand Down
205 changes: 0 additions & 205 deletions .scss-lint.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"extends": "stylelint-config-standard-scss",
"rules": {
"color-named": null,
"color-hex-length": "long",
"selector-id-pattern": null,
"scss/at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"include",
"mixin",
"each",
"if",
"else",
"for",
"while",
"function",
"return",
"use",
"forward"
]
}
],
"selector-class-pattern": null,
"custom-property-pattern": null,
"keyframes-name-pattern": null,
"scss/percent-placeholder-pattern": null,
"scss/dollar-variable-pattern": null,
"scss/at-function-pattern": null,
"scss/at-mixin-pattern": null,
"import-notation": null,
"at-rule-empty-line-before": null,
"font-family-name-quotes": null,
"rule-empty-line-before": null,
"scss/dollar-variable-empty-line-before": null,
"function-url-quotes": null
},
"ignoreFiles": [
"spec/dummy/app/assets/stylesheets/application.css",
"**/*.js",
"**/*.jsx",
"**/*.ts",
"**/*.tsx"
]
}
1 change: 0 additions & 1 deletion Gemfile.development_dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ group :development, :test do
gem "rubocop", "1.61.0", require: false
gem "rubocop-performance", "~>1.20.0", require: false
gem "rubocop-rspec", "~>2.26", require: false
gem "scss_lint", require: false
gem "spring", "~> 4.0"
gem "lefthook", require: false
# Added for Ruby 3.5+ compatibility to silence warnings
Expand Down
10 changes: 1 addition & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
react_on_rails (16.2.0.beta.4)
react_on_rails (16.2.0.beta.5)
addressable
connection_pool
execjs (~> 2.5)
Expand Down Expand Up @@ -332,11 +332,6 @@ GEM
rubocop (~> 1.40)
ruby-progressbar (1.13.0)
rubyzip (2.3.2)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (6.0.0)
sassc-rails (~> 2.1, >= 2.1.1)
sassc (2.4.0)
Expand All @@ -347,8 +342,6 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
scss_lint (0.60.0)
sass (~> 3.5, >= 3.5.5)
sdoc (2.6.1)
rdoc (>= 5.0)
securerandom (0.4.1)
Expand Down Expand Up @@ -473,7 +466,6 @@ DEPENDENCIES
rubocop-performance (~> 1.20.0)
rubocop-rspec (~> 2.26)
sass-rails (~> 6.0)
scss_lint
sdoc
selenium-webdriver (= 4.9.0)
shakapacker (= 9.3.0)
Expand Down
18 changes: 18 additions & 0 deletions knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ const config: KnipConfig = {
'**/app-react16/**/*',
// Playwright support files and helpers - generated by cypress-on-rails gem
'e2e/playwright/support/**',
// Components and files used dynamically by React on Rails (registered at runtime)
'client/app/actions/**',
'client/app/components/**',
'client/app/routes/**',
'client/app/startup/**',
'client/app/store/**',
],
project: ['**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}!', 'config/webpack/*.js'],
paths: {
Expand Down Expand Up @@ -156,6 +162,18 @@ const config: KnipConfig = {
'url-loader',
// Transitive dependency of shakapacker but listed as direct dependency
'webpack-merge',
// Dependencies not detected in production mode
'@babel/runtime',
'mini-css-extract-plugin',
'css-loader',
'sass',
'sass-loader',
// Dependencies used dynamically by React on Rails
'create-react-class',
'react-helmet',
'@types/react-helmet',
'react-redux',
'react-router-dom',
],
},
},
Expand Down
Loading