@itwin/core-quantity 5.9.0-dev.8 → 5.9.0
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 +27 -1
- package/lib/cjs/BasicUnitsProvider.d.ts +44 -0
- package/lib/cjs/BasicUnitsProvider.d.ts.map +1 -0
- package/lib/cjs/BasicUnitsProvider.js +241 -0
- package/lib/cjs/BasicUnitsProvider.js.map +1 -0
- package/lib/cjs/CompositeUnitsProvider.d.ts +45 -0
- package/lib/cjs/CompositeUnitsProvider.d.ts.map +1 -0
- package/lib/cjs/CompositeUnitsProvider.js +111 -0
- package/lib/cjs/CompositeUnitsProvider.js.map +1 -0
- package/lib/cjs/Constants.js.map +1 -1
- package/lib/cjs/Exception.js.map +1 -1
- package/lib/cjs/FormatSpecHandle.d.ts +56 -0
- package/lib/cjs/FormatSpecHandle.d.ts.map +1 -0
- package/lib/cjs/FormatSpecHandle.js +87 -0
- package/lib/cjs/FormatSpecHandle.js.map +1 -0
- package/lib/cjs/Formatter/Format.js.map +1 -1
- package/lib/cjs/Formatter/FormatEnums.js.map +1 -1
- package/lib/cjs/Formatter/Formatter.js.map +1 -1
- package/lib/cjs/Formatter/FormatterSpec.d.ts.map +1 -1
- package/lib/cjs/Formatter/FormatterSpec.js +14 -0
- package/lib/cjs/Formatter/FormatterSpec.js.map +1 -1
- package/lib/cjs/Formatter/FormattingReadyCollector.d.ts +16 -0
- package/lib/cjs/Formatter/FormattingReadyCollector.d.ts.map +1 -0
- package/lib/cjs/Formatter/FormattingReadyCollector.js +44 -0
- package/lib/cjs/Formatter/FormattingReadyCollector.js.map +1 -0
- package/lib/cjs/Formatter/Interfaces.d.ts +51 -3
- package/lib/cjs/Formatter/Interfaces.d.ts.map +1 -1
- package/lib/cjs/Formatter/Interfaces.js.map +1 -1
- package/lib/cjs/Interfaces.d.ts +31 -1
- package/lib/cjs/Interfaces.d.ts.map +1 -1
- package/lib/cjs/Interfaces.js.map +1 -1
- package/lib/cjs/Parser.d.ts.map +1 -1
- package/lib/cjs/Parser.js +16 -1
- package/lib/cjs/Parser.js.map +1 -1
- package/lib/cjs/ParserSpec.d.ts.map +1 -1
- package/lib/cjs/ParserSpec.js +15 -2
- package/lib/cjs/ParserSpec.js.map +1 -1
- package/lib/cjs/Quantity.js.map +1 -1
- package/lib/cjs/QuantityLoggerCategory.d.ts +16 -0
- package/lib/cjs/QuantityLoggerCategory.d.ts.map +1 -0
- package/lib/cjs/QuantityLoggerCategory.js +24 -0
- package/lib/cjs/QuantityLoggerCategory.js.map +1 -0
- package/lib/cjs/SerializedUnitSchema.d.ts +98 -0
- package/lib/cjs/SerializedUnitSchema.d.ts.map +1 -0
- package/lib/cjs/SerializedUnitSchema.js +25 -0
- package/lib/cjs/SerializedUnitSchema.js.map +1 -0
- package/lib/cjs/Unit.js.map +1 -1
- package/lib/cjs/UnitConversion/Graph.d.ts +35 -0
- package/lib/cjs/UnitConversion/Graph.d.ts.map +1 -0
- package/lib/cjs/UnitConversion/Graph.js +87 -0
- package/lib/cjs/UnitConversion/Graph.js.map +1 -0
- package/lib/cjs/UnitConversion/Parser.d.ts +9 -0
- package/lib/cjs/UnitConversion/Parser.d.ts.map +1 -0
- package/lib/cjs/UnitConversion/Parser.js +42 -0
- package/lib/cjs/UnitConversion/Parser.js.map +1 -0
- package/lib/cjs/UnitConversion/UnitConversion.d.ts +56 -0
- package/lib/cjs/UnitConversion/UnitConversion.d.ts.map +1 -0
- package/lib/cjs/UnitConversion/UnitConversion.js +80 -0
- package/lib/cjs/UnitConversion/UnitConversion.js.map +1 -0
- package/lib/cjs/UnitConversion/UnitDefinitionResolver.d.ts +29 -0
- package/lib/cjs/UnitConversion/UnitDefinitionResolver.d.ts.map +1 -0
- package/lib/cjs/UnitConversion/UnitDefinitionResolver.js +102 -0
- package/lib/cjs/UnitConversion/UnitDefinitionResolver.js.map +1 -0
- package/lib/cjs/UnitConversion/nameUtils.d.ts +11 -0
- package/lib/cjs/UnitConversion/nameUtils.d.ts.map +1 -0
- package/lib/cjs/UnitConversion/nameUtils.js +25 -0
- package/lib/cjs/UnitConversion/nameUtils.js.map +1 -0
- package/lib/cjs/assets/Units.json +4215 -0
- package/lib/cjs/core-quantity.d.ts +22 -1
- package/lib/cjs/core-quantity.d.ts.map +1 -1
- package/lib/cjs/core-quantity.js +24 -1
- package/lib/cjs/core-quantity.js.map +1 -1
- package/lib/cjs/internal/cross-package.d.ts +4 -0
- package/lib/cjs/internal/cross-package.d.ts.map +1 -0
- package/lib/cjs/internal/cross-package.js +13 -0
- package/lib/cjs/internal/cross-package.js.map +1 -0
- package/lib/esm/BasicUnitsProvider.d.ts +44 -0
- package/lib/esm/BasicUnitsProvider.d.ts.map +1 -0
- package/lib/esm/BasicUnitsProvider.js +213 -0
- package/lib/esm/BasicUnitsProvider.js.map +1 -0
- package/lib/esm/CompositeUnitsProvider.d.ts +45 -0
- package/lib/esm/CompositeUnitsProvider.d.ts.map +1 -0
- package/lib/esm/CompositeUnitsProvider.js +108 -0
- package/lib/esm/CompositeUnitsProvider.js.map +1 -0
- package/lib/esm/Constants.js.map +1 -1
- package/lib/esm/Exception.js.map +1 -1
- package/lib/esm/FormatSpecHandle.d.ts +56 -0
- package/lib/esm/FormatSpecHandle.d.ts.map +1 -0
- package/lib/esm/FormatSpecHandle.js +83 -0
- package/lib/esm/FormatSpecHandle.js.map +1 -0
- package/lib/esm/Formatter/Format.js.map +1 -1
- package/lib/esm/Formatter/FormatEnums.js.map +1 -1
- package/lib/esm/Formatter/Formatter.js.map +1 -1
- package/lib/esm/Formatter/FormatterSpec.d.ts.map +1 -1
- package/lib/esm/Formatter/FormatterSpec.js +14 -0
- package/lib/esm/Formatter/FormatterSpec.js.map +1 -1
- package/lib/esm/Formatter/FormattingReadyCollector.d.ts +16 -0
- package/lib/esm/Formatter/FormattingReadyCollector.d.ts.map +1 -0
- package/lib/esm/Formatter/FormattingReadyCollector.js +40 -0
- package/lib/esm/Formatter/FormattingReadyCollector.js.map +1 -0
- package/lib/esm/Formatter/Interfaces.d.ts +51 -3
- package/lib/esm/Formatter/Interfaces.d.ts.map +1 -1
- package/lib/esm/Formatter/Interfaces.js.map +1 -1
- package/lib/esm/Interfaces.d.ts +31 -1
- package/lib/esm/Interfaces.d.ts.map +1 -1
- package/lib/esm/Interfaces.js.map +1 -1
- package/lib/esm/Parser.d.ts.map +1 -1
- package/lib/esm/Parser.js +16 -1
- package/lib/esm/Parser.js.map +1 -1
- package/lib/esm/ParserSpec.d.ts.map +1 -1
- package/lib/esm/ParserSpec.js +15 -2
- package/lib/esm/ParserSpec.js.map +1 -1
- package/lib/esm/Quantity.js.map +1 -1
- package/lib/esm/QuantityLoggerCategory.d.ts +16 -0
- package/lib/esm/QuantityLoggerCategory.d.ts.map +1 -0
- package/lib/esm/QuantityLoggerCategory.js +21 -0
- package/lib/esm/QuantityLoggerCategory.js.map +1 -0
- package/lib/esm/SerializedUnitSchema.d.ts +98 -0
- package/lib/esm/SerializedUnitSchema.d.ts.map +1 -0
- package/lib/esm/SerializedUnitSchema.js +22 -0
- package/lib/esm/SerializedUnitSchema.js.map +1 -0
- package/lib/esm/Unit.js.map +1 -1
- package/lib/esm/UnitConversion/Graph.d.ts +35 -0
- package/lib/esm/UnitConversion/Graph.d.ts.map +1 -0
- package/lib/esm/UnitConversion/Graph.js +83 -0
- package/lib/esm/UnitConversion/Graph.js.map +1 -0
- package/lib/esm/UnitConversion/Parser.d.ts +9 -0
- package/lib/esm/UnitConversion/Parser.d.ts.map +1 -0
- package/lib/esm/UnitConversion/Parser.js +39 -0
- package/lib/esm/UnitConversion/Parser.js.map +1 -0
- package/lib/esm/UnitConversion/UnitConversion.d.ts +56 -0
- package/lib/esm/UnitConversion/UnitConversion.d.ts.map +1 -0
- package/lib/esm/UnitConversion/UnitConversion.js +76 -0
- package/lib/esm/UnitConversion/UnitConversion.js.map +1 -0
- package/lib/esm/UnitConversion/UnitDefinitionResolver.d.ts +29 -0
- package/lib/esm/UnitConversion/UnitDefinitionResolver.d.ts.map +1 -0
- package/lib/esm/UnitConversion/UnitDefinitionResolver.js +98 -0
- package/lib/esm/UnitConversion/UnitDefinitionResolver.js.map +1 -0
- package/lib/esm/UnitConversion/nameUtils.d.ts +11 -0
- package/lib/esm/UnitConversion/nameUtils.d.ts.map +1 -0
- package/lib/esm/UnitConversion/nameUtils.js +21 -0
- package/lib/esm/UnitConversion/nameUtils.js.map +1 -0
- package/lib/esm/assets/Units.json +4215 -0
- package/lib/esm/core-quantity.d.ts +22 -1
- package/lib/esm/core-quantity.d.ts.map +1 -1
- package/lib/esm/core-quantity.js +22 -1
- package/lib/esm/core-quantity.js.map +1 -1
- package/lib/esm/internal/cross-package.d.ts +4 -0
- package/lib/esm/internal/cross-package.d.ts.map +1 -0
- package/lib/esm/internal/cross-package.js +8 -0
- package/lib/esm/internal/cross-package.js.map +1 -0
- package/package.json +6 -5
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./Constants";
|
|
2
2
|
export * from "./Exception";
|
|
3
|
+
export * from "./FormatSpecHandle";
|
|
3
4
|
export * from "./Interfaces";
|
|
4
5
|
export * from "./Parser";
|
|
5
6
|
export * from "./ParserSpec";
|
|
@@ -9,12 +10,32 @@ export * from "./Formatter/Format";
|
|
|
9
10
|
export * from "./Formatter/FormatterSpec";
|
|
10
11
|
export * from "./Formatter/FormatEnums";
|
|
11
12
|
export * from "./Formatter/Formatter";
|
|
13
|
+
export * from "./Formatter/FormattingReadyCollector";
|
|
12
14
|
export * from "./Formatter/Interfaces";
|
|
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";
|
|
13
22
|
/** @docs-package-description
|
|
14
|
-
* The core-quantity package
|
|
23
|
+
* The core-quantity package contains classes, interfaces, and definitions for formatting and parsing quantity values.
|
|
15
24
|
*/
|
|
16
25
|
/**
|
|
17
26
|
* @docs-group-description Quantity
|
|
18
27
|
* Classes, Interfaces, and definitions used to format and parse quantity values.
|
|
19
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
|
+
*/
|
|
37
|
+
/**
|
|
38
|
+
* @docs-group-description Logging
|
|
39
|
+
* Logger categories used by this package.
|
|
40
|
+
*/
|
|
20
41
|
//# sourceMappingURL=core-quantity.d.ts.map
|
|
@@ -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,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;
|
|
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"}
|
package/lib/esm/core-quantity.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
export * from "./Constants";
|
|
6
6
|
export * from "./Exception";
|
|
7
|
+
export * from "./FormatSpecHandle";
|
|
7
8
|
export * from "./Interfaces";
|
|
8
9
|
export * from "./Parser";
|
|
9
10
|
export * from "./ParserSpec";
|
|
@@ -13,12 +14,32 @@ export * from "./Formatter/Format";
|
|
|
13
14
|
export * from "./Formatter/FormatterSpec";
|
|
14
15
|
export * from "./Formatter/FormatEnums";
|
|
15
16
|
export * from "./Formatter/Formatter";
|
|
17
|
+
export * from "./Formatter/FormattingReadyCollector";
|
|
16
18
|
export * from "./Formatter/Interfaces";
|
|
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";
|
|
17
26
|
/** @docs-package-description
|
|
18
|
-
* The core-quantity package
|
|
27
|
+
* The core-quantity package contains classes, interfaces, and definitions for formatting and parsing quantity values.
|
|
19
28
|
*/
|
|
20
29
|
/**
|
|
21
30
|
* @docs-group-description Quantity
|
|
22
31
|
* Classes, Interfaces, and definitions used to format and parse quantity values.
|
|
23
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
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* @docs-group-description Logging
|
|
43
|
+
* Logger categories used by this package.
|
|
44
|
+
*/
|
|
24
45
|
//# sourceMappingURL=core-quantity.js.map
|
|
@@ -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,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;
|
|
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 @@
|
|
|
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.9.0
|
|
3
|
+
"version": "5.9.0",
|
|
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.9.0
|
|
31
|
-
"@itwin/core-bentley": "5.9.0
|
|
31
|
+
"@itwin/build-tools": "5.9.0",
|
|
32
|
+
"@itwin/core-bentley": "5.9.0"
|
|
32
33
|
},
|
|
33
34
|
"peerDependencies": {
|
|
34
|
-
"@itwin/core-bentley": "5.9.0
|
|
35
|
+
"@itwin/core-bentley": "5.9.0"
|
|
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",
|