@fluidframework/fluid-telemetry 2.0.2 → 2.1.0-276326

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.
@@ -1,6 +1,6 @@
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-base.esm.no-legacy.json",
4
4
  "messages": {
5
5
  // The following overrides are workarounds for API-Extractor incorrectly running analysis on our application
6
6
  // insights dependency.
@@ -4,10 +4,6 @@
4
4
 
5
5
  ```ts
6
6
 
7
- import type { ApplicationInsights } from '@microsoft/applicationinsights-web';
8
- import { ICriticalContainerError } from '@fluidframework/container-definitions';
9
- import type { IFluidContainer } from '@fluidframework/fluid-static';
10
-
11
7
  // @beta
12
8
  export class AppInsightsTelemetryConsumer implements ITelemetryConsumer {
13
9
  constructor(appInsightsClient: ApplicationInsights);
@@ -4,10 +4,6 @@
4
4
 
5
5
  ```ts
6
6
 
7
- import type { ApplicationInsights } from '@microsoft/applicationinsights-web';
8
- import { ICriticalContainerError } from '@fluidframework/container-definitions';
9
- import type { IFluidContainer } from '@fluidframework/fluid-static';
10
-
11
7
  // @beta
12
8
  export class AppInsightsTelemetryConsumer implements ITelemetryConsumer {
13
9
  constructor(appInsightsClient: ApplicationInsights);
@@ -4,10 +4,6 @@
4
4
 
5
5
  ```ts
6
6
 
7
- import type { ApplicationInsights } from '@microsoft/applicationinsights-web';
8
- import { ICriticalContainerError } from '@fluidframework/container-definitions';
9
- import type { IFluidContainer } from '@fluidframework/fluid-static';
10
-
11
7
  export { ICriticalContainerError }
12
8
 
13
9
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/fluid-telemetry",
3
- "version": "2.0.2",
3
+ "version": "2.1.0-276326",
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": {
@@ -23,16 +23,6 @@
23
23
  "default": "./dist/index.js"
24
24
  }
25
25
  },
26
- "./legacy": {
27
- "import": {
28
- "types": "./lib/legacy.d.ts",
29
- "default": "./lib/index.js"
30
- },
31
- "require": {
32
- "types": "./dist/legacy.d.ts",
33
- "default": "./dist/index.js"
34
- }
35
- },
36
26
  "./beta": {
37
27
  "import": {
38
28
  "types": "./lib/beta.d.ts",
@@ -57,22 +47,22 @@
57
47
  "main": "lib/index.js",
58
48
  "types": "lib/index.d.ts",
59
49
  "dependencies": {
60
- "@fluidframework/container-definitions": "~2.0.2",
61
- "@fluidframework/container-loader": "~2.0.2",
62
- "@fluidframework/fluid-static": "~2.0.2",
50
+ "@fluidframework/container-definitions": "2.1.0-276326",
51
+ "@fluidframework/container-loader": "2.1.0-276326",
52
+ "@fluidframework/fluid-static": "2.1.0-276326",
63
53
  "@microsoft/applicationinsights-web": "^2.8.11",
64
54
  "uuid": "^9.0.0"
65
55
  },
66
56
  "devDependencies": {
67
57
  "@arethetypeswrong/cli": "^0.15.2",
68
58
  "@biomejs/biome": "^1.7.3",
69
- "@fluid-internal/client-utils": "~2.0.2",
70
- "@fluid-internal/mocha-test-setup": "~2.0.2",
59
+ "@fluid-internal/client-utils": "2.1.0-276326",
60
+ "@fluid-internal/mocha-test-setup": "2.1.0-276326",
71
61
  "@fluid-tools/build-cli": "^0.39.0",
72
62
  "@fluidframework/build-tools": "^0.39.0",
73
- "@fluidframework/test-utils": "~2.0.2",
74
- "@fluidframework/tinylicious-client": "~2.0.2",
75
- "@fluidframework/tree": "~2.0.2",
63
+ "@fluidframework/test-utils": "2.1.0-276326",
64
+ "@fluidframework/tinylicious-client": "2.1.0-276326",
65
+ "@fluidframework/tree": "2.1.0-276326",
76
66
  "@microsoft/api-extractor": "^7.45.1",
77
67
  "@types/chai": "^4.0.0",
78
68
  "@types/mocha": "^9.1.1",
@@ -104,8 +94,8 @@
104
94
  },
105
95
  "scripts": {
106
96
  "api": "fluid-build . --task api",
107
- "api-extractor:commonjs": "flub generate entrypoints --outFileAlpha legacy --outDir ./dist",
108
- "api-extractor:esnext": "flub generate entrypoints --outFileAlpha legacy --outDir ./lib --node10TypeCompat",
97
+ "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
98
+ "api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
109
99
  "build": "fluid-build . --task build",
110
100
  "build:commonjs": "fluid-build . --task commonjs",
111
101
  "build:compile": "fluid-build . --task compile",
@@ -116,10 +106,8 @@
116
106
  "check:exports": "concurrently \"npm:check:exports:*\"",
117
107
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
118
108
  "check:exports:cjs:beta": "api-extractor run --config api-extractor/api-extractor-lint-beta.cjs.json",
119
- "check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
120
109
  "check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
121
110
  "check:exports:esm:beta": "api-extractor run --config api-extractor/api-extractor-lint-beta.esm.json",
122
- "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
123
111
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
124
112
  "check:format": "npm run check:biome",
125
113
  "check:prettier": "prettier --check . --cache --ignore-path ../../../../.prettierignore",
@@ -149,7 +137,7 @@
149
137
  "test:realsvc:tinylicious": "start-server-and-test start:tinylicious:test 7070 test:realsvc:tinylicious:run",
150
138
  "test:realsvc:tinylicious:run": "npm run test:mocha:end-to-end",
151
139
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../../common/build/build-common/src/cjs/package.json ./dist",
152
- "typetests:gen": "flub generate typetests --dir . -v --publicFallback",
140
+ "typetests:gen": "flub generate typetests --dir . -v",
153
141
  "typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
154
142
  }
155
143
  }
@@ -1,5 +0,0 @@
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-lint.entrypoint.json",
4
- "mainEntryPointFilePath": "<projectFolder>/dist/legacy.d.ts"
5
- }
@@ -1,5 +0,0 @@
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-lint.entrypoint.json",
4
- "mainEntryPointFilePath": "<projectFolder>/lib/legacy.d.ts"
5
- }
package/dist/legacy.d.ts DELETED
@@ -1,14 +0,0 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
- * Licensed under the MIT License.
4
- */
5
-
6
- /*
7
- * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
- */
10
-
11
- export {
12
- // @public APIs
13
- ICriticalContainerError
14
- } from "./index.js";
package/legacy.d.ts DELETED
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
- * Licensed under the MIT License.
4
- */
5
-
6
- /*
7
- * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
- */
10
-
11
- export * from "./lib/legacy.js";
package/lib/legacy.d.ts DELETED
@@ -1,14 +0,0 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
- * Licensed under the MIT License.
4
- */
5
-
6
- /*
7
- * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
9
- */
10
-
11
- export {
12
- // @public APIs
13
- ICriticalContainerError
14
- } from "./index.js";