@itwin/core-extension 4.6.0-dev.25 → 4.6.0-dev.28

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/eslint.config.js CHANGED
@@ -1,8 +1,8 @@
1
- const iTwinPlugin = require("@itwin/eslint-plugin");
1
+ import iTwinPlugin from "@itwin/eslint-plugin";
2
2
 
3
- module.exports = [
3
+ export default [
4
4
  {
5
5
  files: ["**/*.ts"],
6
6
  ...iTwinPlugin.configs.iTwinjsRecommendedConfig,
7
- }
7
+ },
8
8
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/core-extension",
3
- "version": "4.6.0-dev.25",
3
+ "version": "4.6.0-dev.28",
4
4
  "description": "iTwin.js Extension API",
5
5
  "type": "module",
6
6
  "typings": "index.d.ts",
@@ -22,15 +22,15 @@
22
22
  "url": "http://www.bentley.com"
23
23
  },
24
24
  "dependencies": {
25
- "@itwin/core-frontend": "4.6.0-dev.25",
26
- "@itwin/core-common": "4.6.0-dev.25"
25
+ "@itwin/core-frontend": "4.6.0-dev.28",
26
+ "@itwin/core-common": "4.6.0-dev.28"
27
27
  },
28
28
  "devDependencies": {
29
- "@itwin/eslint-plugin": "4.0.0-dev.52",
29
+ "@itwin/eslint-plugin": "^4.0.2",
30
30
  "eslint": "^8.44.0",
31
31
  "rimraf": "^3.0.2",
32
32
  "typescript": "~5.3.3",
33
- "@itwin/build-tools": "4.6.0-dev.25"
33
+ "@itwin/build-tools": "4.6.0-dev.28"
34
34
  },
35
35
  "scripts": {
36
36
  "compile": "",
package/preview.d.ts DELETED
@@ -1,49 +0,0 @@
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
- // BEGIN GENERATED CODE
6
- export {
7
- } from "@itwin/core-frontend";
8
-
9
- export type {
10
- } from "@itwin/core-frontend";
11
-
12
- export {
13
- FractionRun,
14
- LineBreakRun,
15
- Paragraph,
16
- Run,
17
- TextAnnotation,
18
- TextBlock,
19
- TextBlockComponent,
20
- TextRun,
21
- TextStyle,
22
- TextStyleSettings
23
- } from "@itwin/core-common";
24
-
25
- export type {
26
- ApplyTextStyleOptions,
27
- BaselineShift,
28
- FractionRunProps,
29
- LineBreakRunProps,
30
- ParagraphProps,
31
- Run,
32
- RunProps,
33
- StackedFractionType,
34
- TextAnnotationAnchor,
35
- TextAnnotationCreateArgs,
36
- TextAnnotationProps,
37
- TextBlockComponentProps,
38
- TextBlockGeometryProps,
39
- TextBlockGeometryPropsEntry,
40
- TextBlockJustification,
41
- TextBlockProps,
42
- TextBlockStringifyOptions,
43
- TextRunProps,
44
- TextStyleColor,
45
- TextStyleProps,
46
- TextStyleSettingsProps
47
- } from "@itwin/core-common";
48
-
49
- // END GENERATED CODE
package/preview.js DELETED
@@ -1,24 +0,0 @@
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
-
6
- const globalSymbol = Symbol.for("itwin.core.frontend.globals");
7
- const ext = globalThis[globalSymbol].getExtensionApi(import.meta.url);
8
-
9
- // BEGIN GENERATED CODE
10
- export const {
11
- // @itwin/core-frontend:
12
- // @itwin/core-common:
13
- FractionRun,
14
- LineBreakRun,
15
- Paragraph,
16
- Run,
17
- TextAnnotation,
18
- TextBlock,
19
- TextBlockComponent,
20
- TextRun,
21
- TextStyle,
22
- TextStyleSettings,
23
- } = ext.exports;
24
- // END GENERATED CODE