@catladder/pipeline 1.150.0 → 1.150.1
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/bundles/catladder-gitlab/index.js +1 -1
- package/dist/constants.js +1 -1
- package/dist/context/createComponentContext.js +1 -1
- package/dist/pipeline/packageManager.d.ts +2 -2
- package/dist/pipeline/packageManager.js +3 -3
- package/dist/pipeline/yarn/yarnUtils.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/context.d.ts +8 -7
- package/package.json +1 -1
- package/src/context/createComponentContext.ts +2 -2
- package/src/pipeline/packageManager.ts +3 -3
- package/src/pipeline/yarn/yarnUtils.ts +2 -2
- package/src/types/context.ts +8 -7
package/src/types/context.ts
CHANGED
|
@@ -66,7 +66,7 @@ export type YarnWorkspace = {
|
|
|
66
66
|
workspaceDependencies: string[];
|
|
67
67
|
mismatchedWorkspaceDependencies: string[];
|
|
68
68
|
};
|
|
69
|
-
export type
|
|
69
|
+
export type YarnPackageManagerInfoComponent = {
|
|
70
70
|
type: "yarn";
|
|
71
71
|
version: string;
|
|
72
72
|
workspaces: YarnWorkspace[];
|
|
@@ -77,20 +77,21 @@ export type YarnPackageManagerInfo = {
|
|
|
77
77
|
currentWorkspaceDependencies: string[];
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export type
|
|
80
|
+
export type PackageManagerInfoComponent = YarnPackageManagerInfoComponent;
|
|
81
81
|
|
|
82
82
|
export type ContextBeforeConfig = {
|
|
83
83
|
componentName: string;
|
|
84
84
|
fullConfig: Config;
|
|
85
|
-
packageManagerInfo?:
|
|
85
|
+
packageManagerInfo?: PackageManagerInfoComponent;
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
export type
|
|
88
|
+
export type BuildContextComponent = {
|
|
89
89
|
dir: string;
|
|
90
|
-
packageManagerInfo:
|
|
90
|
+
packageManagerInfo: PackageManagerInfoComponent;
|
|
91
91
|
config: BuildConfig;
|
|
92
92
|
};
|
|
93
93
|
|
|
94
|
+
export type BuildContext = BuildContextComponent;
|
|
94
95
|
export type DeployContext = {
|
|
95
96
|
config: DeployConfig;
|
|
96
97
|
};
|
|
@@ -104,7 +105,7 @@ export type ComponentContext = {
|
|
|
104
105
|
*
|
|
105
106
|
*/
|
|
106
107
|
componentConfig: ComponentConfig;
|
|
107
|
-
build:
|
|
108
|
+
build: BuildContextComponent;
|
|
108
109
|
deploy?: DeployContext | null;
|
|
109
110
|
fullConfig: Config;
|
|
110
111
|
environment: Environment;
|
|
@@ -114,7 +115,7 @@ export type ComponentContext = {
|
|
|
114
115
|
/**
|
|
115
116
|
* @deprecated use buildContext.packageManagerInfo instead
|
|
116
117
|
*/
|
|
117
|
-
packageManagerInfo:
|
|
118
|
+
packageManagerInfo: PackageManagerInfoComponent;
|
|
118
119
|
|
|
119
120
|
customJobs?: CatladderJob[];
|
|
120
121
|
};
|