Skip to content

Commit

Permalink
React 18 Migration (#845)
Browse files Browse the repository at this point in the history
* react 18 migration

* source map

* removed unused resolutions

* refactored visyn imports

* refactored visyn imports

* refactored visyn imports

* removed errors and updated imports

* fixed tests

* fix: react18 AReactView (#846)

* fix areactview createRoot()

* AReactView updates

* test

* test

* test

* fjd

* j

* j

* fix it all

* Remove react16 reference in overrides

* Add react18 to overrides

* Add visyn_core, visyn_scripts to overrides

* Remove readonly modifier from utils.ts

* Update package.json

---------

Co-authored-by: Moritz Heckmann <[email protected]>
Co-authored-by: dvdanielamoitzi <[email protected]>
Co-authored-by: oltionchampari <[email protected]>
Co-authored-by: Michael Puehringer <[email protected]>
  • Loading branch information
5 people authored May 16, 2023
1 parent e71d774 commit a42a75d
Show file tree
Hide file tree
Showing 525 changed files with 869 additions and 1,025 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"tdp_core"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
"python.testing.pytestEnabled": true,
"typescript.tsdk": "node_modules/typescript/lib"
}
2 changes: 1 addition & 1 deletion cypress/component/component-health-check.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { mount } from 'cypress/react';
import { VisynAppProvider } from 'visyn_core';
import { VisynAppProvider } from 'visyn_core/app';
import { MainApp } from '../../src/demo/MainApp';
// Load the phovea_registry to ensure all extension points (like locales) are loaded.
import '../../src/phovea_registry';
Expand Down
1 change: 1 addition & 0 deletions cypress/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "visyn_scripts/config/tsconfig.template.json",
"compilerOptions": {
"outDir": "./dist",
"sourceMap": false,
"types": [
"cypress"
]
Expand Down
4 changes: 2 additions & 2 deletions dist/ATDPApplication.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ATDPApplication.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions dist/ATDPApplication.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ATDPApplication.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/app/Matomo.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/app/Matomo.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/app/Matomo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/app/Matomo.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions dist/app/UserSession.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/app/UserSession.d.ts.map

This file was deleted.

6 changes: 0 additions & 6 deletions dist/app/UserSession.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/app/UserSession.js.map

This file was deleted.

4 changes: 2 additions & 2 deletions dist/auth/TokenManager.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a42a75d

Please sign in to comment.