-
Notifications
You must be signed in to change notification settings - Fork 535
/
package.json
127 lines (127 loc) · 6 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
{
"name": "server-release-group-root",
"version": "6.0.0",
"private": true,
"homepage": "https://fluidframework.com",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/FluidFramework.git",
"directory": "server/routerlicious"
},
"license": "MIT",
"author": "Microsoft and contributors",
"scripts": {
"build": "npm run policy-check && npm run layer-check && pnpm run generate:packageList && fluid-build -g server --task build",
"build:compile": "fluid-build -g server --task compile",
"build:docs": "fluid-build -g server --task build:docs",
"build:fast": "fluid-build -g server --task build --worker",
"build:gendocs": "api-documenter markdown -i _api-extractor-temp/doc-models -o docs/api",
"build:genver": "pnpm run -r --no-sort --stream build:genver",
"changeset": "flub changeset add --releaseGroup server",
"check:versions": "flub check buildVersion -g server --path .",
"ci:build": "npm run build:genver && pnpm run -r --stream build:compile",
"ci:build:docs": "pnpm run -r --no-sort --stream ci:build:docs",
"ci:eslint": "pnpm run -r --no-sort --stream --no-bail eslint",
"ci:test": "npm run test:report;t1=$?;npm run test:copyresults; exit $t1",
"ci:test:coverage": "npm run test:coverage;t1=$?;npm run test:copyresults; exit $t1",
"clean": "pnpm run -r --no-sort --stream clean && npm run clean:docs && npm run clean:nyc",
"clean:docs": "rimraf --glob \"**/_api-extractor-temp\"",
"clean:nyc": "rimraf --glob \"nyc/**\"",
"docker-build": "docker compose build",
"docker-clean": "docker compose down --rmi local -v",
"eslint": "fluid-build --task eslint",
"eslint:fix": "fluid-build --task eslint:fix",
"format": "npm run prettier:fix",
"generate:packageList": "concurrently npm:generate:packageList:*",
"generate:packageList:internal-build": "flub list server --no-private --feed internal-build --outFile feeds/internal-build.txt",
"generate:packageList:internal-dev": "flub list server --no-private --feed internal-dev --outFile feeds/internal-dev.txt",
"generate:packageList:internal-test": "flub list server --no-private --feed internal-test --outFile feeds/internal-test.txt",
"generate:packageList:public": "flub list server --no-private --feed public --outFile feeds/public.txt",
"preinstall": "node scripts/only-pnpm.cjs",
"layer-check": "cd ../.. && npm run layer-check",
"lint": "npm run prettier && npm run ci:eslint",
"lint:fix": "npm run prettier:fix && pnpm run -r --no-sort --stream lint:fix",
"policy-check": "cd ../.. && npm run policy-check",
"policy-check:asserts": "cd ../.. && npm run policy-check:asserts",
"policy-check:fix": "cd ../.. && npm run policy-check:fix",
"prettier": "prettier --check . --cache --ignore-path ./.prettierignore",
"prettier:fix": "prettier --write . --cache --ignore-path ./.prettierignore",
"restart": "docker compose restart alfred && docker-compose restart deli && docker-compose restart scriptorium",
"start": "docker compose -f docker-compose.yml -f docker-compose.dev.yml up",
"start:debug": "docker compose -f docker-compose.yml -f docker-compose.dev.yml -f docker-compose.debug.yml up",
"start:debug:service": "docker compose -f docker-compose.service.yml -f docker-compose.dev.yml -f docker-compose.debug.yml up -V",
"start:rdkafka": "docker compose -f docker-compose.rdkafka.yml -f docker-compose.dev.yml up",
"start:service": "docker compose -f docker-compose.service.yml -f docker-compose.dev.yml up -V",
"stop": "docker compose down",
"stop:full": "docker compose down -v",
"test": "pnpm run -r --no-sort --stream --no-bail test",
"test:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/nyc/**\" nyc",
"test:coverage": "c8 npm run test:report",
"test:fromroot": "mocha \"packages/**/dist/test/**/*.spec.*js\" --exit",
"test:report": "pnpm run -r --no-sort --stream --no-bail test -- -- --reporter xunit --reporter-option output=nyc/junit-report.xml",
"tsc": "pnpm run -r --stream tsc",
"typetests:gen": "pnpm -r typetests:gen",
"typetests:prepare": "flub typetests -g server --reset --normalize",
"watch": "concurrently \"npm run watch:tsc\" \"npm run watch:esnext\"",
"watch:esnext": "pnpm run -r --no-sort --stream build:esnext -- -- --watch",
"watch:tsc": "pnpm run -r --no-sort --stream tsc -- -- --watch"
},
"c8": {
"all": true,
"cache-dir": "nyc/.cache",
"exclude": [],
"include": [],
"report-dir": "nyc/report",
"reporter": [
"cobertura",
"html",
"text"
],
"temp-directory": "nyc/.nyc_output"
},
"devDependencies": {
"@changesets/cli": "^2.27.8",
"@fluid-private/changelog-generator-wrapper": "file:../../packages/tools/changelog-generator-wrapper",
"@fluid-tools/build-cli": "^0.38.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.38.0",
"@microsoft/api-documenter": "^7.21.6",
"@microsoft/api-extractor": "^7.45.1",
"c8": "^8.0.1",
"changesets-format-with-issue-links": "^0.3.0",
"concurrently": "^8.2.1",
"copyfiles": "^2.4.1",
"mocha": "^10.2.0",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"run-script-os": "^1.1.5",
"typescript": "~5.1.6"
},
"packageManager": "[email protected]+sha512.d1a029e1a447ad90bc96cd58b0fad486d2993d531856396f7babf2d83eb1823bb83c5a3d0fc18f675b2d10321d49eb161fece36fe8134aa5823ecd215feed392",
"engines": {
"node": ">=14.17.0"
},
"pnpm": {
"commentsOverrides": [
"@types/node is overridden to v18 to ensure all packages are building using the v18 types."
],
"overrides": {
"@types/node@<18": "^18.19.39",
"qs": "^6.11.0",
"socket.io-parser": "^4.2.4"
},
"peerDependencyComments": [
"@types/node is a peer dependency because of build tools. The package is not needed because it's only used for compilation. It's not needed at runtime.",
"oclif includes some AWS-related features, but we don't use them, so we ignore @aws-sdk peer dependencies."
],
"peerDependencyRules": {
"ignoreMissing": [
"@types/node",
"@aws-sdk/*"
]
},
"patchedDependencies": {
"@microsoft/[email protected]": "patches/@[email protected]"
}
}
}