@fluidframework/fluid-static 2.0.0-internal.4.0.5 → 2.0.0-internal.4.1.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +5 -19
  2. package/README.md +38 -0
  3. package/package.json +19 -15
package/CHANGELOG.md CHANGED
@@ -1,22 +1,8 @@
1
- # Changes across versions for the Fluid-Static
2
-
3
- - [Changes across versions for the Fluid-Static](#changes-across-versions-for-the-fluid-static)
4
- - [0.39.0](#0390)
5
- - [[BREAKING] `'FluidStatic' instances have been moved to service specific packages`]
6
- (#fluidstatic-instances-have-been-moved-to-service-specific-packages)
7
- - [Example](#example-4)
8
- - [[BREAKING] `'ContainerConfig' has been renamed to 'ContainerSchema'`](#containerconfig-has-been-renamed-to-containerschema)
9
- - [0.38.0](#0380)
10
- - [DDS object types are now supported](#dds-object-types-are-now-supported)
11
- - [Example](#example)
12
- - [`initialObjects` are avaiable as an object on the FluidContainer](#initialobjects-are-avaiable-as-an-object-on-the-fluidcontainer)
13
- - [Example](#example-1)
14
- - [[BREAKING] `ContainerConfig` has renames](#breaking-containerconfig-has-renames)
15
- - [Example](#example-2)
16
- - [[BREAKING] `CreateContainerConfig` has been removed](#breaking-createcontainerconfig-has-been-removed)
17
- - [[BREAKING] `getDataObject` is no longer avaiable](#breaking-getdataobject-is-no-longer-avaiable)
18
- - [[BREAKING] `createDataObject` is replaced by `create`](#breaking-createdataobject-is-replaced-by-create)
19
- - [Example](#example-3)
1
+ # @fluidframework/fluid-static
2
+
3
+ ## 2.0.0-internal.4.1.0
4
+
5
+ Dependency updates only.
20
6
 
21
7
  ## 0.39.0
22
8
 
package/README.md CHANGED
@@ -2,8 +2,46 @@
2
2
 
3
3
  The `fluid-static` package provides a simple and powerful way to consume collaborative Fluid data.
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
  ## Using fluid-static
6
26
 
7
27
  The `fluid-static` package contains a container with a pre-created default data object with the ability to create and store additional objects. This is abstracted behind a developer-friendly `FluidContainer` interface that provides configurations for defining the container's initial object and supported dynamic object types, as well as callbacks for creating and fetching DDSes and data objects.
8
28
 
9
29
  This is consumed by separate client packages, such as [TinyliciousClient](../tinylicious-client/README.MD) for the Tinylicious service, to provide an easy way of creating and fetching FluidContainer instances that are backed by data stored on the respective services.
30
+
31
+ <!-- AUTO-GENERATED-CONTENT:START (README_TRADEMARK_SECTION:includeHeading=TRUE) -->
32
+
33
+ <!-- prettier-ignore-start -->
34
+ <!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
35
+
36
+ ## Trademark
37
+
38
+ This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
39
+
40
+ Use of these trademarks or logos must follow Microsoft's [Trademark & Brand
41
+ Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
42
+
43
+ Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
44
+
45
+ <!-- prettier-ignore-end -->
46
+
47
+ <!-- AUTO-GENERATED-CONTENT:END -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/fluid-static",
3
- "version": "2.0.0-internal.4.0.5",
3
+ "version": "2.0.0-internal.4.1.0",
4
4
  "description": "A tool to enable consumption of Fluid Data Objects without requiring custom container code.",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -35,28 +35,28 @@
35
35
  "temp-directory": "nyc/.nyc_output"
36
36
  },
37
37
  "dependencies": {
38
- "@fluidframework/aqueduct": ">=2.0.0-internal.4.0.5 <2.0.0-internal.5.0.0",
38
+ "@fluidframework/aqueduct": ">=2.0.0-internal.4.1.0 <2.0.0-internal.4.2.0",
39
39
  "@fluidframework/common-definitions": "^0.20.1",
40
40
  "@fluidframework/common-utils": "^1.1.1",
41
- "@fluidframework/container-definitions": ">=2.0.0-internal.4.0.5 <2.0.0-internal.5.0.0",
42
- "@fluidframework/container-loader": ">=2.0.0-internal.4.0.5 <2.0.0-internal.5.0.0",
43
- "@fluidframework/container-runtime-definitions": ">=2.0.0-internal.4.0.5 <2.0.0-internal.5.0.0",
44
- "@fluidframework/core-interfaces": ">=2.0.0-internal.4.0.5 <2.0.0-internal.5.0.0",
45
- "@fluidframework/datastore-definitions": ">=2.0.0-internal.4.0.5 <2.0.0-internal.5.0.0",
41
+ "@fluidframework/container-definitions": ">=2.0.0-internal.4.1.0 <2.0.0-internal.4.2.0",
42
+ "@fluidframework/container-loader": ">=2.0.0-internal.4.1.0 <2.0.0-internal.4.2.0",
43
+ "@fluidframework/container-runtime-definitions": ">=2.0.0-internal.4.1.0 <2.0.0-internal.4.2.0",
44
+ "@fluidframework/core-interfaces": ">=2.0.0-internal.4.1.0 <2.0.0-internal.4.2.0",
45
+ "@fluidframework/datastore-definitions": ">=2.0.0-internal.4.1.0 <2.0.0-internal.4.2.0",
46
46
  "@fluidframework/protocol-definitions": "^1.1.0",
47
- "@fluidframework/request-handler": ">=2.0.0-internal.4.0.5 <2.0.0-internal.5.0.0",
48
- "@fluidframework/runtime-definitions": ">=2.0.0-internal.4.0.5 <2.0.0-internal.5.0.0",
49
- "@fluidframework/runtime-utils": ">=2.0.0-internal.4.0.5 <2.0.0-internal.5.0.0"
47
+ "@fluidframework/request-handler": ">=2.0.0-internal.4.1.0 <2.0.0-internal.4.2.0",
48
+ "@fluidframework/runtime-definitions": ">=2.0.0-internal.4.1.0 <2.0.0-internal.4.2.0",
49
+ "@fluidframework/runtime-utils": ">=2.0.0-internal.4.1.0 <2.0.0-internal.4.2.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@fluid-tools/build-cli": "^0.13.0",
52
+ "@fluid-tools/build-cli": "^0.15.0",
53
53
  "@fluidframework/build-common": "^1.1.0",
54
- "@fluidframework/build-tools": "^0.13.0",
54
+ "@fluidframework/build-tools": "^0.15.0",
55
55
  "@fluidframework/eslint-config-fluid": "^2.0.0",
56
56
  "@fluidframework/fluid-static-previous": "npm:@fluidframework/fluid-static@2.0.0-internal.4.0.0",
57
- "@fluidframework/map": ">=2.0.0-internal.4.0.5 <2.0.0-internal.5.0.0",
58
- "@fluidframework/mocha-test-setup": ">=2.0.0-internal.4.0.5 <2.0.0-internal.5.0.0",
59
- "@fluidframework/sequence": ">=2.0.0-internal.4.0.5 <2.0.0-internal.5.0.0",
57
+ "@fluidframework/map": ">=2.0.0-internal.4.1.0 <2.0.0-internal.4.2.0",
58
+ "@fluidframework/mocha-test-setup": ">=2.0.0-internal.4.1.0 <2.0.0-internal.4.2.0",
59
+ "@fluidframework/sequence": ">=2.0.0-internal.4.1.0 <2.0.0-internal.4.2.0",
60
60
  "@microsoft/api-extractor": "^7.34.4",
61
61
  "@types/mocha": "^9.1.1",
62
62
  "@types/node": "^14.18.38",
@@ -65,6 +65,9 @@
65
65
  "cross-env": "^7.0.3",
66
66
  "eslint": "~8.6.0",
67
67
  "mocha": "^10.2.0",
68
+ "mocha-json-output-reporter": "^2.0.1",
69
+ "mocha-multi-reporters": "^1.5.1",
70
+ "moment": "^2.21.0",
68
71
  "nyc": "^15.1.0",
69
72
  "prettier": "~2.6.2",
70
73
  "rimraf": "^4.4.0",
@@ -94,6 +97,7 @@
94
97
  "test": "npm run test:mocha",
95
98
  "test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml",
96
99
  "test:mocha": "mocha --recursive dist/test/**/*.spec.js -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict",
100
+ "test:mocha:multireport": "cross-env FLUID_TEST_MULTIREPORT=1 npm run test:mocha",
97
101
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
98
102
  "tsc": "tsc",
99
103
  "typetests:gen": "fluid-type-test-generator",