[Fix] : Template issue#361
Conversation
|
I could not find any instance of direct usage of the package overrides : {
"@itwin/presentation-core-interop": "1.3.1"
} |
|
|
I did check and found out that it was added in this commit. However I could not find any of the other dependencies added/updated to have it as a peer-dependency. To confirm I ran npm ls @itwin/presentation-core-interop --all in the newly created app and did not find |
|
I agree, it looks like it's unnecessary, I think adding it was just an oversight. However, I don't understand why the following part is necessary: "overrides": {
"@itwin/presentation-core-interop": "1.3.1"
} |
introduction of checking SchemaFormatsProviders here in 1.3.2 is causing errors in viewer since webpack tries to statically resolve all imports. Hence, we need to make sure we use 1.3.1 to fix this error. |
|
But how are these overrides applied? does npm automatically apply them? |
yes, that is right, npm understands overrides and when it does npm install, it applies them. |
* point to new reality data endpoint (#345) * point to new reality data endpoint * rush change --------- Co-authored-by: Arun George <aruniverse@users.noreply.github.com> * Update changelogs [skip ci] * Bump versions [skip ci] * mitigate audit GHSA-rhx6-c78j-4q9w (#347) Co-authored-by: Ben Polinsky <ben-polinsky@users.noreply.github.com> * remove custom audit script, resolve GHSA-jr5f-v2jv-69x6 (#348) * remove custom audit script, resolve GHSA-jr5f-v2jv-69x6 * suppress deprecations for now, will fix on 5.0 --------- Co-authored-by: Arun George <aruniverse@users.noreply.github.com> * Stop using deprecated selection APIs (#346) * update dependencies * change usage of to * update property widget to the latest, supply it the unified selection storage * allow specifying selection scope props * update selected items count without using deprecated apis * downgrade `@itwin/unified-selection` dependency to `~1.1.2` * change * prettier * fix tests * Extract nested selection scope props type into , define unified selection props using type helper * fix change messages * update lockfile --------- Co-authored-by: Ben Polinsky <78756012+ben-polinsky@users.noreply.github.com> Co-authored-by: Arun George <aruniverse@users.noreply.github.com> * Update changelogs [skip ci] * Bump versions [skip ci] * Fix desktop template build issue (#349) * Fix desktop app build issue * rush change * Update changelogs [skip ci] * Bump versions [skip ci] * Add missing peer dependencies (#356) * Add missing peer dependencies * rush change * Update changelogs [skip ci] * Bump versions [skip ci] * [Fix]: iTwin Viewer template issue (#359) * adding unified-selection-react as dep * rush change * adding comment and type to rush change * Update changelogs [skip ci] * Bump versions [skip ci] * [Fix] : Template issue (#361) * removing presentation-core-interop as direct dep, adding override to version 1.3.1 * rush change * Update changelogs [skip ci] * Bump versions [skip ci] * [ Fix ]: Desktop viewer template fix (#364) * removing @itwin/presentation-core-interop and overriding version 1.3.1 * rush change * fixing comment in json * Update changelogs [skip ci] * Bump versions [skip ci] * web and desktop template fix * update unified-selection, browser-authorization, fix lint * updating deps * update and clean deps, fix context * comments resolved --------- Co-authored-by: Arun George <11051042+aruniverse@users.noreply.github.com> Co-authored-by: Arun George <aruniverse@users.noreply.github.com> Co-authored-by: imodeljs-admin <imodeljs-admin@users.noreply.github.com> Co-authored-by: Ben Polinsky <78756012+ben-polinsky@users.noreply.github.com> Co-authored-by: Ben Polinsky <ben-polinsky@users.noreply.github.com> Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com> Co-authored-by: Gytis Čepkauskas <98940208+GytisCepk@users.noreply.github.com> Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>

Removes
@itwin/presentation-core-interopas direct dep and override for metadependencies to 1.3.1.