@fluid-internal/test-driver-definitions 2.118.0 → 3.0.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,10 +1,6 @@
1
1
  # @fluid-internal/test-driver-definitions
2
2
 
3
- ## 2.118.0
4
-
5
- Dependency updates only.
6
-
7
- ## 2.117.0
3
+ ## 3.0.0
8
4
 
9
5
  Dependency updates only.
10
6
 
package/README.md CHANGED
@@ -7,8 +7,9 @@ Definitions for test drivers. Test should only take a dependency on these defini
7
7
  <!-- prettier-ignore-start -->
8
8
  <!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
9
9
 
10
- **IMPORTANT: This package is intended strictly as an implementation detail of the Fluid Framework and is not intended for public consumption.**
11
- **We make no stability guarantees regarding its APIs.**
10
+ **IMPORTANT: Fluid Framework uses this package as an implementation detail.**
11
+ **Do not use it as a public dependency.**
12
+ **We do not guarantee the stability of this package or its APIs.**
12
13
 
13
14
  <!-- prettier-ignore-end -->
14
15
 
@@ -21,17 +22,18 @@ Definitions for test drivers. Test should only take a dependency on these defini
21
22
 
22
23
  ## Contribution Guidelines
23
24
 
24
- There are many ways to [contribute](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md) to Fluid.
25
+ You can [contribute](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md) to Fluid Framework in these ways:
25
26
 
