Compare commits

..

2 commits

Author SHA1 Message Date
Jon
2e9e5c61ed
fix build issues (#99) 2025-10-16 16:18:32 +02:00
Elias Meire
6373323911
Update Node.js version requirement to v22 or higher (#97) 2025-10-16 16:09:32 +02:00
4 changed files with 10 additions and 10 deletions

View file

@ -58,7 +58,7 @@ Before you begin, install the following on your development machine:
### Required ### Required
- **[Node.js](https://nodejs.org/)** (v20 or higher) and npm - **[Node.js](https://nodejs.org/)** (v22 or higher) and npm
- Linux/Mac/WSL: Install via [nvm](https://github.com/nvm-sh/nvm) - Linux/Mac/WSL: Install via [nvm](https://github.com/nvm-sh/nvm)
- Windows: Follow [Microsoft's NodeJS guide](https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows) - Windows: Follow [Microsoft's NodeJS guide](https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows)
- **[git](https://git-scm.com/downloads)** - **[git](https://git-scm.com/downloads)**
@ -228,7 +228,7 @@ Run `npm run lint:fix` to automatically fix most common issues. For remaining er
### TypeScript errors ### TypeScript errors
Make sure you're using Node.js v20 or higher and have run `npm install` to get all type definitions. Make sure you're using Node.js v22 or higher and have run `npm install` to get all type definitions.
## Resources ## Resources

View file

@ -4,7 +4,7 @@ import type {
INodeType, INodeType,
INodeTypeDescription, INodeTypeDescription,
} from 'n8n-workflow'; } from 'n8n-workflow';
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow'; import { NodeConnectionTypes, NodeOperationError } from 'n8n-workflow';
export class Example implements INodeType { export class Example implements INodeType {
description: INodeTypeDescription = { description: INodeTypeDescription = {
@ -17,8 +17,8 @@ export class Example implements INodeType {
defaults: { defaults: {
name: 'Example', name: 'Example',
}, },
inputs: [NodeConnectionType.Main], inputs: [NodeConnectionTypes.Main],
outputs: [NodeConnectionType.Main], outputs: [NodeConnectionTypes.Main],
usableAsTool: true, usableAsTool: true,
properties: [ properties: [
// Node properties which the user gets displayed and // Node properties which the user gets displayed and

View file

@ -1,4 +1,4 @@
import { NodeConnectionType, type INodeType, type INodeTypeDescription } from 'n8n-workflow'; import { NodeConnectionTypes, type INodeType, type INodeTypeDescription } from 'n8n-workflow';
import { issueDescription } from './resources/issue'; import { issueDescription } from './resources/issue';
import { issueCommentDescription } from './resources/issueComment'; import { issueCommentDescription } from './resources/issueComment';
import { getRepositories } from './listSearch/getRepositories'; import { getRepositories } from './listSearch/getRepositories';
@ -18,8 +18,8 @@ export class GithubIssues implements INodeType {
name: 'GitHub Issues', name: 'GitHub Issues',
}, },
usableAsTool: true, usableAsTool: true,
inputs: [NodeConnectionType.Main], inputs: [NodeConnectionTypes.Main],
outputs: [NodeConnectionType.Main], outputs: [NodeConnectionTypes.Main],
credentials: [ credentials: [
{ {
name: 'githubIssuesApi', name: 'githubIssuesApi',

View file

@ -8,8 +8,8 @@
"n8n-community-node-package" "n8n-community-node-package"
], ],
"author": { "author": {
"name": "Elias Meire", "name": "",
"email": "elias@meire.dev" "email": ""
}, },
"repository": { "repository": {
"type": "git", "type": "git",