@fluidframework/register-collection 1.4.0-115997 → 2.0.0-dev-rc.1.0.0.224419
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 +5 -7
- package/.mocharc.js +12 -0
- package/CHANGELOG.md +117 -0
- package/README.md +29 -8
- package/api-extractor-lint.json +4 -0
- package/api-extractor.json +2 -2
- package/api-report/register-collection.api.md +90 -0
- package/dist/{consensusRegisterCollection.js → consensusRegisterCollection.cjs} +31 -29
- package/dist/consensusRegisterCollection.cjs.map +1 -0
- package/dist/consensusRegisterCollection.d.ts +2 -1
- package/dist/consensusRegisterCollection.d.ts.map +1 -1
- package/dist/{consensusRegisterCollectionFactory.js → consensusRegisterCollectionFactory.cjs} +5 -4
- package/dist/consensusRegisterCollectionFactory.cjs.map +1 -0
- package/dist/consensusRegisterCollectionFactory.d.ts +2 -1
- package/dist/consensusRegisterCollectionFactory.d.ts.map +1 -1
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/{interfaces.js → interfaces.cjs} +3 -2
- package/dist/interfaces.cjs.map +1 -0
- package/dist/interfaces.d.ts +9 -5
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/{packageVersion.js → packageVersion.cjs} +2 -2
- package/dist/packageVersion.cjs.map +1 -0
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/register-collection-alpha.d.ts +163 -0
- package/dist/register-collection-beta.d.ts +25 -0
- package/dist/register-collection-public.d.ts +25 -0
- package/dist/register-collection-untrimmed.d.ts +163 -0
- package/dist/tsdoc-metadata.json +11 -0
- package/lib/{consensusRegisterCollection.d.ts → consensusRegisterCollection.d.mts} +4 -3
- package/lib/consensusRegisterCollection.d.mts.map +1 -0
- package/lib/{consensusRegisterCollection.js → consensusRegisterCollection.mjs} +27 -25
- package/lib/consensusRegisterCollection.mjs.map +1 -0
- package/lib/{consensusRegisterCollectionFactory.d.ts → consensusRegisterCollectionFactory.d.mts} +3 -2
- package/lib/consensusRegisterCollectionFactory.d.mts.map +1 -0
- package/lib/{consensusRegisterCollectionFactory.js → consensusRegisterCollectionFactory.mjs} +5 -4
- package/lib/consensusRegisterCollectionFactory.mjs.map +1 -0
- package/lib/index.d.mts +8 -0
- package/lib/index.d.mts.map +1 -0
- package/lib/index.mjs +8 -0
- package/lib/index.mjs.map +1 -0
- package/lib/{interfaces.d.ts → interfaces.d.mts} +9 -5
- package/lib/interfaces.d.mts.map +1 -0
- package/lib/{interfaces.js → interfaces.mjs} +2 -1
- package/lib/interfaces.mjs.map +1 -0
- package/lib/{packageVersion.d.ts → packageVersion.d.mts} +1 -1
- package/lib/{packageVersion.d.ts.map → packageVersion.d.mts.map} +1 -1
- package/lib/{packageVersion.js → packageVersion.mjs} +2 -2
- package/lib/packageVersion.mjs.map +1 -0
- package/lib/register-collection-alpha.d.mts +163 -0
- package/lib/register-collection-beta.d.mts +25 -0
- package/lib/register-collection-public.d.mts +25 -0
- package/lib/register-collection-untrimmed.d.mts +163 -0
- package/package.json +97 -62
- package/prettier.config.cjs +8 -0
- package/src/consensusRegisterCollection.ts +307 -284
- package/src/consensusRegisterCollectionFactory.ts +39 -33
- package/src/index.ts +8 -3
- package/src/interfaces.ts +52 -43
- package/src/packageVersion.ts +1 -1
- package/tsc-multi.test.json +4 -0
- package/tsconfig.json +11 -13
- package/dist/consensusRegisterCollection.js.map +0 -1
- package/dist/consensusRegisterCollectionFactory.js.map +0 -1
- package/dist/index.js +0 -20
- package/dist/index.js.map +0 -1
- package/dist/interfaces.js.map +0 -1
- package/dist/packageVersion.js.map +0 -1
- package/lib/consensusRegisterCollection.d.ts.map +0 -1
- package/lib/consensusRegisterCollection.js.map +0 -1
- package/lib/consensusRegisterCollectionFactory.d.ts.map +0 -1
- package/lib/consensusRegisterCollectionFactory.js.map +0 -1
- package/lib/index.d.ts +0 -8
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -8
- package/lib/index.js.map +0 -1
- package/lib/interfaces.d.ts.map +0 -1
- package/lib/interfaces.js.map +0 -1
- package/lib/packageVersion.js.map +0 -1
- package/tsconfig.esnext.json +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/register-collection",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.0.0-dev-rc.1.0.0.224419",
|
|
4
4
|
"description": "Consensus Register",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -11,44 +11,32 @@
|
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"author": "Microsoft and contributors",
|
|
13
13
|
"sideEffects": false,
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"build:genver": "gen-version",
|
|
26
|
-
"build:test": "tsc --project ./src/test/tsconfig.json",
|
|
27
|
-
"ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/* ../../../_api-extractor-temp/",
|
|
28
|
-
"clean": "rimraf dist lib *.tsbuildinfo *.build.log",
|
|
29
|
-
"eslint": "eslint --format stylish src",
|
|
30
|
-
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
31
|
-
"lint": "npm run eslint",
|
|
32
|
-
"lint:fix": "npm run eslint:fix",
|
|
33
|
-
"test": "npm run test:mocha",
|
|
34
|
-
"test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml",
|
|
35
|
-
"test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict",
|
|
36
|
-
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
37
|
-
"tsc": "tsc",
|
|
38
|
-
"typetests:gen": "flub generate typetests --generate --dir . --no-generateInName",
|
|
39
|
-
"typetests:prepare": "flub generate typetests --prepare --dir . --pin"
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": {
|
|
17
|
+
"types": "./lib/index.d.mts",
|
|
18
|
+
"default": "./lib/index.mjs"
|
|
19
|
+
},
|
|
20
|
+
"require": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"default": "./dist/index.cjs"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
40
25
|
},
|
|
41
|
-
"
|
|
26
|
+
"main": "dist/index.cjs",
|
|
27
|
+
"module": "lib/index.mjs",
|
|
28
|
+
"types": "dist/index.d.ts",
|
|
29
|
+
"c8": {
|
|
42
30
|
"all": true,
|
|
43
31
|
"cache-dir": "nyc/.cache",
|
|
44
32
|
"exclude": [
|
|
45
|
-
"src/test
|
|
46
|
-
"dist/test
|
|
33
|
+
"src/test/**/*.*ts",
|
|
34
|
+
"dist/test/**/*.*js"
|
|
47
35
|
],
|
|
48
36
|
"exclude-after-remap": false,
|
|
49
37
|
"include": [
|
|
50
|
-
"src
|
|
51
|
-
"dist
|
|
38
|
+
"src/**/*.*ts",
|
|
39
|
+
"dist/**/*.*js"
|
|
52
40
|
],
|
|
53
41
|
"report-dir": "nyc/report",
|
|
54
42
|
"reporter": [
|
|
@@ -59,40 +47,87 @@
|
|
|
59
47
|
"temp-directory": "nyc/.nyc_output"
|
|
60
48
|
},
|
|
61
49
|
"dependencies": {
|
|
62
|
-
"@
|
|
63
|
-
"@fluidframework/core-interfaces": "1.
|
|
64
|
-
"@fluidframework/
|
|
65
|
-
"@fluidframework/
|
|
66
|
-
"@fluidframework/
|
|
67
|
-
"@fluidframework/
|
|
68
|
-
"@fluidframework/
|
|
50
|
+
"@fluid-internal/client-utils": "2.0.0-dev-rc.1.0.0.224419",
|
|
51
|
+
"@fluidframework/core-interfaces": "2.0.0-dev-rc.1.0.0.224419",
|
|
52
|
+
"@fluidframework/core-utils": "2.0.0-dev-rc.1.0.0.224419",
|
|
53
|
+
"@fluidframework/datastore-definitions": "2.0.0-dev-rc.1.0.0.224419",
|
|
54
|
+
"@fluidframework/driver-utils": "2.0.0-dev-rc.1.0.0.224419",
|
|
55
|
+
"@fluidframework/protocol-definitions": "^3.1.0-223007",
|
|
56
|
+
"@fluidframework/runtime-definitions": "2.0.0-dev-rc.1.0.0.224419",
|
|
57
|
+
"@fluidframework/shared-object-base": "2.0.0-dev-rc.1.0.0.224419"
|
|
69
58
|
},
|
|
70
59
|
"devDependencies": {
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"@
|
|
74
|
-
"@fluidframework/
|
|
75
|
-
"@fluidframework/
|
|
76
|
-
"@fluidframework/
|
|
77
|
-
"@fluidframework/test-
|
|
78
|
-
"@
|
|
79
|
-
"@
|
|
60
|
+
"@arethetypeswrong/cli": "^0.13.3",
|
|
61
|
+
"@fluid-private/test-dds-utils": "2.0.0-dev-rc.1.0.0.224419",
|
|
62
|
+
"@fluid-tools/build-cli": "0.29.0-222379",
|
|
63
|
+
"@fluidframework/build-common": "^2.0.3",
|
|
64
|
+
"@fluidframework/build-tools": "0.29.0-222379",
|
|
65
|
+
"@fluidframework/eslint-config-fluid": "^3.1.0",
|
|
66
|
+
"@fluidframework/mocha-test-setup": "2.0.0-dev-rc.1.0.0.224419",
|
|
67
|
+
"@fluidframework/register-collection-previous": "npm:@fluidframework/register-collection@2.0.0-internal.7.2.0",
|
|
68
|
+
"@fluidframework/test-runtime-utils": "2.0.0-dev-rc.1.0.0.224419",
|
|
69
|
+
"@microsoft/api-extractor": "^7.38.3",
|
|
80
70
|
"@types/mocha": "^9.1.1",
|
|
81
|
-
"@types/node": "^
|
|
82
|
-
"
|
|
83
|
-
"copyfiles": "^2.1
|
|
84
|
-
"cross-env": "^7.0.
|
|
85
|
-
"eslint": "~8.
|
|
86
|
-
"mocha": "^10.
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
71
|
+
"@types/node": "^18.19.0",
|
|
72
|
+
"c8": "^7.7.1",
|
|
73
|
+
"copyfiles": "^2.4.1",
|
|
74
|
+
"cross-env": "^7.0.3",
|
|
75
|
+
"eslint": "~8.50.0",
|
|
76
|
+
"mocha": "^10.2.0",
|
|
77
|
+
"mocha-json-output-reporter": "^2.0.1",
|
|
78
|
+
"mocha-multi-reporters": "^1.5.1",
|
|
79
|
+
"moment": "^2.21.0",
|
|
80
|
+
"prettier": "~3.0.3",
|
|
81
|
+
"renamer": "^4.0.0",
|
|
82
|
+
"replace-in-file": "^6.3.5",
|
|
83
|
+
"rimraf": "^4.4.0",
|
|
84
|
+
"tsc-multi": "^1.1.0",
|
|
85
|
+
"typescript": "~5.1.6"
|
|
86
|
+
},
|
|
87
|
+
"fluidBuild": {
|
|
88
|
+
"tasks": {
|
|
89
|
+
"build:docs": {
|
|
90
|
+
"dependsOn": [
|
|
91
|
+
"...",
|
|
92
|
+
"api-extractor:commonjs",
|
|
93
|
+
"api-extractor:esnext"
|
|
94
|
+
],
|
|
95
|
+
"script": false
|
|
96
|
+
}
|
|
97
|
+
}
|
|
91
98
|
},
|
|
92
99
|
"typeValidation": {
|
|
93
|
-
"version": "1.4.0",
|
|
94
|
-
"baselineRange": "~1.3.0",
|
|
95
|
-
"baselineVersion": "1.3.1",
|
|
96
100
|
"broken": {}
|
|
101
|
+
},
|
|
102
|
+
"scripts": {
|
|
103
|
+
"api": "fluid-build . --task api",
|
|
104
|
+
"api-extractor:commonjs": "api-extractor run --local",
|
|
105
|
+
"api-extractor:esnext": "copyfiles -u 1 \"dist/**/*-@(alpha|beta|public|untrimmed).d.ts\" lib",
|
|
106
|
+
"build": "fluid-build . --task build",
|
|
107
|
+
"build:commonjs": "fluid-build . --task commonjs",
|
|
108
|
+
"build:compile": "fluid-build . --task compile",
|
|
109
|
+
"build:docs": "fluid-build . --task api",
|
|
110
|
+
"build:esnext": "tsc-multi --config ../../../common/build/build-common/tsc-multi.esm.json",
|
|
111
|
+
"build:genver": "gen-version",
|
|
112
|
+
"build:rename-types": "renamer \"lib/**\" -f .d.ts -r .d.mts --force",
|
|
113
|
+
"build:test": "tsc-multi --config ./tsc-multi.test.json",
|
|
114
|
+
"check:are-the-types-wrong": "attw --pack",
|
|
115
|
+
"check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
|
|
116
|
+
"ci:build:docs": "api-extractor run",
|
|
117
|
+
"clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
118
|
+
"eslint": "eslint --format stylish src",
|
|
119
|
+
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
120
|
+
"format": "npm run prettier:fix",
|
|
121
|
+
"lint": "npm run prettier && npm run check:release-tags && npm run eslint",
|
|
122
|
+
"lint:fix": "npm run prettier:fix && npm run eslint:fix",
|
|
123
|
+
"prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
124
|
+
"prettier:fix": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
125
|
+
"test": "npm run test:mocha",
|
|
126
|
+
"test:coverage": "c8 npm test",
|
|
127
|
+
"test:mocha": "mocha --ignore \"dist/test/types/*\" --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup",
|
|
128
|
+
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
129
|
+
"tsc": "tsc-multi --config ../../../common/build/build-common/tsc-multi.cjs.json",
|
|
130
|
+
"typetests:gen": "fluid-type-test-generator",
|
|
131
|
+
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
97
132
|
}
|
|
98
|
-
}
|
|
133
|
+
}
|