forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
197 lines (197 loc) · 10.4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
"name": "root",
"version": "2.0.0-internal.5.3.0",
"private": true,
"homepage": "https://fluidframework.com",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/FluidFramework.git",
"directory": ""
},
"license": "MIT",
"author": "Microsoft and contributors",
"scripts": {
"build": "npm run policy-check && npm run layer-check && fluid-build --task build",
"build:compile": "fluid-build --task compile",
"build:docs": "fluid-build --task build:docs",
"build:fast": "fluid-build --task build --worker",
"build:full": "fluid-build --task full",
"build:full:compile": "fluid-build --task compile --task webpack",
"build:gendocs": "copyfiles server/routerlicious/_api-extractor-temp/** ./_api-extractor-temp/doc-models/ -f -V && cd docs && npm run build",
"bump-version": "fluid-bump-version --root .",
"bundle-analysis:collect": "npm run webpack:profile && flub generate bundleStats",
"bundle-analysis:run": "flub run bundleStats --dangerfile build-tools/packages/build-cli/lib/lib/dangerfile.js",
"changeset": "flub changeset add",
"check:versions": "flub check buildVersion -g client --path .",
"ci:build": "fluid-build --task ci:build",
"ci:test:jest": "npm run test:jest:report",
"ci:test:jest:coverage": "c8 --no-clean npm run test:jest:report",
"ci:test:mocha": "npm run test:mocha:report",
"ci:test:mocha:coverage": "c8 --no-clean npm run test:mocha:report",
"ci:test:realsvc:local": "pnpm run -r --no-sort --stream --no-bail test:realsvc:local:report",
"ci:test:realsvc:local:coverage": "c8 --no-clean pnpm recursive --no-sort --stream --no-bail run test:realsvc:local:report",
"ci:test:realsvc:local:full": "pnpm run -r --no-sort --stream --no-bail test:realsvc:local:report:full",
"ci:test:realsvc:local:full:coverage": "c8 --no-clean pnpm recursive --no-sort --stream --no-bail run test:realsvc:local:report:full",
"ci:test:realsvc:tinylicious": "pnpm run -r --no-sort --stream --no-bail test:realsvc:tinylicious:report",
"ci:test:realsvc:tinylicious:coverage": "c8 --no-clean pnpm run -r --no-sort --stream --no-bail test:realsvc:tinylicious:report ",
"ci:test:realsvc:tinylicious:full": "pnpm run -r --no-sort --stream --no-bail test:realsvc:tinylicious:report:full",
"ci:test:realsvc:tinylicious:full:coverage": "c8 --no-clean pnpm run -r --no-sort --stream --no-bail test:realsvc:tinylicious:report:full",
"ci:test:stress:tinylicious": "pnpm run -r --no-sort --stream --no-bail test:stress:tinylicious:report ",
"ci:test:stress:tinylicious:coverage": "c8 --no-clean pnpm run -r --no-sort --stream --no-bail test:stress:tinylicious:report ",
"clean": "pnpm run -r --no-sort --stream clean && npm run clean:docs && npm run clean:nyc",
"clean:docs": "rimraf **/_api-extractor-temp docs/api/*/**",
"clean:nyc": "rimraf nyc/**",
"clean:r11s": "cd server/routerlicious && npm run clean",
"format": "npm run prettier:root:fix && pnpm run -r --no-sort --stream format",
"format:changed": "npm run format:changed:main",
"format:changed:main": "pretty-quick --branch main",
"format:changed:next": "pretty-quick --branch next",
"format:repo": "npm run prettier:repo:fix",
"generate:upcoming": "flub generate upcoming --releaseGroup client -t minor",
"preinstall": "node scripts/only-pnpm.cjs",
"layer-check": "flub check layers --info layerInfo.json",
"lint": "npm run syncpack:deps && npm run syncpack:versions && npm run prettier:root && npm run ci:eslint",
"lint:fix": "npm run prettier:root:fix && pnpm run -r --no-sort --stream lint:fix",
"policy-check": "flub check policy",
"policy-check-help": "echo Detect (and error on) policy-check violations, like package.json sorting, copyright headers etc. Excludes assert-short-code. Run the check or \"pnpm flub check policy --listHandlers\" for a full list.",
"policy-check:asserts": "flub check policy --handler assert-short-codes --fix",
"policy-check:fix": "flub check policy --excludeHandler assert-short-codes --fix",
"policy-check:fix-help": "echo Fix policy-check violations excludes assert-short-code/",
"prettier": "npm run prettier:root && pnpm run -r --no-sort --stream prettier",
"prettier:fix": "npm run prettier:root:fix && pnpm run -r --no-sort --stream prettier:fix",
"prettier:repo": "prettier --check . --ignore-path ./.prettierignore",
"prettier:repo:fix": "prettier --write . --ignore-path ./.prettierignore",
"prettier:root": "prettier --check ./*.* --ignore-path .prettierignore",
"prettier:root:fix": "prettier --write ./*.* --ignore-path .prettierignore",
"restart": "cd server/routerlicious && npm run restart",
"start:docker": "docker-compose -f server/docker-compose.yml up",
"stop:docker": "docker-compose -f server/docker-compose.yml down",
"stop:docker:full": "docker-compose -f server/docker-compose.yml down && docker volume prune --force",
"syncpack:deps": "syncpack lint-semver-ranges",
"syncpack:deps:fix": "syncpack set-semver-ranges",
"syncpack:versions": "syncpack list-mismatches",
"syncpack:versions:fix": "syncpack fix-mismatches",
"test": "npm run test:mocha && npm run test:jest && npm run test:realsvc && npm run test:stress",
"test:bail": "npm run test:mocha:bail && npm run test:jest:bail",
"test:benchmark:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/benchmarkOutput/**\" benchmarkOutput",
"test:benchmark:report": "pnpm run -r --no-sort --stream --no-bail test:benchmark:report --reporterOptions reportDir=./benchmarkOutput",
"test:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/nyc/**\" nyc",
"test:coverage": "c8 npm run test",
"test:fromroot": "mocha \"packages/**/dist/test/**/*.spec.js\" --exit",
"test:jest": "assign-test-ports && pnpm run -r --no-sort --stream --no-bail test:jest --color",
"test:jest:bail": "assign-test-ports && pnpm run -r --no-sort --stream test:jest",
"test:jest:report": "assign-test-ports && pnpm run -r --no-sort --stream --no-bail test:jest --ci --reporters=default --reporters=jest-junit",
"test:memory-profiling:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/memoryProfilingOutput/**\" memoryProfilingOutput",
"test:memory-profiling:report": "pnpm run -r --no-sort --stream --no-bail test:memory-profiling:report -- --reporterOptions reportDir=./memoryProfilingOutput",
"test:mocha": "pnpm run -r --no-sort --stream --no-bail test:mocha --color",
"test:mocha:bail": "pnpm run -r --no-sort --stream test:mocha",
"test:mocha:report": "pnpm run -r --no-sort --stream --no-bail test:mocha:multireport -- --timeout 4s",
"test:realsvc": "pnpm run -r --no-sort --stream --no-bail test:realsvc",
"test:stress": "pnpm run -r --no-sort --stream --no-bail test:stress",
"tsc": "fluid-build --root . --task tsc",
"tsc:fast": "fluid-build --root . --task tsc --worker",
"typetests:gen": "pnpm -r typetests:gen",
"typetests:prepare": "flub typetests -g client --reset --previous --normalize",
"watch": "concurrently \"npm run watch:tsc\" \"npm run watch:esnext\" \"npm run watch:webpack\"",
"watch:esnext": "pnpm run -r --parallel build:esnext --watch",
"watch:tsc": "pnpm run -r --parallel tsc --watch",
"watch:webpack": "pnpm run -r --parallel webpack --watch",
"webpack": "fluid-build --task webpack",
"webpack:profile": "fluid-build --task webpack:profile"
},
"c8": {
"all": true,
"cache-dir": "nyc/.cache",
"exclude": [
"**/*.d.ts",
"**/src/test/**/*.ts",
"**/dist/test/**/*.js",
"experimental/examples/**",
"experimental/PropertyDDS/examples/**",
"**/*.bundle.js"
],
"exclude-after-remap": false,
"extension": [
".ts",
".tsx",
".js",
".jsx"
],
"include": [
"packages/**/src/**/*.ts",
"packages/**/dist/**/*.js",
"experimental/**/src/**/*.ts",
"experimental/**/dist/**/*.js"
],
"report-dir": "nyc/report",
"reporter": [
"cobertura",
"html",
"text"
],
"temp-directory": "nyc/.nyc_output"
},
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@fluid-internal/changelog-generator-wrapper": "file:tools/changelog-generator-wrapper",
"@fluid-tools/build-cli": "^0.21.0",
"@fluidframework/build-common": "^1.2.0",
"@fluidframework/build-tools": "^0.21.0",
"@fluidframework/eslint-config-fluid": "^2.0.0",
"@fluidframework/test-tools": "^0.2.158186",
"@microsoft/api-documenter": "^7.21.6",
"@microsoft/api-extractor": "^7.34.4",
"@octokit/core": "^4.0.5",
"auto-changelog": "^2.4.0",
"c8": "^7.7.1",
"changesets-format-with-issue-links": "^0.3.0",
"concurrently": "^7.6.0",
"copyfiles": "^2.4.1",
"danger": "^10.9.0",
"eslint": "~8.6.0",
"jest": "^26.6.3",
"mocha": "^10.2.0",
"prettier": "~2.6.2",
"pretty-quick": "^3.1.3",
"rimraf": "^4.4.0",
"run-script-os": "^1.1.6",
"syncpack": "^9.8.4",
"typescript": "~4.5.5"
},
"packageManager": "[email protected]+sha512.c28d73f0d82a6c4712a40b91aa43d7397e119b16f35e5e75fe9b7e8fd4f2fc6dfbb68bb3ffac3473a958bbafa7888b79ec384ad122537378089a3a2a19b9900e",
"engines": {
"node": ">=16.16.0",
"pnpm": "7"
},
"pnpm": {
"comments": [
"nodegit is replaced with an empty package here because it's currently only used by good-fences for features we do not need, and has issues building when changing node versions. See https://github.com/smikula/good-fences/issues/105 for details.",
"codemirror and marked overrides are because simplemde use * versions, and the fully up to date versions of its deps do not work. packageExtensions was tried to fix this, but did not work.",
"npm-package-json-lint overrides is here because 6.4 updates type-fest such that it requires typescript 4.7",
"Fixing the react related type version here avoids a compile error in [email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/office-ui-fabric-react/lib/components/Tooltip/Tooltip.types.d.ts",
"Fixing the @oclif/core version avoids a large number of peer dep errors since 2.6 adds a prod dep on ts-node and thus a peer dep on @types/node"
],
"overrides": {
"@types/node": "^14.18.38",
"node-fetch": "^2.6.9",
"good-fences>nodegit": "npm:[email protected]",
"qs": "^6.11.0",
"simplemde>codemirror": "^5.65.11",
"simplemde>marked": "^4.3.0",
"@fluidframework/build-tools>npm-package-json-lint@^6.0.0": "~6.3.0",
"@types/react": "17.0.52",
"@types/react-dom": "17.0.18",
"@oclif/core": "~2.4.0"
},
"peerDependencyRules": {
"allowedVersions": {
"react": "17.0.2",
"react-dom": "17.0.2",
"webpack": "^5.82.0"
},
"ignoreMissing": [
"fluid-framework"
]
}
}
}