forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
140 lines (140 loc) · 5.93 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
{
"name": "root",
"version": "0.47.0",
"private": true,
"homepage": "https://fluidframework.com",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/FluidFramework.git",
"directory": "build-tools"
},
"license": "MIT",
"author": "Microsoft and contributors",
"scripts": {
"build": "pnpm run generate:packageList && fluid-build --task build",
"build:compile": "fluid-build --task compile",
"build:docs": "fluid-build --task build:docs",
"build:fast": "fluid-build --worker",
"changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s -r 2 --commit-path . -t build-tools_v --context lerna.json",
"check:biome": "biome check .",
"check:format": "npm run check:biome",
"ci:build": "npm run build",
"ci:eslint": "fluid-build --task eslint",
"ci:test": "npm run test:mocha",
"ci:test:coverage": "npm run test:coverage",
"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/**\"",
"commit": "git-cz",
"format": "npm run format:biome",
"format:biome": "biome check --write .",
"generate:packageList": "concurrently \"npm:generate:packageList:*\"",
"generate:packageList:internal-build": "flub list --no-private -g build-tools --feed internal-build --outFile feeds/internal-build.txt",
"generate:packageList:internal-dev": "flub list --no-private -g build-tools --feed internal-dev --outFile feeds/internal-dev.txt",
"generate:packageList:internal-test": "flub list --no-private -g build-tools --feed internal-test --outFile feeds/internal-test.txt",
"generate:packageList:public": "flub list --no-private -g build-tools --feed public --outFile feeds/public.txt",
"preinstall": "node ../scripts/only-pnpm.cjs",
"install:commitlint": "npm install --global @commitlint/config-conventional",
"lint": "npm run syncpack:deps && npm run syncpack:versions && npm run check:format && npm run ci:eslint",
"lint:fix": "npm run syncpack:deps:fix && npm run syncpack:versions:fix && npm run format && pnpm run -r --no-sort --stream lint:fix",
"packlist": "flub generate packlist -g build-tools",
"policy-check": "node packages/build-cli/bin/dev check policy",
"policy-check:asserts": "node packages/build-cli/bin/dev check policy --handler assert-short-codes --fix",
"policy-check:fix": "node packages/build-cli/bin/dev check policy --excludeHandler assert-short-codes --fix",
"syncpack:deps": "syncpack lint-semver-ranges --config syncpack.config.cjs",
"syncpack:deps:fix": "syncpack set-semver-ranges --config syncpack.config.cjs",
"syncpack:versions": "syncpack list-mismatches --config syncpack.config.cjs",
"syncpack:versions:fix": "syncpack fix-mismatches --config syncpack.config.cjs",
"test": "npm run test:mocha",
"test:bail": "npm run test:mocha:bail",
"test:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/nyc/**\" nyc",
"test:coverage": "c8 npm run test:mocha",
"test:mocha": "pnpm run -r --no-sort --stream --no-bail test:mocha --color",
"test:mocha:bail": "pnpm run -r --no-sort --stream test:mocha",
"tsc": "fluid-build --task tsc",
"tsc:fast": "fluid-build --root . --task tsc --worker",
"watch": "pnpm run -r --parallel 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": {
"@biomejs/biome": "~1.8.3",
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@commitlint/cz-commitlint": "^17.5.0",
"@fluid-tools/build-cli": "~0.44.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "~0.44.0",
"@microsoft/api-documenter": "^7.22.24",
"@microsoft/api-extractor": "^7.45.1",
"c8": "^7.14.0",
"commitizen": "^4.3.0",
"concurrently": "^8.2.1",
"conventional-changelog-cli": "^2.2.2",
"conventional-changelog-conventionalcommits": "^5.0.0",
"copyfiles": "^2.4.1",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^7.0.0",
"eslint": "~8.57.0",
"inquirer": "^8.2.5",
"rimraf": "^4.4.1",
"run-script-os": "^1.1.6",
"syncpack": "^9.8.6",
"typescript": "~5.4.5"
},
"packageManager": "[email protected]+sha512.d1a029e1a447ad90bc96cd58b0fad486d2993d531856396f7babf2d83eb1823bb83c5a3d0fc18f675b2d10321d49eb161fece36fe8134aa5823ecd215feed392",
"engines": {
"node": ">=18.17.1"
},
"dependenciesComments": {
"@fluidframework/build-tools": "Provides fluid-build which is used by the `build:fast` script. To allow this to work when the workspace version of build-tools has not been built yet, a prepackaged version is depended on. If this self-dependency becomes problematic, the `build` script can be used which does not require it."
},
"pnpm": {
"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": {
"allowedVersions": {
"eslint": "8.51.0"
},
"ignoreMissing": [
"@types/node",
"@aws-sdk/*"
]
},
"overrideComments": [
"oclif includes some AWS-related features, but we don't use them, so we override those dependencies with empty packages. This helps reduce lockfile churn since the deps release very frequently."
],
"overrides": {
"json5@<1.0.2": "^1.0.2",
"json5@>=2.0.0 <2.2.2": "^2.2.2",
"qs": "^6.11.0",
"sharp": "^0.33.2",
"oclif>@aws-sdk/client-cloudfront": "npm:[email protected]",
"oclif>@aws-sdk/client-s3": "npm:[email protected]"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
},
"updateConfig": {
"ignoreDependencies": [
"latest-version",
"read-pkg-up",
"type-fest",
"typescript"
]
}
}
}