@fluid-experimental/data-objects 2.0.0-dev-rc.3.0.0.254866 → 2.0.0-dev-rc.5.0.0.263932

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @fluid-experimental/data-objects
2
2
 
3
+ ## 2.0.0-rc.4.0.0
4
+
5
+ Dependency updates only.
6
+
7
+ ## 2.0.0-rc.3.0.0
8
+
9
+ ### Major Changes
10
+
11
+ - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
12
+
13
+ Fluid Framework packages have been updated to use the [package.json "exports"
14
+ field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
15
+ TypeScript types and implementation code.
16
+
17
+ This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
18
+
19
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
20
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
21
+
22
+ We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
23
+ for use with modern versions of Node.js _and_ Bundlers.
24
+ [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
25
+ regarding the module and moduleResolution options.
26
+
27
+ **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
28
+ to distinguish stable APIs from those that are in development.**
29
+
3
30
  ## 2.0.0-rc.2.0.0
4
31
 
5
32
  Dependency updates only.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.42.3"
8
+ "packageVersion": "7.43.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-experimental/data-objects",
3
- "version": "2.0.0-dev-rc.3.0.0.254866",
3
+ "version": "2.0.0-dev-rc.5.0.0.263932",
4
4
  "description": "A collection of ready to use Fluid Data Objects",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -22,47 +22,27 @@
22
22
  "types": "./dist/index.d.ts",
23
23
  "default": "./dist/index.js"
24
24
  }
25
- },
26
- "./public": {
27
- "import": {
28
- "types": "./lib/public.d.ts",
29
- "default": "./lib/index.js"
30
- },
31
- "require": {
32
- "types": "./dist/public.d.ts",
33
- "default": "./dist/index.js"
34
- }
35
- },
36
- "./internal": {
37
- "import": {
38
- "types": "./lib/index.d.ts",
39
- "default": "./lib/index.js"
40
- },
41
- "require": {
42
- "types": "./dist/index.d.ts",
43
- "default": "./dist/index.js"
44
- }
45
25
  }
46
26
  },
47
- "main": "dist/index.js",
48
- "types": "dist/index.d.ts",
27
+ "main": "lib/index.js",
28
+ "types": "lib/index.d.ts",
49
29
  "dependencies": {
50
- "@fluid-internal/client-utils": "2.0.0-dev-rc.3.0.0.254866",
51
- "@fluidframework/aqueduct": "2.0.0-dev-rc.3.0.0.254866",
52
- "@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.254866",
53
- "@fluidframework/core-utils": "2.0.0-dev-rc.3.0.0.254866",
54
- "@fluidframework/datastore-definitions": "2.0.0-dev-rc.3.0.0.254866",
55
- "@fluidframework/map": "2.0.0-dev-rc.3.0.0.254866",
56
- "@fluidframework/runtime-definitions": "2.0.0-dev-rc.3.0.0.254866"
30
+ "@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.263932",
31
+ "@fluidframework/aqueduct": "2.0.0-dev-rc.5.0.0.263932",
32
+ "@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.263932",
33
+ "@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.263932",
34
+ "@fluidframework/datastore-definitions": "2.0.0-dev-rc.5.0.0.263932",
35
+ "@fluidframework/map": "2.0.0-dev-rc.5.0.0.263932",
36
+ "@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.263932"
57
37
  },
58
38
  "devDependencies": {
59
39
  "@arethetypeswrong/cli": "^0.15.2",
60
40
  "@biomejs/biome": "^1.6.2",
61
- "@fluid-tools/build-cli": "^0.35.0",
41
+ "@fluid-tools/build-cli": "^0.38.0",
62
42
  "@fluidframework/build-common": "^2.0.3",
63
- "@fluidframework/build-tools": "^0.35.0",
43
+ "@fluidframework/build-tools": "^0.38.0",
64
44
  "@fluidframework/eslint-config-fluid": "^5.1.0",
65
- "@microsoft/api-extractor": "^7.42.3",
45
+ "@microsoft/api-extractor": "^7.43.1",
66
46
  "@types/node": "^18.19.0",
67
47
  "copyfiles": "^2.4.1",
68
48
  "cross-env": "^7.0.3",
@@ -76,15 +56,12 @@
76
56
  "broken": {}
77
57
  },
78
58
  "scripts": {
79
- "api": "fluid-build . --task api",
80
- "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
81
- "api-extractor:esnext": "flub generate entrypoints --outDir ./lib",
82
59
  "build": "fluid-build . --task build",
83
60
  "build:commonjs": "fluid-build . --task commonjs",
84
61
  "build:compile": "fluid-build . --task compile",
85
62
  "build:docs": "api-extractor run --local",
86
63
  "build:esnext": "tsc --project ./tsconfig.json",
87
- "check:are-the-types-wrong": "attw --pack . --entrypoints .",
64
+ "check:are-the-types-wrong": "attw --pack .",
88
65
  "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
89
66
  "clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
90
67
  "eslint": "eslint --format stylish src",
package/dist/alpha.d.ts DELETED
@@ -1,9 +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
- */
package/dist/beta.d.ts DELETED
@@ -1,9 +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
- */
package/dist/public.d.ts DELETED
@@ -1,9 +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
- */
package/lib/alpha.d.ts DELETED
@@ -1,9 +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
- */
package/lib/beta.d.ts DELETED
@@ -1,9 +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
- */
package/lib/public.d.ts DELETED
@@ -1,9 +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
- */