@fluid-experimental/tree 2.30.0 → 2.31.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 +129 -125
- package/api-extractor.json +6 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +24 -27
- package/prettier.config.cjs +0 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
# @fluid-experimental/tree
|
|
2
2
|
|
|
3
|
+
## 2.31.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
3
7
|
## 2.30.0
|
|
4
8
|
|
|
5
9
|
### Minor Changes
|
|
6
10
|
|
|
7
|
-
-
|
|
11
|
+
- The OrderedEditSet interface now has a getLocalEdits method ([#23244](https://github.com/microsoft/FluidFramework/pull/23244)) [429c0b717f](https://github.com/microsoft/FluidFramework/commit/429c0b717f37d18da0311dd69fcfc3bd10fea13c)
|
|
8
12
|
|
|
9
|
-
|
|
10
|
-
|
|
13
|
+
Previously, `EditLog` was imported to cast to this type for access to the `getLocalEdits` method. In addition, the
|
|
14
|
+
`./test/EditLog` export has been removed.
|
|
11
15
|
|
|
12
16
|
## 2.23.0
|
|
13
17
|
|
|
@@ -65,45 +69,45 @@ Dependency updates only.
|
|
|
65
69
|
|
|
66
70
|
### Minor Changes
|
|
67
71
|
|
|
68
|
-
-
|
|
72
|
+
- Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
|
|
69
73
|
|
|
70
|
-
|
|
74
|
+
Update package implementations to use TypeScript 5.4.5.
|
|
71
75
|
|
|
72
76
|
## 2.0.0-rc.4.0.0
|
|
73
77
|
|
|
74
78
|
### Minor Changes
|
|
75
79
|
|
|
76
|
-
-
|
|
80
|
+
- Deprecated members of IFluidHandle are split off into new IFluidHandleInternal interface [96872186d0](https://github.com/microsoft/FluidFramework/commit/96872186d0d0f245c1fece7d19b3743e501679b6)
|
|
77
81
|
|
|
78
|
-
|
|
79
|
-
|
|
82
|
+
Split IFluidHandle into two interfaces, `IFluidHandle` and `IFluidHandleInternal`.
|
|
83
|
+
Code depending on the previously deprecated members of IFluidHandle can access them by using `toFluidHandleInternal` from `@fluidframework/runtime-utils/legacy`.
|
|
80
84
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
85
|
+
External implementation of the `IFluidHandle` interface are not supported: this change makes the typing better convey this using the `ErasedType` pattern.
|
|
86
|
+
Any existing and previously working, and now broken, external implementations of `IFluidHandle` should still work at runtime, but will need some unsafe type casts to compile.
|
|
87
|
+
Such handle implementation may break in the future and thus should be replaced with use of handles produced by the Fluid Framework client packages.
|
|
84
88
|
|
|
85
89
|
## 2.0.0-rc.3.0.0
|
|
86
90
|
|
|
87
91
|
### Major Changes
|
|
88
92
|
|
|
89
|
-
-
|
|
93
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
90
94
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
95
|
+
Fluid Framework packages have been updated to use the [package.json "exports"
|
|
96
|
+
field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
|
|
97
|
+
TypeScript types and implementation code.
|
|
94
98
|
|
|
95
|
-
|
|
99
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
96
100
|
|
|
97
|
-
|
|
98
|
-
|
|
101
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
102
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
99
103
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
+
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
|
|
105
|
+
for use with modern versions of Node.js _and_ Bundlers.
|
|
106
|
+
[See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
|
|
107
|
+
regarding the module and moduleResolution options.
|
|
104
108
|
|
|
105
|
-
|
|
106
|
-
|
|
109
|
+
**Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
|
|
110
|
+
to distinguish stable APIs from those that are in development.**
|
|
107
111
|
|
|
108
112
|
## 2.0.0-rc.2.0.0
|
|
109
113
|
|
|
@@ -113,35 +117,35 @@ Dependency updates only.
|
|
|
113
117
|
|
|
114
118
|
### Minor Changes
|
|
115
119
|
|
|
116
|
-
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
120
|
+
- Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
121
|
+
|
|
122
|
+
The following Fluid server dependencies have been updated to the latest version, 3.0.0. [See the full changelog.](https://github.com/microsoft/FluidFramework/releases/tag/server_v3.0.0)
|
|
123
|
+
|
|
124
|
+
- @fluidframework/gitresources
|
|
125
|
+
- @fluidframework/server-kafka-orderer
|
|
126
|
+
- @fluidframework/server-lambdas
|
|
127
|
+
- @fluidframework/server-lambdas-driver
|
|
128
|
+
- @fluidframework/server-local-server
|
|
129
|
+
- @fluidframework/server-memory-orderer
|
|
130
|
+
- @fluidframework/protocol-base
|
|
131
|
+
- @fluidframework/server-routerlicious
|
|
132
|
+
- @fluidframework/server-routerlicious-base
|
|
133
|
+
- @fluidframework/server-services
|
|
134
|
+
- @fluidframework/server-services-client
|
|
135
|
+
- @fluidframework/server-services-core
|
|
136
|
+
- @fluidframework/server-services-ordering-kafkanode
|
|
137
|
+
- @fluidframework/server-services-ordering-rdkafka
|
|
138
|
+
- @fluidframework/server-services-ordering-zookeeper
|
|
139
|
+
- @fluidframework/server-services-shared
|
|
140
|
+
- @fluidframework/server-services-telemetry
|
|
141
|
+
- @fluidframework/server-services-utils
|
|
142
|
+
- @fluidframework/server-test-utils
|
|
143
|
+
- tinylicious
|
|
144
|
+
|
|
145
|
+
- Updated @fluidframework/protocol-definitions ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
146
|
+
|
|
147
|
+
The @fluidframework/protocol-definitions dependency has been upgraded to v3.1.0. [See the full
|
|
148
|
+
changelog.](https://github.com/microsoft/FluidFramework/blob/main/common/lib/protocol-definitions/CHANGELOG.md#310)
|
|
145
149
|
|
|
146
150
|
## 2.0.0-internal.8.0.0
|
|
147
151
|
|
|
@@ -167,45 +171,45 @@ Dependency updates only.
|
|
|
167
171
|
|
|
168
172
|
### Major Changes
|
|
169
173
|
|
|
170
|
-
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
-
|
|
207
|
-
|
|
208
|
-
|
|
174
|
+
- Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
175
|
+
|
|
176
|
+
This included the following changes from the protocol-definitions release:
|
|
177
|
+
|
|
178
|
+
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
|
|
179
|
+
submitted by clients to the server and the resulting signals sent from the server to clients.
|
|
180
|
+
- A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
|
|
181
|
+
been added, which will be the typing for signals sent from the client to the server. Both extend a new
|
|
182
|
+
ISignalMessageBase interface that contains common members.
|
|
183
|
+
- The @fluidframework/common-definitions package dependency has been updated to version 1.0.0.
|
|
184
|
+
|
|
185
|
+
- Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
186
|
+
|
|
187
|
+
Dependencies on the following Fluid server package have been updated to version 2.0.1:
|
|
188
|
+
|
|
189
|
+
- @fluidframework/gitresources: 2.0.1
|
|
190
|
+
- @fluidframework/server-kafka-orderer: 2.0.1
|
|
191
|
+
- @fluidframework/server-lambdas: 2.0.1
|
|
192
|
+
- @fluidframework/server-lambdas-driver: 2.0.1
|
|
193
|
+
- @fluidframework/server-local-server: 2.0.1
|
|
194
|
+
- @fluidframework/server-memory-orderer: 2.0.1
|
|
195
|
+
- @fluidframework/protocol-base: 2.0.1
|
|
196
|
+
- @fluidframework/server-routerlicious: 2.0.1
|
|
197
|
+
- @fluidframework/server-routerlicious-base: 2.0.1
|
|
198
|
+
- @fluidframework/server-services: 2.0.1
|
|
199
|
+
- @fluidframework/server-services-client: 2.0.1
|
|
200
|
+
- @fluidframework/server-services-core: 2.0.1
|
|
201
|
+
- @fluidframework/server-services-ordering-kafkanode: 2.0.1
|
|
202
|
+
- @fluidframework/server-services-ordering-rdkafka: 2.0.1
|
|
203
|
+
- @fluidframework/server-services-ordering-zookeeper: 2.0.1
|
|
204
|
+
- @fluidframework/server-services-shared: 2.0.1
|
|
205
|
+
- @fluidframework/server-services-telemetry: 2.0.1
|
|
206
|
+
- @fluidframework/server-services-utils: 2.0.1
|
|
207
|
+
- @fluidframework/server-test-utils: 2.0.1
|
|
208
|
+
- tinylicious: 2.0.1
|
|
209
|
+
|
|
210
|
+
- Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
211
|
+
|
|
212
|
+
The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
|
|
209
213
|
|
|
210
214
|
## 2.0.0-internal.6.4.0
|
|
211
215
|
|
|
@@ -219,32 +223,32 @@ Dependency updates only.
|
|
|
219
223
|
|
|
220
224
|
### Minor Changes
|
|
221
225
|
|
|
222
|
-
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
226
|
+
- Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
|
|
227
|
+
|
|
228
|
+
The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
|
|
229
|
+
imported from the **@fluidframework/core-interfaces** package:
|
|
230
|
+
|
|
231
|
+
- interface IDisposable
|
|
232
|
+
- interface IErrorEvent
|
|
233
|
+
- interface IErrorEvent
|
|
234
|
+
- interface IEvent
|
|
235
|
+
- interface IEventProvider
|
|
236
|
+
- interface ILoggingError
|
|
237
|
+
- interface ITaggedTelemetryPropertyType
|
|
238
|
+
- interface ITelemetryBaseEvent
|
|
239
|
+
- interface ITelemetryBaseLogger
|
|
240
|
+
- interface ITelemetryErrorEvent
|
|
241
|
+
- interface ITelemetryGenericEvent
|
|
242
|
+
- interface ITelemetryLogger
|
|
243
|
+
- interface ITelemetryPerformanceEvent
|
|
244
|
+
- interface ITelemetryProperties
|
|
245
|
+
- type ExtendEventProvider
|
|
246
|
+
- type IEventThisPlaceHolder
|
|
247
|
+
- type IEventTransformer
|
|
248
|
+
- type ReplaceIEventThisPlaceHolder
|
|
249
|
+
- type ReplaceIEventThisPlaceHolder
|
|
250
|
+
- type TelemetryEventCategory
|
|
251
|
+
- type TelemetryEventPropertyType
|
|
248
252
|
|
|
249
253
|
## 2.0.0-internal.6.1.0
|
|
250
254
|
|
|
@@ -254,9 +258,9 @@ Dependency updates only.
|
|
|
254
258
|
|
|
255
259
|
### Major Changes
|
|
256
260
|
|
|
257
|
-
-
|
|
261
|
+
- Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
258
262
|
|
|
259
|
-
|
|
263
|
+
Upgraded typescript transpilation target to ES2020. This is done in order to decrease the bundle sizes of Fluid Framework packages. This has provided size improvements across the board for ex. Loader, Driver, Runtime etc. Reduced bundle sizes helps to load lesser code in apps and hence also helps to improve the perf.If any app wants to target any older versions of browsers with which this target version is not compatible, then they can use packages like babel to transpile to a older target.
|
|
260
264
|
|
|
261
265
|
## 2.0.0-internal.5.4.0
|
|
262
266
|
|
|
@@ -266,12 +270,12 @@ Dependency updates only.
|
|
|
266
270
|
|
|
267
271
|
### Minor Changes
|
|
268
272
|
|
|
269
|
-
-
|
|
273
|
+
- Move closeAndGetPendingLocalState to IContainerExperimental ([#16302](https://github.com/microsoft/FluidFramework/issues/16302)) [93151af787](https://github.com/microsoft/FluidFramework/commits/93151af787b76e547cf3460df47f81832131db8c)
|
|
270
274
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
+
This change deprecates the experimental method closeAndGetPendingLocalState on IContainer and moves it to IContainerExperimental.
|
|
276
|
+
IContainerExperimental is an interface that is easily casted to, which enables partners to access experimental features for testing and evaluation.
|
|
277
|
+
Moving the experimental method off IContainer will reduce exposure and churn on that production interface as we iterate on and finalize our experimental features.
|
|
278
|
+
Experimental features should not be used in production environments.
|
|
275
279
|
|
|
276
280
|
## 2.0.0-internal.5.2.0
|
|
277
281
|
|
package/api-extractor.json
CHANGED
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
"extends": "../../../common/build/build-common/api-extractor-base.esm.no-legacy.json",
|
|
4
4
|
"apiReport": {
|
|
5
5
|
"enabled": true,
|
|
6
|
-
// Note: `tree.api.md` is the file used for the
|
|
6
|
+
// Note: `tree.api.md` is the file used for the public tree DDS's API report.
|
|
7
7
|
"reportFileName": "experimental-<unscopedPackageName>.api.md"
|
|
8
|
+
},
|
|
9
|
+
"docModel": {
|
|
10
|
+
"enabled": true,
|
|
11
|
+
// Note: `tree.api.json` is the file used for the public tree DDS's API report.
|
|
12
|
+
"apiJsonFilePath": "<projectFolder>/_api-extractor-temp/doc-models/experimental-<unscopedPackageName>.api.json"
|
|
8
13
|
}
|
|
9
14
|
}
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-experimental/tree",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"description": "Distributed tree",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"main": "lib/index.js",
|
|
28
28
|
"types": "lib/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@fluid-internal/client-utils": "~2.
|
|
31
|
-
"@fluidframework/container-definitions": "~2.
|
|
32
|
-
"@fluidframework/core-interfaces": "~2.
|
|
33
|
-
"@fluidframework/core-utils": "~2.
|
|
34
|
-
"@fluidframework/datastore-definitions": "~2.
|
|
35
|
-
"@fluidframework/driver-definitions": "~2.
|
|
36
|
-
"@fluidframework/id-compressor": "~2.
|
|
37
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
38
|
-
"@fluidframework/runtime-utils": "~2.
|
|
39
|
-
"@fluidframework/shared-object-base": "~2.
|
|
40
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
41
|
-
"@fluidframework/tree": "~2.
|
|
30
|
+
"@fluid-internal/client-utils": "~2.31.0",
|
|
31
|
+
"@fluidframework/container-definitions": "~2.31.0",
|
|
32
|
+
"@fluidframework/core-interfaces": "~2.31.0",
|
|
33
|
+
"@fluidframework/core-utils": "~2.31.0",
|
|
34
|
+
"@fluidframework/datastore-definitions": "~2.31.0",
|
|
35
|
+
"@fluidframework/driver-definitions": "~2.31.0",
|
|
36
|
+
"@fluidframework/id-compressor": "~2.31.0",
|
|
37
|
+
"@fluidframework/runtime-definitions": "~2.31.0",
|
|
38
|
+
"@fluidframework/runtime-utils": "~2.31.0",
|
|
39
|
+
"@fluidframework/shared-object-base": "~2.31.0",
|
|
40
|
+
"@fluidframework/telemetry-utils": "~2.31.0",
|
|
41
|
+
"@fluidframework/tree": "~2.31.0",
|
|
42
42
|
"@tylerbu/sorted-btree-es6": "^1.8.0",
|
|
43
43
|
"buffer": "^6.0.3",
|
|
44
44
|
"denque": "^1.5.1",
|
|
@@ -48,21 +48,21 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
50
50
|
"@biomejs/biome": "~1.9.3",
|
|
51
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
52
|
-
"@fluid-private/stochastic-test-utils": "~2.
|
|
53
|
-
"@fluid-private/test-drivers": "~2.
|
|
51
|
+
"@fluid-internal/mocha-test-setup": "~2.31.0",
|
|
52
|
+
"@fluid-private/stochastic-test-utils": "~2.31.0",
|
|
53
|
+
"@fluid-private/test-drivers": "~2.31.0",
|
|
54
54
|
"@fluid-tools/benchmark": "^0.50.0",
|
|
55
55
|
"@fluidframework/build-common": "^2.0.3",
|
|
56
56
|
"@fluidframework/build-tools": "^0.54.0",
|
|
57
|
-
"@fluidframework/container-definitions": "~2.
|
|
58
|
-
"@fluidframework/container-loader": "~2.
|
|
59
|
-
"@fluidframework/container-runtime": "~2.
|
|
57
|
+
"@fluidframework/container-definitions": "~2.31.0",
|
|
58
|
+
"@fluidframework/container-loader": "~2.31.0",
|
|
59
|
+
"@fluidframework/container-runtime": "~2.31.0",
|
|
60
60
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
61
|
-
"@fluidframework/runtime-utils": "~2.
|
|
62
|
-
"@fluidframework/test-runtime-utils": "~2.
|
|
63
|
-
"@fluidframework/test-utils": "~2.
|
|
64
|
-
"@fluidframework/undo-redo": "~2.
|
|
65
|
-
"@microsoft/api-extractor": "7.
|
|
61
|
+
"@fluidframework/runtime-utils": "~2.31.0",
|
|
62
|
+
"@fluidframework/test-runtime-utils": "~2.31.0",
|
|
63
|
+
"@fluidframework/test-utils": "~2.31.0",
|
|
64
|
+
"@fluidframework/undo-redo": "~2.31.0",
|
|
65
|
+
"@microsoft/api-extractor": "7.50.1",
|
|
66
66
|
"@types/chai": "^4.0.0",
|
|
67
67
|
"@types/lru-cache": "^5.1.0",
|
|
68
68
|
"@types/mocha": "^10.0.10",
|
|
@@ -79,7 +79,6 @@
|
|
|
79
79
|
"mocha": "^10.8.2",
|
|
80
80
|
"mocha-multi-reporters": "^1.5.1",
|
|
81
81
|
"moment": "^2.21.0",
|
|
82
|
-
"prettier": "~3.0.3",
|
|
83
82
|
"rimraf": "^4.4.0",
|
|
84
83
|
"typescript": "~5.4.5"
|
|
85
84
|
},
|
|
@@ -102,14 +101,12 @@
|
|
|
102
101
|
"check:exports:esm:EditLog": "echo AB#8147 skip api-extractor run --config api-extractor/api-extractor-lint-EditLog.esm.json",
|
|
103
102
|
"check:exports:esm:index": "api-extractor run --config api-extractor/api-extractor-lint-index.esm.json",
|
|
104
103
|
"check:format": "npm run check:biome",
|
|
105
|
-
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
106
104
|
"ci:build:docs": "api-extractor run",
|
|
107
105
|
"clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
108
106
|
"eslint": "eslint src",
|
|
109
107
|
"eslint:fix": "eslint src --fix",
|
|
110
108
|
"format": "npm run format:biome",
|
|
111
109
|
"format:biome": "biome check . --write",
|
|
112
|
-
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
113
110
|
"lint": "fluid-build . --task lint",
|
|
114
111
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
115
112
|
"perf": "cross-env FLUID_TEST_VERBOSE=1 mocha \"dist/**/*.tests.js\" --node-option unhandled-rejections=strict,expose-gc --exit --perfMode --fgrep @Benchmark --reporter @fluid-tools/benchmark/dist/MochaReporter.js --timeout 30000",
|
package/prettier.config.cjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
module.exports = {
|
|
7
|
-
...require('@fluidframework/build-common/prettier.config.cjs'),
|
|
8
|
-
arrowParens: 'always',
|
|
9
|
-
endOfLine: 'auto',
|
|
10
|
-
printWidth: 120,
|
|
11
|
-
singleQuote: true,
|
|
12
|
-
tabWidth: 4,
|
|
13
|
-
trailingComma: 'es5',
|
|
14
|
-
useTabs: true,
|
|
15
|
-
overrides: [
|
|
16
|
-
{
|
|
17
|
-
files: 'tsconfig*.json',
|
|
18
|
-
options: {
|
|
19
|
-
singleQuote: false,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
};
|