@@ -39,17 +39,6 @@ const config: KnipConfig = {
3939 // SWC transpiler dependencies used in dummy apps
4040 '@swc/core' ,
4141 'swc-loader' ,
42- // Test dependencies used by child workspaces (packages/react-on-rails, packages/react-on-rails-pro)
43- '@testing-library/dom' ,
44- '@testing-library/jest-dom' ,
45- '@testing-library/react' ,
46- '@types/react-dom' ,
47- 'create-react-class' ,
48- 'jest-fetch-mock' ,
49- 'prop-types' ,
50- 'react' ,
51- 'react-dom' ,
52- 'redux' ,
5342 ] ,
5443 } ,
5544
@@ -83,9 +72,6 @@ const config: KnipConfig = {
8372 'tests/httpRequestUtils.ts' ,
8473 ] ,
8574 ignoreDependencies : [
86- // These are runtime dependencies needed for the package to work
87- // even though they may not be directly imported in the source
88- 'react-on-rails-pro' ,
8975 // Optional dependencies used in integrations
9076 '@honeybadger-io/js' ,
9177 '@sentry/*' ,
@@ -125,11 +111,6 @@ const config: KnipConfig = {
125111 'src/RSCRoute.tsx:RSCRouteProps' ,
126112 'src/streamServerRenderedReactComponent.ts:StreamingTrackers' ,
127113 ] ,
128- ignoreDependencies : [
129- // Test dependencies used only in tests
130- '@types/mock-fs' ,
131- 'mock-fs' ,
132- ] ,
133114 } ,
134115 'spec/dummy' : {
135116 entry : [
@@ -192,15 +173,6 @@ const config: KnipConfig = {
192173 // Dependencies not detected in production mode (runtime injected or dynamic imports)
193174 '@babel/runtime' ,
194175 'mini-css-extract-plugin' ,
195- 'css-loader' ,
196- 'sass' ,
197- 'sass-loader' ,
198- // Dependencies used dynamically by React on Rails
199- 'create-react-class' ,
200- 'react-helmet' ,
201- '@types/react-helmet' ,
202- 'react-redux' ,
203- 'react-router-dom' ,
204176 ] ,
205177 } ,
206178 } ,
0 commit comments