@itwin/physical-material-backend 5.1.0-dev.9 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,78 @@
1
1
  # Change Log - @itwin/physical-material-backend
2
2
 
3
- This log was last generated on Wed, 30 Apr 2025 13:16:15 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 08 Aug 2025 18:06:10 GMT and should not be manually modified.
4
+
5
+ ## 5.1.1
6
+ Fri, 08 Aug 2025 18:06:10 GMT
7
+
8
+ ### Updates
9
+
10
+ - revert delivery of pure esm to deliver cjs/esm
11
+
12
+ ## 5.1.0
13
+ Fri, 08 Aug 2025 12:51:53 GMT
14
+
15
+ _Version update only_
16
+
17
+ ## 5.0.5
18
+ Wed, 06 Aug 2025 15:34:16 GMT
19
+
20
+ _Version update only_
21
+
22
+ ## 5.0.4
23
+ Wed, 16 Jul 2025 14:59:59 GMT
24
+
25
+ _Version update only_
26
+
27
+ ## 5.0.3
28
+ Fri, 11 Jul 2025 00:56:56 GMT
29
+
30
+ _Version update only_
31
+
32
+ ## 5.0.2
33
+ Thu, 26 Jun 2025 22:16:01 GMT
34
+
35
+ _Version update only_
36
+
37
+ ## 5.0.1
38
+ Tue, 17 Jun 2025 18:33:52 GMT
39
+
40
+ _Version update only_
41
+
42
+ ## 5.0.0
43
+ Fri, 13 Jun 2025 20:25:38 GMT
44
+
45
+ ### Updates
46
+
47
+ - Depreciate ECSqlStatement API
48
+ - Dropped support for Node 18
49
+ - Added ESM support
50
+ - Change core peer dependencies to strict version.
51
+
52
+ ## 4.11.6
53
+ Mon, 16 Jun 2025 15:00:15 GMT
54
+
55
+ _Version update only_
56
+
57
+ ## 4.11.5
58
+ Fri, 06 Jun 2025 13:41:18 GMT
59
+
60
+ _Version update only_
61
+
62
+ ## 4.11.4
63
+ Tue, 03 Jun 2025 16:15:19 GMT
64
+
65
+ _Version update only_
66
+
67
+ ## 4.11.3
68
+ Wed, 28 May 2025 13:56:23 GMT
69
+
70
+ _Version update only_
71
+
72
+ ## 4.11.2
73
+ Tue, 20 May 2025 20:14:46 GMT
74
+
75
+ _Version update only_
4
76
 
5
77
  ## 4.11.1
6
78
  Wed, 30 Apr 2025 13:13:21 GMT
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.PhysicalMaterialSchema = void 0;
11
11
  const path = require("node:path");
12
12
  const core_backend_1 = require("@itwin/core-backend");
