@fluidframework/runtime-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/runtime-utils",
3
- "version": "2.0.0-rc.5.0.4",
3
+ "version": "2.0.0-rc.5.0.6",
4
4
  "description": "Collection of utility functions for Fluid Runtime",
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,21 +73,21 @@
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/container-definitions": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
72
- "@fluidframework/container-runtime-definitions": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
73
- "@fluidframework/core-interfaces": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
74
- "@fluidframework/core-utils": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
75
- "@fluidframework/datastore-definitions": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
76
- "@fluidframework/driver-definitions": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
77
- "@fluidframework/driver-utils": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
78
- "@fluidframework/runtime-definitions": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
79
- "@fluidframework/telemetry-utils": ">=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/container-definitions": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
78
+ "@fluidframework/container-runtime-definitions": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
79
+ "@fluidframework/core-interfaces": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
80
+ "@fluidframework/core-utils": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
81
+ "@fluidframework/datastore-definitions": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
82
+ "@fluidframework/driver-definitions": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
83
+ "@fluidframework/driver-utils": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
84
+ "@fluidframework/runtime-definitions": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
85
+ "@fluidframework/telemetry-utils": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0"
80
86
  },
81
87
  "devDependencies": {
82
88
  "@arethetypeswrong/cli": "^0.15.2",
83
89
  "@biomejs/biome": "^1.7.3",
84
- "@fluid-internal/mocha-test-setup": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
90
+ "@fluid-internal/mocha-test-setup": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
85
91
  "@fluid-tools/build-cli": "^0.39.0",
86
92
  "@fluidframework/build-common": "^2.0.3",
87
93
  "@fluidframework/build-tools": "^0.39.0",
@@ -106,6 +112,7 @@
106
112
  "ts-node": "^10.9.1",
107
113
  "typescript": "~5.4.5"
108
114
  },
115
+ "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.",
109
116
  "typeValidation": {
110
117
  "broken": {}
111
118
  },
@@ -125,6 +132,7 @@
125
132
  "check:biome": "biome check . --formatter-enabled=true",
126
133
  "check:exports": "concurrently \"npm:check:exports:*\"",
127
134
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
135
+ "check:exports:cjs:index": "api-extractor run --config api-extractor/api-extractor-lint-index.cjs.json",
128
136
  "check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
129
137
  "check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
130
138
  "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",