26
- - Participate in Q&A in our [GitHub Discussions](https://github.com/microsoft/FluidFramework/discussions).
27
- - [Submit bugs](https://github.com/microsoft/FluidFramework/issues) and help us verify fixes as they are checked in.
28
- - Review the [source code changes](https://github.com/microsoft/FluidFramework/pulls).
27
+ - Answer questions in [GitHub Discussions](https://github.com/microsoft/FluidFramework/discussions).
28
+ - [Submit bug reports](https://github.com/microsoft/FluidFramework/issues) and help verify fixes.
29
+ - Review [source code changes](https://github.com/microsoft/FluidFramework/pulls).
29
30
  - [Contribute bug fixes](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md).
30
31
 
31
- Detailed instructions for working in the repo can be found in the [Wiki](https://github.com/microsoft/FluidFramework/blob/main/docs/content/Home.md).
32
+ For detailed instructions, read the [repo documentation](https://github.com/microsoft/FluidFramework/blob/main/docs/content/Home.md).
32
33
 
33
- This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
34
- 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.
34
+ This project follows the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
35
+ For more information, read the [Code of Conduct frequently asked questions](https://opensource.microsoft.com/codeofconduct/faq/).
36
+ For questions or comments, contact [opencode@microsoft.com](mailto:opencode@microsoft.com).
35
37
 
36
38
  This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
37
39
  Use of these trademarks or logos must follow Microsoft’s [Trademark & Brand Guidelines](https://www.microsoft.com/trademarks).
@@ -39,13 +41,9 @@ Use of Microsoft trademarks or logos in modified versions of this project must n
39
41
 
40
42
  ## Help
41
43
 
42
- Not finding what you're looking for in this README?
43
- Check out [fluidframework.com](https://fluidframework.com/docs/).
44
+ Read the [Fluid Framework documentation](https://fluidframework.com/docs/) for information about Fluid Framework concepts and APIs.
44
45
 
45
- Still not finding what you're looking for?
46
- Please [file an issue](https://github.com/microsoft/FluidFramework/blob/main/docs/content/Contributing/Submitting-Bugs-and-Feature-Requests.md).
47
-
48
- Thank you!
46
+ To request information that the documentation does not contain, [create an issue](https://github.com/microsoft/FluidFramework/blob/main/docs/content/Contributing/Submitting-Bugs-and-Feature-Requests.md).
49
47
 
50
48
  ## Trademark
51
49
 
@@ -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.no-legacy.json"
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-model.esm.json"
4
4
  }
@@ -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-base.esm.json",
4
+ "mainEntryPointFilePath": "<projectFolder>/lib/index.d.ts"
5
+ }
@@ -15,7 +15,7 @@ export type TestDriverTypes = "tinylicious" | "t9s" | "routerlicious" | "r11s" |
15
15
  * These values are replicated in {@link @fluid-private/test-version-utils#compatOptions.d.ts}. Ensure that any revisions here are also reflected in test-version-utils.
16
16
  * @internal
17
17
  */
18
- export type RouterliciousEndpoint = "frs" | "frsCanary" | "r11s" | "docker";
18
+ export type RouterliciousEndpoint = "frs" | "frsCanary" | "r11s" | "docker" | "custom";
19
19
  /**
20
20
  * Types of Odsp endpoints.
21
21
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,KAAK,EACX,uBAAuB,EACvB,YAAY,EACZ,YAAY,EACZ,MAAM,6CAA6C,CAAC;AAErD;;;;GAIG;AACH,MAAM,MAAM,eAAe,GACxB,aAAa,GACb,KAAK,GACL,eAAe,GACf,MAAM,GACN,MAAM,GACN,OAAO,CAAC;AAEX;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,KAAK,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE5E;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,CAAC;AAE9C;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,qBAAqB,GAAG,YAAY,CAAC;AAElE;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC3B;;OAEG;IACH,QAAQ,CA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AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,CAAC;AAE9C;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,qBAAqB,GAAG,YAAY,CAAC;AAElE;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC3B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,4BAA4B,IAAI,uBAAuB,CAAC;IAExD;;OAEG;IACH,iBAAiB,IAAI,YAAY,CAAC;IAElC;;;;;;;;;;;;OAYG;IACH,sBAAsB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAElD;;;;;;;;;;;;;;;OAeG;IACH,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEjF,OAAO,CAAC,IAAI,IAAI,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB;IACrE;;;OAGG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACvB"}
@@ -15,7 +15,7 @@ export type TestDriverTypes = "tinylicious" | "t9s" | "routerlicious" | "r11s" |
15
15
  * These values are replicated in {@link @fluid-private/test-version-utils#compatOptions.d.ts}. Ensure that any revisions here are also reflected in test-version-utils.
16
16
  * @internal
17
17
  */
18
- export type RouterliciousEndpoint = "frs" | "frsCanary" | "r11s" | "docker";
18
+ export type RouterliciousEndpoint = "frs" | "frsCanary" | "r11s" | "docker" | "custom";
19
19
  /**
20
20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AiB,IAAI,YAAY,CAAC;IAElC;;;;;;;;;;;;OAYG;IACH,sBAAsB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAElD;;;;;;;;;;;;;;;OAeG;IACH,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEjF,OAAO,CAAC,IAAI,IAAI,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB;IACrE;;;OAGG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-internal/test-driver-definitions",
3
- "version": "2.118.0",
3
+ "version": "3.0.0",
4
4
  "description": "A driver abstraction and implementations for testing against server",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -14,19 +14,12 @@
14
14
  "type": "module",
15
15
  "exports": {
16
16
  ".": {
17
- "import": {
18
- "types": "./lib/index.d.ts"
19
- },
20
- "require": {
21
- "types": "./dist/index.d.ts"
22
- }
17
+ "types": "./lib/index.d.ts"
23
18
  }
24
19
  },
25
- "main": "",
26
- "types": "lib/index.d.ts",
27
20
  "dependencies": {
28
- "@fluidframework/core-interfaces": "~2.118.0",
29
- "@fluidframework/driver-definitions": "~2.118.0"
21
+ "@fluidframework/core-interfaces": "~3.0.0",
22
+ "@fluidframework/driver-definitions": "~3.0.0"
30
23
  },
31
24
  "devDependencies": {
32
25
  "@arethetypeswrong/cli": "^0.18.5",
@@ -41,33 +34,36 @@
41
34
  "eslint": "~9.39.1",
42
35
  "jiti": "^2.6.1",
43
36
  "rimraf": "^6.1.3",
44
- "typescript": "~5.4.5"
37
+ "typescript": "~6.0.3"
45
38
  },
46
39
  "typeValidation": {
47
40
  "disabled": true
48
41
  },
49
42
  "scripts": {
50
43
  "build": "fluid-build . --task build",
44
+ "build:api-reports": "api-extractor run --local --config api-extractor/api-extractor-report.json",
45
+ "build:cjs": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
51
46
  "build:commonjs": "fluid-build . --task commonjs",
52
47
  "build:compile": "fluid-build . --task compile",
53
48
  "build:compile:min": "npm run build:compile",
54
- "build:docs": "api-extractor run --local",
55
- "build:esnext": "tsc --project ./tsconfig.json",
56
- "check:are-the-types-wrong": "attw --pack .",
49
+ "build:docs": "api-extractor run --local --config api-extractor/api-extractor-model.json",
50
+ "build:esm": "tsc --project ./tsconfig.json",
51
+ "check:are-the-types-wrong": "attw --pack . --profile esm-only",
57
52
  "check:biome": "biome check .",
58
53
  "check:exports": "concurrently \"npm:check:exports:*\"",
59
54
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
60
55
  "check:exports:cjs:index": "api-extractor run --config api-extractor/api-extractor-lint-index.cjs.json",
61
56
  "check:exports:esm:index": "api-extractor run --config api-extractor/api-extractor-lint-index.esm.json",
62
57
  "check:format": "npm run check:biome",
63
- "ci:build:docs": "api-extractor run",
58
+ "check:types:inexactOptionalPropertyTypes": "tsc --project ./tsconfig.json --noEmit --exactOptionalPropertyTypes false --skipLibCheck --emitDeclarationOnly false --tsBuildInfoFile ./tsconfig.inexactOptionalPropertyTypes.tsbuildinfo",
59
+ "ci:build:api-reports": "api-extractor run --config api-extractor/api-extractor-report.json",
60
+ "ci:build:docs": "api-extractor run --config api-extractor/api-extractor-model.json",
64
61
  "clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
65
62
  "eslint": "eslint --quiet --format stylish src",
66
63
  "eslint:fix": "eslint --quiet --format stylish src --fix --fix-type problem,suggestion,layout",
67
64
  "format": "npm run format:biome",
68
65
  "format:biome": "biome check . --write",
69
66
  "lint": "fluid-build . --task lint",
70
- "lint:fix": "fluid-build . --task eslint:fix --task format",
71
- "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist"
67
+ "lint:fix": "fluid-build . --task eslint:fix --task format"
72
68
  }
73
69
  }
package/src/interfaces.ts CHANGED
@@ -28,7 +28,7 @@ export type TestDriverTypes =
28
28
  * These values are replicated in {@link @fluid-private/test-version-utils#compatOptions.d.ts}. Ensure that any revisions here are also reflected in test-version-utils.
29
29
  * @internal
30
30
  */
31
- export type RouterliciousEndpoint = "frs" | "frsCanary" | "r11s" | "docker";
31
+ export type RouterliciousEndpoint = "frs" | "frsCanary" | "r11s" | "docker" | "custom";
32
32
 
33
33
  /**
34
34
  * Types of Odsp endpoints.
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "../../../common/build/build-common/tsconfig.node16.json",
2
+ "extends": "../../../common/build/build-common/tsconfig.node20.json",
3
3
  "include": ["src/**/*"],
4
4
  "compilerOptions": {
5
5
  "rootDir": "./src",