13
- const elementsModule = require("./PhysicalMaterialElements.js");
13
+ const elementsModule = require("./PhysicalMaterialElements");
14
14
  /** The PhysicalMaterialSchema contains standard physical material classes.
15
15
  * A physical material defines the matter that makes up physical elements.
16
16
  * @see [PhysicalMaterial]($backend)
@@ -1 +1 @@
1
- {"version":3,"file":"PhysicalMaterialSchema.js","sourceRoot":"","sources":["../../src/PhysicalMaterialSchema.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,kCAAkC;AAClC,sDAAqF;AACrF,gEAAgE;AAEhE;;;;GAIG;AACH,MAAa,sBAAuB,SAAQ,qBAAM;IACzC,MAAM,KAAc,UAAU,KAAa,OAAO,kBAAkB,CAAC,CAAC,CAAC;IAC9E;;;OAGG;IACI,MAAM,KAAK,cAAc,KAAa,OAAO,IAAI,CAAC,IAAI,CAAC,6BAAc,CAAC,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,sBAAsB,CAAC,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;IAErK,MAAM,CAAC,cAAc;QAC1B,IAAI,IAAI,KAAK,sBAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAC1D,sBAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC1C,sBAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YAC7B,4BAAa,CAAC,cAAc,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;QACrD,CAAC;IACH,CAAC;CACF;AAfD,wDAeC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PhysicalMaterial\n */\n\nimport * as path from \"node:path\";\nimport { ClassRegistry, KnownLocations, Schema, Schemas } from \"@itwin/core-backend\";\nimport * as elementsModule from \"./PhysicalMaterialElements.js\";\n\n/** The PhysicalMaterialSchema contains standard physical material classes.\n * A physical material defines the matter that makes up physical elements.\n * @see [PhysicalMaterial]($backend)\n * @public\n */\nexport class PhysicalMaterialSchema extends Schema {\n public static override get schemaName(): string { return \"PhysicalMaterial\"; }\n /**\n * TODO: Currently the schema file comes from a hardcoded path assuming its delivered with imodeljs-native\n * Look to add a dependency on @bentley/physicalmaterial-schema and using require.resolve to obtain the path\n */\n public static get schemaFilePath(): string { return path.join(KnownLocations.nativeAssetsDir, \"ECSchemas\", \"Domain\", `${PhysicalMaterialSchema.schemaName}.ecschema.xml`); }\n\n public static registerSchema() {\n if (this !== Schemas.getRegisteredSchema(this.schemaName)) {\n Schemas.unregisterSchema(this.schemaName);\n Schemas.registerSchema(this);\n ClassRegistry.registerModule(elementsModule, this);\n }\n }\n}\n"]}
1
+ {"version":3,"file":"PhysicalMaterialSchema.js","sourceRoot":"","sources":["../../src/PhysicalMaterialSchema.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,kCAAkC;AAClC,sDAAqF;AACrF,6DAA6D;AAE7D;;;;GAIG;AACH,MAAa,sBAAuB,SAAQ,qBAAM;IACzC,MAAM,KAAc,UAAU,KAAa,OAAO,kBAAkB,CAAC,CAAC,CAAC;IAC9E;;;OAGG;IACI,MAAM,KAAK,cAAc,KAAa,OAAO,IAAI,CAAC,IAAI,CAAC,6BAAc,CAAC,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,sBAAsB,CAAC,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;IAErK,MAAM,CAAC,cAAc;QAC1B,IAAI,IAAI,KAAK,sBAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAC1D,sBAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC1C,sBAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YAC7B,4BAAa,CAAC,cAAc,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;QACrD,CAAC;IACH,CAAC;CACF;AAfD,wDAeC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PhysicalMaterial\n */\n\nimport * as path from \"node:path\";\nimport { ClassRegistry, KnownLocations, Schema, Schemas } from \"@itwin/core-backend\";\nimport * as elementsModule from \"./PhysicalMaterialElements\";\n\n/** The PhysicalMaterialSchema contains standard physical material classes.\n * A physical material defines the matter that makes up physical elements.\n * @see [PhysicalMaterial]($backend)\n * @public\n */\nexport class PhysicalMaterialSchema extends Schema {\n public static override get schemaName(): string { return \"PhysicalMaterial\"; }\n /**\n * TODO: Currently the schema file comes from a hardcoded path assuming its delivered with imodeljs-native\n * Look to add a dependency on @bentley/physicalmaterial-schema and using require.resolve to obtain the path\n */\n public static get schemaFilePath(): string { return path.join(KnownLocations.nativeAssetsDir, \"ECSchemas\", \"Domain\", `${PhysicalMaterialSchema.schemaName}.ecschema.xml`); }\n\n public static registerSchema() {\n if (this !== Schemas.getRegisteredSchema(this.schemaName)) {\n Schemas.unregisterSchema(this.schemaName);\n Schemas.registerSchema(this);\n ClassRegistry.registerModule(elementsModule, this);\n }\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
- export * from "./PhysicalMaterialElements.js";
2
- export * from "./PhysicalMaterialSchema.js";
1
+ export * from "./PhysicalMaterialElements";
2
+ export * from "./PhysicalMaterialSchema";
3
3
  /** @docs-package-description
4
4
  * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"physical-material-backend.d.ts","sourceRoot":"","sources":["../../src/physical-material-backend.ts"],"names":[],"mappings":"AAKA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAE5C;;GAEG;AAEH;;GAEG"}
1
+ {"version":3,"file":"physical-material-backend.d.ts","sourceRoot":"","sources":["../../src/physical-material-backend.ts"],"names":[],"mappings":"AAKA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AAEzC;;GAEG;AAEH;;GAEG"}
@@ -18,8 +18,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
18
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
- __exportStar(require("./PhysicalMaterialElements.js"), exports);
22
- __exportStar(require("./PhysicalMaterialSchema.js"), exports);
21
+ __exportStar(require("./PhysicalMaterialElements"), exports);
22
+ __exportStar(require("./PhysicalMaterialSchema"), exports);
23
23
  /** @docs-package-description
24
24
  * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.
25
25
  */
@@ -1 +1 @@
1
- {"version":3,"file":"physical-material-backend.js","sourceRoot":"","sources":["../../src/physical-material-backend.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;AAE/F,gEAA8C;AAC9C,8DAA4C;AAE5C;;GAEG;AAEH;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n\nexport * from \"./PhysicalMaterialElements.js\";\nexport * from \"./PhysicalMaterialSchema.js\";\n\n/** @docs-package-description\n * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.\n */\n\n/** @docs-group-description PhysicalMaterial\n * A PhysicalMaterial defines the matter that makes up physical elements.\n */\n"]}
1
+ {"version":3,"file":"physical-material-backend.js","sourceRoot":"","sources":["../../src/physical-material-backend.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;AAE/F,6DAA2C;AAC3C,2DAAyC;AAEzC;;GAEG;AAEH;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n\nexport * from \"./PhysicalMaterialElements\";\nexport * from \"./PhysicalMaterialSchema\";\n\n/** @docs-package-description\n * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.\n */\n\n/** @docs-group-description PhysicalMaterial\n * A PhysicalMaterial defines the matter that makes up physical elements.\n */\n"]}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import * as path from "node:path";
9
9
  import { ClassRegistry, KnownLocations, Schema, Schemas } from "@itwin/core-backend";
10
- import * as elementsModule from "./PhysicalMaterialElements.js";
10
+ import * as elementsModule from "./PhysicalMaterialElements";
11
11
  /** The PhysicalMaterialSchema contains standard physical material classes.
12
12
  * A physical material defines the matter that makes up physical elements.
13
13
  * @see [PhysicalMaterial]($backend)
@@ -1 +1 @@
1
- {"version":3,"file":"PhysicalMaterialSchema.js","sourceRoot":"","sources":["../../src/PhysicalMaterialSchema.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,KAAK,cAAc,MAAM,+BAA+B,CAAC;AAEhE;;;;GAIG;AACH,MAAM,OAAO,sBAAuB,SAAQ,MAAM;IACzC,MAAM,KAAc,UAAU,KAAa,OAAO,kBAAkB,CAAC,CAAC,CAAC;IAC9E;;;OAGG;IACI,MAAM,KAAK,cAAc,KAAa,OAAO,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,sBAAsB,CAAC,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;IAErK,MAAM,CAAC,cAAc;QAC1B,IAAI,IAAI,KAAK,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAC1D,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC1C,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YAC7B,aAAa,CAAC,cAAc,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;QACrD,CAAC;IACH,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PhysicalMaterial\n */\n\nimport * as path from \"node:path\";\nimport { ClassRegistry, KnownLocations, Schema, Schemas } from \"@itwin/core-backend\";\nimport * as elementsModule from \"./PhysicalMaterialElements.js\";\n\n/** The PhysicalMaterialSchema contains standard physical material classes.\n * A physical material defines the matter that makes up physical elements.\n * @see [PhysicalMaterial]($backend)\n * @public\n */\nexport class PhysicalMaterialSchema extends Schema {\n public static override get schemaName(): string { return \"PhysicalMaterial\"; }\n /**\n * TODO: Currently the schema file comes from a hardcoded path assuming its delivered with imodeljs-native\n * Look to add a dependency on @bentley/physicalmaterial-schema and using require.resolve to obtain the path\n */\n public static get schemaFilePath(): string { return path.join(KnownLocations.nativeAssetsDir, \"ECSchemas\", \"Domain\", `${PhysicalMaterialSchema.schemaName}.ecschema.xml`); }\n\n public static registerSchema() {\n if (this !== Schemas.getRegisteredSchema(this.schemaName)) {\n Schemas.unregisterSchema(this.schemaName);\n Schemas.registerSchema(this);\n ClassRegistry.registerModule(elementsModule, this);\n }\n }\n}\n"]}
1
+ {"version":3,"file":"PhysicalMaterialSchema.js","sourceRoot":"","sources":["../../src/PhysicalMaterialSchema.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAC;AAE7D;;;;GAIG;AACH,MAAM,OAAO,sBAAuB,SAAQ,MAAM;IACzC,MAAM,KAAc,UAAU,KAAa,OAAO,kBAAkB,CAAC,CAAC,CAAC;IAC9E;;;OAGG;IACI,MAAM,KAAK,cAAc,KAAa,OAAO,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,eAAe,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,sBAAsB,CAAC,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;IAErK,MAAM,CAAC,cAAc;QAC1B,IAAI,IAAI,KAAK,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAC1D,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC1C,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YAC7B,aAAa,CAAC,cAAc,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;QACrD,CAAC;IACH,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module PhysicalMaterial\n */\n\nimport * as path from \"node:path\";\nimport { ClassRegistry, KnownLocations, Schema, Schemas } from \"@itwin/core-backend\";\nimport * as elementsModule from \"./PhysicalMaterialElements\";\n\n/** The PhysicalMaterialSchema contains standard physical material classes.\n * A physical material defines the matter that makes up physical elements.\n * @see [PhysicalMaterial]($backend)\n * @public\n */\nexport class PhysicalMaterialSchema extends Schema {\n public static override get schemaName(): string { return \"PhysicalMaterial\"; }\n /**\n * TODO: Currently the schema file comes from a hardcoded path assuming its delivered with imodeljs-native\n * Look to add a dependency on @bentley/physicalmaterial-schema and using require.resolve to obtain the path\n */\n public static get schemaFilePath(): string { return path.join(KnownLocations.nativeAssetsDir, \"ECSchemas\", \"Domain\", `${PhysicalMaterialSchema.schemaName}.ecschema.xml`); }\n\n public static registerSchema() {\n if (this !== Schemas.getRegisteredSchema(this.schemaName)) {\n Schemas.unregisterSchema(this.schemaName);\n Schemas.registerSchema(this);\n ClassRegistry.registerModule(elementsModule, this);\n }\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
- export * from "./PhysicalMaterialElements.js";
2
- export * from "./PhysicalMaterialSchema.js";
1
+ export * from "./PhysicalMaterialElements";
2
+ export * from "./PhysicalMaterialSchema";
3
3
  /** @docs-package-description
4
4
  * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"physical-material-backend.d.ts","sourceRoot":"","sources":["../../src/physical-material-backend.ts"],"names":[],"mappings":"AAKA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAE5C;;GAEG;AAEH;;GAEG"}
1
+ {"version":3,"file":"physical-material-backend.d.ts","sourceRoot":"","sources":["../../src/physical-material-backend.ts"],"names":[],"mappings":"AAKA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AAEzC;;GAEG;AAEH;;GAEG"}
@@ -2,8 +2,8 @@
2
2
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
3
  * See LICENSE.md in the project root for license terms and full copyright notice.
4
4
  *--------------------------------------------------------------------------------------------*/
5
- export * from "./PhysicalMaterialElements.js";
6
- export * from "./PhysicalMaterialSchema.js";
5
+ export * from "./PhysicalMaterialElements";
6
+ export * from "./PhysicalMaterialSchema";
7
7
  /** @docs-package-description
8
8
  * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"physical-material-backend.js","sourceRoot":"","sources":["../../src/physical-material-backend.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAE5C;;GAEG;AAEH;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n\nexport * from \"./PhysicalMaterialElements.js\";\nexport * from \"./PhysicalMaterialSchema.js\";\n\n/** @docs-package-description\n * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.\n */\n\n/** @docs-group-description PhysicalMaterial\n * A PhysicalMaterial defines the matter that makes up physical elements.\n */\n"]}
1
+ {"version":3,"file":"physical-material-backend.js","sourceRoot":"","sources":["../../src/physical-material-backend.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AAEzC;;GAEG;AAEH;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n\nexport * from \"./PhysicalMaterialElements\";\nexport * from \"./PhysicalMaterialSchema\";\n\n/** @docs-package-description\n * The `@itwin/physical-material-backend` package contains classes related to working with physical materials on the backend.\n */\n\n/** @docs-group-description PhysicalMaterial\n * A PhysicalMaterial defines the matter that makes up physical elements.\n */\n"]}
package/package.json CHANGED
@@ -1,16 +1,9 @@
1
1
  {
2
2
  "name": "@itwin/physical-material-backend",
3
- "version": "5.1.0-dev.9",
3
+ "version": "5.1.1",
4
4
  "main": "lib/cjs/physical-material-backend.js",
5
5
  "module": "lib/esm/physical-material-backend.js",
6
6
  "typings": "lib/cjs/physical-material-backend",
7
- "type": "module",
8
- "exports": {
9
- ".": {
10
- "import": "./lib/esm/physical-material-backend.js",
11
- "require": "./lib/cjs/physical-material-backend.js"
12
- }
13
- },
14
7
  "license": "MIT",
15
8
  "engines": {
16
9
  "node": "^20.0.0 || ^22.0.0"
@@ -30,43 +23,45 @@
30
23
  "url": "http://www.bentley.com"
31
24
  },
32
25
  "peerDependencies": {
33
- "@itwin/core-backend": "5.1.0-dev.9",
34
- "@itwin/core-bentley": "5.1.0-dev.9",
35
- "@itwin/core-common": "5.1.0-dev.9"
26
+ "@itwin/core-backend": "5.1.1",
27
+ "@itwin/core-bentley": "5.1.1",
28
+ "@itwin/core-common": "5.1.1"
36
29
  },
37
30
  "//devDependencies": [
38
31
  "NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
39
32
  "NOTE: All tools used by scripts in this package must be listed as devDependencies"
40
33
  ],
41
34
  "devDependencies": {
42
- "@itwin/eslint-plugin": "5.0.0-dev.1",
35
+ "@itwin/eslint-plugin": "5.2.2-dev.2",
43
36
  "@types/chai": "4.3.1",
44
37
  "@types/mocha": "^10.0.6",
45
38
  "@types/node": "~20.17.0",
46
39
  "chai": "^4.3.10",
47
- "eslint": "^9.13.0",
40
+ "cpx2": "^8.0.0",
41
+ "eslint": "^9.31.0",
48
42
  "mocha": "^11.1.0",
49
43
  "nyc": "^17.1.0",
50
44
  "rimraf": "^6.0.1",
51
45
  "typescript": "~5.6.2",
52
- "@itwin/core-backend": "5.1.0-dev.9",
53
- "@itwin/build-tools": "5.1.0-dev.9",
54
- "@itwin/core-common": "5.1.0-dev.9",
55
- "@itwin/core-bentley": "5.1.0-dev.9",
56
- "internal-tools": "3.0.0-dev.69"
46
+ "@itwin/build-tools": "5.1.1",
47
+ "internal-tools": "3.0.0-dev.69",
48
+ "@itwin/core-backend": "5.1.1",
49
+ "@itwin/core-bentley": "5.1.1",
50
+ "@itwin/core-common": "5.1.1"
57
51
  },
58
52
  "nyc": {
59
53
  "extends": "./node_modules/@itwin/build-tools/.nycrc"
60
54
  },
61
55
  "scripts": {
62
56
  "build": "npm run -s build:cjs && npm run -s build:esm",
63
- "build:cjs": "internal-tools build-cjs",
64
- "build:esm": "tsc 1>&2 --outDir lib/esm",
57
+ "build:cjs": "tsc 1>&2 --outDir lib/cjs",
58
+ "build:esm": "tsc 1>&2 --module ES2022 --outDir lib/esm",
65
59
  "clean": "rimraf -g lib .rush/temp/package-deps*.json",
66
60
  "cover": "nyc npm -s test",
67
61
  "docs": "betools docs --json=../../../generated-docs/domains/physical-material-backend/file.json --tsIndexFile=./physical-material-backend.ts --onlyJson",
68
62
  "extract-api": "betools extract-api --entry=physical-material-backend",
69
63
  "lint": "eslint \"./src/**/*.ts\" 1>&2",
64
+ "lint-deprecation": "eslint --fix -f visualstudio --no-inline-config -c ../../../common/config/eslint/eslint.config.deprecation-policy.js \"./src/**/*.ts\"",
70
65
  "test": "mocha"
71
66
  }
72
67
  }