@itwin/core-quantity 5.10.0-dev.1 → 5.10.0-dev.4

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.
Files changed (135) hide show
  1. package/lib/cjs/BasicUnitsProvider.d.ts +44 -0
  2. package/lib/cjs/BasicUnitsProvider.d.ts.map +1 -0
  3. package/lib/cjs/BasicUnitsProvider.js +241 -0
  4. package/lib/cjs/BasicUnitsProvider.js.map +1 -0
  5. package/lib/cjs/CompositeUnitsProvider.d.ts +45 -0
  6. package/lib/cjs/CompositeUnitsProvider.d.ts.map +1 -0
  7. package/lib/cjs/CompositeUnitsProvider.js +111 -0
  8. package/lib/cjs/CompositeUnitsProvider.js.map +1 -0
  9. package/lib/cjs/Constants.js.map +1 -1
  10. package/lib/cjs/Exception.js.map +1 -1
  11. package/lib/cjs/FormatSpecHandle.js.map +1 -1
  12. package/lib/cjs/Formatter/Format.js.map +1 -1
  13. package/lib/cjs/Formatter/FormatEnums.js.map +1 -1
  14. package/lib/cjs/Formatter/Formatter.js.map +1 -1
  15. package/lib/cjs/Formatter/FormatterSpec.d.ts.map +1 -1
  16. package/lib/cjs/Formatter/FormatterSpec.js +14 -0
  17. package/lib/cjs/Formatter/FormatterSpec.js.map +1 -1
  18. package/lib/cjs/Formatter/FormattingReadyCollector.js.map +1 -1
  19. package/lib/cjs/Formatter/Interfaces.js.map +1 -1
  20. package/lib/cjs/Interfaces.d.ts +14 -0
  21. package/lib/cjs/Interfaces.d.ts.map +1 -1
  22. package/lib/cjs/Interfaces.js.map +1 -1
  23. package/lib/cjs/Parser.d.ts.map +1 -1
  24. package/lib/cjs/Parser.js +16 -1
  25. package/lib/cjs/Parser.js.map +1 -1
  26. package/lib/cjs/ParserSpec.d.ts.map +1 -1
  27. package/lib/cjs/ParserSpec.js +15 -2
  28. package/lib/cjs/ParserSpec.js.map +1 -1
  29. package/lib/cjs/Quantity.js.map +1 -1
  30. package/lib/cjs/QuantityLoggerCategory.d.ts +3 -1
  31. package/lib/cjs/QuantityLoggerCategory.d.ts.map +1 -1
  32. package/lib/cjs/QuantityLoggerCategory.js +2 -0
  33. package/lib/cjs/QuantityLoggerCategory.js.map +1 -1
  34. package/lib/cjs/SerializedUnitSchema.d.ts +98 -0
  35. package/lib/cjs/SerializedUnitSchema.d.ts.map +1 -0
  36. package/lib/cjs/SerializedUnitSchema.js +25 -0
  37. package/lib/cjs/SerializedUnitSchema.js.map +1 -0
  38. package/lib/cjs/Unit.js.map +1 -1
  39. package/lib/cjs/UnitConversion/Graph.d.ts +35 -0
  40. package/lib/cjs/UnitConversion/Graph.d.ts.map +1 -0
  41. package/lib/cjs/UnitConversion/Graph.js +87 -0
  42. package/lib/cjs/UnitConversion/Graph.js.map +1 -0
  43. package/lib/cjs/UnitConversion/Parser.d.ts +9 -0
  44. package/lib/cjs/UnitConversion/Parser.d.ts.map +1 -0
  45. package/lib/cjs/UnitConversion/Parser.js +42 -0
  46. package/lib/cjs/UnitConversion/Parser.js.map +1 -0
  47. package/lib/cjs/UnitConversion/UnitConversion.d.ts +56 -0
  48. package/lib/cjs/UnitConversion/UnitConversion.d.ts.map +1 -0
  49. package/lib/cjs/UnitConversion/UnitConversion.js +80 -0
  50. package/lib/cjs/UnitConversion/UnitConversion.js.map +1 -0
  51. package/lib/cjs/UnitConversion/UnitDefinitionResolver.d.ts +29 -0
  52. package/lib/cjs/UnitConversion/UnitDefinitionResolver.d.ts.map +1 -0
  53. package/lib/cjs/UnitConversion/UnitDefinitionResolver.js +102 -0
  54. package/lib/cjs/UnitConversion/UnitDefinitionResolver.js.map +1 -0
  55. package/lib/cjs/UnitConversion/nameUtils.d.ts +11 -0
  56. package/lib/cjs/UnitConversion/nameUtils.d.ts.map +1 -0
  57. package/lib/cjs/UnitConversion/nameUtils.js +25 -0
  58. package/lib/cjs/UnitConversion/nameUtils.js.map +1 -0
  59. package/lib/cjs/assets/Units.json +4215 -0
  60. package/lib/cjs/core-quantity.d.ts +15 -1
  61. package/lib/cjs/core-quantity.d.ts.map +1 -1
  62. package/lib/cjs/core-quantity.js +17 -1
  63. package/lib/cjs/core-quantity.js.map +1 -1
  64. package/lib/cjs/internal/cross-package.d.ts +4 -0
  65. package/lib/cjs/internal/cross-package.d.ts.map +1 -0
  66. package/lib/cjs/internal/cross-package.js +13 -0
  67. package/lib/cjs/internal/cross-package.js.map +1 -0
  68. package/lib/esm/BasicUnitsProvider.d.ts +44 -0
  69. package/lib/esm/BasicUnitsProvider.d.ts.map +1 -0
  70. package/lib/esm/BasicUnitsProvider.js +213 -0
  71. package/lib/esm/BasicUnitsProvider.js.map +1 -0
  72. package/lib/esm/CompositeUnitsProvider.d.ts +45 -0
  73. package/lib/esm/CompositeUnitsProvider.d.ts.map +1 -0
  74. package/lib/esm/CompositeUnitsProvider.js +108 -0
  75. package/lib/esm/CompositeUnitsProvider.js.map +1 -0
  76. package/lib/esm/Constants.js.map +1 -1
  77. package/lib/esm/Exception.js.map +1 -1
  78. package/lib/esm/FormatSpecHandle.js.map +1 -1
  79. package/lib/esm/Formatter/Format.js.map +1 -1
  80. package/lib/esm/Formatter/FormatEnums.js.map +1 -1
  81. package/lib/esm/Formatter/Formatter.js.map +1 -1
  82. package/lib/esm/Formatter/FormatterSpec.d.ts.map +1 -1
  83. package/lib/esm/Formatter/FormatterSpec.js +14 -0
  84. package/lib/esm/Formatter/FormatterSpec.js.map +1 -1
  85. package/lib/esm/Formatter/FormattingReadyCollector.js.map +1 -1
  86. package/lib/esm/Formatter/Interfaces.js.map +1 -1
  87. package/lib/esm/Interfaces.d.ts +14 -0
  88. package/lib/esm/Interfaces.d.ts.map +1 -1
  89. package/lib/esm/Interfaces.js.map +1 -1
  90. package/lib/esm/Parser.d.ts.map +1 -1
  91. package/lib/esm/Parser.js +16 -1
  92. package/lib/esm/Parser.js.map +1 -1
  93. package/lib/esm/ParserSpec.d.ts.map +1 -1
  94. package/lib/esm/ParserSpec.js +15 -2
  95. package/lib/esm/ParserSpec.js.map +1 -1
  96. package/lib/esm/Quantity.js.map +1 -1
  97. package/lib/esm/QuantityLoggerCategory.d.ts +3 -1
  98. package/lib/esm/QuantityLoggerCategory.d.ts.map +1 -1
  99. package/lib/esm/QuantityLoggerCategory.js +2 -0
  100. package/lib/esm/QuantityLoggerCategory.js.map +1 -1
  101. package/lib/esm/SerializedUnitSchema.d.ts +98 -0
  102. package/lib/esm/SerializedUnitSchema.d.ts.map +1 -0
  103. package/lib/esm/SerializedUnitSchema.js +22 -0
  104. package/lib/esm/SerializedUnitSchema.js.map +1 -0
  105. package/lib/esm/Unit.js.map +1 -1
  106. package/lib/esm/UnitConversion/Graph.d.ts +35 -0
  107. package/lib/esm/UnitConversion/Graph.d.ts.map +1 -0
  108. package/lib/esm/UnitConversion/Graph.js +83 -0
  109. package/lib/esm/UnitConversion/Graph.js.map +1 -0
  110. package/lib/esm/UnitConversion/Parser.d.ts +9 -0
  111. package/lib/esm/UnitConversion/Parser.d.ts.map +1 -0
  112. package/lib/esm/UnitConversion/Parser.js +39 -0
  113. package/lib/esm/UnitConversion/Parser.js.map +1 -0
  114. package/lib/esm/UnitConversion/UnitConversion.d.ts +56 -0
  115. package/lib/esm/UnitConversion/UnitConversion.d.ts.map +1 -0
  116. package/lib/esm/UnitConversion/UnitConversion.js +76 -0
  117. package/lib/esm/UnitConversion/UnitConversion.js.map +1 -0
  118. package/lib/esm/UnitConversion/UnitDefinitionResolver.d.ts +29 -0
  119. package/lib/esm/UnitConversion/UnitDefinitionResolver.d.ts.map +1 -0
  120. package/lib/esm/UnitConversion/UnitDefinitionResolver.js +98 -0
  121. package/lib/esm/UnitConversion/UnitDefinitionResolver.js.map +1 -0
  122. package/lib/esm/UnitConversion/nameUtils.d.ts +11 -0
  123. package/lib/esm/UnitConversion/nameUtils.d.ts.map +1 -0
  124. package/lib/esm/UnitConversion/nameUtils.js +21 -0
  125. package/lib/esm/UnitConversion/nameUtils.js.map +1 -0
  126. package/lib/esm/assets/Units.json +4215 -0
  127. package/lib/esm/core-quantity.d.ts +15 -1
  128. package/lib/esm/core-quantity.d.ts.map +1 -1
  129. package/lib/esm/core-quantity.js +15 -1
  130. package/lib/esm/core-quantity.js.map +1 -1
  131. package/lib/esm/internal/cross-package.d.ts +4 -0
  132. package/lib/esm/internal/cross-package.d.ts.map +1 -0
  133. package/lib/esm/internal/cross-package.js +8 -0
  134. package/lib/esm/internal/cross-package.js.map +1 -0
  135. package/package.json +6 -5
