@fluid-experimental/tree 2.0.0-internal.3.1.0 → 2.0.0-internal.3.2.1
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/package.json +44 -45
- package/prettier.config.cjs +16 -1
- package/.prettierignore +0 -27
- package/.prettierrc.json +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-experimental/tree",
|
|
3
|
-
"version": "2.0.0-internal.3.1
|
|
3
|
+
"version": "2.0.0-internal.3.2.1",
|
|
4
4
|
"description": "Distributed tree",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -14,42 +14,16 @@
|
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"module": "lib/index.js",
|
|
16
16
|
"types": "dist/index.d.ts",
|
|
17
|
-
"scripts": {
|
|
18
|
-
"build": "concurrently npm:build:compile npm:lint && npm run build:docs",
|
|
19
|
-
"build:compile": "concurrently npm:tsc npm:build:esnext",
|
|
20
|
-
"build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/",
|
|
21
|
-
"build:esnext": "tsc --project ./tsconfig.esnext.json",
|
|
22
|
-
"build:full": "npm run build",
|
|
23
|
-
"build:full:compile": "npm run build:compile",
|
|
24
|
-
"ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/",
|
|
25
|
-
"clean": "rimraf dist lib *.tsbuildinfo *.build.log",
|
|
26
|
-
"eslint": "eslint src",
|
|
27
|
-
"eslint:fix": "eslint src --fix",
|
|
28
|
-
"format": "npm run prettier:fix",
|
|
29
|
-
"lint": "npm run prettier && npm run eslint",
|
|
30
|
-
"lint:fix": "npm run prettier:fix && npm run eslint:fix",
|
|
31
|
-
"postpack": "tar -cf ./experimental-tree.test-files.tar ./src/test ./dist/test",
|
|
32
|
-
"perf": "cross-env FLUID_TEST_VERBOSE=1 mocha \"dist/**/*.tests.js\" --node-option unhandled-rejections=strict,expose-gc --exit -r node_modules/@fluidframework/mocha-test-setup --perfMode --fgrep @Benchmark --reporter @fluid-tools/benchmark/dist/MochaReporter.js --timeout 30000",
|
|
33
|
-
"perf:measure": "npm run perf -- --fgrep @Measurement",
|
|
34
|
-
"prettier": "prettier --check \"**/*.{js,json,jsx,md,ts,tsx,yml,yaml}\"",
|
|
35
|
-
"prettier:fix": "prettier --write \"**/*.{js,json,jsx,md,ts,tsx,yml,yaml}\"",
|
|
36
|
-
"test": "nyc npm run test:mocha",
|
|
37
|
-
"test:benchmark:report": "mocha \"dist/**/*.tests.js\" --node-option unhandled-rejections=strict,expose-gc --exit --perfMode --fgrep @Benchmark -r node_modules/@fluidframework/mocha-test-setup --reporter @fluid-tools/benchmark/dist/MochaReporter.js --timeout 60000",
|
|
38
|
-
"test:mocha": "mocha \"dist/**/*.tests.js\" --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict",
|
|
39
|
-
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
40
|
-
"test:stress": "cross-env FUZZ_TEST_COUNT=10 FUZZ_STRESS_RUN=true mocha \"dist/**/*.fuzz.tests.js\" --exit -r @fluidframework/mocha-test-setup --unhandled-rejections=strict",
|
|
41
|
-
"tsc": "tsc"
|
|
42
|
-
},
|
|
43
17
|
"dependencies": {
|
|
44
18
|
"@fluidframework/common-definitions": "^0.20.1",
|
|
45
|
-
"@fluidframework/common-utils": "^1.
|
|
46
|
-
"@fluidframework/container-definitions": ">=2.0.0-internal.3.1
|
|
47
|
-
"@fluidframework/core-interfaces": ">=2.0.0-internal.3.1
|
|
48
|
-
"@fluidframework/datastore-definitions": ">=2.0.0-internal.3.1
|
|
19
|
+
"@fluidframework/common-utils": "^1.1.1",
|
|
20
|
+
"@fluidframework/container-definitions": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
21
|
+
"@fluidframework/core-interfaces": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
22
|
+
"@fluidframework/datastore-definitions": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
49
23
|
"@fluidframework/protocol-definitions": "^1.1.0",
|
|
50
|
-
"@fluidframework/runtime-definitions": ">=2.0.0-internal.3.1
|
|
51
|
-
"@fluidframework/shared-object-base": ">=2.0.0-internal.3.1
|
|
52
|
-
"@fluidframework/telemetry-utils": ">=2.0.0-internal.3.1
|
|
24
|
+
"@fluidframework/runtime-definitions": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
25
|
+
"@fluidframework/shared-object-base": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
26
|
+
"@fluidframework/telemetry-utils": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
53
27
|
"buffer": "^6.0.3",
|
|
54
28
|
"denque": "^1.5.1",
|
|
55
29
|
"lru-cache": "^6.0.0",
|
|
@@ -57,19 +31,19 @@
|
|
|
57
31
|
"uuid": "^8.3.1"
|
|
58
32
|
},
|
|
59
33
|
"devDependencies": {
|
|
60
|
-
"@fluid-internal/stochastic-test-utils": ">=2.0.0-internal.3.1
|
|
34
|
+
"@fluid-internal/stochastic-test-utils": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
61
35
|
"@fluid-tools/benchmark": "^0.45.0",
|
|
62
36
|
"@fluidframework/build-common": "^1.1.0",
|
|
63
|
-
"@fluidframework/container-loader": ">=2.0.0-internal.3.1
|
|
64
|
-
"@fluidframework/container-runtime": ">=2.0.0-internal.3.1
|
|
37
|
+
"@fluidframework/container-loader": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
38
|
+
"@fluidframework/container-runtime": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
65
39
|
"@fluidframework/eslint-config-fluid": "^2.0.0",
|
|
66
|
-
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.3.1
|
|
67
|
-
"@fluidframework/runtime-utils": ">=2.0.0-internal.3.1
|
|
68
|
-
"@fluidframework/test-driver-definitions": ">=2.0.0-internal.3.1
|
|
69
|
-
"@fluidframework/test-drivers": ">=2.0.0-internal.3.1
|
|
70
|
-
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.3.1
|
|
71
|
-
"@fluidframework/test-utils": ">=2.0.0-internal.3.1
|
|
72
|
-
"@fluidframework/undo-redo": ">=2.0.0-internal.3.1
|
|
40
|
+
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
41
|
+
"@fluidframework/runtime-utils": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
42
|
+
"@fluidframework/test-driver-definitions": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
43
|
+
"@fluidframework/test-drivers": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
44
|
+
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
45
|
+
"@fluidframework/test-utils": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
46
|
+
"@fluidframework/undo-redo": ">=2.0.0-internal.3.2.1 <2.0.0-internal.4.0.0",
|
|
73
47
|
"@microsoft/api-extractor": "^7.22.2",
|
|
74
48
|
"@rushstack/eslint-config": "^2.5.1",
|
|
75
49
|
"@types/chai": "^4.0.0",
|
|
@@ -96,5 +70,30 @@
|
|
|
96
70
|
"disabled": true,
|
|
97
71
|
"version": "2.0.0-internal.2.1.0",
|
|
98
72
|
"broken": {}
|
|
73
|
+
},
|
|
74
|
+
"scripts": {
|
|
75
|
+
"build": "concurrently npm:build:compile npm:lint && npm run build:docs",
|
|
76
|
+
"build:compile": "concurrently npm:tsc npm:build:esnext",
|
|
77
|
+
"build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/",
|
|
78
|
+
"build:esnext": "tsc --project ./tsconfig.esnext.json",
|
|
79
|
+
"build:full": "npm run build",
|
|
80
|
+
"build:full:compile": "npm run build:compile",
|
|
81
|
+
"ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/",
|
|
82
|
+
"clean": "rimraf dist lib *.tsbuildinfo *.build.log",
|
|
83
|
+
"eslint": "eslint src",
|
|
84
|
+
"eslint:fix": "eslint src --fix",
|
|
85
|
+
"format": "npm run prettier:fix",
|
|
86
|
+
"lint": "npm run prettier && npm run eslint",
|
|
87
|
+
"lint:fix": "npm run prettier:fix && npm run eslint:fix",
|
|
88
|
+
"perf": "cross-env FLUID_TEST_VERBOSE=1 mocha \"dist/**/*.tests.js\" --node-option unhandled-rejections=strict,expose-gc --exit -r node_modules/@fluidframework/mocha-test-setup --perfMode --fgrep @Benchmark --reporter @fluid-tools/benchmark/dist/MochaReporter.js --timeout 30000",
|
|
89
|
+
"perf:measure": "npm run perf -- --fgrep @Measurement",
|
|
90
|
+
"prettier": "prettier --check . --ignore-path ../../../.prettierignore",
|
|
91
|
+
"prettier:fix": "prettier --write . --ignore-path ../../../.prettierignore",
|
|
92
|
+
"test": "nyc npm run test:mocha",
|
|
93
|
+
"test:benchmark:report": "mocha \"dist/**/*.tests.js\" --node-option unhandled-rejections=strict,expose-gc --exit --perfMode --fgrep @Benchmark -r node_modules/@fluidframework/mocha-test-setup --reporter @fluid-tools/benchmark/dist/MochaReporter.js --timeout 60000",
|
|
94
|
+
"test:mocha": "mocha \"dist/**/*.tests.js\" --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict",
|
|
95
|
+
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
96
|
+
"test:stress": "cross-env FUZZ_TEST_COUNT=10 FUZZ_STRESS_RUN=true mocha \"dist/**/*.fuzz.tests.js\" --exit -r @fluidframework/mocha-test-setup --unhandled-rejections=strict",
|
|
97
|
+
"tsc": "tsc"
|
|
99
98
|
}
|
|
100
|
-
}
|
|
99
|
+
}
|
package/prettier.config.cjs
CHANGED
|
@@ -4,5 +4,20 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
7
|
-
|
|
7
|
+
...require('@fluidframework/build-common/prettier.config.cjs'),
|
|
8
|
+
arrowParens: 'always',
|
|
9
|
+
endOfLine: 'auto',
|
|
10
|
+
printWidth: 120,
|
|
11
|
+
singleQuote: true,
|
|
12
|
+
tabWidth: 4,
|
|
13
|
+
trailingComma: 'es5',
|
|
14
|
+
useTabs: true,
|
|
15
|
+
overrides: [
|
|
16
|
+
{
|
|
17
|
+
files: 'tsconfig*.json',
|
|
18
|
+
options: {
|
|
19
|
+
singleQuote: false,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
],
|
|
8
23
|
};
|
package/.prettierignore
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Common ignore patterns for packages using prettier.
|
|
2
|
-
# This can be referenced by using the `--ignore-path` cli argument and providing the relative path to this file.
|
|
3
|
-
# If your package requires other local exceptions, you can specify a local `.prettierignore` file with the appropriate
|
|
4
|
-
# settings, and not specify the `--ignore-path` argument in the formatting scripts.
|
|
5
|
-
# Note that you will (unfortunately) have to redundantly specify the below as applicable in that file.
|
|
6
|
-
|
|
7
|
-
# Coverage
|
|
8
|
-
nyc
|
|
9
|
-
|
|
10
|
-
# Build output
|
|
11
|
-
dist
|
|
12
|
-
lib
|
|
13
|
-
|
|
14
|
-
# Dependencies
|
|
15
|
-
node_modules
|
|
16
|
-
|
|
17
|
-
# Used by API-Extractor
|
|
18
|
-
*.api.md
|
|
19
|
-
_api-extractor-temp/**
|
|
20
|
-
|
|
21
|
-
# Formatting is not properly enforced in PR gating since `lerna version` uniformizes the file in a previous pipeline step.
|
|
22
|
-
# Since in practice this is likely only a tabs vs spaces issue, this file has just been converted to match the rest of the
|
|
23
|
-
# repository.
|
|
24
|
-
package.json
|
|
25
|
-
|
|
26
|
-
# Generated type-tests
|
|
27
|
-
**/*.generated.ts
|