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

initial Webpack 5 support #3320

Merged
merged 8 commits into from
Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 3 additions & 0 deletions common/api/presentation-backend.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ export function getElementKey(imodel: IModelDb, id: Id64String): InstanceKey | u
// @internal (undocumented)
export function getKeysForContentRequest(keys: Readonly<KeySet>, classInstanceKeysProcessor?: (keys: Map<string, Set<string>>) => void): NativePresentationKeySetJSON;

// @internal (undocumented)
export const getLocalesDirectory: (assetsDirectory: string) => string;

// @beta
export type HierarchyCacheConfig = MemoryHierarchyCacheConfig | DiskHierarchyCacheConfig | HybridCacheConfig;

Expand Down
3 changes: 0 additions & 3 deletions common/api/presentation-common.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -932,9 +932,6 @@ export const getFieldByName: (fields: Field[], name: string | undefined, recurse
// @public
export const getInstancesCount: (keys: Readonly<KeySet>) => number;

// @internal (undocumented)
export const getLocalesDirectory: (assetsDirectory: string) => string;

// @public
export interface GroupingNodeKey extends BaseNodeKey {
groupedInstancesCount: number;
Expand Down
1 change: 1 addition & 0 deletions common/api/summary/presentation-backend.exports.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ public;ContentCacheConfig
beta;DiskHierarchyCacheConfig
internal;getElementKey(imodel: IModelDb, id: Id64String): InstanceKey | undefined
internal;getKeysForContentRequest(keys: Readonly
internal;getLocalesDirectory: (assetsDirectory: string) => string
beta;HierarchyCacheConfig = MemoryHierarchyCacheConfig | DiskHierarchyCacheConfig | HybridCacheConfig
beta;HierarchyCacheConfigBase
beta;HierarchyCacheMode
Expand Down
1 change: 0 additions & 1 deletion common/api/summary/presentation-common.exports.csv
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ public;FilterByTextHierarchyRequestOptions
public;FilterByTextHierarchyRpcRequestOptions = PresentationRpcRequestOptions
internal;getFieldByName: (fields: Field[], name: string | undefined, recurse?: boolean | undefined) => Field | undefined
public;getInstancesCount: (keys: Readonly
internal;getLocalesDirectory: (assetsDirectory: string) => string
public;GroupingNodeKey
public;GroupingNodeKeyJSON
public;GroupingRule
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/appui-react",
"comment": "use `setTimeout` instead of `setImmediate`",
"type": "none"
}
],
"packageName": "@itwin/appui-react"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/components-react",
"comment": "use `setTimeout` instead of `setImmediate`",
"type": "none"
}
],
"packageName": "@itwin/components-react"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/core-common",
"comment": "use proper node polyfills for webpack 5 support",
"type": "none"
}
],
"packageName": "@itwin/core-common"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/core-extension",
"comment": "use `import.meta.url`",
"type": "none"
}
],
"packageName": "@itwin/core-extension"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/core-frontend",
"comment": "use web downlaoder for OrbitGT instead of node downloader",
"type": "none"
}
],
"packageName": "@itwin/core-frontend"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/presentation-backend",
"comment": "",
"type": "none"
}
],
"packageName": "@itwin/presentation-backend"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/presentation-common",
"comment": "",
"type": "none"
}
],
"packageName": "@itwin/presentation-common"
}
Loading