@@ -13,13 +13,27 @@ export * from "./Formatter/Formatter";
13
13
  export * from "./Formatter/FormattingReadyCollector";
14
14
  export * from "./Formatter/Interfaces";
15
15
  export * from "./QuantityLoggerCategory";
16
+ export * from "./UnitConversion/UnitConversion";
17
+ export * from "./UnitConversion/UnitDefinitionResolver";
18
+ export * from "./SerializedUnitSchema";
19
+ export { BasicUnitsProvider } from "./BasicUnitsProvider";
20
+ export * from "./CompositeUnitsProvider";
21
+ export * from "./internal/cross-package";
16
22
  /** @docs-package-description
17
- * The core-quantity package always runs in a web browser. It contains classes, interfaces, and definitions for formatting and parsing quantity values.
23
+ * The core-quantity package contains classes, interfaces, and definitions for formatting and parsing quantity values.
18
24
  */
19
25
  /**
20
26
  * @docs-group-description Quantity
21
27
  * Classes, Interfaces, and definitions used to format and parse quantity values.
22
28
  */
29
+ /**
30
+ * @docs-group-description BasicUnitsProvider
31
+ * A UnitsProvider backed by the bundled BIS Units schema JSON asset.
32
+ */
33
+ /**
34
+ * @docs-group-description CompositeUnitsProvider
35
+ * Factory and composition utilities for layering multiple UnitsProviders.
36
+ */
23
37
  /**
24
38
  * @docs-group-description Logging
25
39
  * Logger categories used by this package.
@@ -1 +1 @@
1
- {"version":3,"file":"core-quantity.d.ts","sourceRoot":"","sources":["../../src/core-quantity.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AAEzC;;GAEG;AAEH;;;GAGG;AACH;;;GAGG"}
1
+ {"version":3,"file":"core-quantity.d.ts","sourceRoot":"","sources":["../../src/core-quantity.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AAEzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AAEzC;;GAEG;AAEH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG"}
@@ -17,13 +17,27 @@ export * from "./Formatter/Formatter";
17
17
  export * from "./Formatter/FormattingReadyCollector";
18
18
  export * from "./Formatter/Interfaces";
19
19
  export * from "./QuantityLoggerCategory";
20
+ export * from "./UnitConversion/UnitConversion";
21
+ export * from "./UnitConversion/UnitDefinitionResolver";
22
+ export * from "./SerializedUnitSchema";
23
+ export { BasicUnitsProvider } from "./BasicUnitsProvider";
24
+ export * from "./CompositeUnitsProvider";
25
+ export * from "./internal/cross-package";
20
26
  /** @docs-package-description
21
- * The core-quantity package always runs in a web browser. It contains classes, interfaces, and definitions for formatting and parsing quantity values.
27
+ * The core-quantity package contains classes, interfaces, and definitions for formatting and parsing quantity values.
22
28
  */
