@fluid-experimental/property-common 2.30.0 → 2.31.0

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,9 @@
1
1
  # @fluid-experimental/property-common
2
2
 
3
+ ## 2.31.0
4
+
5
+ Dependency updates only.
6
+
3
7
  ## 2.30.0
4
8
 
5
9
  Dependency updates only.
@@ -60,9 +64,9 @@ Dependency updates only.
60
64
 
61
65
  ### Minor Changes
62
66
 
63
- - Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
67
+ - Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
64
68
 
65
- Update package implementations to use TypeScript 5.4.5.
69
+ Update package implementations to use TypeScript 5.4.5.
66
70
 
67
71
  ## 2.0.0-rc.4.0.0
68
72
 
@@ -72,24 +76,24 @@ Dependency updates only.
72
76
 
73
77
  ### Major Changes
74
78
 
75
- - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
79
+ - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
76
80
 
77
- Fluid Framework packages have been updated to use the [package.json "exports"
78
- field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
79
- TypeScript types and implementation code.
81
+ Fluid Framework packages have been updated to use the [package.json "exports"
82
+ field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
83
+ TypeScript types and implementation code.
80
84
 
81
- This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
85
+ This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
82
86
 
83
- - `"moduleResolution": "Node16"` with `"module": "Node16"`
84
- - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
87
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
88
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
85
89
 
86
- We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
87
- for use with modern versions of Node.js _and_ Bundlers.
88
- [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
89
- regarding the module and moduleResolution options.
90
+ We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
91
+ for use with modern versions of Node.js _and_ Bundlers.
92
+ [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
93
+ regarding the module and moduleResolution options.
90
94
 
91
- **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
92
- to distinguish stable APIs from those that are in development.**
95
+ **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
96
+ to distinguish stable APIs from those that are in development.**
93
97
 
94
98
  ## 2.0.0-rc.2.0.0
95
99
 
@@ -123,9 +127,9 @@ Dependency updates only.
123
127
 
124
128
  ### Major Changes
125
129
 
126
- - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
130
+ - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
127
131
 
128
- The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
132
+ The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
129
133
 
130
134
  ## 2.0.0-internal.6.4.0
131
135
 
@@ -147,9 +151,9 @@ Dependency updates only.
147
151
 
148
152
  ### Major Changes
149
153
 
150
- - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
154
+ - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
151
155
 
152
- Upgraded typescript transpilation target to ES2020. This is done in order to decrease the bundle sizes of Fluid Framework packages. This has provided size improvements across the board for ex. Loader, Driver, Runtime etc. Reduced bundle sizes helps to load lesser code in apps and hence also helps to improve the perf.If any app wants to target any older versions of browsers with which this target version is not compatible, then they can use packages like babel to transpile to a older target.
156
+ Upgraded typescript transpilation target to ES2020. This is done in order to decrease the bundle sizes of Fluid Framework packages. This has provided size improvements across the board for ex. Loader, Driver, Runtime etc. Reduced bundle sizes helps to load lesser code in apps and hence also helps to improve the perf.If any app wants to target any older versions of browsers with which this target version is not compatible, then they can use packages like babel to transpile to a older target.
153
157
 
154
158
  ## 2.0.0-internal.5.4.0
155
159
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-experimental/property-common",
3
- "version": "2.30.0",
3
+ "version": "2.31.0",
4
4
  "description": "common functions used in properties",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -48,11 +48,11 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "@biomejs/biome": "~1.9.3",
51
- "@fluid-internal/mocha-test-setup": "~2.30.0",
51
+ "@fluid-internal/mocha-test-setup": "~2.31.0",
52
52
  "@fluidframework/build-common": "^2.0.3",
53
53
  "@fluidframework/build-tools": "^0.54.0",
54
54
  "@fluidframework/eslint-config-fluid": "^5.7.3",
55
- "@microsoft/api-extractor": "7.47.8",
55
+ "@microsoft/api-extractor": "7.50.1",
56
56
  "@types/chai": "^4.0.0",
57
57
  "@types/debug": "^4.1.5",
58
58
  "@types/lodash": "^4.14.118",
@@ -68,7 +68,6 @@
68
68
  "mocha-multi-reporters": "^1.5.1",
69
69
  "moment": "^2.21.0",
70
70
  "nock": "^13.3.3",
71
- "prettier": "~3.0.3",
72
71
  "rimraf": "^4.4.0",
73
72
  "sinon": "^18.0.1",
74
73
  "typescript": "~5.4.5"
@@ -86,13 +85,11 @@
86
85
  "build:test": "tsc --project ./src/test/tsconfig.json",
87
86
  "check:biome": "biome check .",
88
87
  "check:format": "npm run check:biome",
89
- "check:prettier": "prettier --check . --cache --ignore-path ../../../../.prettierignore",
90
88
  "clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" nyc",
91
89
  "eslint": "eslint --format stylish src",
92
90
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
93
91
  "format": "npm run format:biome",
94
92
  "format:biome": "biome check . --write",
95
- "format:prettier": "prettier --write . --cache --ignore-path ../../../../.prettierignore",
96
93
  "lint": "fluid-build . --task lint",
97
94
  "lint:fix": "fluid-build . --task eslint:fix --task format",
98
95
  "test": "npm run test:mocha",
@@ -1,5 +1,9 @@
1
1
  # @fluid-internal/platform-dependent
2
2
 
3
+ ## 2.31.0
4
+
5
+ Dependency updates only.
6
+
3
7
  ## 2.30.0
4
8
 
5
9
  Dependency updates only.
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/mnt/vss/_work/1/s/node_modules/.pnpm/@biomejs+biome@1.9.4/node_modules/@biomejs/biome/bin/node_modules:/mnt/vss/_work/1/s/node_modules/.pnpm/@biomejs+biome@1.9.4/node_modules/@biomejs/biome/node_modules:/mnt/vss/_work/1/s/node_modules/.pnpm/@biomejs+biome@1.9.4/node_modules/@biomejs/node_modules:/mnt/vss/_work/1/s/node_modules/.pnpm/@biomejs+biome@1.9.4/node_modules:/mnt/vss/_work/1/s/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="/mnt/vss/_work/1/s/node_modules/.pnpm/@biomejs+biome@1.9.4/node_modules/@biomejs/biome/bin/node_modules:/mnt/vss/_work/1/s/node_modules/.pnpm/@biomejs+biome@1.9.4/node_modules/@biomejs/biome/node_modules:/mnt/vss/_work/1/s/node_modules/.pnpm/@biomejs+biome@1.9.4/node_modules/@biomejs/node_modules:/mnt/vss/_work/1/s/node_modules/.pnpm/@biomejs+biome@1.9.4/node_modules:/mnt/vss/_work/1/s/node_modules/.pnpm/node_modules:$NODE_PATH"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../@biomejs/biome/bin/biome" "$@"
15
+ else
16
+ exec node "$basedir/../@biomejs/biome/bin/biome" "$@"
17
+ fi
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-internal/platform-dependent",
3
- "version": "2.30.0",
3
+ "version": "2.31.0",
4
4
  "private": true,
5
5
  "description": "Helper package that separates code for browser and server.",
6
6
  "homepage": "https://fluidframework.com",
@@ -13,6 +13,15 @@
13
13
  "author": "Microsoft and contributors",
14
14
  "main": "server.js",
15
15
  "browser": "browser.js",
16
+ "scripts": {
17
+ "check:biome": "biome check .",
18
+ "check:format": "npm run check:biome",
19
+ "format": "npm run format:biome",
20
+ "format:biome": "biome check . --write"
21
+ },
22
+ "devDependencies": {
23
+ "@biomejs/biome": "~1.9.3"
24
+ },
16
25
  "typeValidation": {
17
26
  "disabled": true,
18
27
  "broken": {},
@@ -1,8 +0,0 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
- * Licensed under the MIT License.
4
- */
5
-
6
- module.exports = {
7
- ...require("@fluidframework/build-common/prettier.config.cjs"),
8
- };