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
- **[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)
- 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)**
@ -228,7 +228,7 @@ Run `npm run lint:fix` to automatically fix most common issues. For remaining er
### 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

View file

@ -4,7 +4,7 @@ import type {
INodeType,
INodeTypeDescription,
} from 'n8n-workflow';
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow';
import { NodeConnectionTypes, NodeOperationError } from 'n8n-workflow';
export class Example implements INodeType {
description: INodeTypeDescription = {
@ -17,8 +17,8 @@ export class Example implements INodeType {
defaults: {
name: 'Example',
},
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
inputs: [NodeConnectionTypes.Main],
outputs: [NodeConnectionTypes.Main],
usableAsTool: true,
properties: [
// 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 { issueCommentDescription } from './resources/issueComment';
import { getRepositories } from './listSearch/getRepositories';
@ -18,8 +18,8 @@ export class GithubIssues implements INodeType {
name: 'GitHub Issues',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
inputs: [NodeConnectionTypes.Main],
outputs: [NodeConnectionTypes.Main],
credentials: [
{
name: 'githubIssuesApi',

View file

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