@fluid-experimental/data-objects 2.0.0-internal.2.2.1 → 2.0.0-internal.2.3.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/.eslintrc.js +20 -9
- package/package.json +7 -6
package/.eslintrc.js
CHANGED
|
@@ -4,13 +4,24 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
extends: [require.resolve("@fluidframework/eslint-config-fluid/minimal"), "prettier"],
|
|
8
|
+
parserOptions: {
|
|
9
|
+
project: ["./tsconfig.json"],
|
|
10
|
+
},
|
|
11
|
+
rules: {
|
|
12
|
+
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
13
|
+
|
|
14
|
+
// This library is used in the browser, so we don't want dependencies on most node libraries.
|
|
15
|
+
"import/no-nodejs-modules": ["error", { allow: ["events"] }],
|
|
12
16
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
overrides: [
|
|
18
|
+
{
|
|
19
|
+
// Rules only for test files
|
|
20
|
+
files: ["*.spec.ts", "src/test/**"],
|
|
21
|
+
rules: {
|
|
22
|
+
// Test files are run in node only so additional node libraries can be used.
|
|
23
|
+
"import/no-nodejs-modules": ["error", { allow: ["assert", "events"] }],
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-experimental/data-objects",
|
|
3
|
-
"version": "2.0.0-internal.2.
|
|
3
|
+
"version": "2.0.0-internal.2.3.0",
|
|
4
4
|
"description": "A collection of ready to use Fluid Data Objects",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -32,17 +32,18 @@
|
|
|
32
32
|
"tsc": "tsc"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@fluidframework/aqueduct": ">=2.0.0-internal.2.
|
|
35
|
+
"@fluidframework/aqueduct": ">=2.0.0-internal.2.3.0 <2.0.0-internal.3.0.0",
|
|
36
36
|
"@fluidframework/common-definitions": "^0.20.1",
|
|
37
37
|
"@fluidframework/common-utils": "^1.0.0",
|
|
38
|
-
"@fluidframework/datastore-definitions": ">=2.0.0-internal.2.
|
|
39
|
-
"@fluidframework/map": ">=2.0.0-internal.2.
|
|
40
|
-
"@fluidframework/runtime-definitions": ">=2.0.0-internal.2.
|
|
38
|
+
"@fluidframework/datastore-definitions": ">=2.0.0-internal.2.3.0 <2.0.0-internal.3.0.0",
|
|
39
|
+
"@fluidframework/map": ">=2.0.0-internal.2.3.0 <2.0.0-internal.3.0.0",
|
|
40
|
+
"@fluidframework/runtime-definitions": ">=2.0.0-internal.2.3.0 <2.0.0-internal.3.0.0",
|
|
41
|
+
"events": "^3.1.0"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"@fluid-tools/build-cli": "^0.7.0",
|
|
44
45
|
"@fluidframework/build-common": "^1.1.0",
|
|
45
|
-
"@fluidframework/eslint-config-fluid": "^
|
|
46
|
+
"@fluidframework/eslint-config-fluid": "^2.0.0",
|
|
46
47
|
"@microsoft/api-extractor": "^7.22.2",
|
|
47
48
|
"@rushstack/eslint-config": "^2.5.1",
|
|
48
49
|
"@types/node": "^14.18.0",
|