mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-10-28 06:02:25 -05:00
Compare commits
2 commits
4fb0cd0bc8
...
2e9e5c61ed
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e9e5c61ed |
||
|
|
6373323911 |
4 changed files with 10 additions and 10 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
"n8n-community-node-package"
|
||||
],
|
||||
"author": {
|
||||
"name": "Elias Meire",
|
||||
"email": "elias@meire.dev"
|
||||
"name": "",
|
||||
"email": ""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue