@fluidframework/telemetry-utils 2.0.0-rc.5.0.4 → 2.0.0-rc.5.0.6

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.
@@ -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-lint.entrypoint.json",
4
+ "mainEntryPointFilePath": "<projectFolder>/dist/index.d.ts"
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/telemetry-utils",
3
- "version": "2.0.0-rc.5.0.4",
3
+ "version": "2.0.0-rc.5.0.6",
4
4
  "description": "Collection of telemetry relates utilities for Fluid",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -14,12 +14,18 @@
14
14
  "type": "module",
15
15
  "exports": {
16
16
  ".": {
17
+ "trimmedAPI": {
18
+ "types": {
19
+ "import": "./lib/public.d.ts",
20
+ "require": "./dist/public.d.ts"
21
+ }
22
+ },
17
23
  "import": {
18
- "types": "./lib/public.d.ts",
24
+ "types": "./lib/index.d.ts",
19
25
  "default": "./lib/index.js"
20
26
  },
21
27
  "require": {
22
- "types": "./dist/public.d.ts",
28
+ "types": "./dist/index.d.ts",
23
29
  "default": "./dist/index.js"
24
30
  }
25
31
  },
@@ -45,7 +51,7 @@
45
51
  }
46
52
  },
47
53
  "main": "lib/index.js",
48
- "types": "lib/public.d.ts",
54
+ "types": "lib/index.d.ts",
49
55
  "c8": {
50
56
  "all": true,
51
57
  "cache-dir": "nyc/.cache",
@@ -67,17 +73,17 @@
67
73
  "temp-directory": "nyc/.nyc_output"
68
74
  },
69
75
  "dependencies": {
70
- "@fluid-internal/client-utils": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
71
- "@fluidframework/core-interfaces": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
72
- "@fluidframework/core-utils": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
73
- "@fluidframework/driver-definitions": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
76
+ "@fluid-internal/client-utils": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
77
+ "@fluidframework/core-interfaces": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
78
+ "@fluidframework/core-utils": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
79
+ "@fluidframework/driver-definitions": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
74
80
  "debug": "^4.3.4",
75
81
  "uuid": "^9.0.0"
76
82
  },
77
83
  "devDependencies": {
78
84
  "@arethetypeswrong/cli": "^0.15.2",
79
85
  "@biomejs/biome": "^1.7.3",
80
- "@fluid-internal/mocha-test-setup": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
86
+ "@fluid-internal/mocha-test-setup": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
81
87
  "@fluid-tools/build-cli": "^0.39.0",
82
88
  "@fluidframework/build-common": "^2.0.3",
83
89
  "@fluidframework/build-tools": "^0.39.0",
@@ -103,6 +109,7 @@
103
109
  "sinon": "^17.0.1",
104
110
  "typescript": "~5.4.5"
105
111
  },
112
+ "exportsComments": "The 'trimmedAPI' export condition is set as a workaround for 'flub generate entrypoints', which expects `exports` to contain an entry for all entrypoints. The custom condition effectively hides the public entrypoint unless the 'trimmedAPI' condition is set manually.",
106
113
  "typeValidation": {
107
114
  "broken": {
108
115
  "ClassDeclaration_MockLogger": {
@@ -132,6 +139,7 @@
132
139
  "check:biome": "biome check . --formatter-enabled=true",
133
140
  "check:exports": "concurrently \"npm:check:exports:*\"",
134
141
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
142
+ "check:exports:cjs:index": "api-extractor run --config api-extractor/api-extractor-lint-index.cjs.json",
135
143
  "check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
136
144
  "check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
137
145
  "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",