Skip to content
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

build(deps): fix peer deps, upgrade react router #726

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
update deps and peer deps
  • Loading branch information
andrewazores committed Dec 8, 2022
commit 38348bcc151e6e62ef3ca22acf78efc5cb90f77c
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ jobs:
- uses: bahmutov/npm-install@v1
- run: yarn format:check
# - run: yarn lint
- run: yarn dependency:check
- run: yarn build:notests
- run: yarn test:ci
4 changes: 2 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
testEnvironment: "jsdom",

// A list of paths to snapshot serializer modules Jest should use for snapshot testing
snapshotSerializers: ['enzyme-to-json/serializer'],
// snapshotSerializers: ['enzyme-to-json/serializer'],

// The glob patterns Jest uses to detect test files
testMatch: [
Expand All @@ -57,7 +57,7 @@ module.exports = {
}
},

// An array of regexp pattern strings that are matched against all source file paths before transformation.
// An array of regexp pattern strings that are matched against all source file paths before transformation.
// If the file path matches any of the patterns, it will not be transformed.
transformIgnorePatterns: ["/node_modules/(?!@patternfly)"]
};
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"license": "UPL",
"private": true,
"scripts": {
"build": "npm-run-all -l build:notests test",
"dependency:check": "check-peer-dependencies --findSolutions --runOnlyOnRootDependencies",
"build": "npm-run-all -l dependency:check build:notests test",
"build:notests": "webpack --config webpack.prod.js",
"clean": "rimraf dist",
"start:dev": "webpack serve --hot --color --progress --config webpack.dev.js",
Expand All @@ -27,16 +28,13 @@
"build:bundle-profile": "webpack --config webpack.prod.js --profile --json > stats.json",
"build:bundle-analyze": "webpack-bundle-analyzer ./stats.json dist",
"build:bundle-profile-analyze": "npm-run-all -l build:bundle-profile build:bundle-analyze",
"yarn:install": "yarn install",
"yarn:frzinstall": "yarn install --immutable"
},
"devDependencies": {
"@testing-library/dom": "^8.19.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.3",
"@types/enzyme": "^3.10.12",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^27.0.2",
"@types/js-base64": "3.3.1",
"@typescript-eslint/eslint-plugin": "^4.33.0",
Expand All @@ -45,9 +43,6 @@
"css-loader": "^6.7.2",
"css-minimizer-webpack-plugin": "^4.2.2",
"dotenv-webpack": "^8.0.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.7",
"enzyme-to-json": "^3.6.2",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
Expand All @@ -66,8 +61,7 @@
"prop-types": "^15.7.2",
"raw-loader": "^4.0.2",
"react-axe": "^3.4.1",
"react-docgen-typescript-loader": "^3.7.2",
"react-router-dom": "^5.3.4",
"react-router-dom": "^6.0.0",
"regenerator-runtime": "^0.13.11",
"rimraf": "^3.0.2",
"rxjs": "^7.6.0",
Expand All @@ -94,10 +88,15 @@
"@patternfly/react-table": "^4.111.45",
"@reduxjs/toolkit": "^1.9.0",
"@types/lodash": "^4.14.191",
"@types/react-test-renderer": "^17.0.0",
"check-peer-dependencies": "^4.1.0",
"history": "^5.3.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^8.0.5",
"react-router-last-location": "^2.0.1"
"react-router": "^6.0.0",
"react-router-dom-last-location": "^0.1.4",
"react-test-renderer": "^17.0.0"
},
"packageManager": "yarn@3.3.0"
}
Loading