@fluidframework/fluid-runner 2.1.0-276985 → 2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @fluidframework/fluid-runner
2
2
 
3
+ ## 2.1.0
4
+
5
+ Dependency updates only.
6
+
3
7
  ## 2.0.0-rc.5.0.0
4
8
 
5
9
  ### Minor Changes
package/README.md CHANGED
@@ -2,6 +2,40 @@
2
2
 
3
3
  This package contains utility for running various functionality inside a Fluid Framework environment.
4
4
 
5
+ <!-- AUTO-GENERATED-CONTENT:START (LIBRARY_PACKAGE_README_HEADER:apiDocs=FALSE) -->
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's public APIs, 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
+ If using any of Fluid Framework's unstable APIs (for example, its `beta` APIs), we recommend using a more constrained version range, such as `~`.
17
+
18
+ ## Installation
19
+
20
+ To get started, install the package by running the following command:
21
+
22
+ ```bash
23
+ npm i @fluidframework/fluid-runner
24
+ ```
25
+
26
+ ## Importing from this package
27
+
28
+ This package leverages [package.json exports](https://nodejs.org/api/packages.html#exports) to separate its APIs by support level.
29
+ For more information on the related support guarantees, see [API Support Levels](https://fluidframework.com/docs/build/releases-and-apitags/#api-support-levels).
30
+
31
+ To access the `public` ([SemVer](https://semver.org/)) APIs, import via `@fluidframework/fluid-runner` like normal.
32
+
33
+ To access the `legacy` APIs, import via `@fluidframework/fluid-runner/legacy`.
34
+
35
+ <!-- prettier-ignore-end -->
36
+
37
+ <!-- AUTO-GENERATED-CONTENT:END -->
38
+
5
39
  ## Export File
6
40
 
7
41
  Allows some execution to be made on a container given a provided ODSP snapshot.
@@ -83,11 +117,37 @@ The code around `exportFile` can be consumed in multiple different layers. It is
83
117
 
84
118
  For an example of a consumption path that differs slightly to [`exportFile(...)`](./src/exportFile.ts), see [`parseBundleAndExportFile(...)`](./src/parseBundleAndExportFile.ts). In addition to running the same logic as [`exportFile`](./src/exportFile.ts) method, it implements the logic around parsing a dynamically provided bundle path into an `IFluidFileConverter` object.
85
119
 
86
- <!-- AUTO-GENERATED-CONTENT:START (README_TRADEMARK_SECTION:includeHeading=TRUE) -->
120
+ <!-- AUTO-GENERATED-CONTENT:START (LIBRARY_PACKAGE_README_FOOTER:clientRequirements=FALSE) -->
87
121
 
88
122
  <!-- prettier-ignore-start -->
89
123
  <!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
90
124
 
125
+ ## Contribution Guidelines
126
+
127
+ There are many ways to [contribute](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md) to Fluid.
128
+
129
+ - Participate in Q&A in our [GitHub Discussions](https://github.com/microsoft/FluidFramework/discussions).
130
+ - [Submit bugs](https://github.com/microsoft/FluidFramework/issues) and help us verify fixes as they are checked in.
131
+ - Review the [source code changes](https://github.com/microsoft/FluidFramework/pulls).
132
+ - [Contribute bug fixes](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md).
133
+
134
+ Detailed instructions for working in the repo can be found in the [Wiki](https://github.com/microsoft/FluidFramework/wiki).
135
+
136
+ This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
137
+ For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
138
+
139
+ This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
140
+ Use of these trademarks or logos must follow Microsoft’s [Trademark & Brand Guidelines](https://www.microsoft.com/trademarks).
141
+ Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
142
+
143
+ ## Help
144
+
145
+ Not finding what you're looking for in this README? Check out [fluidframework.com](https://fluidframework.com/docs/).
146
+
147
+ Still not finding what you're looking for? Please [file an issue](https://github.com/microsoft/FluidFramework/wiki/Submitting-Bugs-and-Feature-Requests).
148
+
149
+ Thank you!
150
+
91
151
  ## Trademark
92
152
 
93
153
  This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-report.esm.current.json",
4
+ "mainEntryPointFilePath": "<projectFolder>/lib/public.d.ts"
5
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
- "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-base.esm.legacy.json"
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-report.esm.legacy.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
- "extends": "../../../common/build/build-common/api-extractor-base.esm.current.json"
3
+ "extends": "../../../common/build/build-common/api-extractor-model.esm.json"
4
4
  }
@@ -4,8 +4,6 @@
4
4
 
5
5
  ```ts
6
6
 
7
- /// <reference types="node" />
8
-
9
7
  // (No @packageDocumentation comment for this package)
10
8
 
11
9
  ```
@@ -0,0 +1,9 @@
1
+ ## Public API Report File for "@fluidframework/fluid-runner"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ // (No @packageDocumentation comment for this package)
8
+
9
+ ```
@@ -4,8 +4,6 @@
4
4
 
5
5
  ```ts
6
6
 
7
- /// <reference types="node" />
8
-
9
7
  // (No @packageDocumentation comment for this package)
10
8
 
11
9
  ```
package/dist/legacy.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
11
  export {
package/dist/public.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
11
  export {}
package/internal.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
11
  export * from "./lib/index.js";
package/legacy.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
11
  export * from "./lib/legacy.js";
package/lib/legacy.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
11
  export {
package/lib/public.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
11
  export {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/fluid-runner",
3
- "version": "2.1.0-276985",
3
+ "version": "2.1.0",
4
4
  "description": "Utility for running various functionality inside a Fluid Framework environment",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -69,26 +69,26 @@
69
69
  "temp-directory": "nyc/.nyc_output"
70
70
  },
71
71
  "dependencies": {
72
- "@fluidframework/aqueduct": "2.1.0-276985",
73
- "@fluidframework/container-definitions": "2.1.0-276985",
74
- "@fluidframework/container-loader": "2.1.0-276985",
75
- "@fluidframework/core-interfaces": "2.1.0-276985",
76
- "@fluidframework/driver-definitions": "2.1.0-276985",
77
- "@fluidframework/odsp-driver": "2.1.0-276985",
78
- "@fluidframework/odsp-driver-definitions": "2.1.0-276985",
79
- "@fluidframework/telemetry-utils": "2.1.0-276985",
72
+ "@fluidframework/aqueduct": "~2.1.0",
73
+ "@fluidframework/container-definitions": "~2.1.0",
74
+ "@fluidframework/container-loader": "~2.1.0",
75
+ "@fluidframework/core-interfaces": "~2.1.0",
76
+ "@fluidframework/driver-definitions": "~2.1.0",
77
+ "@fluidframework/odsp-driver": "~2.1.0",
78
+ "@fluidframework/odsp-driver-definitions": "~2.1.0",
79
+ "@fluidframework/telemetry-utils": "~2.1.0",
80
80
  "json2csv": "^5.0.7",
81
81
  "yargs": "17.7.2"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@arethetypeswrong/cli": "^0.15.2",
85
- "@biomejs/biome": "^1.7.3",
86
- "@fluid-internal/mocha-test-setup": "2.1.0-276985",
87
- "@fluid-tools/build-cli": "^0.39.0",
85
+ "@biomejs/biome": "~1.8.3",
86
+ "@fluid-internal/mocha-test-setup": "~2.1.0",
87
+ "@fluid-tools/build-cli": "^0.41.0",
88
88
  "@fluidframework/build-common": "^2.0.3",
89
- "@fluidframework/build-tools": "^0.39.0",
89
+ "@fluidframework/build-tools": "^0.41.0",
90
90
  "@fluidframework/eslint-config-fluid": "^5.3.0",
91
- "@fluidframework/fluid-runner-previous": "npm:@fluidframework/fluid-runner@2.0.0-rc.5.0.0",
91
+ "@fluidframework/fluid-runner-previous": "npm:@fluidframework/fluid-runner@2.0.0",
92
92
  "@microsoft/api-extractor": "^7.45.1",
93
93
  "@types/mocha": "^9.1.1",
94
94
  "@types/node": "^18.19.0",
@@ -114,17 +114,18 @@
114
114
  "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
115
115
  "api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
116
116
  "build": "fluid-build . --task build",
117
+ "build:api-reports": "concurrently \"npm:build:api-reports:*\"",
118
+ "build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
119
+ "build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
117
120
  "build:commonjs": "fluid-build . --task commonjs",
118
121
  "build:compile": "fluid-build . --task compile",
119
- "build:docs": "concurrently \"npm:build:docs:*\"",
120
- "build:docs:current": "api-extractor run --local",
121
- "build:docs:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
122
+ "build:docs": "api-extractor run --local",
122
123
  "build:esnext": "tsc --project ./tsconfig.json",
123
124
  "build:test": "npm run build:test:esm && npm run build:test:cjs",
124
125
  "build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
125
126
  "build:test:esm": "tsc --project ./src/test/tsconfig.json",
126
127
  "check:are-the-types-wrong": "attw --pack .",
127
- "check:biome": "biome check . --formatter-enabled=true",
128
+ "check:biome": "biome check .",
128
129
  "check:exports": "concurrently \"npm:check:exports:*\"",
129
130
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
130
131
  "check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
@@ -133,14 +134,15 @@
133
134
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
134
135
  "check:format": "npm run check:biome",
135
136
  "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
136
- "ci:build:docs": "concurrently \"npm:ci:build:docs:*\"",
137
- "ci:build:docs:current": "api-extractor run",
138
- "ci:build:docs:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
137
+ "ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
138
+ "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
139
+ "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
140
+ "ci:build:docs": "api-extractor run",
139
141
  "clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" nyc _api-extractor-temp outputFolder",
140
142
  "eslint": "eslint --format stylish src \"bin/*\"",
141
143
  "eslint:fix": "npm run eslint -- --fix --fix-type problem,suggestion,layout",
142
144
  "format": "npm run format:biome",
143
- "format:biome": "biome check . --formatter-enabled=true --apply",
145
+ "format:biome": "biome check . --write",
144
146
  "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
145
147
  "lint": "fluid-build . --task lint",
146
148
  "lint:fix": "fluid-build . --task eslint:fix --task format",