@itwin/linear-referencing-common 5.0.0-dev.98 → 5.0.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 CHANGED
@@ -1,6 +1,49 @@
1
1
  # Change Log - @itwin/linear-referencing-common
2
2
 
3
- This log was last generated on Wed, 02 Apr 2025 19:38:36 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 13 Jun 2025 20:25:38 GMT and should not be manually modified.
4
+
5
+ ## 5.0.0
6
+ Fri, 13 Jun 2025 20:25:38 GMT
7
+
8
+ ### Updates
9
+
10
+ - Added ESM support
11
+ - Change core peer dependencies to strict version.
12
+
13
+ ## 4.11.5
14
+ Fri, 06 Jun 2025 13:41:18 GMT
15
+
16
+ _Version update only_
17
+
18
+ ## 4.11.4
19
+ Tue, 03 Jun 2025 16:15:19 GMT
20
+
21
+ _Version update only_
22
+
23
+ ## 4.11.3
24
+ Wed, 28 May 2025 13:56:23 GMT
25
+
26
+ _Version update only_
27
+
28
+ ## 4.11.2
29
+ Tue, 20 May 2025 20:14:46 GMT
30
+
31
+ _Version update only_
32
+
33
+ ## 4.11.1
34
+ Wed, 30 Apr 2025 13:13:21 GMT
35
+
36
+ _Version update only_
37
+
38
+ ## 4.11.0
39
+ Wed, 16 Apr 2025 15:50:28 GMT
40
+
41
+ _Version update only_
42
+
43
+ ## 4.10.13
44
+ Thu, 10 Apr 2025 17:47:21 GMT
45
+
46
+ _Version update only_
4
47
 
5
48
  ## 4.10.12
6
49
  Wed, 02 Apr 2025 19:35:47 GMT
@@ -1,5 +1,5 @@
1
- export * from "./LinearReferencingCommon.js";
2
- export * from "./LinearReferencingElementProps.js";
1
+ export * from "./LinearReferencingCommon";
2
+ export * from "./LinearReferencingElementProps";
3
3
  /** @docs-package-description
4
4
  * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"linear-referencing-common.d.ts","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":"AAKA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AAEnD;;GAEG;AAEH;;GAEG"}
1
+ {"version":3,"file":"linear-referencing-common.d.ts","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":"AAKA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAEhD;;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("./LinearReferencingCommon.js"), exports);
22
- __exportStar(require("./LinearReferencingElementProps.js"), exports);
21
+ __exportStar(require("./LinearReferencingCommon"), exports);
22
+ __exportStar(require("./LinearReferencingElementProps"), exports);
23
23
  /** @docs-package-description
24
24
  * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.
25
25
  */
@@ -1 +1 @@
1
- {"version":3,"file":"linear-referencing-common.js","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;AAE/F,+DAA6C;AAC7C,qEAAmD;AAEnD;;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 \"./LinearReferencingCommon.js\";\nexport * from \"./LinearReferencingElementProps.js\";\n\n/** @docs-package-description\n * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.\n */\n\n/** @docs-group-description LinearReferencing\n * [Linear referencing](https://en.wikipedia.org/wiki/Linear_referencing) is the method of storing geographic locations by using relative positions along a measured linear feature.\n */\n"]}
1
+ {"version":3,"file":"linear-referencing-common.js","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;AAE/F,4DAA0C;AAC1C,kEAAgD;AAEhD;;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 \"./LinearReferencingCommon\";\nexport * from \"./LinearReferencingElementProps\";\n\n/** @docs-package-description\n * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.\n */\n\n/** @docs-group-description LinearReferencing\n * [Linear referencing](https://en.wikipedia.org/wiki/Linear_referencing) is the method of storing geographic locations by using relative positions along a measured linear feature.\n */\n"]}
@@ -1,5 +1,5 @@
1
- export * from "./LinearReferencingCommon.js";
2
- export * from "./LinearReferencingElementProps.js";
1
+ export * from "./LinearReferencingCommon";
2
+ export * from "./LinearReferencingElementProps";
3
3
  /** @docs-package-description
4
4
  * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"linear-referencing-common.d.ts","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":"AAKA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AAEnD;;GAEG;AAEH;;GAEG"}
1
+ {"version":3,"file":"linear-referencing-common.d.ts","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":"AAKA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAEhD;;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 "./LinearReferencingCommon.js";
6
- export * from "./LinearReferencingElementProps.js";
5
+ export * from "./LinearReferencingCommon";
6
+ export * from "./LinearReferencingElementProps";
7
7
  /** @docs-package-description
8
8
  * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"linear-referencing-common.js","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AAEnD;;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 \"./LinearReferencingCommon.js\";\nexport * from \"./LinearReferencingElementProps.js\";\n\n/** @docs-package-description\n * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.\n */\n\n/** @docs-group-description LinearReferencing\n * [Linear referencing](https://en.wikipedia.org/wiki/Linear_referencing) is the method of storing geographic locations by using relative positions along a measured linear feature.\n */\n"]}
