-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathlage.config.js
63 lines (63 loc) · 1.49 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
54
55
56
57
58
59
60
61
62
63
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @type {import("lage").ConfigOptions } */
module.exports = {
pipeline: {
build: {
dependsOn: ["^build"],
inputs: ["./src/**/*.*", "package.json"],
outputs: ["./lib", "./build"],
},
test: {
dependsOn: ["build"],
outputs: [],
inputs: ["lib/**"],
},
"test:e2e": {
dependsOn: ["test-viewer#build"],
outputs: [],
inputs: [],
},
cover: {
dependsOn: ["build"],
outputs: [],
inputs: ["lib/**"],
},
lint: {
dependsOn: ["build"],
outputs: [],
inputs: ["src/**"],
},
"extract-api": {
dependsOn: ["build"],
outputs: ["./api/**"],
inputs: ["src/**"],
},
"check-internal": {
dependsOn: ["extract-api"],
outputs: [],
inputs: ["api/**"],
},
docs: {
dependsOn: ["build"],
outputs: ["build/docs/**"],
inputs: ["src/**"],
},
"update-extractions": {
cache: false,
dependsOn: [],
outputs: ["learning/**"],
},
"check-extractions": {
cache: false,
dependsOn: [],
outputs: [],
},
clean: {
cache: false,
},
},
cache: true,
};