Skip to content

Commit 5323baf

Browse files
committed
fix: build fixes
1 parent c3b3514 commit 5323baf

File tree

4 files changed

+24
-6
lines changed

4 files changed

+24
-6
lines changed

nodes/ImageKit/ImageKit.node.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"node": "n8n-nodes-imagekit",
3+
"nodeVersion": "1.0",
4+
"codexVersion": "1.0",
5+
"categories": ["Utility"],
6+
"resources": {
7+
"primaryDocumentation": [
8+
{
9+
"url": "https://github.com/dioveath/n8n-nodes-imagekit"
10+
}
11+
]
12+
},
13+
"alias": [
14+
"imagekit",
15+
"image",
16+
"html-image",
17+
"edit-image",
18+
"image-editor"
19+
]
20+
}

nodes/ImageKit/properties/compositeHtmlImage.ts renamed to nodes/ImageKit/properties/compositeHtmlImage.properties.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const compositeHtmlImageProperties: INodeProperties[] = [
6565
displayName: 'Width',
6666
name: 'width',
6767
type: 'number',
68-
default: '',
68+
default: 1280,
6969
description: 'Output image width in pixels',
7070
displayOptions: {
7171
show: {
@@ -77,7 +77,7 @@ export const compositeHtmlImageProperties: INodeProperties[] = [
7777
displayName: 'Height',
7878
name: 'height',
7979
type: 'number',
80-
default: '',
80+
default: 720,
8181
description: 'Output image height in pixels',
8282
displayOptions: {
8383
show: {

nodes/ImageKit/properties/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { INodeProperties } from 'n8n-workflow';
2-
import { compositeHtmlImageProperties } from './compositeHtmlImage';
2+
import { compositeHtmlImageProperties } from './compositeHtmlImage.properties';
33

44
export const operationFields: INodeProperties[] = [
55
{

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@
5656
"n8n-workflow": "*"
5757
},
5858
"dependencies": {
59-
"@napi-rs/canvas": "^0.1.83",
60-
"@types/node": "^24.10.1",
61-
"expr-eval": "^2.0.2"
59+
"@types/node": "^24.10.1"
6260
}
6361
}

0 commit comments

Comments
 (0)