@fluidframework/synthesize 2.0.0-dev.4.1.0.148229 → 2.0.0-dev.4.2.0.153917
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/README.md +38 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
An Ioc type library for synthesizing a FluidObject based on FluidObject providers.
|
|
4
4
|
|
|
5
|
+
<!-- AUTO-GENERATED-CONTENT:START (README_DEPENDENCY_GUIDELINES_SECTION:includeHeading=TRUE) -->
|
|
6
|
+
|
|
7
|
+
<!-- prettier-ignore-start -->
|
|
8
|
+
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
9
|
+
|
|
10
|
+
## Using Fluid Framework libraries
|
|
11
|
+
|
|
12
|
+
When taking a dependency on a Fluid Framework library, we recommend using a `^` (caret) version range, such as `^1.3.4`.
|
|
13
|
+
While Fluid Framework libraries may use different ranges with interdependencies between other Fluid Framework libraries,
|
|
14
|
+
library consumers should always prefer `^`.
|
|
15
|
+
|
|
16
|
+
Note that when depending on a library version of the form 2.0.0-internal.x.y.z, called the Fluid internal version
|
|
17
|
+
scheme, you must use a `>= <` dependency range. Standard `^` and `~` ranges will not work as expected. See the
|
|
18
|
+
[@fluid-tools/version-tools](https://github.com/microsoft/FluidFramework/blob/main/build-tools/packages/version-tools/README.md)
|
|
19
|
+
package for more information including tools to convert between version schemes.
|
|
20
|
+
|
|
21
|
+
<!-- prettier-ignore-end -->
|
|
22
|
+
|
|
23
|
+
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
24
|
+
|
|
5
25
|
It allows for the creation of a `DependencyContainer` that can have FluidObjects registered with it
|
|
6
26
|
based on their interface Symbol. So for example if I wanted to register something as `IFoo` I would
|
|
7
27
|
need to provide and object that implements `IFoo` along side it.
|
|
@@ -224,3 +244,21 @@ console.log(bar.bar);
|
|
|
224
244
|
|
|
225
245
|
The `DependencyContainer` takes one optional parameter which is the `parent`. When resolving providers the `DependencyContainer` will first
|
|
226
246
|
check the current container then look in the parent.
|
|
247
|
+
|
|
248
|
+
<!-- AUTO-GENERATED-CONTENT:START (README_TRADEMARK_SECTION:includeHeading=TRUE) -->
|
|
249
|
+
|
|
250
|
+
<!-- prettier-ignore-start -->
|
|
251
|
+
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
252
|
+
|
|
253
|
+
## Trademark
|
|
254
|
+
|
|
255
|
+
This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
|
|
256
|
+
|
|
257
|
+
Use of these trademarks or logos must follow Microsoft's [Trademark & Brand
|
|
258
|
+
Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
|
|
259
|
+
|
|
260
|
+
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
|
|
261
|
+
|
|
262
|
+
<!-- prettier-ignore-end -->
|
|
263
|
+
|
|
264
|
+
<!-- AUTO-GENERATED-CONTENT:END -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/synthesize",
|
|
3
|
-
"version": "2.0.0-dev.4.
|
|
3
|
+
"version": "2.0.0-dev.4.2.0.153917",
|
|
4
4
|
"description": "A library for synthesizing scope objects.",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"temp-directory": "nyc/.nyc_output"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@fluid-tools/build-cli": "^0.
|
|
42
|
+
"@fluid-tools/build-cli": "^0.15.0",
|
|
43
43
|
"@fluidframework/build-common": "^1.1.0",
|
|
44
|
-
"@fluidframework/build-tools": "^0.
|
|
45
|
-
"@fluidframework/core-interfaces": "2.0.0-dev.4.
|
|
46
|
-
"@fluidframework/datastore": "2.0.0-dev.4.
|
|
44
|
+
"@fluidframework/build-tools": "^0.15.0",
|
|
45
|
+
"@fluidframework/core-interfaces": "2.0.0-dev.4.2.0.153917",
|
|
46
|
+
"@fluidframework/datastore": "2.0.0-dev.4.2.0.153917",
|
|
47
47
|
"@fluidframework/eslint-config-fluid": "^2.0.0",
|
|
48
|
-
"@fluidframework/mocha-test-setup": "2.0.0-dev.4.
|
|
48
|
+
"@fluidframework/mocha-test-setup": "2.0.0-dev.4.2.0.153917",
|
|
49
49
|
"@fluidframework/synthesize-previous": "npm:@fluidframework/synthesize@2.0.0-internal.4.0.0",
|
|
50
50
|
"@microsoft/api-extractor": "^7.34.4",
|
|
51
51
|
"@types/mocha": "^9.1.1",
|