mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-10-28 14:12:24 -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
|
### 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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue