@itwin/linear-referencing-common 5.0.0-dev.92 → 5.0.0-dev.94

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.
@@ -1,5 +1,5 @@
1
- export * from "./LinearReferencingCommon";
2
- export * from "./LinearReferencingElementProps";
1
+ export * from "./LinearReferencingCommon.js";
2
+ export * from "./LinearReferencingElementProps.js";
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,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAEhD;;GAEG;AAEH;;GAEG"}
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"}
@@ -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"), exports);
22
- __exportStar(require("./LinearReferencingElementProps"), exports);
21
+ __exportStar(require("./LinearReferencingCommon.js"), exports);
22
+ __exportStar(require("./LinearReferencingElementProps.js"), 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,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
+ {"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,5 +1,5 @@
1
- export * from "./LinearReferencingCommon";
2
- export * from "./LinearReferencingElementProps";
1
+ export * from "./LinearReferencingCommon.js";
2
+ export * from "./LinearReferencingElementProps.js";
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,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAEhD;;GAEG;AAEH;;GAEG"}
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"}
@@ -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";
6
- export * from "./LinearReferencingElementProps";
5
+ export * from "./LinearReferencingCommon.js";
6
+ export * from "./LinearReferencingElementProps.js";
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,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"]}
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"]}
package/package.json CHANGED
@@ -1,9 +1,16 @@
1
1
  {
2
2
  "name": "@itwin/linear-referencing-common",
3
- "version": "5.0.0-dev.92",
3
+ "version": "5.0.0-dev.94",
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
+ },
7
14
  "license": "MIT",
8
15
  "repository": {
9
16
  "type": "git",
@@ -20,8 +27,8 @@
20
27
  "url": "http://www.bentley.com"
21
28
  },
22
29
  "peerDependencies": {
23
- "@itwin/core-bentley": "5.0.0-dev.92",
24
- "@itwin/core-common": "5.0.0-dev.92"
30
+ "@itwin/core-bentley": "5.0.0-dev.94",
31
+ "@itwin/core-common": "5.0.0-dev.94"
25
32
  },
26
33
  "//devDependencies": [
27
34
  "NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install",
@@ -38,17 +45,18 @@
38
45
  "nyc": "^17.1.0",
39
46
  "rimraf": "^6.0.1",
40
47
  "typescript": "~5.6.2",
41
- "@itwin/build-tools": "5.0.0-dev.92",
42
- "@itwin/core-bentley": "5.0.0-dev.92",
43
- "@itwin/core-common": "5.0.0-dev.92"
48
+ "@itwin/build-tools": "5.0.0-dev.94",
49
+ "internal-tools": "3.0.0-dev.69",
50
+ "@itwin/core-bentley": "5.0.0-dev.94",
51
+ "@itwin/core-common": "5.0.0-dev.94"
44
52
  },
45
53
  "nyc": {
46
54
  "extends": "./node_modules/@itwin/build-tools/.nycrc"
47
55
  },
48
56
  "scripts": {
49
57
  "build": "npm run -s build:cjs && npm run -s build:esm",
50
- "build:cjs": "tsc 1>&2 --outDir lib/cjs",
51
- "build:esm": "tsc 1>&2 --module ES2022 --outDir lib/esm",
58
+ "build:cjs": "internal-tools build-cjs",
59
+ "build:esm": "tsc 1>&2 --outDir lib/esm",
52
60
  "clean": "rimraf -g lib .rush/temp/package-deps*.json",
53
61
  "cover": "nyc npm -s test",
54
62
  "docs": "betools docs --json=../../../generated-docs/domains/linear-referencing-common/file.json --tsIndexFile=./linear-referencing-common.ts --onlyJson",