@fluid-experimental/oldest-client-observer 2.74.0 → 2.81.0-374083
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 +4 -0
- package/eslint.config.mts +5 -30
- package/package.json +15 -15
- package/.eslintrc.cjs +0 -24
package/CHANGELOG.md
CHANGED
package/eslint.config.mts
CHANGED
|
@@ -1,36 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* To regenerate: pnpm tsx scripts/generate-flat-eslint-configs.ts --typescript
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*/
|
|
5
|
+
|
|
6
6
|
import type { Linter } from "eslint";
|
|
7
7
|
import { recommended } from "../../../common/build/eslint-config-fluid/flat.mts";
|
|
8
8
|
|
|
9
|
-
const config: Linter.Config[] = [
|
|
10
|
-
...recommended,
|
|
11
|
-
{
|
|
12
|
-
rules: {
|
|
13
|
-
"@typescript-eslint/consistent-type-imports": [
|
|
14
|
-
"error",
|
|
15
|
-
{
|
|
16
|
-
"fixStyle": "inline-type-imports",
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
"@typescript-eslint/no-import-type-side-effects": "error",
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
files: ["**/*.{ts,tsx}"],
|
|
24
|
-
ignores: ["**/src/test/**", "**/tests/**", "**/*.spec.ts", "**/*.test.ts"],
|
|
25
|
-
rules: {
|
|
26
|
-
"@typescript-eslint/consistent-type-exports": [
|
|
27
|
-
"error",
|
|
28
|
-
{
|
|
29
|
-
"fixMixedExportsWithInlineTypeSpecifier": true,
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
];
|
|
9
|
+
const config: Linter.Config[] = [...recommended];
|
|
35
10
|
|
|
36
11
|
export default config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-experimental/oldest-client-observer",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.81.0-374083",
|
|
4
4
|
"description": "Data object to determine if the local client is the oldest amongst connected clients",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -69,28 +69,28 @@
|
|
|
69
69
|
"temp-directory": "nyc/.nyc_output"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@fluid-internal/client-utils": "
|
|
73
|
-
"@fluidframework/container-definitions": "
|
|
74
|
-
"@fluidframework/core-interfaces": "
|
|
75
|
-
"@fluidframework/core-utils": "
|
|
76
|
-
"@fluidframework/driver-definitions": "
|
|
72
|
+
"@fluid-internal/client-utils": "2.81.0-374083",
|
|
73
|
+
"@fluidframework/container-definitions": "2.81.0-374083",
|
|
74
|
+
"@fluidframework/core-interfaces": "2.81.0-374083",
|
|
75
|
+
"@fluidframework/core-utils": "2.81.0-374083",
|
|
76
|
+
"@fluidframework/driver-definitions": "2.81.0-374083"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@arethetypeswrong/cli": "^0.
|
|
79
|
+
"@arethetypeswrong/cli": "^0.18.2",
|
|
80
80
|
"@biomejs/biome": "~1.9.3",
|
|
81
|
-
"@fluid-private/test-dds-utils": "
|
|
82
|
-
"@fluid-tools/build-cli": "^0.
|
|
81
|
+
"@fluid-private/test-dds-utils": "2.81.0-374083",
|
|
82
|
+
"@fluid-tools/build-cli": "^0.63.0",
|
|
83
83
|
"@fluidframework/build-common": "^2.0.3",
|
|
84
|
-
"@fluidframework/build-tools": "^0.
|
|
85
|
-
"@fluidframework/eslint-config-fluid": "
|
|
84
|
+
"@fluidframework/build-tools": "^0.63.0",
|
|
85
|
+
"@fluidframework/eslint-config-fluid": "2.81.0-374083",
|
|
86
86
|
"@microsoft/api-extractor": "7.52.11",
|
|
87
87
|
"@types/node": "^18.19.0",
|
|
88
|
-
"concurrently": "^
|
|
88
|
+
"concurrently": "^9.2.1",
|
|
89
89
|
"copyfiles": "^2.4.1",
|
|
90
|
-
"cross-env": "^
|
|
91
|
-
"eslint": "~
|
|
90
|
+
"cross-env": "^10.1.0",
|
|
91
|
+
"eslint": "~9.39.1",
|
|
92
92
|
"jiti": "^2.6.1",
|
|
93
|
-
"rimraf": "^
|
|
93
|
+
"rimraf": "^6.1.2",
|
|
94
94
|
"typescript": "~5.4.5"
|
|
95
95
|
},
|
|
96
96
|
"fluidBuild": {
|
package/.eslintrc.cjs
DELETED
|
@@ -1,24 +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
|
-
extends: [require.resolve("@fluidframework/eslint-config-fluid"), "prettier"],
|
|
8
|
-
parserOptions: {
|
|
9
|
-
project: "./tsconfig.json",
|
|
10
|
-
},
|
|
11
|
-
rules: {
|
|
12
|
-
// #region TODO: remove these once eslint-config-fluid has been updated to 5.8.0
|
|
13
|
-
"@typescript-eslint/consistent-type-exports": [
|
|
14
|
-
"error",
|
|
15
|
-
{ fixMixedExportsWithInlineTypeSpecifier: true },
|
|
16
|
-
],
|
|
17
|
-
"@typescript-eslint/consistent-type-imports": [
|
|
18
|
-
"error",
|
|
19
|
-
{ fixStyle: "inline-type-imports" },
|
|
20
|
-
],
|
|
21
|
-
"@typescript-eslint/no-import-type-side-effects": "error",
|
|
22
|
-
// #endregion
|
|
23
|
-
},
|
|
24
|
-
};
|