@fluidframework/merge-tree 2.0.0-dev-rc.3.0.0.254513 → 2.0.0-dev-rc.3.0.0.254674

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.
@@ -0,0 +1,74 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
10
+ export {
11
+ // alpha APIs
12
+ AttributionPolicy,
13
+ BaseSegment,
14
+ Client,
15
+ CollaborationWindow,
16
+ IAttributionCollection,
17
+ IAttributionCollectionSerializer,
18
+ IAttributionCollectionSpec,
19
+ IClientEvents,
20
+ IJSONMarkerSegment,
21
+ IJSONSegment,
22
+ IJSONTextSegment,
23
+ IMarkerDef,
24
+ IMergeNodeCommon,
25
+ IMergeTreeAnnotateMsg,
26
+ IMergeTreeAttributionOptions,
27
+ IMergeTreeDelta,
28
+ IMergeTreeDeltaCallbackArgs,
29
+ IMergeTreeDeltaOp,
30
+ IMergeTreeDeltaOpArgs,
31
+ IMergeTreeGroupMsg,
32
+ IMergeTreeInsertMsg,
33
+ IMergeTreeMaintenanceCallbackArgs,
34
+ IMergeTreeObliterateMsg,
35
+ IMergeTreeOp,
36
+ IMergeTreeOptions,
37
+ IMergeTreeRemoveMsg,
38
+ IMergeTreeSegmentDelta,
39
+ IMergeTreeTextHelper,
40
+ IMoveInfo,
41
+ IRelativePosition,
42
+ IRemovalInfo,
43
+ ISegment,
44
+ ISegmentAction,
45
+ ITrackingGroup,
46
+ LocalReferenceCollection,
47
+ LocalReferencePosition,
48
+ MapLike,
49
+ Marker,
50
+ MergeNode,
51
+ MergeTreeDeltaOperationType,
52
+ MergeTreeDeltaOperationTypes,
53
+ MergeTreeDeltaRevertible,
54
+ MergeTreeDeltaType,
55
+ MergeTreeMaintenanceType,
56
+ MergeTreeRevertibleDriver,
57
+ PropertiesManager,
58
+ PropertiesRollback,
59
+ PropertySet,
60
+ ReferencePosition,
61
+ ReferenceType,
62
+ SegmentGroup,
63
+ SegmentGroupCollection,
64
+ SequenceOffsets,
65
+ SerializedAttributionCollection,
66
+ SlidingPreference,
67
+ TextSegment,
68
+ Trackable,
69
+ TrackingGroup,
70
+ TrackingGroupCollection,
71
+ appendToMergeTreeDeltaRevertibles,
72
+ discardMergeTreeDeltaRevertible,
73
+ revertMergeTreeDeltaRevertibles
74
+ } from "./index.js";
package/dist/beta.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
package/lib/alpha.d.ts ADDED
@@ -0,0 +1,74 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
10
+ export {
11
+ // alpha APIs
12
+ AttributionPolicy,
13
+ BaseSegment,
14
+ Client,
15
+ CollaborationWindow,
16
+ IAttributionCollection,
17
+ IAttributionCollectionSerializer,
18
+ IAttributionCollectionSpec,
19
+ IClientEvents,
20
+ IJSONMarkerSegment,
21
+ IJSONSegment,
22
+ IJSONTextSegment,
23
+ IMarkerDef,
24
+ IMergeNodeCommon,
25
+ IMergeTreeAnnotateMsg,
26
+ IMergeTreeAttributionOptions,
27
+ IMergeTreeDelta,
28
+ IMergeTreeDeltaCallbackArgs,
29
+ IMergeTreeDeltaOp,
30
+ IMergeTreeDeltaOpArgs,
31
+ IMergeTreeGroupMsg,
32
+ IMergeTreeInsertMsg,
33
+ IMergeTreeMaintenanceCallbackArgs,
34
+ IMergeTreeObliterateMsg,
35
+ IMergeTreeOp,
36
+ IMergeTreeOptions,
37
+ IMergeTreeRemoveMsg,
38
+ IMergeTreeSegmentDelta,
39
+ IMergeTreeTextHelper,
40
+ IMoveInfo,
41
+ IRelativePosition,
42
+ IRemovalInfo,
43
+ ISegment,
44
+ ISegmentAction,
45
+ ITrackingGroup,
46
+ LocalReferenceCollection,
47
+ LocalReferencePosition,
48
+ MapLike,
49
+ Marker,
50
+ MergeNode,
51
+ MergeTreeDeltaOperationType,
52
+ MergeTreeDeltaOperationTypes,
53
+ MergeTreeDeltaRevertible,
54
+ MergeTreeDeltaType,
55
+ MergeTreeMaintenanceType,
56
+ MergeTreeRevertibleDriver,
57
+ PropertiesManager,
58
+ PropertiesRollback,
59
+ PropertySet,
60
+ ReferencePosition,
61
+ ReferenceType,
62
+ SegmentGroup,
63
+ SegmentGroupCollection,
64
+ SequenceOffsets,
65
+ SerializedAttributionCollection,
66
+ SlidingPreference,
67
+ TextSegment,
68
+ Trackable,
69
+ TrackingGroup,
70
+ TrackingGroupCollection,
71
+ appendToMergeTreeDeltaRevertibles,
72
+ discardMergeTreeDeltaRevertible,
73
+ revertMergeTreeDeltaRevertibles
74
+ } from "./index.js";
package/lib/beta.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ /*
7
+ * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
+ * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
+ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/merge-tree",
3
- "version": "2.0.0-dev-rc.3.0.0.254513",
3
+ "version": "2.0.0-dev-rc.3.0.0.254674",
4
4
  "description": "Merge tree",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -15,21 +15,21 @@
15
15
  "exports": {
16
16
  ".": {
17
17
  "import": {
18
- "types": "./lib/merge-tree-public.d.ts",
18
+ "types": "./lib/public.d.ts",
19
19
  "default": "./lib/index.js"
20
20
  },
21
21
  "require": {
22
- "types": "./dist/merge-tree-public.d.ts",
22
+ "types": "./dist/public.d.ts",
23
23
  "default": "./dist/index.js"
24
24
  }
25
25
  },
26
26
  "./alpha": {
27
27
  "import": {
28
- "types": "./lib/merge-tree-alpha.d.ts",
28
+ "types": "./lib/alpha.d.ts",
29
29
  "default": "./lib/index.js"
30
30
  },
31
31
  "require": {
32
- "types": "./dist/merge-tree-alpha.d.ts",
32
+ "types": "./dist/alpha.d.ts",
33
33
  "default": "./dist/index.js"
34
34
  }
35
35
  },
@@ -55,7 +55,7 @@
55
55
  }
56
56
  },
57
57
  "main": "dist/index.js",
58
- "types": "./dist/merge-tree-public.d.ts",
58
+ "types": "./dist/public.d.ts",
59
59
  "c8": {
60
60
  "all": true,
61
61
  "cache-dir": "nyc/.cache",
@@ -77,30 +77,30 @@
77
77
  "temp-directory": "nyc/.nyc_output"
78
78
  },
79
79
  "dependencies": {
80
- "@fluid-internal/client-utils": "2.0.0-dev-rc.3.0.0.254513",
81
- "@fluidframework/container-definitions": "2.0.0-dev-rc.3.0.0.254513",
82
- "@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.254513",
83
- "@fluidframework/core-utils": "2.0.0-dev-rc.3.0.0.254513",
84
- "@fluidframework/datastore-definitions": "2.0.0-dev-rc.3.0.0.254513",
80
+ "@fluid-internal/client-utils": "2.0.0-dev-rc.3.0.0.254674",
81
+ "@fluidframework/container-definitions": "2.0.0-dev-rc.3.0.0.254674",
82
+ "@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.254674",
83
+ "@fluidframework/core-utils": "2.0.0-dev-rc.3.0.0.254674",
84
+ "@fluidframework/datastore-definitions": "2.0.0-dev-rc.3.0.0.254674",
85
85
  "@fluidframework/protocol-definitions": "^3.2.0",
86
- "@fluidframework/runtime-definitions": "2.0.0-dev-rc.3.0.0.254513",
87
- "@fluidframework/runtime-utils": "2.0.0-dev-rc.3.0.0.254513",
88
- "@fluidframework/shared-object-base": "2.0.0-dev-rc.3.0.0.254513",
89
- "@fluidframework/telemetry-utils": "2.0.0-dev-rc.3.0.0.254513"
86
+ "@fluidframework/runtime-definitions": "2.0.0-dev-rc.3.0.0.254674",
87
+ "@fluidframework/runtime-utils": "2.0.0-dev-rc.3.0.0.254674",
88
+ "@fluidframework/shared-object-base": "2.0.0-dev-rc.3.0.0.254674",
89
+ "@fluidframework/telemetry-utils": "2.0.0-dev-rc.3.0.0.254674"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@arethetypeswrong/cli": "^0.15.2",
93
93
  "@biomejs/biome": "^1.6.2",
94
- "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.3.0.0.254513",
95
- "@fluid-private/stochastic-test-utils": "2.0.0-dev-rc.3.0.0.254513",
96
- "@fluid-private/test-pairwise-generator": "2.0.0-dev-rc.3.0.0.254513",
94
+ "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.3.0.0.254674",
95
+ "@fluid-private/stochastic-test-utils": "2.0.0-dev-rc.3.0.0.254674",
96
+ "@fluid-private/test-pairwise-generator": "2.0.0-dev-rc.3.0.0.254674",
97
97
  "@fluid-tools/benchmark": "^0.48.0",
98
98
  "@fluid-tools/build-cli": "^0.35.0",
99
99
  "@fluidframework/build-common": "^2.0.3",
100
100
  "@fluidframework/build-tools": "^0.35.0",
101
101
  "@fluidframework/eslint-config-fluid": "^5.1.0",
102
102
  "@fluidframework/merge-tree-previous": "npm:@fluidframework/merge-tree@2.0.0-internal.8.0.0",
103
- "@fluidframework/test-runtime-utils": "2.0.0-dev-rc.3.0.0.254513",
103
+ "@fluidframework/test-runtime-utils": "2.0.0-dev-rc.3.0.0.254674",
104
104
  "@microsoft/api-extractor": "^7.42.3",
105
105
  "@types/diff": "^3.5.1",
106
106
  "@types/mocha": "^9.1.1",
@@ -119,18 +119,6 @@
119
119
  "rimraf": "^4.4.0",
120
120
  "typescript": "~5.1.6"
121
121
  },
122
- "fluidBuild": {
123
- "tasks": {
124
- "build:docs": {
125
- "dependsOn": [
126
- "...",
127
- "api-extractor:commonjs",
128
- "api-extractor:esnext"
129
- ],
130
- "script": false
131
- }
132
- }
133
- },
134
122
  "typeValidation": {
135
123
  "broken": {
136
124
  "ClassDeclaration_Client": {
@@ -140,12 +128,12 @@
140
128
  },
141
129
  "scripts": {
142
130
  "api": "fluid-build . --task api",
143
- "api-extractor:commonjs": "api-extractor run --config ./api-extractor-cjs.json",
144
- "api-extractor:esnext": "api-extractor run --local",
131
+ "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
132
+ "api-extractor:esnext": "flub generate entrypoints --outDir ./lib",
145
133
  "build": "fluid-build . --task build",
146
134
  "build:commonjs": "fluid-build . --task commonjs",
147
135
  "build:compile": "fluid-build . --task compile",
148
- "build:docs": "fluid-build . --task api",
136
+ "build:docs": "api-extractor run --local",
149
137
  "build:esnext": "tsc --project ./tsconfig.json",
150
138
  "build:test": "npm run build:test:esm && npm run build:test:cjs",
151
139
  "build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
@@ -1,8 +0,0 @@
1
- {
2
- "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
- "extends": "../../../common/build/build-common/api-extractor-base.cjs.primary.json",
4
- // CJS is actually secondary; so, no report.
5
- "apiReport": {
6
- "enabled": false
7
- }
8
- }