@deepidealab/n8n-nodes-tracira 0.2.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/LICENSE +21 -0
- package/README.md +133 -0
- package/dist/credentials/TraciraApi.credentials.d.ts +10 -0
- package/dist/credentials/TraciraApi.credentials.js +39 -0
- package/dist/credentials/TraciraApi.credentials.js.map +1 -0
- package/dist/nodes/Tracira/Tracira.node.d.ts +5 -0
- package/dist/nodes/Tracira/Tracira.node.js +470 -0
- package/dist/nodes/Tracira/Tracira.node.js.map +1 -0
- package/dist/nodes/Tracira/Tracira.node.json +18 -0
- package/dist/nodes/Tracira/listSearch/getChecks.d.ts +2 -0
- package/dist/nodes/Tracira/listSearch/getChecks.js +18 -0
- package/dist/nodes/Tracira/listSearch/getChecks.js.map +1 -0
- package/dist/nodes/Tracira/listSearch/getFlows.d.ts +2 -0
- package/dist/nodes/Tracira/listSearch/getFlows.js +16 -0
- package/dist/nodes/Tracira/listSearch/getFlows.js.map +1 -0
- package/dist/nodes/Tracira/listSearch/getModels.d.ts +2 -0
- package/dist/nodes/Tracira/listSearch/getModels.js +18 -0
- package/dist/nodes/Tracira/listSearch/getModels.js.map +1 -0
- package/dist/nodes/Tracira/resources/execution/get.d.ts +2 -0
- package/dist/nodes/Tracira/resources/execution/get.js +21 -0
- package/dist/nodes/Tracira/resources/execution/get.js.map +1 -0
- package/dist/nodes/Tracira/resources/execution/getAll.d.ts +2 -0
- package/dist/nodes/Tracira/resources/execution/getAll.js +244 -0
- package/dist/nodes/Tracira/resources/execution/getAll.js.map +1 -0
- package/dist/nodes/Tracira/resources/execution/index.d.ts +2 -0
- package/dist/nodes/Tracira/resources/execution/index.js +73 -0
- package/dist/nodes/Tracira/resources/execution/index.js.map +1 -0
- package/dist/nodes/Tracira/resources/execution/log.d.ts +2 -0
- package/dist/nodes/Tracira/resources/execution/log.js +291 -0
- package/dist/nodes/Tracira/resources/execution/log.js.map +1 -0
- package/dist/nodes/Tracira/shared/transport.d.ts +2 -0
- package/dist/nodes/Tracira/shared/transport.js +14 -0
- package/dist/nodes/Tracira/shared/transport.js.map +1 -0
- package/dist/nodes/Tracira/tracira.dark.svg +7 -0
- package/dist/nodes/Tracira/tracira.svg +7 -0
- package/dist/package.json +62 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.executionLogDescription = void 0;
|
|
4
|
+
const showOnlyForExecutionLog = {
|
|
5
|
+
operation: ['log'],
|
|
6
|
+
resource: ['execution'],
|
|
7
|
+
};
|
|
8
|
+
exports.executionLogDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Flow',
|
|
11
|
+
name: 'flowName',
|
|
12
|
+
type: 'resourceLocator',
|
|
13
|
+
displayOptions: {
|
|
14
|
+
show: showOnlyForExecutionLog,
|
|
15
|
+
},
|
|
16
|
+
default: { mode: 'list', value: '' },
|
|
17
|
+
required: true,
|
|
18
|
+
description: 'The Tracira flow name for this execution',
|
|
19
|
+
modes: [
|
|
20
|
+
{
|
|
21
|
+
displayName: 'Flow',
|
|
22
|
+
name: 'list',
|
|
23
|
+
type: 'list',
|
|
24
|
+
placeholder: 'Select a flow...',
|
|
25
|
+
typeOptions: {
|
|
26
|
+
searchListMethod: 'getFlows',
|
|
27
|
+
searchable: true,
|
|
28
|
+
searchFilterRequired: false,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
displayName: 'By Name',
|
|
33
|
+
name: 'name',
|
|
34
|
+
type: 'string',
|
|
35
|
+
placeholder: 'e.g. support-reply-flow',
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
routing: {
|
|
39
|
+
request: {
|
|
40
|
+
body: {
|
|
41
|
+
flow: '={{$value}}',
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
displayName: 'Output',
|
|
48
|
+
name: 'output',
|
|
49
|
+
type: 'string',
|
|
50
|
+
typeOptions: {
|
|
51
|
+
rows: 6,
|
|
52
|
+
},
|
|
53
|
+
displayOptions: {
|
|
54
|
+
show: showOnlyForExecutionLog,
|
|
55
|
+
},
|
|
56
|
+
default: '',
|
|
57
|
+
required: true,
|
|
58
|
+
description: 'The AI-generated output to evaluate in Tracira',
|
|
59
|
+
routing: {
|
|
60
|
+
send: {
|
|
61
|
+
type: 'body',
|
|
62
|
+
property: 'output',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Input',
|
|
68
|
+
name: 'input',
|
|
69
|
+
type: 'string',
|
|
70
|
+
typeOptions: {
|
|
71
|
+
rows: 4,
|
|
72
|
+
},
|
|
73
|
+
displayOptions: {
|
|
74
|
+
show: showOnlyForExecutionLog,
|
|
75
|
+
},
|
|
76
|
+
default: '',
|
|
77
|
+
description: 'Optional prompt or input text that produced the output',
|
|
78
|
+
routing: {
|
|
79
|
+
send: {
|
|
80
|
+
type: 'body',
|
|
81
|
+
property: 'input',
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
displayName: 'Check',
|
|
87
|
+
name: 'checkName',
|
|
88
|
+
type: 'resourceLocator',
|
|
89
|
+
displayOptions: {
|
|
90
|
+
show: showOnlyForExecutionLog,
|
|
91
|
+
},
|
|
92
|
+
default: { mode: 'list', value: '' },
|
|
93
|
+
description: 'Optional Tracira check name',
|
|
94
|
+
modes: [
|
|
95
|
+
{
|
|
96
|
+
displayName: 'Check',
|
|
97
|
+
name: 'list',
|
|
98
|
+
type: 'list',
|
|
99
|
+
placeholder: 'Select a check...',
|
|
100
|
+
typeOptions: {
|
|
101
|
+
searchListMethod: 'getChecks',
|
|
102
|
+
searchable: true,
|
|
103
|
+
searchFilterRequired: false,
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
displayName: 'By Name',
|
|
108
|
+
name: 'name',
|
|
109
|
+
type: 'string',
|
|
110
|
+
placeholder: 'e.g. tone-validator',
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
routing: {
|
|
114
|
+
request: {
|
|
115
|
+
body: {
|
|
116
|
+
check: '={{$value}}',
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
displayName: 'Model',
|
|
123
|
+
name: 'modelName',
|
|
124
|
+
type: 'resourceLocator',
|
|
125
|
+
displayOptions: {
|
|
126
|
+
show: showOnlyForExecutionLog,
|
|
127
|
+
},
|
|
128
|
+
default: { mode: 'list', value: '' },
|
|
129
|
+
description: 'Optional AI model name to record with the execution',
|
|
130
|
+
modes: [
|
|
131
|
+
{
|
|
132
|
+
displayName: 'Model',
|
|
133
|
+
name: 'list',
|
|
134
|
+
type: 'list',
|
|
135
|
+
placeholder: 'Select a model...',
|
|
136
|
+
typeOptions: {
|
|
137
|
+
searchListMethod: 'getModels',
|
|
138
|
+
searchable: true,
|
|
139
|
+
searchFilterRequired: false,
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
displayName: 'By Name',
|
|
144
|
+
name: 'name',
|
|
145
|
+
type: 'string',
|
|
146
|
+
placeholder: 'e.g. gpt-5-mini',
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
routing: {
|
|
150
|
+
request: {
|
|
151
|
+
body: {
|
|
152
|
+
model: '={{$value}}',
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
displayName: 'Options',
|
|
159
|
+
name: 'options',
|
|
160
|
+
type: 'collection',
|
|
161
|
+
placeholder: 'Add Option',
|
|
162
|
+
displayOptions: {
|
|
163
|
+
show: showOnlyForExecutionLog,
|
|
164
|
+
},
|
|
165
|
+
default: {},
|
|
166
|
+
options: [
|
|
167
|
+
{
|
|
168
|
+
displayName: 'Actor ID',
|
|
169
|
+
name: 'actorId',
|
|
170
|
+
type: 'string',
|
|
171
|
+
default: '',
|
|
172
|
+
description: 'Agent or user performing the action',
|
|
173
|
+
routing: {
|
|
174
|
+
send: {
|
|
175
|
+
type: 'body',
|
|
176
|
+
property: 'actorId',
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
displayName: 'Callback URL',
|
|
182
|
+
name: 'callbackUrl',
|
|
183
|
+
type: 'string',
|
|
184
|
+
default: '',
|
|
185
|
+
description: 'Optional URL Tracira should call for gate-mode follow-up',
|
|
186
|
+
routing: {
|
|
187
|
+
send: {
|
|
188
|
+
type: 'body',
|
|
189
|
+
property: 'callbackUrl',
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
displayName: 'Confidence',
|
|
195
|
+
name: 'confidence',
|
|
196
|
+
type: 'number',
|
|
197
|
+
default: 0,
|
|
198
|
+
description: 'Optional confidence score between 0 and 1',
|
|
199
|
+
routing: {
|
|
200
|
+
send: {
|
|
201
|
+
type: 'body',
|
|
202
|
+
property: 'confidence',
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
displayName: 'Cost (USD)',
|
|
208
|
+
name: 'costUsd',
|
|
209
|
+
type: 'number',
|
|
210
|
+
default: 0,
|
|
211
|
+
description: 'Optional cost of the AI call in USD',
|
|
212
|
+
routing: {
|
|
213
|
+
send: {
|
|
214
|
+
type: 'body',
|
|
215
|
+
property: 'costUsd',
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
displayName: 'Execution ID',
|
|
221
|
+
name: 'id',
|
|
222
|
+
type: 'string',
|
|
223
|
+
default: '',
|
|
224
|
+
description: 'Optional custom execution ID for idempotency',
|
|
225
|
+
routing: {
|
|
226
|
+
send: {
|
|
227
|
+
type: 'body',
|
|
228
|
+
property: 'id',
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
displayName: 'Latency',
|
|
234
|
+
name: 'latencyMs',
|
|
235
|
+
type: 'number',
|
|
236
|
+
default: 0,
|
|
237
|
+
description: 'Optional AI latency in milliseconds',
|
|
238
|
+
routing: {
|
|
239
|
+
send: {
|
|
240
|
+
type: 'body',
|
|
241
|
+
property: 'latencyMs',
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
displayName: 'Metadata JSON',
|
|
247
|
+
name: 'metadataJson',
|
|
248
|
+
type: 'string',
|
|
249
|
+
typeOptions: {
|
|
250
|
+
rows: 4,
|
|
251
|
+
},
|
|
252
|
+
default: '{}',
|
|
253
|
+
description: 'Optional JSON object to store as execution metadata',
|
|
254
|
+
routing: {
|
|
255
|
+
request: {
|
|
256
|
+
body: {
|
|
257
|
+
metadata: '={{$value ? JSON.parse($value) : undefined}}',
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
displayName: 'Session ID',
|
|
264
|
+
name: 'sessionId',
|
|
265
|
+
type: 'string',
|
|
266
|
+
default: '',
|
|
267
|
+
description: 'Context identifier for grouping related executions',
|
|
268
|
+
routing: {
|
|
269
|
+
send: {
|
|
270
|
+
type: 'body',
|
|
271
|
+
property: 'sessionId',
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
displayName: 'Subject ID',
|
|
277
|
+
name: 'subjectId',
|
|
278
|
+
type: 'string',
|
|
279
|
+
default: '',
|
|
280
|
+
description: 'Entity being acted on, such as a ticket or record ID',
|
|
281
|
+
routing: {
|
|
282
|
+
send: {
|
|
283
|
+
type: 'body',
|
|
284
|
+
property: 'subjectId',
|
|
285
|
+
},
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
},
|
|
290
|
+
];
|
|
291
|
+
//# sourceMappingURL=log.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log.js","sourceRoot":"","sources":["../../../../../nodes/Tracira/resources/execution/log.ts"],"names":[],"mappings":";;;AAEA,MAAM,uBAAuB,GAAG;IAC/B,SAAS,EAAE,CAAC,KAAK,CAAC;IAClB,QAAQ,EAAE,CAAC,WAAW,CAAC;CACvB,CAAC;AAEW,QAAA,uBAAuB,GAAsB;IACzD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,iBAAiB;QACvB,cAAc,EAAE;YACf,IAAI,EAAE,uBAAuB;SAC7B;QACD,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;QACpC,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,0CAA0C;QACvD,KAAK,EAAE;YACN;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,MAAM;gBACZ,WAAW,EAAE,kBAAkB;gBAC/B,WAAW,EAAE;oBACZ,gBAAgB,EAAE,UAAU;oBAC5B,UAAU,EAAE,IAAI;oBAChB,oBAAoB,EAAE,KAAK;iBAC3B;aACD;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yBAAyB;aACtC;SACD;QACD,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,IAAI,EAAE;oBACL,IAAI,EAAE,aAAa;iBACnB;aACD;SACD;KACD;IACD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,IAAI,EAAE,CAAC;SACP;QACD,cAAc,EAAE;YACf,IAAI,EA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OAAO,EAAE;wBACR,IAAI,EAAE;4BACL,QAAQ,EAAE,8CAA8C;yBACxD;qBACD;iBACD;aACD;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,oDAAoD;gBACjE,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,WAAW;qBACrB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,sDAAsD;gBACnE,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,WAAW;qBACrB;iBACD;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { IDataObject, IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, IHttpRequestMethods, ILoadOptionsFunctions } from 'n8n-workflow';
|
|
2
|
+
export declare function traciraApiRequest(this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, resource: string, qs?: IDataObject, body?: IDataObject | undefined): Promise<any>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.traciraApiRequest = traciraApiRequest;
|
|
4
|
+
async function traciraApiRequest(method, resource, qs = {}, body = undefined) {
|
|
5
|
+
const options = {
|
|
6
|
+
method,
|
|
7
|
+
qs,
|
|
8
|
+
body,
|
|
9
|
+
url: `https://www.tracira.com/api${resource}`,
|
|
10
|
+
json: true,
|
|
11
|
+
};
|
|
12
|
+
return await this.helpers.httpRequestWithAuthentication.call(this, 'traciraApi', options);
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=transport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transport.js","sourceRoot":"","sources":["../../../../nodes/Tracira/shared/transport.ts"],"names":[],"mappings":";;AAUA,8CAgBC;AAhBM,KAAK,UAAU,iBAAiB,CAEtC,MAA2B,EAC3B,QAAgB,EAChB,KAAkB,EAAE,EACpB,OAAgC,SAAS;IAEzC,MAAM,OAAO,GAAwB;QACpC,MAAM;QACN,EAAE;QACF,IAAI;QACJ,GAAG,EAAE,8BAA8B,QAAQ,EAAE;QAC7C,IAAI,EAAE,IAAI;KACV,CAAC;IAEF,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC,6BAA6B,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;AAC3F,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 442 442">
|
|
2
|
+
<rect width="442" height="442" rx="96" fill="#d97706"/>
|
|
3
|
+
<g transform="translate(-78 0)" fill="#fff">
|
|
4
|
+
<path d="M194.59,73.86c19.77.06,39.54-.04,59.31-.28,8.48-.05,23.28-.49,31.18.41-23.53,11.43-34.68,25.04-48.67,45.69-27.42,1.15-61.92.18-89.94.14-.2-15.26-.16-30.53.13-45.79l48-.17Z"/>
|
|
5
|
+
<path d="M367.28,73.81c11.36-.64,24.42-.34,35.94-.29l-.05,46.37c-29.26-.06-65.87-5.01-87.45,16.61-6.77,6.76-11.42,15.34-13.39,24.7-3.23,15.65-2.24,57.89-2.25,76.27l-.13,136.31h-13.24s-37.2-.01-37.2-.01l-.04-131.67c0-25.67-1.48-57.25,2.9-82.08,3.01-17.08,12.61-36.68,24.29-49.58,25.84-28.52,54.35-34.32,90.64-36.63Z"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 442 442">
|
|
2
|
+
<rect width="442" height="442" rx="96" fill="#d97706"/>
|
|
3
|
+
<g transform="translate(-78 0)" fill="#fff">
|
|
4
|
+
<path d="M194.59,73.86c19.77.06,39.54-.04,59.31-.28,8.48-.05,23.28-.49,31.18.41-23.53,11.43-34.68,25.04-48.67,45.69-27.42,1.15-61.92.18-89.94.14-.2-15.26-.16-30.53.13-45.79l48-.17Z"/>
|
|
5
|
+
<path d="M367.28,73.81c11.36-.64,24.42-.34,35.94-.29l-.05,46.37c-29.26-.06-65.87-5.01-87.45,16.61-6.77,6.76-11.42,15.34-13.39,24.7-3.23,15.65-2.24,57.89-2.25,76.27l-.13,136.31h-13.24s-37.2-.01-37.2-.01l-.04-131.67c0-25.67-1.48-57.25,2.9-82.08,3.01-17.08,12.61-36.68,24.29-49.58,25.84-28.52,54.35-34.32,90.64-36.63Z"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@deepidealab/n8n-nodes-tracira",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Official n8n community node for Tracira AI output monitoring and approval workflows.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"homepage": "https://github.com/deepidealab/n8n-nodes-tracira",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"n8n-community-node-package",
|
|
9
|
+
"n8n",
|
|
10
|
+
"tracira",
|
|
11
|
+
"ai",
|
|
12
|
+
"monitoring"
|
|
13
|
+
],
|
|
14
|
+
"author": {
|
|
15
|
+
"name": "DeepIdea Lab",
|
|
16
|
+
"email": "support@deepidealab.com"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/deepidealab/n8n-nodes-tracira.git"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/deepidealab/n8n-nodes-tracira/issues"
|
|
24
|
+
},
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public",
|
|
27
|
+
"provenance": true
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "n8n-node build",
|
|
31
|
+
"build:watch": "tsc --watch",
|
|
32
|
+
"dev": "n8n-node dev",
|
|
33
|
+
"lint": "n8n-node lint",
|
|
34
|
+
"lint:fix": "n8n-node lint --fix",
|
|
35
|
+
"scan": "npx @n8n/scan-community-package @deepidealab/n8n-nodes-tracira",
|
|
36
|
+
"verify": "npm run lint && npm run build",
|
|
37
|
+
"prepublishOnly": "node -e \"if (!process.env.GITHUB_ACTIONS) { console.error('Use GitHub Actions to publish this package, or pass --ignore-scripts for the one-time bootstrap publish.'); process.exit(1); }\""
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"dist"
|
|
41
|
+
],
|
|
42
|
+
"n8n": {
|
|
43
|
+
"n8nNodesApiVersion": 1,
|
|
44
|
+
"strict": true,
|
|
45
|
+
"credentials": [
|
|
46
|
+
"dist/credentials/TraciraApi.credentials.js"
|
|
47
|
+
],
|
|
48
|
+
"nodes": [
|
|
49
|
+
"dist/nodes/Tracira/Tracira.node.js"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@n8n/node-cli": "*",
|
|
54
|
+
"eslint": "9.32.0",
|
|
55
|
+
"prettier": "3.6.2",
|
|
56
|
+
"release-it": "^19.0.4",
|
|
57
|
+
"typescript": "5.9.2"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"n8n-workflow": "*"
|
|
61
|
+
}
|
|
62
|
+
}
|