@sw-tsdk/common 3.12.0-next.fbd3f73 → 3.12.0
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/lib/utils/image-processor.d.ts +1 -0
- package/lib/utils/image-processor.js +18 -14
- package/lib/utils/image-processor.js.map +1 -1
- package/package.json +6 -5
- package/lib/conventional-changelog-writer/templates/commit.hbs +0 -56
- package/lib/conventional-changelog-writer/templates/footer.hbs +0 -10
- package/lib/conventional-changelog-writer/templates/header.hbs +0 -9
- package/lib/conventional-changelog-writer/templates/template.hbs +0 -11
|
@@ -10,6 +10,7 @@ export declare class ImageProcessor {
|
|
|
10
10
|
private static checkDocker;
|
|
11
11
|
private static resizeImage;
|
|
12
12
|
private static processImage;
|
|
13
|
+
private static createDirectory;
|
|
13
14
|
private static downloadImage;
|
|
14
15
|
private static moveFile;
|
|
15
16
|
private static checkImageDimensions;
|
|
@@ -12,6 +12,7 @@ const docker_1 = require("@sw-tsdk/docker");
|
|
|
12
12
|
const node_os_1 = require("node:os");
|
|
13
13
|
const core_1 = require("@sw-tsdk/core");
|
|
14
14
|
const image_size_1 = tslib_1.__importDefault(require("image-size"));
|
|
15
|
+
const fs_extra_1 = require("fs-extra");
|
|
15
16
|
class ImageProcessor {
|
|
16
17
|
static async processLogoImage(path) {
|
|
17
18
|
// get image buffer
|
|
@@ -42,19 +43,16 @@ class ImageProcessor {
|
|
|
42
43
|
const docker = new docker_1.Docker();
|
|
43
44
|
await this.checkDocker(docker);
|
|
44
45
|
await this.pullImage(docker);
|
|
45
|
-
const result = await
|
|
46
|
-
|
|
47
|
-
this.processImage(docker, filePath),
|
|
48
|
-
this.processImage(docker, filePath),
|
|
49
|
-
]);
|
|
46
|
+
const result = await this.processImage(docker, filePath);
|
|
47
|
+
const image = new types_1.Image(result);
|
|
50
48
|
return {
|
|
51
|
-
source:
|
|
52
|
-
integration:
|
|
53
|
-
asset:
|
|
49
|
+
source: image,
|
|
50
|
+
integration: image,
|
|
51
|
+
asset: image,
|
|
54
52
|
};
|
|
55
53
|
}
|
|
56
54
|
static async pullImage(docker) {
|
|
57
|
-
await docker.pullImage(this.image
|
|
55
|
+
await docker.pullImage(this.image);
|
|
58
56
|
}
|
|
59
57
|
static async checkDocker(docker) {
|
|
60
58
|
await docker.ping();
|
|
@@ -65,7 +63,7 @@ class ImageProcessor {
|
|
|
65
63
|
const { dir: fileDir, base: fileName } = fileInfo;
|
|
66
64
|
const outFile = `logo_${w}_${h}.png`;
|
|
67
65
|
const bindings = [
|
|
68
|
-
`${fileDir}:/tmp`,
|
|
66
|
+
`${fileDir}:/tmp:rw`,
|
|
69
67
|
];
|
|
70
68
|
const commands = [
|
|
71
69
|
'v1/querystring',
|
|
@@ -114,6 +112,11 @@ class ImageProcessor {
|
|
|
114
112
|
await docker.runImage(ImageProcessor.image, createOptions, noop);
|
|
115
113
|
return node_fs_1.promises.readFile((0, node_path_1.resolve)(fileDir, outFile));
|
|
116
114
|
}
|
|
115
|
+
static async createDirectory(additionalPaths = []) {
|
|
116
|
+
const storagePath = (0, node_path_1.join)(process.env.HOME || (0, node_os_1.homedir)(), '.config/@swimlane/turbine-sdk', 'images', ...additionalPaths);
|
|
117
|
+
await (0, fs_extra_1.ensureDir)(storagePath);
|
|
118
|
+
return storagePath;
|
|
119
|
+
}
|
|
117
120
|
static async downloadImage(url) {
|
|
118
121
|
const response = await (0, axios_1.default)({
|
|
119
122
|
url,
|
|
@@ -122,7 +125,7 @@ class ImageProcessor {
|
|
|
122
125
|
});
|
|
123
126
|
const responseBuffer = Buffer.from(response.data, 'binary');
|
|
124
127
|
const type = await (0, file_type_1.fromBuffer)(responseBuffer);
|
|
125
|
-
const directory =
|
|
128
|
+
const directory = await this.createDirectory([Date.now().toString()]);
|
|
126
129
|
try {
|
|
127
130
|
await node_fs_1.promises.mkdir(directory, { recursive: true });
|
|
128
131
|
}
|
|
@@ -139,14 +142,15 @@ class ImageProcessor {
|
|
|
139
142
|
static async moveFile(path) {
|
|
140
143
|
const type = await (0, file_type_1.fromFile)(path);
|
|
141
144
|
const fileName = temp_1.default.path({ suffix: `.${type?.ext}` });
|
|
142
|
-
const
|
|
145
|
+
const directory = await this.createDirectory([Date.now().toString()]);
|
|
146
|
+
const temporaryPath = (0, node_path_1.resolve)((0, node_path_1.join)(directory), fileName);
|
|
143
147
|
await node_fs_1.promises.copyFile(path, temporaryPath);
|
|
144
148
|
return new Promise(resolve => {
|
|
145
149
|
resolve(temporaryPath);
|
|
146
150
|
});
|
|
147
151
|
}
|
|
148
152
|
static async checkImageDimensions(imagePath, width, height, imageType) {
|
|
149
|
-
const dimensions =
|
|
153
|
+
const dimensions = (0, image_size_1.default)(imagePath);
|
|
150
154
|
if (dimensions.height &&
|
|
151
155
|
dimensions.width &&
|
|
152
156
|
(dimensions.height < height ||
|
|
@@ -162,5 +166,5 @@ exports.ImageProcessor = ImageProcessor;
|
|
|
162
166
|
ImageProcessor.logoSize = { w: 200, h: 200 };
|
|
163
167
|
ImageProcessor.integrationSize = { w: 86, h: 86 };
|
|
164
168
|
ImageProcessor.assetSize = { w: 150, h: 100 };
|
|
165
|
-
ImageProcessor.image =
|
|
169
|
+
ImageProcessor.image = docker_1.DockerDefaults.SdkImageFlowImage;
|
|
166
170
|
//# sourceMappingURL=image-processor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-processor.js","sourceRoot":"","sources":["../../src/utils/image-processor.ts"],"names":[],"mappings":";;;;AAAA,yCAA8C;AAC9C,oCAAsC;AACtC,qCAAgC;AAChC,0DAAyB;AACzB,wDAAuB;AACvB,yCAAwF;AACxF,
|
|
1
|
+
{"version":3,"file":"image-processor.js","sourceRoot":"","sources":["../../src/utils/image-processor.ts"],"names":[],"mappings":";;;;AAAA,yCAA8C;AAC9C,oCAAsC;AACtC,qCAAgC;AAChC,0DAAyB;AACzB,wDAAuB;AACvB,yCAAwF;AACxF,4CAAqE;AACrE,qCAA+B;AAC/B,wCAAgD;AAChD,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AG,GAAG,MAAM,CAC1H,CAAA;SACF;QAED,IAAI,SAAS,KAAK,MAAM,IAAI,UAAU,CAAC,MAAM,KAAK,UAAU,CAAC,KAAK,EAAE;YAClE,MAAM,IAAI,KAAK,CACb,4DAA4D,CAC7D,CAAA;SACF;IACH,CAAC;;AAhNL,wCAiNC;AAhNkB,uBAAQ,GAAG,EAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAC,CAAA;AAE3B,8BAAe,GAAG,EAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAC,CAAA;AAEhC,wBAAS,GAAG,EAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAC,CAAA;AAE5B,oBAAK,GAAG,uBAAc,CAAC,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@oclif/core": "2.8.5",
|
|
8
|
-
"@sw-tsdk/core": "
|
|
9
|
-
"@sw-tsdk/docker": "
|
|
8
|
+
"@sw-tsdk/core": "3.12.0",
|
|
9
|
+
"@sw-tsdk/docker": "3.12.0",
|
|
10
10
|
"axios": "1.4.0",
|
|
11
11
|
"change-case": "4.1.2",
|
|
12
12
|
"conventional-changelog-conventionalcommits": "4.6.3",
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
"main": "lib/index.js",
|
|
43
43
|
"name": "@sw-tsdk/common",
|
|
44
44
|
"publishConfig": {
|
|
45
|
-
"access": "public"
|
|
45
|
+
"access": "public",
|
|
46
|
+
"provenance": false
|
|
46
47
|
},
|
|
47
48
|
"repository": {
|
|
48
49
|
"type": "git",
|
|
@@ -55,6 +56,6 @@
|
|
|
55
56
|
"test": "jest --passWithNoTests"
|
|
56
57
|
},
|
|
57
58
|
"types": "lib/index.d.ts",
|
|
58
|
-
"version": "3.12.0
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"version": "3.12.0",
|
|
60
|
+
"gitHead": "05e2670bb4686ff6f73a4bd44c063e025f1f8c1a"
|
|
60
61
|
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
* {{header}}
|
|
2
|
-
|
|
3
|
-
{{~!-- commit link --}} {{#if @root.linkReferences~}}
|
|
4
|
-
([{{hash}}](
|
|
5
|
-
{{~#if @root.repository}}
|
|
6
|
-
{{~#if @root.host}}
|
|
7
|
-
{{~@root.host}}/
|
|
8
|
-
{{~/if}}
|
|
9
|
-
{{~#if @root.owner}}
|
|
10
|
-
{{~@root.owner}}/
|
|
11
|
-
{{~/if}}
|
|
12
|
-
{{~@root.repository}}
|
|
13
|
-
{{~else}}
|
|
14
|
-
{{~@root.repoUrl}}
|
|
15
|
-
{{~/if}}/
|
|
16
|
-
{{~@root.commit}}/{{hash}}))
|
|
17
|
-
{{~else}}
|
|
18
|
-
{{~hash}}
|
|
19
|
-
{{~/if}}
|
|
20
|
-
|
|
21
|
-
{{~!-- commit references --}}
|
|
22
|
-
{{~#if references~}}
|
|
23
|
-
, closes
|
|
24
|
-
{{~#each references}} {{#if @root.linkReferences~}}
|
|
25
|
-
[
|
|
26
|
-
{{~#if this.owner}}
|
|
27
|
-
{{~this.owner}}/
|
|
28
|
-
{{~/if}}
|
|
29
|
-
{{~this.repository}}#{{this.issue}}](
|
|
30
|
-
{{~#if @root.repository}}
|
|
31
|
-
{{~#if @root.host}}
|
|
32
|
-
{{~@root.host}}/
|
|
33
|
-
{{~/if}}
|
|
34
|
-
{{~#if this.repository}}
|
|
35
|
-
{{~#if this.owner}}
|
|
36
|
-
{{~this.owner}}/
|
|
37
|
-
{{~/if}}
|
|
38
|
-
{{~this.repository}}
|
|
39
|
-
{{~else}}
|
|
40
|
-
{{~#if @root.owner}}
|
|
41
|
-
{{~@root.owner}}/
|
|
42
|
-
{{~/if}}
|
|
43
|
-
{{~@root.repository}}
|
|
44
|
-
{{~/if}}
|
|
45
|
-
{{~else}}
|
|
46
|
-
{{~@root.repoUrl}}
|
|
47
|
-
{{~/if}}/
|
|
48
|
-
{{~@root.issue}}/{{this.issue}})
|
|
49
|
-
{{~else}}
|
|
50
|
-
{{~#if this.owner}}
|
|
51
|
-
{{~this.owner}}/
|
|
52
|
-
{{~/if}}
|
|
53
|
-
{{~this.repository}}#{{this.issue}}
|
|
54
|
-
{{~/if}}{{/each}}
|
|
55
|
-
{{~/if}}
|
|
56
|
-
|