@fluidframework/routerlicious-urlresolver 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
  # @fluidframework/routerlicious-urlresolver
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
  ### Minor Changes
package/dist/public.d.ts CHANGED
@@ -7,3 +7,6 @@
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
+
11
+ export {}
12
+
@@ -7,3 +7,5 @@
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
+
11
+ export * from "./lib/index.js";
package/lib/public.d.ts CHANGED
@@ -7,3 +7,6 @@
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
+
11
+ export {}
12
+
@@ -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": "@fluidframework/routerlicious-urlresolver",
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": "Url Resolver for routerlicious urls.",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -34,25 +34,25 @@
34
34
  }
35
35
  }
36
36
  },
37
- "main": "dist/index.js",
38
- "types": "./dist/public.d.ts",
37
+ "main": "lib/index.js",
38
+ "types": "lib/public.d.ts",
39
39
  "dependencies": {
40
- "@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.254866",
41
- "@fluidframework/core-utils": "2.0.0-dev-rc.3.0.0.254866",
42
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.3.0.0.254866",
40
+ "@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.263932",
41
+ "@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.263932",
42
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.263932",
43
43
  "@fluidframework/protocol-definitions": "^3.2.0",
44
44
  "nconf": "^0.12.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@arethetypeswrong/cli": "^0.15.2",
48
48
  "@biomejs/biome": "^1.6.2",
49
- "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.3.0.0.254866",
50
- "@fluid-tools/build-cli": "^0.35.0",
49
+ "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.263932",
50
+ "@fluid-tools/build-cli": "^0.38.0",
51
51
  "@fluidframework/build-common": "^2.0.3",
52
- "@fluidframework/build-tools": "^0.35.0",
52
+ "@fluidframework/build-tools": "^0.38.0",
53
53
  "@fluidframework/eslint-config-fluid": "^5.1.0",
54
- "@fluidframework/routerlicious-urlresolver-previous": "npm:@fluidframework/routerlicious-urlresolver@2.0.0-internal.8.0.0",
55
- "@microsoft/api-extractor": "^7.42.3",
54
+ "@fluidframework/routerlicious-urlresolver-previous": "npm:@fluidframework/routerlicious-urlresolver@2.0.0-rc.3.0.0",
55
+ "@microsoft/api-extractor": "^7.43.1",
56
56
  "@types/mocha": "^9.1.1",
57
57
  "@types/nconf": "^0.10.0",
58
58
  "@types/node": "^18.19.0",
@@ -73,8 +73,8 @@
73
73
  },
74
74
  "scripts": {
75
75
  "api": "fluid-build . --task api",
76
- "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
77
- "api-extractor:esnext": "flub generate entrypoints --outDir ./lib",
76
+ "api-extractor:commonjs": "flub generate entrypoints --outFileAlpha legacy --outDir ./dist",
77
+ "api-extractor:esnext": "flub generate entrypoints --outFileAlpha legacy --outDir ./lib --node10TypeCompat",
78
78
  "build": "fluid-build . --task build",
79
79
  "build:commonjs": "fluid-build . --task commonjs",
80
80
  "build:compile": "fluid-build . --task compile",
@@ -83,11 +83,11 @@
83
83
  "build:test": "npm run build:test:esm && npm run build:test:cjs",
84
84
  "build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
85
85
  "build:test:esm": "tsc --project ./src/test/tsconfig.json",
86
- "check:are-the-types-wrong": "attw --pack . --entrypoints .",
86
+ "check:are-the-types-wrong": "attw --pack .",
87
87
  "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
88
88
  "check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
89
89
  "ci:build:docs": "api-extractor run",
90
- "clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
90
+ "clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
91
91
  "eslint": "eslint --format stylish src",
92
92
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
93
93
  "format": "fluid-build --task format .",
@@ -100,7 +100,7 @@
100
100
  "test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\" --exit",
101
101
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
102
102
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
103
- "typetests:gen": "fluid-type-test-generator",
103
+ "typetests:gen": "flub generate typetests --dir . -v --publicFallback",
104
104
  "typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
105
105
  }
106
106
  }
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
- */