@teambit/builder 1.0.228 → 1.0.229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_pipelines_builder-preview.js +1 -1
- package/artifacts/schema.json +706 -180
- package/dist/artifact/artifact-definition.d.ts +65 -0
- package/dist/artifact/artifact-extractor.d.ts +35 -0
- package/dist/artifact/artifact-factory.d.ts +20 -0
- package/dist/artifact/artifact-list.d.ts +52 -0
- package/dist/artifact/artifact.d.ts +59 -0
- package/dist/artifact/artifacts.cmd.d.ts +26 -0
- package/dist/artifact/extension-artifact.d.ts +10 -0
- package/dist/artifact/fs-artifact.d.ts +18 -0
- package/dist/artifact/index.d.ts +6 -0
- package/dist/build-pipe.d.ts +75 -0
- package/dist/build-pipeline-order.d.ts +35 -0
- package/dist/build-pipeline-result-list.d.ts +34 -0
- package/dist/build-task.d.ts +128 -0
- package/dist/build.cmd.d.ts +39 -0
- package/dist/builder-env-type.d.ts +15 -0
- package/dist/builder.aspect.d.ts +2 -0
- package/dist/builder.composition.d.ts +1 -0
- package/dist/builder.graphql.d.ts +102 -0
- package/dist/builder.main.runtime.d.ts +153 -0
- package/dist/builder.route.d.ts +20 -0
- package/dist/builder.service.d.ts +105 -0
- package/dist/exceptions/artifact-definition-no-glob.d.ts +3 -0
- package/dist/exceptions/artifact-storage-error.d.ts +7 -0
- package/dist/exceptions/capsule-not-found.d.ts +5 -0
- package/dist/exceptions/index.d.ts +3 -0
- package/dist/exceptions/invalid-task.d.ts +5 -0
- package/dist/index.d.ts +19 -0
- package/dist/pipeline/index.d.ts +1 -0
- package/dist/pipeline/pipeline-results.d.ts +2 -0
- package/dist/pipeline.d.ts +43 -0
- package/dist/{preview-1712805335812.js → preview-1712822929999.js} +2 -2
- package/dist/storage/default-resolver.d.ts +7 -0
- package/dist/storage/index.d.ts +2 -0
- package/dist/storage/s3-resolver.d.ts +0 -0
- package/dist/storage/storage-resolver.d.ts +26 -0
- package/dist/task-results-list.d.ts +22 -0
- package/dist/task.d.ts +44 -0
- package/dist/tasks-queue.d.ts +16 -0
- package/dist/templates/build-task/files/index-file.d.ts +2 -0
- package/dist/templates/build-task/files/task-file.d.ts +2 -0
- package/dist/templates/build-task/index.d.ts +2 -0
- package/dist/types.d.ts +32 -0
- package/package.json +18 -18
- package/tsconfig.json +1 -49
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Component } from '@teambit/component';
|
|
2
|
+
export type TaskMetadata = {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
};
|
|
5
|
+
export type ComponentResult = {
|
|
6
|
+
/**
|
|
7
|
+
* instance of the component
|
|
8
|
+
*/
|
|
9
|
+
component: Component;
|
|
10
|
+
/**
|
|
11
|
+
* metadata generated during component build.
|
|
12
|
+
* this eventually gets saved into `aspectsData` prop of the builder aspect data.
|
|
13
|
+
* it can be retrieved later on by `builder.getDataByAspect()` method.
|
|
14
|
+
*/
|
|
15
|
+
metadata?: TaskMetadata;
|
|
16
|
+
/**
|
|
17
|
+
* returning errors from build tasks will cause a pipeline failure and logs all returned errors.
|
|
18
|
+
*/
|
|
19
|
+
errors?: Array<Error | string>;
|
|
20
|
+
/**
|
|
21
|
+
* warnings generated throughout the build task.
|
|
22
|
+
*/
|
|
23
|
+
warnings?: string[];
|
|
24
|
+
/**
|
|
25
|
+
* timestamp in milliseconds when the task started
|
|
26
|
+
*/
|
|
27
|
+
startTime?: number;
|
|
28
|
+
/**
|
|
29
|
+
* timestamp in milliseconds when the task ended
|
|
30
|
+
*/
|
|
31
|
+
endTime?: number;
|
|
32
|
+
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/builder",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.229",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/pipelines/builder",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.pipelines",
|
|
8
8
|
"name": "builder",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.229"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -26,23 +26,23 @@
|
|
|
26
26
|
"@teambit/harmony": "0.4.6",
|
|
27
27
|
"@teambit/bit-error": "0.0.404",
|
|
28
28
|
"@teambit/component-id": "1.2.0",
|
|
29
|
-
"@teambit/component": "1.0.
|
|
30
|
-
"@teambit/envs": "1.0.
|
|
31
|
-
"@teambit/logger": "0.0.
|
|
29
|
+
"@teambit/component": "1.0.229",
|
|
30
|
+
"@teambit/envs": "1.0.229",
|
|
31
|
+
"@teambit/logger": "0.0.955",
|
|
32
32
|
"@teambit/toolbox.string.capitalize": "0.0.496",
|
|
33
|
-
"@teambit/tester": "1.0.
|
|
34
|
-
"@teambit/isolator": "1.0.
|
|
35
|
-
"@teambit/cli": "0.0.
|
|
36
|
-
"@teambit/workspace": "1.0.
|
|
37
|
-
"@teambit/aspect-loader": "1.0.
|
|
38
|
-
"@teambit/aspect": "1.0.
|
|
39
|
-
"@teambit/generator": "1.0.
|
|
40
|
-
"@teambit/global-config": "0.0.
|
|
41
|
-
"@teambit/graphql": "1.0.
|
|
42
|
-
"@teambit/scope": "1.0.
|
|
33
|
+
"@teambit/tester": "1.0.229",
|
|
34
|
+
"@teambit/isolator": "1.0.229",
|
|
35
|
+
"@teambit/cli": "0.0.862",
|
|
36
|
+
"@teambit/workspace": "1.0.229",
|
|
37
|
+
"@teambit/aspect-loader": "1.0.229",
|
|
38
|
+
"@teambit/aspect": "1.0.229",
|
|
39
|
+
"@teambit/generator": "1.0.230",
|
|
40
|
+
"@teambit/global-config": "0.0.865",
|
|
41
|
+
"@teambit/graphql": "1.0.229",
|
|
42
|
+
"@teambit/scope": "1.0.229",
|
|
43
43
|
"@teambit/toolbox.array.duplications-finder": "0.0.1",
|
|
44
|
-
"@teambit/ui": "1.0.
|
|
45
|
-
"@teambit/express": "0.0.
|
|
44
|
+
"@teambit/ui": "1.0.229",
|
|
45
|
+
"@teambit/express": "0.0.961"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/lodash": "4.14.165",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@types/minimatch": "3.0.4",
|
|
53
53
|
"@types/mocha": "9.1.0",
|
|
54
54
|
"chai": "4.3.0",
|
|
55
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
|
55
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.33",
|
|
56
56
|
"@teambit/pipelines.aspect-docs.builder": "0.0.167"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
package/tsconfig.json
CHANGED
|
@@ -20,8 +20,7 @@
|
|
|
20
20
|
"emitDeclarationOnly": true,
|
|
21
21
|
"strict": true,
|
|
22
22
|
"strictPropertyInitialization": false,
|
|
23
|
-
"noImplicitAny": false
|
|
24
|
-
"composite": true
|
|
23
|
+
"noImplicitAny": false
|
|
25
24
|
},
|
|
26
25
|
"exclude": [
|
|
27
26
|
"artifacts",
|
|
@@ -36,52 +35,5 @@
|
|
|
36
35
|
"include": [
|
|
37
36
|
"**/*",
|
|
38
37
|
"**/*.json"
|
|
39
|
-
],
|
|
40
|
-
"references": [
|
|
41
|
-
{
|
|
42
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.228"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_envs@1.0.228"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.954"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_tester@1.0.228"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_isolator@1.0.228"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.861"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.228"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_aspect-loader@1.0.228"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_aspect@1.0.228"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.generator_generator@1.0.229"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_global-config@0.0.864"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_graphql@1.0.228"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.228"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_ui@1.0.228"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_express@0.0.960"
|
|
85
|
-
}
|
|
86
38
|
]
|
|
87
39
|
}
|