@fluidframework/debugger 2.0.0-dev-rc.3.0.0.254674 → 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,28 @@
1
1
  # @fluidframework/debugger
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
@@ -7,7 +7,8 @@
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
  FluidDebugger
13
14
  } from "./index.js";
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";
@@ -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/legacy.js";
@@ -7,7 +7,8 @@
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
  FluidDebugger
13
14
  } from "./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
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/debugger",
3
- "version": "2.0.0-dev-rc.3.0.0.254674",
3
+ "version": "2.0.0-dev-rc.4.0.0.261659",
4
4
  "description": "Fluid Debugger - a tool to play through history of a file",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -23,13 +23,13 @@
23
23
  "default": "./dist/index.js"
24
24
  }
25
25
  },
26
- "./alpha": {
26
+ "./legacy": {
27
27
  "import": {
28
- "types": "./lib/alpha.d.ts",
28
+ "types": "./lib/legacy.d.ts",
29
29
  "default": "./lib/index.js"
30
30
  },
31
31
  "require": {
32
- "types": "./dist/alpha.d.ts",
32
+ "types": "./dist/legacy.d.ts",
33
33
  "default": "./dist/index.js"
34
34
  }
35
35
  },
@@ -44,23 +44,23 @@
44
44
  }
45
45
  }
46
46
  },
47
- "main": "dist/index.js",
48
- "types": "./dist/public.d.ts",
47
+ "main": "lib/index.js",
48
+ "types": "lib/public.d.ts",
49
49
  "dependencies": {
50
- "@fluidframework/core-utils": "2.0.0-dev-rc.3.0.0.254674",
51
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.3.0.0.254674",
52
- "@fluidframework/driver-utils": "2.0.0-dev-rc.3.0.0.254674",
50
+ "@fluidframework/core-utils": "2.0.0-dev-rc.4.0.0.261659",
51
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.4.0.0.261659",
52
+ "@fluidframework/driver-utils": "2.0.0-dev-rc.4.0.0.261659",
53
53
  "@fluidframework/protocol-definitions": "^3.2.0",
54
- "@fluidframework/replay-driver": "2.0.0-dev-rc.3.0.0.254674",
54
+ "@fluidframework/replay-driver": "2.0.0-dev-rc.4.0.0.261659",
55
55
  "jsonschema": "^1.2.6"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@arethetypeswrong/cli": "^0.15.2",
59
59
  "@biomejs/biome": "^1.6.2",
60
- "@fluid-tools/build-cli": "^0.35.0",
60
+ "@fluid-tools/build-cli": "0.38.0-259537",
61
61
  "@fluidframework/build-common": "^2.0.3",
62
- "@fluidframework/build-tools": "^0.35.0",
63
- "@fluidframework/debugger-previous": "npm:@fluidframework/debugger@2.0.0-internal.8.0.0",
62
+ "@fluidframework/build-tools": "0.38.0-259537",
63
+ "@fluidframework/debugger-previous": "npm:@fluidframework/debugger@2.0.0-rc.3.0.0",
64
64
  "@fluidframework/eslint-config-fluid": "^5.1.0",
65
65
  "@microsoft/api-extractor": "^7.42.3",
66
66
  "@types/node": "^18.19.0",
@@ -73,31 +73,26 @@
73
73
  "fluidBuild": {
74
74
  "tasks": {
75
75
  "tsc": [
76
- "...",
77
76
  "typetests:gen"
78
77
  ]
79
78
  }
80
79
  },
81
80
  "typeValidation": {
82
- "broken": {
83
- "ClassDeclaration_DebugReplayController": {
84
- "backCompat": false
85
- }
86
- }
81
+ "broken": {}
87
82
  },
88
83
  "scripts": {
89
84
  "api": "fluid-build . --task api",
90
- "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
91
- "api-extractor:esnext": "flub generate entrypoints --outDir ./lib",
85
+ "api-extractor:commonjs": "flub generate entrypoints --outFileAlpha legacy --outDir ./dist",
86
+ "api-extractor:esnext": "flub generate entrypoints --outFileAlpha legacy --outDir ./lib --node10TypeCompat",
92
87
  "build": "fluid-build . --task build",
93
88
  "build:compile": "fluid-build . --task compile",
94
89
  "build:docs": "api-extractor run --local",
95
90
  "build:esnext": "tsc --project ./tsconfig.json",
96
- "check:are-the-types-wrong": "attw --pack . --entrypoints .",
91
+ "check:are-the-types-wrong": "attw --pack .",
97
92
  "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
98
93
  "check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
99
94
  "ci:build:docs": "api-extractor run",
100
- "clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
95
+ "clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
101
96
  "eslint": "eslint --format stylish src",
102
97
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
103
98
  "format": "fluid-build --task format .",
@@ -105,7 +100,7 @@
105
100
  "lint": "fluid-build . --task lint",
106
101
  "lint:fix": "fluid-build . --task eslint:fix --task format",
107
102
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
108
- "typetests:gen": "fluid-type-test-generator",
103
+ "typetests:gen": "flub generate typetests --dir . -v --publicFallback",
109
104
  "typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
110
105
  }
111
106
  }