23
29
  /**
24
30
  * @docs-group-description Quantity
25
31
  * Classes, Interfaces, and definitions used to format and parse quantity values.
26
32
  */
33
+ /**
34
+ * @docs-group-description BasicUnitsProvider
35
+ * A UnitsProvider backed by the bundled BIS Units schema JSON asset.
36
+ */
37
+ /**
38
+ * @docs-group-description CompositeUnitsProvider
39
+ * Factory and composition utilities for layering multiple UnitsProviders.
40
+ */
27
41
  /**
28
42
  * @docs-group-description Logging
29
43
  * Logger categories used by this package.
@@ -1 +1 @@
1
- {"version":3,"file":"core-quantity.js","sourceRoot":"","sources":["../../src/core-quantity.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AAEzC;;GAEG;AAEH;;;GAGG;AACH;;;GAGG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\nexport * from \"./Constants\";\r\nexport * from \"./Exception\";\r\nexport * from \"./FormatSpecHandle\";\r\nexport * from \"./Interfaces\";\r\nexport * from \"./Parser\";\r\nexport * from \"./ParserSpec\";\r\nexport * from \"./Quantity\";\r\nexport * from \"./Unit\";\r\nexport * from \"./Formatter/Format\";\r\nexport * from \"./Formatter/FormatterSpec\";\r\nexport * from \"./Formatter/FormatEnums\";\r\nexport * from \"./Formatter/Formatter\";\r\nexport * from \"./Formatter/FormattingReadyCollector\";\r\nexport * from \"./Formatter/Interfaces\";\r\nexport * from \"./QuantityLoggerCategory\";\r\n\r\n/** @docs-package-description\r\n * The core-quantity package always runs in a web browser. It contains classes, interfaces, and definitions for formatting and parsing quantity values.\r\n */\r\n\r\n/**\r\n * @docs-group-description Quantity\r\n * Classes, Interfaces, and definitions used to format and parse quantity values.\r\n */\r\n/**\r\n * @docs-group-description Logging\r\n * Logger categories used by this package.\r\n */\r\n"]}
1
+ {"version":3,"file":"core-quantity.js","sourceRoot":"","sources":["../../src/core-quantity.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AAEzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AAEzC;;GAEG;AAEH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG","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*--------------------------------------------------------------------------------------------*/\nexport * from \"./Constants\";\nexport * from \"./Exception\";\nexport * from \"./FormatSpecHandle\";\nexport * from \"./Interfaces\";\nexport * from \"./Parser\";\nexport * from \"./ParserSpec\";\nexport * from \"./Quantity\";\nexport * from \"./Unit\";\nexport * from \"./Formatter/Format\";\nexport * from \"./Formatter/FormatterSpec\";\nexport * from \"./Formatter/FormatEnums\";\nexport * from \"./Formatter/Formatter\";\nexport * from \"./Formatter/FormattingReadyCollector\";\nexport * from \"./Formatter/Interfaces\";\nexport * from \"./QuantityLoggerCategory\";\n\nexport * from \"./UnitConversion/UnitConversion\";\nexport * from \"./UnitConversion/UnitDefinitionResolver\";\nexport * from \"./SerializedUnitSchema\";\nexport { BasicUnitsProvider } from \"./BasicUnitsProvider\";\nexport * from \"./CompositeUnitsProvider\";\nexport * from \"./internal/cross-package\";\n\n/** @docs-package-description\n * The core-quantity package contains classes, interfaces, and definitions for formatting and parsing quantity values.\n */\n\n/**\n * @docs-group-description Quantity\n * Classes, Interfaces, and definitions used to format and parse quantity values.\n */\n/**\n * @docs-group-description BasicUnitsProvider\n * A UnitsProvider backed by the bundled BIS Units schema JSON asset.\n */\n/**\n * @docs-group-description CompositeUnitsProvider\n * Factory and composition utilities for layering multiple UnitsProviders.\n */\n/**\n * @docs-group-description Logging\n * Logger categories used by this package.\n */\n"]}
@@ -0,0 +1,4 @@
1
+ export { UnitConversionGraph } from "../UnitConversion/Graph";
2
+ export { parseDefinition } from "../UnitConversion/Parser";
3
+ export type { DefinitionFragment } from "../UnitConversion/Parser";
4
+ //# sourceMappingURL=cross-package.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cross-package.d.ts","sourceRoot":"","sources":["../../../src/internal/cross-package.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,YAAY,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,8 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ // Used by ecschema-metadata (UnitTree.ts)
6
+ export { UnitConversionGraph } from "../UnitConversion/Graph";
7
+ export { parseDefinition } from "../UnitConversion/Parser";
8
+ //# sourceMappingURL=cross-package.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cross-package.js","sourceRoot":"","sources":["../../../src/internal/cross-package.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,0CAA0C;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC","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\n// Used by ecschema-metadata (UnitTree.ts)\nexport { UnitConversionGraph } from \"../UnitConversion/Graph\";\nexport { parseDefinition } from \"../UnitConversion/Parser\";\nexport type { DefinitionFragment } from \"../UnitConversion/Parser\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/core-quantity",
3
- "version": "5.10.0-dev.1",
3
+ "version": "5.10.0-dev.4",
4
4
  "description": "Quantity parsing, formatting and conversions for iModel.js",
