@fluidframework/fluid-static 2.0.0-rc.5.0.3 → 2.0.0-rc.5.0.5

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/fluid-static",
3
- "version": "2.0.0-rc.5.0.3",
3
+ "version": "2.0.0-rc.5.0.5",
4
4
  "description": "A tool to enable consumption of Fluid Data Objects without requiring custom container code.",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -14,12 +14,20 @@
14
14
  "type": "module",
15
15
  "exports": {
16
16
  ".": {
17
+ "trimmedAPI": {
18
+ "import": {
19
+ "types": "./lib/public.d.ts"
20
+ },
21
+ "require": {
22
+ "types": "./dist/public.d.ts"
23
+ }
24
+ },
17
25
  "import": {
18
- "types": "./lib/public.d.ts",
26
+ "types": "./lib/index.d.ts",
19
27
  "default": "./lib/index.js"
20
28
  },
21
29
  "require": {
22
- "types": "./dist/public.d.ts",
30
+ "types": "./dist/index.d.ts",
23
31
  "default": "./dist/index.js"
24
32
  }
25
33
  },
@@ -35,7 +43,7 @@
35
43
  }
36
44
  },
37
45
  "main": "lib/index.js",
38
- "types": "lib/public.d.ts",
46
+ "types": "lib/index.d.ts",
39
47
  "c8": {
40
48
  "all": true,
41
49
  "cache-dir": "nyc/.cache",
@@ -57,32 +65,32 @@
57
65
  "temp-directory": "nyc/.nyc_output"
58
66
  },
59
67
  "dependencies": {
60
- "@fluid-internal/client-utils": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
61
- "@fluidframework/aqueduct": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
62
- "@fluidframework/container-definitions": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
63
- "@fluidframework/container-loader": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
64
- "@fluidframework/container-runtime": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
65
- "@fluidframework/container-runtime-definitions": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
66
- "@fluidframework/core-interfaces": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
67
- "@fluidframework/datastore-definitions": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
68
- "@fluidframework/driver-definitions": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
69
- "@fluidframework/request-handler": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
70
- "@fluidframework/runtime-definitions": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
71
- "@fluidframework/runtime-utils": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
72
- "@fluidframework/shared-object-base": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
73
- "@fluidframework/telemetry-utils": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0"
68
+ "@fluid-internal/client-utils": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
69
+ "@fluidframework/aqueduct": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
70
+ "@fluidframework/container-definitions": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
71
+ "@fluidframework/container-loader": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
72
+ "@fluidframework/container-runtime": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
73
+ "@fluidframework/container-runtime-definitions": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
74
+ "@fluidframework/core-interfaces": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
75
+ "@fluidframework/datastore-definitions": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
76
+ "@fluidframework/driver-definitions": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
77
+ "@fluidframework/request-handler": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
78
+ "@fluidframework/runtime-definitions": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
79
+ "@fluidframework/runtime-utils": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
80
+ "@fluidframework/shared-object-base": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
81
+ "@fluidframework/telemetry-utils": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0"
74
82
  },
75
83
  "devDependencies": {
76
84
  "@arethetypeswrong/cli": "^0.15.2",
77
85
  "@biomejs/biome": "^1.7.3",
78
- "@fluid-internal/mocha-test-setup": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
86
+ "@fluid-internal/mocha-test-setup": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
79
87
  "@fluid-tools/build-cli": "^0.39.0",
80
88
  "@fluidframework/build-common": "^2.0.3",
81
89
  "@fluidframework/build-tools": "^0.39.0",
82
90
  "@fluidframework/eslint-config-fluid": "^5.3.0",
83
91
  "@fluidframework/fluid-static-previous": "npm:@fluidframework/fluid-static@2.0.0-rc.4.0.0",
84
- "@fluidframework/map": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
85
- "@fluidframework/sequence": ">=2.0.0-rc.5.0.3 <2.0.0-rc.5.1.0",
92
+ "@fluidframework/map": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
93
+ "@fluidframework/sequence": ">=2.0.0-rc.5.0.5 <2.0.0-rc.5.1.0",
86
94
  "@microsoft/api-extractor": "^7.45.1",
87
95
  "@types/mocha": "^9.1.1",
88
96
  "@types/node": "^18.19.0",
@@ -99,6 +107,7 @@
99
107
  "rimraf": "^4.4.0",
100
108
  "typescript": "~5.4.5"
101
109
  },
110
+ "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.",
102
111
  "typeValidation": {
103
112
  "broken": {
104
113
  "RemovedTypeAliasDeclaration_DataObjectClass": {
@@ -140,6 +149,7 @@
140
149
  "check:biome": "biome check . --formatter-enabled=true",
141
150
  "check:exports": "concurrently \"npm:check:exports:*\"",
142
151
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
152
+ "check:exports:cjs:index": "api-extractor run --config api-extractor/api-extractor-lint-index.cjs.json",
143
153
  "check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
144
154
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
145
155
  "check:format": "npm run check:biome",