@fluid-experimental/attributor 2.80.0 → 2.81.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 +4 -0
- package/eslint.config.mts +4 -27
- package/package.json +21 -21
- package/.eslintrc.cjs +0 -37
package/CHANGELOG.md
CHANGED
package/eslint.config.mts
CHANGED
|
@@ -1,36 +1,13 @@
|
|
|
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
9
|
const config: Linter.Config[] = [
|
|
10
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
11
|
{
|
|
35
12
|
files: ["*.spec.ts", "src/test/**"],
|
|
36
13
|
rules: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-experimental/attributor",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.81.0",
|
|
4
4
|
"description": "Operation attributor",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -49,32 +49,32 @@
|
|
|
49
49
|
"temp-directory": "nyc/.nyc_output"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@fluid-internal/client-utils": "~2.
|
|
53
|
-
"@fluidframework/container-definitions": "~2.
|
|
54
|
-
"@fluidframework/container-runtime": "~2.
|
|
55
|
-
"@fluidframework/container-runtime-definitions": "~2.
|
|
56
|
-
"@fluidframework/core-interfaces": "~2.
|
|
57
|
-
"@fluidframework/core-utils": "~2.
|
|
58
|
-
"@fluidframework/datastore": "~2.
|
|
59
|
-
"@fluidframework/datastore-definitions": "~2.
|
|
60
|
-
"@fluidframework/driver-definitions": "~2.
|
|
61
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
62
|
-
"@fluidframework/runtime-utils": "~2.
|
|
63
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
52
|
+
"@fluid-internal/client-utils": "~2.81.0",
|
|
53
|
+
"@fluidframework/container-definitions": "~2.81.0",
|
|
54
|
+
"@fluidframework/container-runtime": "~2.81.0",
|
|
55
|
+
"@fluidframework/container-runtime-definitions": "~2.81.0",
|
|
56
|
+
"@fluidframework/core-interfaces": "~2.81.0",
|
|
57
|
+
"@fluidframework/core-utils": "~2.81.0",
|
|
58
|
+
"@fluidframework/datastore": "~2.81.0",
|
|
59
|
+
"@fluidframework/datastore-definitions": "~2.81.0",
|
|
60
|
+
"@fluidframework/driver-definitions": "~2.81.0",
|
|
61
|
+
"@fluidframework/runtime-definitions": "~2.81.0",
|
|
62
|
+
"@fluidframework/runtime-utils": "~2.81.0",
|
|
63
|
+
"@fluidframework/telemetry-utils": "~2.81.0",
|
|
64
64
|
"lz4js": "^0.2.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
68
68
|
"@biomejs/biome": "~1.9.3",
|
|
69
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
70
|
-
"@fluid-private/stochastic-test-utils": "~2.
|
|
71
|
-
"@fluid-tools/build-cli": "^0.
|
|
69
|
+
"@fluid-internal/mocha-test-setup": "~2.81.0",
|
|
70
|
+
"@fluid-private/stochastic-test-utils": "~2.81.0",
|
|
71
|
+
"@fluid-tools/build-cli": "^0.63.0",
|
|
72
72
|
"@fluidframework/build-common": "^2.0.3",
|
|
73
|
-
"@fluidframework/build-tools": "^0.
|
|
74
|
-
"@fluidframework/eslint-config-fluid": "~2.
|
|
75
|
-
"@fluidframework/merge-tree": "~2.
|
|
76
|
-
"@fluidframework/sequence": "~2.
|
|
77
|
-
"@fluidframework/test-runtime-utils": "~2.
|
|
73
|
+
"@fluidframework/build-tools": "^0.63.0",
|
|
74
|
+
"@fluidframework/eslint-config-fluid": "~2.81.0",
|
|
75
|
+
"@fluidframework/merge-tree": "~2.81.0",
|
|
76
|
+
"@fluidframework/sequence": "~2.81.0",
|
|
77
|
+
"@fluidframework/test-runtime-utils": "~2.81.0",
|
|
78
78
|
"@microsoft/api-extractor": "7.52.11",
|
|
79
79
|
"@types/mocha": "^10.0.10",
|
|
80
80
|
"@types/node": "^18.19.0",
|
package/.eslintrc.cjs
DELETED
|
@@ -1,37 +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", "./src/test/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
|
-
overrides: [
|
|
25
|
-
{
|
|
26
|
-
// Rules only for test files
|
|
27
|
-
files: ["*.spec.ts", "src/test/**"],
|
|
28
|
-
rules: {
|
|
29
|
-
"import-x/no-nodejs-modules": [
|
|
30
|
-
"error",
|
|
31
|
-
{ allow: ["node:assert", "node:fs", "node:path"] },
|
|
32
|
-
],
|
|
33
|
-
"unicorn/prefer-module": "off",
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
};
|