@fluidframework/odsp-urlresolver 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 +23 -0
- package/dist/public.d.ts +3 -0
- package/{dist/alpha.d.ts → internal.d.ts} +2 -0
- package/lib/public.d.ts +3 -0
- package/package.json +19 -24
- package/dist/beta.d.ts +0 -9
- package/lib/alpha.d.ts +0 -9
- package/lib/beta.d.ts +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @fluidframework/odsp-urlresolver
|
|
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
|
+
|
|
3
26
|
## 2.0.0-rc.2.0.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
package/dist/public.d.ts
CHANGED
package/lib/public.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/odsp-urlresolver",
|
|
3
|
-
"version": "2.0.0-dev-rc.
|
|
3
|
+
"version": "2.0.0-dev-rc.4.0.0.261659",
|
|
4
4
|
"description": "Url Resolver for odsp urls.",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -34,25 +34,25 @@
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
|
-
"main": "
|
|
38
|
-
"types": "
|
|
37
|
+
"main": "lib/index.js",
|
|
38
|
+
"types": "lib/public.d.ts",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@fluid-internal/client-utils": "2.0.0-dev-rc.
|
|
41
|
-
"@fluidframework/core-interfaces": "2.0.0-dev-rc.
|
|
42
|
-
"@fluidframework/core-utils": "2.0.0-dev-rc.
|
|
43
|
-
"@fluidframework/driver-definitions": "2.0.0-dev-rc.
|
|
44
|
-
"@fluidframework/odsp-driver": "2.0.0-dev-rc.
|
|
45
|
-
"@fluidframework/odsp-driver-definitions": "2.0.0-dev-rc.
|
|
40
|
+
"@fluid-internal/client-utils": "2.0.0-dev-rc.4.0.0.261659",
|
|
41
|
+
"@fluidframework/core-interfaces": "2.0.0-dev-rc.4.0.0.261659",
|
|
42
|
+
"@fluidframework/core-utils": "2.0.0-dev-rc.4.0.0.261659",
|
|
43
|
+
"@fluidframework/driver-definitions": "2.0.0-dev-rc.4.0.0.261659",
|
|
44
|
+
"@fluidframework/odsp-driver": "2.0.0-dev-rc.4.0.0.261659",
|
|
45
|
+
"@fluidframework/odsp-driver-definitions": "2.0.0-dev-rc.4.0.0.261659"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
49
49
|
"@biomejs/biome": "^1.6.2",
|
|
50
|
-
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.
|
|
51
|
-
"@fluid-tools/build-cli": "
|
|
50
|
+
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.4.0.0.261659",
|
|
51
|
+
"@fluid-tools/build-cli": "0.38.0-259537",
|
|
52
52
|
"@fluidframework/build-common": "^2.0.3",
|
|
53
|
-
"@fluidframework/build-tools": "
|
|
53
|
+
"@fluidframework/build-tools": "0.38.0-259537",
|
|
54
54
|
"@fluidframework/eslint-config-fluid": "^5.1.0",
|
|
55
|
-
"@fluidframework/odsp-urlresolver-previous": "npm:@fluidframework/odsp-urlresolver@2.0.0-
|
|
55
|
+
"@fluidframework/odsp-urlresolver-previous": "npm:@fluidframework/odsp-urlresolver@2.0.0-rc.3.0.0",
|
|
56
56
|
"@microsoft/api-extractor": "^7.42.3",
|
|
57
57
|
"@types/mocha": "^9.1.1",
|
|
58
58
|
"@types/node": "^18.19.0",
|
|
@@ -68,17 +68,12 @@
|
|
|
68
68
|
"typescript": "~5.1.6"
|
|
69
69
|
},
|
|
70
70
|
"typeValidation": {
|
|
71
|
-
"broken": {
|
|
72
|
-
"RemovedVariableDeclaration_isOdspUrl": {
|
|
73
|
-
"backCompat": false,
|
|
74
|
-
"forwardCompat": false
|
|
75
|
-
}
|
|
76
|
-
}
|
|
71
|
+
"broken": {}
|
|
77
72
|
},
|
|
78
73
|
"scripts": {
|
|
79
74
|
"api": "fluid-build . --task api",
|
|
80
|
-
"api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
|
|
81
|
-
"api-extractor:esnext": "flub generate entrypoints --outDir ./lib",
|
|
75
|
+
"api-extractor:commonjs": "flub generate entrypoints --outFileAlpha legacy --outDir ./dist",
|
|
76
|
+
"api-extractor:esnext": "flub generate entrypoints --outFileAlpha legacy --outDir ./lib --node10TypeCompat",
|
|
82
77
|
"build": "fluid-build . --task build",
|
|
83
78
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
84
79
|
"build:compile": "fluid-build . --task compile",
|
|
@@ -87,11 +82,11 @@
|
|
|
87
82
|
"build:test": "npm run build:test:esm && npm run build:test:cjs",
|
|
88
83
|
"build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
|
|
89
84
|
"build:test:esm": "tsc --project ./src/test/tsconfig.json",
|
|
90
|
-
"check:are-the-types-wrong": "attw --pack .
|
|
85
|
+
"check:are-the-types-wrong": "attw --pack .",
|
|
91
86
|
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
92
87
|
"check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
|
|
93
88
|
"ci:build:docs": "api-extractor run",
|
|
94
|
-
"clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
89
|
+
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
95
90
|
"eslint": "eslint --format stylish src",
|
|
96
91
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
97
92
|
"format": "fluid-build --task format .",
|
|
@@ -104,7 +99,7 @@
|
|
|
104
99
|
"test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\" --exit -r node_modules/@fluid-internal/mocha-test-setup",
|
|
105
100
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
106
101
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
107
|
-
"typetests:gen": "
|
|
102
|
+
"typetests:gen": "flub generate typetests --dir . -v --publicFallback",
|
|
108
103
|
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
109
104
|
}
|
|
110
105
|
}
|
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/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
|
-
*/
|