1
+ {"version":3,"file":"linear-referencing-common.js","sourceRoot":"","sources":["../../src/linear-referencing-common.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAEhD;;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 \"./LinearReferencingCommon\";\nexport * from \"./LinearReferencingElementProps\";\n\n/** @docs-package-description\n * The `@itwin/linear-referencing-common` package contains types for working with the LinearReferencing schema on the frontend and backend.\n */\n\n/** @docs-group-description LinearReferencing\n * [Linear referencing](https://en.wikipedia.org/wiki/Linear_referencing) is the method of storing geographic locations by using relative positions along a measured linear feature.\n */\n"]}
package/package.json CHANGED
@@ -1,16 +1,9 @@
1
1
  {
2
2
  "name": "@itwin/linear-referencing-common",
3
- "version": "5.0.0-dev.98",
3
+ "version": "5.0.0",
4
4
  "main": "lib/cjs/linear-referencing-common.js",
5
5
  "module": "lib/esm/linear-referencing-common.js",
6
6
  "typings": "lib/cjs/linear-referencing-common",
7
- "type": "module",
8
- "exports": {
9
- ".": {
10
- "import": "./lib/esm/linear-referencing-common.js",
11
- "require": "./lib/cjs/linear-referencing-common.js"
12
- }
13
- },
14
7
  "license": "MIT",
15
8
  "repository": {
16
9
  "type": "git",
@@ -27,8 +20,8 @@
27
20
  "url": "http://www.bentley.com"
28
21
  },
29
22
  "peerDependencies": {
30
- "@itwin/core-bentley": "5.0.0-dev.98",
31
- "@itwin/core-common": "5.0.0-dev.98"
23
+ "@itwin/core-bentley": "5.0.0",
24
+ "@itwin/core-common": "5.0.0"
32
25
  },
33
26
  "//devDependencies": [
34
27
  "NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
@@ -37,17 +30,18 @@
37
30
  "devDependencies": {
38
31
  "@itwin/eslint-plugin": "5.0.0-dev.1",
39
32
  "eslint": "^9.13.0",
33
+ "mocha": "^11.1.0",
34
+ "nyc": "^17.1.0",
40
35
  "rimraf": "^6.0.1",
41
36
  "typescript": "~5.6.2",
42
- "@itwin/core-common": "5.0.0-dev.98",
43
- "@itwin/build-tools": "5.0.0-dev.98",
44
- "@itwin/core-bentley": "5.0.0-dev.98",
45
- "internal-tools": "3.0.0-dev.69"
37
+ "@itwin/build-tools": "5.0.0",
38
+ "@itwin/core-common": "5.0.0",
39
+ "@itwin/core-bentley": "5.0.0"
46
40
  },
47
41
  "scripts": {
48
42
  "build": "npm run -s build:cjs && npm run -s build:esm",
49
- "build:cjs": "internal-tools build-cjs",
50
- "build:esm": "tsc 1>&2 --outDir lib/esm",
43
+ "build:cjs": "tsc 1>&2 --outDir lib/cjs",
44
+ "build:esm": "tsc 1>&2 --module ES2022 --outDir lib/esm",
51
45
  "clean": "rimraf -g lib .rush/temp/package-deps*.json",
52
46
  "cover": "",
53
47
  "docs": "betools docs --json=../../../generated-docs/domains/linear-referencing-common/file.json --tsIndexFile=./linear-referencing-common.ts --onlyJson",