-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlage.config.js
executable file
·53 lines (44 loc) · 1.18 KB
/
lage.config.js
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
/**
* For configuration documentation @see https://microsoft.github.io/lage/guide/config.html
*/
module.exports = {
npmClient: 'npm',
pipeline: {
build: ['^build'],
lint: [],
},
/**
* Ignores these minimatch patterns when considers what packages have changed for the
* --since flag.
*/
ignore: ['README.md'],
/**
* Optional priority to set on tasks in a package to make the scheduler give priority to
* tasks on the critical path for high priority tasks.
*/
/**
* Disables --since flag when any of this list of files changed.
* */
repoWideChanges: [
'lage.config.js',
'tsconfig.json',
'.eslintrc',
'.eslintignore',
'.prettierrc',
'.prettierignore',
],
/**
* All of these options are sent to `backfill`.
* @see https://github.com/microsoft/backfill/blob/master/README.md
*/
cacheOptions: {
cacheStorageConfig: { provider: 'local' },
internalCacheFolder: '.cache/backfill',
logFolder: '.cache/backfill',
/**
* Subset of files in package directories that will be saved into the cache.
*/
outputGlob: ['lib/**/*', 'build/**/*', 'dist/**/*'],
producePerformanceLogs: true,
},
};