5
5
  "main": "lib/cjs/core-quantity.js",
6
6
  "module": "lib/esm/core-quantity.js",
@@ -21,20 +21,21 @@
21
21
  "url": "http://www.bentley.com"
22
22
  },
23
23
  "devDependencies": {
24
+ "@bentley/units-schema": "^1.0.9",
24
25
  "@itwin/eslint-plugin": "^6.0.0",
25
26
  "@vitest/coverage-v8": "^3.0.6",
26
27
  "eslint": "^9.31.0",
27
28
  "rimraf": "^6.0.1",
28
29
  "typescript": "~5.6.2",
29
30
  "vitest": "^3.0.6",
30
- "@itwin/build-tools": "5.10.0-dev.1",
31
- "@itwin/core-bentley": "5.10.0-dev.1"
31
+ "@itwin/build-tools": "5.10.0-dev.4",
32
+ "@itwin/core-bentley": "5.10.0-dev.4"
32
33
  },
33
34
  "peerDependencies": {
34
- "@itwin/core-bentley": "5.10.0-dev.1"
35
+ "@itwin/core-bentley": "5.10.0-dev.4"
35
36
  },
36
37
  "scripts": {
37
- "build": "npm run -s build:cjs && npm run -s build:esm",
38
+ "build": "node scripts/generateUnitsJson.js && npm run -s build:cjs && npm run -s build:esm",
38
39
  "build:cjs": "tsc 1>&2 --outDir lib/cjs",
39
40
  "build:esm": "tsc 1>&2 --module ES2022 --outDir lib/esm",
40
41
  "clean": "rimraf -g lib .rush/temp/package-deps*.json .nyc_output",