@fluidframework/fluid-telemetry 2.60.0 → 2.61.0-355054

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/.mocharc.cjs CHANGED
@@ -7,8 +7,10 @@
7
7
 
8
8
  const getFluidTestMochaConfig = require("@fluid-internal/mocha-test-setup/mocharc-common");
9
9
 
10
- const packageDir = __dirname;
11
- const config = getFluidTestMochaConfig(packageDir);
10
+ const config = getFluidTestMochaConfig(__dirname);
11
+ // These tests need to be run with multiple different test file filters for different cases.
12
+ // As this is a rather different setup, it's simplest to just let the individual scripts specify what they need and disable the default.
13
+ delete config.spec;
12
14
  // TODO: figure out why this package needs the --exit flag, tests might not be cleaning up correctly after themselves
13
15
  // AB#7856
14
16
  config.exit = true;
package/beta.d.ts CHANGED
@@ -8,4 +8,4 @@
8
8
  * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
- export * from "./lib/beta.js";
11
+ export * from "lib/beta.js";
package/dist/beta.d.ts CHANGED
@@ -14,10 +14,11 @@
14
14
  */
15
15
 
16
16
  export {
17
- // @public APIs
17
+ // #region @public APIs
18
18
  ICriticalContainerError,
19
+ // #endregion
19
20
 
20
- // @beta APIs
21
+ // #region @beta APIs
21
22
  AppInsightsTelemetryConsumer,
22
23
  ContainerConnectedTelemetry,
23
24
  ContainerDisconnectedTelemetry,
@@ -30,4 +31,5 @@ export {
30
31
  ITelemetryConsumer,
31
32
  TelemetryConfig,
32
33
  startTelemetry
34
+ // #endregion
33
35
  } from "./index.js";
package/dist/public.d.ts CHANGED
@@ -14,6 +14,7 @@
14
14
  */
15
15
 
16
16
  export {
17
- // @public APIs
17
+ // #region @public APIs
18
18
  ICriticalContainerError
19
+ // #endregion
19
20
  } from "./index.js";
package/internal.d.ts CHANGED
@@ -8,4 +8,4 @@
8
8
  * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
- export * from "./lib/index.js";
11
+ export * from "lib/index.js";
package/lib/beta.d.ts CHANGED
@@ -14,10 +14,11 @@
14
14
  */
15
15
 
16
16
  export {
17
- // @public APIs
17
+ // #region @public APIs
18
18
  ICriticalContainerError,
19
+ // #endregion
19
20
 
20
- // @beta APIs
21
+ // #region @beta APIs
21
22
  AppInsightsTelemetryConsumer,
22
23
  ContainerConnectedTelemetry,
23
24
  ContainerDisconnectedTelemetry,
@@ -30,4 +31,5 @@ export {
30
31
  ITelemetryConsumer,
31
32
  TelemetryConfig,
32
33
  startTelemetry
34
+ // #endregion
33
35
  } from "./index.js";
package/lib/public.d.ts CHANGED
@@ -14,6 +14,7 @@
14
14
  */
15
15
 
16
16
  export {
17
- // @public APIs
17
+ // #region @public APIs
18
18
  ICriticalContainerError
19
+ // #endregion
19
20
  } from "./index.js";
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.8"
8
+ "packageVersion": "7.52.11"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/fluid-telemetry",
3
- "version": "2.60.0",
3
+ "version": "2.61.0-355054",
4
4
  "description": "Customer facing Fluid telemetry types and classes for both producing and consuming said telemetry",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -47,23 +47,23 @@
47
47
  "main": "lib/index.js",
48
48
  "types": "lib/index.d.ts",
49
49
  "dependencies": {
50
- "@fluidframework/container-definitions": "~2.60.0",
51
- "@fluidframework/container-loader": "~2.60.0",
52
- "@fluidframework/fluid-static": "~2.60.0",
50
+ "@fluidframework/container-definitions": "2.61.0-355054",
51
+ "@fluidframework/container-loader": "2.61.0-355054",
52
+ "@fluidframework/fluid-static": "2.61.0-355054",
53
53
  "@microsoft/applicationinsights-web": "^2.8.11",
54
54
  "uuid": "^11.1.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@arethetypeswrong/cli": "^0.17.1",
58
58
  "@biomejs/biome": "~1.9.3",
59
- "@fluid-internal/client-utils": "~2.60.0",
60
- "@fluid-internal/mocha-test-setup": "~2.60.0",
61
- "@fluid-tools/build-cli": "^0.57.0",
62
- "@fluidframework/build-tools": "^0.57.0",
63
- "@fluidframework/test-utils": "~2.60.0",
64
- "@fluidframework/tinylicious-client": "~2.60.0",
65
- "@fluidframework/tree": "~2.60.0",
66
- "@microsoft/api-extractor": "7.52.8",
59
+ "@fluid-internal/client-utils": "2.61.0-355054",
60
+ "@fluid-internal/mocha-test-setup": "2.61.0-355054",
61
+ "@fluid-tools/build-cli": "^0.58.2",
62
+ "@fluidframework/build-tools": "^0.58.2",
63
+ "@fluidframework/test-utils": "2.61.0-355054",
64
+ "@fluidframework/tinylicious-client": "2.61.0-355054",
65
+ "@fluidframework/tree": "2.61.0-355054",
66
+ "@microsoft/api-extractor": "7.52.11",
67
67
  "@types/chai": "^4.0.0",
68
68
  "@types/mocha": "^10.0.10",
69
69
  "@types/sinon": "^17.0.3",
@@ -98,8 +98,8 @@
98
98
  },
99
99
  "scripts": {
100
100
  "api": "fluid-build . --task api",
101
- "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
102
- "api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
101
+ "api-extractor:commonjs": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./dist",
102
+ "api-extractor:esnext": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
103
103
  "build": "fluid-build . --task build",
104
104
  "build:commonjs": "fluid-build . --task commonjs",
105
105
  "build:compile": "fluid-build . --task compile",
@@ -128,13 +128,13 @@
128
128
  "test": "start-server-and-test start:tinylicious:test 7070 test:mocha:all",
129
129
  "test:mocha": "npm run test:mocha:esm:unit && echo skipping cjs to avoid overhead - npm run test:mocha:cjs:unit",
130
130
  "test:mocha:all": "npm run test:mocha:esm:all && echo skipping cjs to avoid overhead - npm run test:mocha:cjs:all",
131
- "test:mocha:cjs:all": "mocha --recursive \"dist/test/**/*.spec*.js\"",
132
- "test:mocha:cjs:end-to-end": "mocha --recursive \"dist/test/**/*.spec.realsvc.js\"",
133
- "test:mocha:cjs:unit": "mocha --recursive \"dist/test/**/*.spec.js\"",
131
+ "test:mocha:cjs:all": "mocha \"dist/test/**/*.spec*.js\"",
132
+ "test:mocha:cjs:end-to-end": "mocha \"dist/test/**/*.spec.realsvc.js\"",
133
+ "test:mocha:cjs:unit": "mocha \"dist/test/**/*.spec.js\"",
134
134
  "test:mocha:end-to-end": "npm run test:mocha:esm:end-to-end && echo skipping cjs to avoid overhead - npm run test:mocha:cjs:end-to-end",
135
- "test:mocha:esm:all": "mocha --recursive \"lib/test/**/*.spec*.js\"",
136
- "test:mocha:esm:end-to-end": "mocha --recursive \"lib/test/**/*.spec.realsvc.js\"",
137
- "test:mocha:esm:unit": "mocha --recursive \"lib/test/**/*.spec.js\"",
135
+ "test:mocha:esm:all": "mocha \"lib/test/**/*.spec*.js\"",
136
+ "test:mocha:esm:end-to-end": "mocha \"lib/test/**/*.spec.realsvc.js\"",
137
+ "test:mocha:esm:unit": "mocha \"lib/test/**/*.spec.js\"",
138
138
  "test:realsvc": "npm run test:realsvc:tinylicious",
139
139
  "test:realsvc:tinylicious": "start-server-and-test start:tinylicious:test 7070 test:realsvc:tinylicious:run",
140
140
  "test:realsvc:tinylicious:run": "npm run test:mocha:end-to-end",