@fluidframework/local-driver 2.0.0-dev-rc.3.0.0.254866 → 2.0.0-dev-rc.4.0.0.261659
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,34 @@
|
|
|
1
1
|
# @fluidframework/local-driver
|
|
2
2
|
|
|
3
|
+
## 2.0.0-rc.3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
8
|
+
|
|
9
|
+
Fluid Framework packages have been updated to use the [package.json "exports"
|
|
10
|
+
field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
|
|
11
|
+
TypeScript types and implementation code.
|
|
12
|
+
|
|
13
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
14
|
+
|
|
15
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
16
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
17
|
+
|
|
18
|
+
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
|
|
19
|
+
for use with modern versions of Node.js _and_ Bundlers.
|
|
20
|
+
[See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
|
|
21
|
+
regarding the module and moduleResolution options.
|
|
22
|
+
|
|
23
|
+
**Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
|
|
24
|
+
to distinguish stable APIs from those that are in development.**
|
|
25
|
+
|
|
26
|
+
### Minor Changes
|
|
27
|
+
|
|
28
|
+
- driver-definitions: update submitSignal content type to string [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
29
|
+
|
|
30
|
+
Change IDocumentDeltaConnection.submitSignal's content argument type to string which represents actual/known use.
|
|
31
|
+
|
|
3
32
|
## 2.0.0-rc.2.0.0
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
8
|
* Generated by "flub generate entrypoints" in @fluidframework/build-tools.
|
|
9
9
|
*/
|
|
10
|
+
|
|
10
11
|
export {
|
|
11
|
-
// alpha APIs
|
|
12
|
+
// @alpha APIs
|
|
12
13
|
LocalDocumentServiceFactory,
|
|
13
14
|
LocalResolver,
|
|
14
15
|
createLocalResolverCreateNewRequest
|
package/dist/public.d.ts
CHANGED
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
8
|
* Generated by "flub generate entrypoints" in @fluidframework/build-tools.
|
|
9
9
|
*/
|
|
10
|
+
|
|
10
11
|
export {
|
|
11
|
-
// alpha APIs
|
|
12
|
+
// @alpha APIs
|
|
12
13
|
LocalDocumentServiceFactory,
|
|
13
14
|
LocalResolver,
|
|
14
15
|
createLocalResolverCreateNewRequest
|
package/lib/public.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/local-driver",
|
|
3
|
-
"version": "2.0.0-dev-rc.
|
|
3
|
+
"version": "2.0.0-dev-rc.4.0.0.261659",
|
|
4
4
|
"description": "Fluid local driver",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"default": "./dist/index.js"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
"./
|
|
25
|
+
"./legacy": {
|
|
26
26
|
"import": {
|
|
27
|
-
"types": "./lib/
|
|
27
|
+
"types": "./lib/legacy.d.ts",
|
|
28
28
|
"default": "./lib/index.js"
|
|
29
29
|
},
|
|
30
30
|
"require": {
|
|
31
|
-
"types": "./dist/
|
|
31
|
+
"types": "./dist/legacy.d.ts",
|
|
32
32
|
"default": "./dist/index.js"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"main": "
|
|
46
|
+
"main": "lib/index.js",
|
|
47
47
|
"browser": {
|
|
48
48
|
"moniker": "@fluidframework/server-services-client/dist/generateNames.js"
|
|
49
49
|
},
|
|
50
|
-
"types": "
|
|
50
|
+
"types": "lib/public.d.ts",
|
|
51
51
|
"c8": {
|
|
52
52
|
"all": true,
|
|
53
53
|
"cache-dir": "nyc/.cache",
|
|
@@ -69,32 +69,32 @@
|
|
|
69
69
|
"temp-directory": "nyc/.nyc_output"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@fluid-internal/client-utils": "2.0.0-dev-rc.
|
|
73
|
-
"@fluidframework/core-interfaces": "2.0.0-dev-rc.
|
|
74
|
-
"@fluidframework/core-utils": "2.0.0-dev-rc.
|
|
75
|
-
"@fluidframework/driver-base": "2.0.0-dev-rc.
|
|
76
|
-
"@fluidframework/driver-definitions": "2.0.0-dev-rc.
|
|
77
|
-
"@fluidframework/driver-utils": "2.0.0-dev-rc.
|
|
72
|
+
"@fluid-internal/client-utils": "2.0.0-dev-rc.4.0.0.261659",
|
|
73
|
+
"@fluidframework/core-interfaces": "2.0.0-dev-rc.4.0.0.261659",
|
|
74
|
+
"@fluidframework/core-utils": "2.0.0-dev-rc.4.0.0.261659",
|
|
75
|
+
"@fluidframework/driver-base": "2.0.0-dev-rc.4.0.0.261659",
|
|
76
|
+
"@fluidframework/driver-definitions": "2.0.0-dev-rc.4.0.0.261659",
|
|
77
|
+
"@fluidframework/driver-utils": "2.0.0-dev-rc.4.0.0.261659",
|
|
78
78
|
"@fluidframework/protocol-base": "^4.0.0",
|
|
79
79
|
"@fluidframework/protocol-definitions": "^3.2.0",
|
|
80
|
-
"@fluidframework/routerlicious-driver": "2.0.0-dev-rc.
|
|
80
|
+
"@fluidframework/routerlicious-driver": "2.0.0-dev-rc.4.0.0.261659",
|
|
81
81
|
"@fluidframework/server-local-server": "^4.0.0",
|
|
82
82
|
"@fluidframework/server-services-client": "^4.0.0",
|
|
83
83
|
"@fluidframework/server-services-core": "^4.0.0",
|
|
84
84
|
"@fluidframework/server-test-utils": "^4.0.0",
|
|
85
|
-
"@fluidframework/telemetry-utils": "2.0.0-dev-rc.
|
|
85
|
+
"@fluidframework/telemetry-utils": "2.0.0-dev-rc.4.0.0.261659",
|
|
86
86
|
"jsrsasign": "^11.0.0",
|
|
87
87
|
"uuid": "^9.0.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
91
91
|
"@biomejs/biome": "^1.6.2",
|
|
92
|
-
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.
|
|
93
|
-
"@fluid-tools/build-cli": "
|
|
92
|
+
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.4.0.0.261659",
|
|
93
|
+
"@fluid-tools/build-cli": "0.38.0-259537",
|
|
94
94
|
"@fluidframework/build-common": "^2.0.3",
|
|
95
|
-
"@fluidframework/build-tools": "
|
|
95
|
+
"@fluidframework/build-tools": "0.38.0-259537",
|
|
96
96
|
"@fluidframework/eslint-config-fluid": "^5.1.0",
|
|
97
|
-
"@fluidframework/local-driver-previous": "npm:@fluidframework/local-driver@2.0.0-
|
|
97
|
+
"@fluidframework/local-driver-previous": "npm:@fluidframework/local-driver@2.0.0-rc.3.0.0",
|
|
98
98
|
"@microsoft/api-extractor": "^7.42.3",
|
|
99
99
|
"@types/jsrsasign": "^10.5.12",
|
|
100
100
|
"@types/mocha": "^9.1.1",
|
|
@@ -114,20 +114,12 @@
|
|
|
114
114
|
"typescript": "~5.1.6"
|
|
115
115
|
},
|
|
116
116
|
"typeValidation": {
|
|
117
|
-
"broken": {
|
|
118
|
-
"ClassDeclaration_LocalDocumentService": {
|
|
119
|
-
"forwardCompat": false
|
|
120
|
-
},
|
|
121
|
-
"ClassDeclaration_LocalDocumentStorageService": {
|
|
122
|
-
"backCompat": false,
|
|
123
|
-
"forwardCompat": false
|
|
124
|
-
}
|
|
125
|
-
}
|
|
117
|
+
"broken": {}
|
|
126
118
|
},
|
|
127
119
|
"scripts": {
|
|
128
120
|
"api": "fluid-build . --task api",
|
|
129
|
-
"api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
|
|
130
|
-
"api-extractor:esnext": "flub generate entrypoints --outDir ./lib",
|
|
121
|
+
"api-extractor:commonjs": "flub generate entrypoints --outFileAlpha legacy --outDir ./dist",
|
|
122
|
+
"api-extractor:esnext": "flub generate entrypoints --outFileAlpha legacy --outDir ./lib --node10TypeCompat",
|
|
131
123
|
"build": "fluid-build . --task build",
|
|
132
124
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
133
125
|
"build:compile": "fluid-build . --task compile",
|
|
@@ -136,11 +128,11 @@
|
|
|
136
128
|
"build:test": "npm run build:test:esm && npm run build:test:cjs",
|
|
137
129
|
"build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
|
|
138
130
|
"build:test:esm": "tsc --project ./src/test/tsconfig.json",
|
|
139
|
-
"check:are-the-types-wrong": "attw --pack .
|
|
131
|
+
"check:are-the-types-wrong": "attw --pack .",
|
|
140
132
|
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
141
133
|
"check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
|
|
142
134
|
"ci:build:docs": "api-extractor run",
|
|
143
|
-
"clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
135
|
+
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
144
136
|
"eslint": "eslint --format stylish src",
|
|
145
137
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
146
138
|
"format": "fluid-build --task format .",
|
|
@@ -154,7 +146,7 @@
|
|
|
154
146
|
"test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\" --exit",
|
|
155
147
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
156
148
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
157
|
-
"typetests:gen": "
|
|
149
|
+
"typetests:gen": "flub generate typetests --dir . -v --publicFallback",
|
|
158
150
|
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
159
151
|
}
|
|
160
152
|
}
|