-
Notifications
You must be signed in to change notification settings - Fork 8
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
React 19 update #1632
Merged
Merged
React 19 update #1632
Changes from all commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
f40e124
feat: update @typescript-eslint/eslint-plugin to version 7.18.0 + add…
ThomasGross dde1e3f
update react and relevant dependencies
ThomasGross 8095edd
Merge branch 'develop' into DDFNEXT-225-opgrader-typescript-eslint-es…
ThomasGross 68c664f
fix: lint issues
ThomasGross b0911ba
fix: remove reach dialog sass styling
ThomasGross 6e827f3
fix: build errors and warnings
ThomasGross 8f149ed
fix: typescript issues
ThomasGross 579b20a
fix: update eslint flags in pull request workflow
ThomasGross 8284819
fix: unit tests and unit test specific config after react update
ThomasGross 0b2f33e
fix: typescript issues
ThomasGross f966cd7
fix: update Storybook dependencies to latest versions
ThomasGross 222770d
fix: remove browserify and add webpack as preprocessor to fix failing…
ThomasGross d907108
fix: rollback tsconfig
ThomasGross 9994a03
fix: update eslint flags in pull request workflow for better JavaScri…
ThomasGross 84a1c10
fix: update Cypress configuration to use ES module syntax
ThomasGross fcb1628
Merge branch 'develop' into react-19-update
ThomasGross 9fd8b2e
fix: add updated yarn file
ThomasGross 1083599
Merge branch 'develop' into react-19-update
ThomasGross b263945
fix: typescript issues in cypress test
ThomasGross 5ac2641
fix: remove test files from TypeScript exclusion in tsconfig
ThomasGross 7d774d5
update yarn.lock
ThomasGross 9439a0f
fix: update ESLint configuration and convert PostCSS config to ES mod…
ThomasGross 62eb2e5
fix: convert PostCSS config to CommonJS module syntax
ThomasGross b4b3a2d
fix: add @types/prop-types and update tsconfig include paths to fix t…
ThomasGross 36db11d
fix: update ESLint flags in pull request workflow to include all Java…
ThomasGross 9e2fb12
fix: reorder ESLint plugins
ThomasGross e64bd8b
fix: update ESLint flags in pull request workflow to target the src d…
ThomasGross 678dec3
fix: convert Cypress config to ES module syntax
ThomasGross e30919c
fix: update markdown lint fix command
ThomasGross 5a331d5
package.json cleanup
ThomasGross 6ef7ac3
update mount function
ThomasGross 2e8e239
fix: update React version detection in ESLint config
ThomasGross 599e40e
fix: remove unused import path for CyHttpMessages
ThomasGross 66db145
feat: add ESLint packages to Dependabot configuration
ThomasGross b2511dc
fix: remove airbnb config from Dependabot
ThomasGross db6a1fd
feat: add Cypress packages group to Dependabot configuration
ThomasGross f80b644
fix: update @storybook/addon-webpack5-compiler-babel to version 3.0.5
ThomasGross 7edf960
fix: set @types/node to match project node version
ThomasGross 9fc6285
fix: update happy-dom to version 16.3.0
ThomasGross 2f674cc
fix: update typescript to version 5.7.2
ThomasGross ed54f20
fix: remove vitest from dependencies
ThomasGross 68fc7ad
fix: clarify comment on enum value for earticle in ManifestationMater…
ThomasGross bea7082
fix: uncomment and fix erroneous requests test in useMultipleRequests…
ThomasGross b1458e5
fix: update import statement for createRoot from react-dom/client to …
ThomasGross dd5804a
fix: update import statement for createRoot from react-dom to react-d…
ThomasGross ddd2dcb
fix: update ESLint configuration to use eslint recommended instead of…
ThomasGross b9eb719
fix: update ESLint rules and update inflicted files accordingly
ThomasGross ce6bf90
fix: re-introduce no-console rule for debug statements but allow cons…
ThomasGross 7819e25
remove unused jest setup file.
ThomasGross 60485ac
fix: eslint lint all files instead of only linting inside the src and…
ThomasGross 41ea2b2
refactor: convert CommonJS modules to ES6 imports/exports in code gen…
ThomasGross 4c926a3
fix: disable no-console rule for logging replacement results in post-…
ThomasGross b0baec9
fix: roll back ESmodule to CommonJS to fix build phase
ThomasGross 88c6cb1
fix: ignore all config js and mjs files in ESLint linting
ThomasGross 785aac2
Merge branch 'develop' into react-19-update
ThomasGross 7356ba1
update lock
ThomasGross 0567ad6
fix: solve display name where its possible else leave a TODO
ThomasGross c415874
fix: solve display name where its possible else leave a TODO
ThomasGross e245530
refactor: add no alert to esconfig
ThomasGross 8298276
refactor: re-introduce react/no-danger rule in eslint
ThomasGross 0af4457
refactor: reintroduce react/jsx-props-no-spreading rule in eslint and…
ThomasGross cc73e3f
refactor: update eslint config to allow prop spreading in stories
ThomasGross 94791ee
refactor: reintroduce import/no-cycle rule to eslint
ThomasGross 2c4f7fd
refactor: add aria-label to modal backdrop button for improved access…
ThomasGross c591fd6
Merge branch 'develop' into react-19-update
ThomasGross bbfed14
feat: add updated yarn lock
ThomasGross c1446bf
fix: remove airbnb packages and update yarn lock
ThomasGross bf2c364
Merge branch 'develop' into react-19-update
ThomasGross 7df1b85
fix: update ESLint rules with no-script-url and enforce error.log/war…
ThomasGross 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,28 +1,45 @@ | ||
// Cypress no longer natively supports plugins file, but we keep it for better code abstraction | ||
// https://docs.cypress.io/app/references/migration-guide#Plugins-File-Removed | ||
import task from "@cypress/code-coverage/task"; | ||
import webpackPreprocessor from "@cypress/webpack-preprocessor"; | ||
|
||
const task = require("@cypress/code-coverage/task"); | ||
const browserify = require("@cypress/browserify-preprocessor"); | ||
|
||
// In order to use both babelrc and typescript in browserify | ||
// we copy the functionality from @cypress/code-coverage/use-babelrc | ||
// and merge it with the typescript setting. | ||
// The plugin @cypress/code-coverage/use-babelrc basically | ||
// sets babelrc: true in the browserify options. | ||
const { browserifyOptions } = browserify.defaultOptions; | ||
browserifyOptions.transform[1][1].babelrc = true; | ||
|
||
module.exports = (on, config) => { | ||
export default (on, config) => { | ||
task(on, config); | ||
on( | ||
"file:preprocessor", | ||
browserify({ | ||
typescript: require.resolve("typescript"), | ||
browserifyOptions: { | ||
extensions: [".js", ".ts"], | ||
...browserifyOptions | ||
|
||
const options = { | ||
webpackOptions: { | ||
resolve: { | ||
extensions: [".ts", ".tsx", ".js", ".jsx"], | ||
modules: ["node_modules", "src"] | ||
}, | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.tsx?$/, | ||
use: [ | ||
{ | ||
loader: "ts-loader", | ||
options: { | ||
transpileOnly: true, | ||
compilerOptions: { | ||
module: "esnext", | ||
target: "es5", | ||
lib: ["es5", "dom"], | ||
jsx: "react", | ||
allowJs: true, | ||
esModuleInterop: true, | ||
allowSyntheticDefaultImports: true, | ||
noEmit: false | ||
} | ||
} | ||
} | ||
], | ||
exclude: /node_modules/ | ||
} | ||
] | ||
} | ||
}) | ||
); | ||
} | ||
}; | ||
|
||
on("file:preprocessor", webpackPreprocessor(options)); | ||
|
||
return config; | ||
}; |
This file contains 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 |
---|---|---|
@@ -1,15 +1,9 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"lib": [ | ||
"es5", | ||
"dom" | ||
], | ||
"types": [ | ||
"cypress" | ||
] | ||
"lib": ["es5", "dom"], | ||
"types": ["cypress"], | ||
"allowJs": true | ||
}, | ||
"include": [ | ||
"**/*.ts" | ||
] | ||
"include": ["**/*.ts"] | ||
} |
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.
👍 Nice. These are meaningful groups to add.