@teambit/builder 1.0.64 → 1.0.66
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/dist/esm.d.mts +11 -0
- package/dist/esm.mjs +14 -0
- package/dist/index.d.ts +11 -7
- package/dist/index.js +0 -111
- package/dist/index.js.map +1 -1
- package/dist/{preview-1700991709206.js → preview-1701141530916.js} +2 -2
- package/esm.mjs +14 -0
- package/package.json +18 -18
package/dist/esm.d.mts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const BuilderAspect: any;
|
|
2
|
+
export const ArtifactVinyl: any;
|
|
3
|
+
export const BuildPipe: any;
|
|
4
|
+
export const CAPSULE_ARTIFACTS_DIR: any;
|
|
5
|
+
export const Pipeline: any;
|
|
6
|
+
export const TaskResultsList: any;
|
|
7
|
+
export const Artifact: any;
|
|
8
|
+
export const ArtifactList: any;
|
|
9
|
+
export const ArtifactFactory: any;
|
|
10
|
+
export default cjsModule;
|
|
11
|
+
import cjsModule from "./index.js";
|
package/dist/esm.mjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-unresolved
|
|
2
|
+
import cjsModule from './index.js';
|
|
3
|
+
|
|
4
|
+
export const BuilderAspect = cjsModule.BuilderAspect;
|
|
5
|
+
export const ArtifactVinyl = cjsModule.ArtifactVinyl;
|
|
6
|
+
export const BuildPipe = cjsModule.BuildPipe;
|
|
7
|
+
export const CAPSULE_ARTIFACTS_DIR = cjsModule.CAPSULE_ARTIFACTS_DIR;
|
|
8
|
+
export const Pipeline = cjsModule.Pipeline;
|
|
9
|
+
export const TaskResultsList = cjsModule.TaskResultsList;
|
|
10
|
+
export const Artifact = cjsModule.Artifact;
|
|
11
|
+
export const ArtifactList = cjsModule.ArtifactList;
|
|
12
|
+
export const ArtifactFactory = cjsModule.ArtifactFactory;
|
|
13
|
+
|
|
14
|
+
export default cjsModule;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import { BuilderAspect } from './builder.aspect';
|
|
2
2
|
export { ArtifactVinyl } from '@teambit/legacy/dist/consumer/component/sources/artifact';
|
|
3
|
-
export { BuildPipe
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
3
|
+
export { BuildPipe } from './build-pipe';
|
|
4
|
+
export type { TaskResults } from './build-pipe';
|
|
5
|
+
export type { ComponentResult, TaskMetadata } from './types';
|
|
6
|
+
export type { BuildContext, BuildTask, BuiltTaskResult, TaskLocation } from './build-task';
|
|
7
|
+
export { CAPSULE_ARTIFACTS_DIR } from './build-task';
|
|
6
8
|
export type { PipeName } from './builder.service';
|
|
7
9
|
export type { BuilderMain, RawBuilderData, BuilderData, OnTagOpts } from './builder.main.runtime';
|
|
8
|
-
export {
|
|
10
|
+
export type { TaskHandler } from './pipeline';
|
|
11
|
+
export { Pipeline } from './pipeline';
|
|
9
12
|
export type { PipelineReport } from './build-pipeline-result-list';
|
|
10
13
|
export type { BuilderEnv } from './builder-env-type';
|
|
11
|
-
export { WholeArtifactStorageResolver, FileStorageResolver, ArtifactStorageResolver } from './storage';
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
+
export type { WholeArtifactStorageResolver, FileStorageResolver, ArtifactStorageResolver } from './storage';
|
|
15
|
+
export type { ArtifactDefinition, ArtifactModelDefinition } from './artifact';
|
|
16
|
+
export { Artifact, ArtifactList, ArtifactFactory } from './artifact';
|
|
17
|
+
export type { Task } from './task';
|
|
14
18
|
export { TaskResultsList } from './task-results-list';
|
|
15
19
|
export { BuilderAspect, BuilderAspect as default };
|
package/dist/index.js
CHANGED
|
@@ -9,12 +9,6 @@ Object.defineProperty(exports, "Artifact", {
|
|
|
9
9
|
return _artifact2().Artifact;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
Object.defineProperty(exports, "ArtifactDefinition", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _artifact2().ArtifactDefinition;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
12
|
Object.defineProperty(exports, "ArtifactFactory", {
|
|
19
13
|
enumerable: true,
|
|
20
14
|
get: function () {
|
|
@@ -27,126 +21,42 @@ Object.defineProperty(exports, "ArtifactList", {
|
|
|
27
21
|
return _artifact2().ArtifactList;
|
|
28
22
|
}
|
|
29
23
|
});
|
|
30
|
-
Object.defineProperty(exports, "ArtifactModelDefinition", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _artifact2().ArtifactModelDefinition;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "ArtifactStorageResolver", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _storage().ArtifactStorageResolver;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
24
|
Object.defineProperty(exports, "ArtifactVinyl", {
|
|
43
25
|
enumerable: true,
|
|
44
26
|
get: function () {
|
|
45
27
|
return _artifact().ArtifactVinyl;
|
|
46
28
|
}
|
|
47
29
|
});
|
|
48
|
-
Object.defineProperty(exports, "BuildContext", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _buildTask().BuildContext;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
30
|
Object.defineProperty(exports, "BuildPipe", {
|
|
55
31
|
enumerable: true,
|
|
56
32
|
get: function () {
|
|
57
33
|
return _buildPipe().BuildPipe;
|
|
58
34
|
}
|
|
59
35
|
});
|
|
60
|
-
Object.defineProperty(exports, "BuildTask", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () {
|
|
63
|
-
return _buildTask().BuildTask;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "BuildTaskHelper", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () {
|
|
69
|
-
return _buildTask().BuildTaskHelper;
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
36
|
Object.defineProperty(exports, "BuilderAspect", {
|
|
73
37
|
enumerable: true,
|
|
74
38
|
get: function () {
|
|
75
39
|
return _builder().BuilderAspect;
|
|
76
40
|
}
|
|
77
41
|
});
|
|
78
|
-
Object.defineProperty(exports, "BuiltTaskResult", {
|
|
79
|
-
enumerable: true,
|
|
80
|
-
get: function () {
|
|
81
|
-
return _buildTask().BuiltTaskResult;
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
42
|
Object.defineProperty(exports, "CAPSULE_ARTIFACTS_DIR", {
|
|
85
43
|
enumerable: true,
|
|
86
44
|
get: function () {
|
|
87
45
|
return _buildTask().CAPSULE_ARTIFACTS_DIR;
|
|
88
46
|
}
|
|
89
47
|
});
|
|
90
|
-
Object.defineProperty(exports, "ComponentResult", {
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function () {
|
|
93
|
-
return _types().ComponentResult;
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, "FileStorageResolver", {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () {
|
|
99
|
-
return _storage().FileStorageResolver;
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
48
|
Object.defineProperty(exports, "Pipeline", {
|
|
103
49
|
enumerable: true,
|
|
104
50
|
get: function () {
|
|
105
51
|
return _pipeline().Pipeline;
|
|
106
52
|
}
|
|
107
53
|
});
|
|
108
|
-
Object.defineProperty(exports, "Task", {
|
|
109
|
-
enumerable: true,
|
|
110
|
-
get: function () {
|
|
111
|
-
return _task().Task;
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
Object.defineProperty(exports, "TaskHandler", {
|
|
115
|
-
enumerable: true,
|
|
116
|
-
get: function () {
|
|
117
|
-
return _pipeline().TaskHandler;
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
Object.defineProperty(exports, "TaskLocation", {
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () {
|
|
123
|
-
return _buildTask().TaskLocation;
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
Object.defineProperty(exports, "TaskMetadata", {
|
|
127
|
-
enumerable: true,
|
|
128
|
-
get: function () {
|
|
129
|
-
return _types().TaskMetadata;
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
Object.defineProperty(exports, "TaskResults", {
|
|
133
|
-
enumerable: true,
|
|
134
|
-
get: function () {
|
|
135
|
-
return _buildPipe().TaskResults;
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
54
|
Object.defineProperty(exports, "TaskResultsList", {
|
|
139
55
|
enumerable: true,
|
|
140
56
|
get: function () {
|
|
141
57
|
return _taskResultsList().TaskResultsList;
|
|
142
58
|
}
|
|
143
59
|
});
|
|
144
|
-
Object.defineProperty(exports, "WholeArtifactStorageResolver", {
|
|
145
|
-
enumerable: true,
|
|
146
|
-
get: function () {
|
|
147
|
-
return _storage().WholeArtifactStorageResolver;
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
60
|
Object.defineProperty(exports, "default", {
|
|
151
61
|
enumerable: true,
|
|
152
62
|
get: function () {
|
|
@@ -174,13 +84,6 @@ function _buildPipe() {
|
|
|
174
84
|
};
|
|
175
85
|
return data;
|
|
176
86
|
}
|
|
177
|
-
function _types() {
|
|
178
|
-
const data = require("./types");
|
|
179
|
-
_types = function () {
|
|
180
|
-
return data;
|
|
181
|
-
};
|
|
182
|
-
return data;
|
|
183
|
-
}
|
|
184
87
|
function _buildTask() {
|
|
185
88
|
const data = require("./build-task");
|
|
186
89
|
_buildTask = function () {
|
|
@@ -195,13 +98,6 @@ function _pipeline() {
|
|
|
195
98
|
};
|
|
196
99
|
return data;
|
|
197
100
|
}
|
|
198
|
-
function _storage() {
|
|
199
|
-
const data = require("./storage");
|
|
200
|
-
_storage = function () {
|
|
201
|
-
return data;
|
|
202
|
-
};
|
|
203
|
-
return data;
|
|
204
|
-
}
|
|
205
101
|
function _artifact2() {
|
|
206
102
|
const data = require("./artifact");
|
|
207
103
|
_artifact2 = function () {
|
|
@@ -209,13 +105,6 @@ function _artifact2() {
|
|
|
209
105
|
};
|
|
210
106
|
return data;
|
|
211
107
|
}
|
|
212
|
-
function _task() {
|
|
213
|
-
const data = require("./task");
|
|
214
|
-
_task = function () {
|
|
215
|
-
return data;
|
|
216
|
-
};
|
|
217
|
-
return data;
|
|
218
|
-
}
|
|
219
108
|
function _taskResultsList() {
|
|
220
109
|
const data = require("./task-results-list");
|
|
221
110
|
_taskResultsList = function () {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_builder","data","require","_artifact","_buildPipe","
|
|
1
|
+
{"version":3,"names":["_builder","data","require","_artifact","_buildPipe","_buildTask","_pipeline","_artifact2","_taskResultsList"],"sources":["index.ts"],"sourcesContent":["import { BuilderAspect } from './builder.aspect';\n\nexport { ArtifactVinyl } from '@teambit/legacy/dist/consumer/component/sources/artifact';\nexport { BuildPipe } from './build-pipe';\nexport type { TaskResults } from './build-pipe';\nexport type { ComponentResult, TaskMetadata } from './types';\nexport type { BuildContext, BuildTask, BuiltTaskResult, TaskLocation } from './build-task';\nexport { CAPSULE_ARTIFACTS_DIR } from './build-task';\nexport type { PipeName } from './builder.service';\nexport type { BuilderMain, RawBuilderData, BuilderData, OnTagOpts } from './builder.main.runtime';\nexport type { TaskHandler } from './pipeline';\nexport { Pipeline } from './pipeline';\nexport type { PipelineReport } from './build-pipeline-result-list';\nexport type { BuilderEnv } from './builder-env-type';\nexport type { WholeArtifactStorageResolver, FileStorageResolver, ArtifactStorageResolver } from './storage';\nexport type { ArtifactDefinition, ArtifactModelDefinition } from './artifact';\nexport { Artifact, ArtifactList, ArtifactFactory } from './artifact';\nexport type { Task } from './task';\nexport { TaskResultsList } from './task-results-list';\nexport { BuilderAspect, BuilderAspect as default };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAE,UAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,SAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,WAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,UAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIA,SAAAI,WAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,UAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIA,SAAAK,UAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,SAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAKA,SAAAM,WAAA;EAAA,MAAAN,IAAA,GAAAC,OAAA;EAAAK,UAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAO,iBAAA;EAAA,MAAAP,IAAA,GAAAC,OAAA;EAAAM,gBAAA,YAAAA,CAAA;IAAA,OAAAP,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pipelines_builder@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pipelines_builder@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pipelines_builder@1.0.66/dist/builder.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pipelines_builder@1.0.66/dist/builder.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/esm.mjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// eslint-disable-next-line import/no-unresolved
|
|
2
|
+
import cjsModule from './index.js';
|
|
3
|
+
|
|
4
|
+
export const BuilderAspect = cjsModule.BuilderAspect;
|
|
5
|
+
export const ArtifactVinyl = cjsModule.ArtifactVinyl;
|
|
6
|
+
export const BuildPipe = cjsModule.BuildPipe;
|
|
7
|
+
export const CAPSULE_ARTIFACTS_DIR = cjsModule.CAPSULE_ARTIFACTS_DIR;
|
|
8
|
+
export const Pipeline = cjsModule.Pipeline;
|
|
9
|
+
export const TaskResultsList = cjsModule.TaskResultsList;
|
|
10
|
+
export const Artifact = cjsModule.Artifact;
|
|
11
|
+
export const ArtifactList = cjsModule.ArtifactList;
|
|
12
|
+
export const ArtifactFactory = cjsModule.ArtifactFactory;
|
|
13
|
+
|
|
14
|
+
export default cjsModule;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/builder",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.66",
|
|
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.66"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -29,22 +29,22 @@
|
|
|
29
29
|
"@teambit/harmony": "0.4.6",
|
|
30
30
|
"@teambit/bit-error": "0.0.404",
|
|
31
31
|
"@teambit/component-id": "1.2.0",
|
|
32
|
-
"@teambit/component": "1.0.
|
|
33
|
-
"@teambit/envs": "1.0.
|
|
34
|
-
"@teambit/logger": "0.0.
|
|
32
|
+
"@teambit/component": "1.0.66",
|
|
33
|
+
"@teambit/envs": "1.0.66",
|
|
34
|
+
"@teambit/logger": "0.0.916",
|
|
35
35
|
"@teambit/toolbox.string.capitalize": "0.0.494",
|
|
36
|
-
"@teambit/tester": "1.0.
|
|
37
|
-
"@teambit/isolator": "1.0.
|
|
38
|
-
"@teambit/cli": "0.0.
|
|
39
|
-
"@teambit/workspace": "1.0.
|
|
40
|
-
"@teambit/aspect-loader": "1.0.
|
|
41
|
-
"@teambit/aspect": "1.0.
|
|
42
|
-
"@teambit/generator": "1.0.
|
|
43
|
-
"@teambit/global-config": "0.0.
|
|
44
|
-
"@teambit/graphql": "1.0.
|
|
45
|
-
"@teambit/scope": "1.0.
|
|
46
|
-
"@teambit/ui": "1.0.
|
|
47
|
-
"@teambit/express": "0.0.
|
|
36
|
+
"@teambit/tester": "1.0.66",
|
|
37
|
+
"@teambit/isolator": "1.0.66",
|
|
38
|
+
"@teambit/cli": "0.0.823",
|
|
39
|
+
"@teambit/workspace": "1.0.66",
|
|
40
|
+
"@teambit/aspect-loader": "1.0.66",
|
|
41
|
+
"@teambit/aspect": "1.0.66",
|
|
42
|
+
"@teambit/generator": "1.0.67",
|
|
43
|
+
"@teambit/global-config": "0.0.825",
|
|
44
|
+
"@teambit/graphql": "1.0.66",
|
|
45
|
+
"@teambit/scope": "1.0.66",
|
|
46
|
+
"@teambit/ui": "1.0.66",
|
|
47
|
+
"@teambit/express": "0.0.922"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/lodash": "4.14.165",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@teambit/pipelines.aspect-docs.builder": "0.0.165"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@teambit/legacy": "1.0.
|
|
64
|
+
"@teambit/legacy": "1.0.606",
|
|
65
65
|
"react": "^16.8.0 || ^17.0.0",
|
|
66
66
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
67
67
|
},
|