Skip to content

Commit dfc1275

Browse files
Update configuration files to reflect package structure changes
- Removed references to 'node_package' in .gitignore, .prettierignore, and tsconfig.json to align with the new directory structure. - Updated Jest configuration comments for clarity. These changes enhance consistency across the project and ensure proper file management in the updated workspace.
1 parent 20f2f0b commit dfc1275

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ tmp/
2020

2121
node_modules
2222

23-
/node_package/lib
2423
/packages/*/lib
2524

2625
yarn-debug.*

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tmp/
66
coverage/
77
**/app/assets/webpack/
88
gen-examples/examples/*
9-
node_package/lib/*
9+
packages/*/lib/*
1010
spec/react_on_rails/dummy-for-generators/app/javascript/bundles/HelloWorld/*
1111
bundle/
1212
spec/dummy/lib/bs/**

packages/react-on-rails/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// eslint-disable-next-line import/no-relative-packages, import/extensions
1+
// eslint-disable-next-line import/no-relative-packages
22
import rootConfig from '../../jest.config.base.js';
33

44
const nodeVersion = parseInt(process.version.slice(1), 10);

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"strict": true,
1414
"incremental": true,
1515
"target": "es2020",
16-
"typeRoots": ["./node_modules/@types", "./node_package/types"]
16+
"typeRoots": ["./node_modules/@types"]
1717
},
18-
"include": ["packages/react-on-rails/src/**/*", "node_package/types/**/*"]
18+
"include": ["packages/react-on-rails/src/**/*"]
1919
}

0 commit comments

Comments
 (0)