-
Notifications
You must be signed in to change notification settings - Fork 682
Expand file tree
/
Copy pathheft.json
More file actions
104 lines (97 loc) · 3.32 KB
/
heft.json
File metadata and controls
104 lines (97 loc) · 3.32 KB
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
/**
* Defines configuration used by core Heft.
*/
{
"$schema": "https://developer.microsoft.com/json-schemas/heft/v0/heft.schema.json",
"extends": "local-node-rig/profiles/default/config/heft.json",
// TODO: Add comments
"phasesByName": {
"build": {
"cleanFiles": [{ "includeGlobs": ["lib-intermediate-commonjs", "lib-intermediate-esm"] }],
"tasksByName": {
"copy-mock-flush-telemetry-plugin": {
"taskDependencies": ["typescript"],
"taskPlugin": {
"pluginPackage": "@rushstack/heft",
"pluginName": "copy-files-plugin",
"options": {
"copyOperations": [
{
"sourcePath": "lib-intermediate-commonjs/cli/test/rush-mock-flush-telemetry-plugin",
"destinationFolders": [
"lib-intermediate-commonjs/cli/test/tapFlushTelemetryAndRunBuildActionRepo/common/autoinstallers/plugins/node_modules/rush-mock-flush-telemetry-plugin"
],
"fileExtensions": [".json", ".js", ".map"],
"hardlink": true
},
{
"sourcePath": "src/cli/test",
"destinationFolders": ["lib-intermediate-commonjs/cli/test"],
"fileExtensions": [".js", ".yaml"]
},
{
"sourcePath": "src/logic/pnpm/test",
"destinationFolders": ["lib-intermediate-commonjs/logic/pnpm/test"],
"fileExtensions": [".yaml"]
},
{
"sourcePath": "src/logic/test",
"destinationFolders": ["lib-intermediate-commonjs/logic/test"],
"includeGlobs": ["**/.mergequeueignore"]
}
]
}
}
},
"copy-empty-modules": {
"taskDependencies": ["typescript"],
"taskPlugin": {
"pluginPackage": "@rushstack/heft",
"pluginName": "run-script-plugin",
"options": {
"scriptPath": "./scripts/copyEmptyModules.js"
}
}
},
"copy-legacy-compatibility-index-js": {
"taskDependencies": ["typescript"],
"taskPlugin": {
"pluginPackage": "@rushstack/heft",
"pluginName": "copy-files-plugin",
"options": {
"copyOperations": [
{
"sourcePath": "src/legacy-compatibility",
"destinationFolders": ["lib"],
"includeGlobs": ["*"]
}
]
}
}
},
"webpack": {
"taskDependencies": ["typescript"],
"taskPlugin": {
"pluginPackage": "@rushstack/heft-webpack5-plugin"
}
},
"copy-json-schemas": {
"taskPlugin": {
"pluginPackage": "@rushstack/heft",
"pluginName": "copy-files-plugin",
"options": {
"copyOperations": [
{
"sourcePath": "src/schemas",
"destinationFolders": ["temp/json-schemas/rush/v5"],
"fileExtensions": [".schema.json"],
"hardlink": true
}
]
}
}
}
}
}
}
}