@fluidframework/datastore-definitions 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/datastore-definitions",
3
- "version": "2.0.0-rc.5.0.4",
3
+ "version": "2.0.0-rc.5.0.6",
4
4
  "description": "Fluid data store definitions",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -14,11 +14,17 @@
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
  },
20
26
  "require": {
21
- "types": "./dist/public.d.ts"
27
+ "types": "./dist/index.d.ts"
22
28
  }
23
29
  },
24
30
  "./legacy": {
@@ -39,13 +45,13 @@
39
45
  }
40
46
  },
41
47
  "main": "",
42
- "types": "lib/public.d.ts",
48
+ "types": "lib/index.d.ts",
43
49
  "dependencies": {
44
- "@fluidframework/container-definitions": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
45
- "@fluidframework/core-interfaces": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
46
- "@fluidframework/driver-definitions": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
47
- "@fluidframework/id-compressor": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0",
48
- "@fluidframework/runtime-definitions": ">=2.0.0-rc.5.0.4 <2.0.0-rc.5.1.0"
50
+ "@fluidframework/container-definitions": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
51
+ "@fluidframework/core-interfaces": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
52
+ "@fluidframework/driver-definitions": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
53
+ "@fluidframework/id-compressor": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0",
54
+ "@fluidframework/runtime-definitions": ">=2.0.0-rc.5.0.6 <2.0.0-rc.5.1.0"
49
55
  },
50
56
  "devDependencies": {
51
57
  "@arethetypeswrong/cli": "^0.15.2",
@@ -63,6 +69,7 @@
63
69
  "rimraf": "^4.4.0",
64
70
  "typescript": "~5.4.5"
65
71
  },
72
+ "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.",
66
73
  "typeValidation": {
67
74
  "broken": {}
68
75
  },
@@ -81,6 +88,7 @@
81
88
  "check:biome": "biome check . --formatter-enabled=true",
82
89
  "check:exports": "concurrently \"npm:check:exports:*\"",
83
90
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
91
+ "check:exports:cjs:index": "api-extractor run --config api-extractor/api-extractor-lint-index.cjs.json",
84
92
  "check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
85
93
  "check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
86
94
  "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",