generated from lublak/n8n-nodes-base
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
less deps/strict for easier maintaining
- Loading branch information
Showing
22 changed files
with
8,160 additions
and
18,055 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,45 @@ | ||
module.exports = { | ||
extends: ['eslint-config-n8n-nodes-base'] | ||
}; | ||
/** | ||
* @type {import('@types/eslint').ESLint.ConfigData} | ||
*/ | ||
module.exports = { | ||
root: true, | ||
|
||
env: { | ||
browser: true, | ||
es6: true, | ||
node: true, | ||
}, | ||
|
||
parser: '@typescript-eslint/parser', | ||
|
||
parserOptions: { | ||
project: ['./tsconfig.json'], | ||
sourceType: 'module', | ||
extraFileExtensions: ['.json'], | ||
}, | ||
|
||
ignorePatterns: ['.eslintrc.js', '**/*.js', '**/node_modules/**', '**/dist/**'], | ||
|
||
overrides: [ | ||
{ | ||
files: ['package.json'], | ||
plugins: ['eslint-plugin-n8n-nodes-base'], | ||
extends: ['plugin:n8n-nodes-base/community'], | ||
rules: { | ||
'n8n-nodes-base/community-package-json-name-still-default': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['./nodes/**/*.ts'], | ||
plugins: ['eslint-plugin-n8n-nodes-base'], | ||
extends: ['plugin:n8n-nodes-base/nodes'], | ||
rules: { | ||
'n8n-nodes-base/node-execute-block-missing-continue-on-fail': 'off', | ||
'n8n-nodes-base/node-resource-description-filename-against-convention': 'off', | ||
'n8n-nodes-base/node-param-fixed-collection-type-unsorted-items': 'off', | ||
'n8n-nodes-base/node-class-description-inputs-wrong-regular-node': 'off', | ||
'n8n-nodes-base/node-class-description-outputs-wrong': 'off', | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,66 @@ | ||
name: Bug Report | ||
description: Create a report to help us improve | ||
labels: [bug] | ||
assignees: | ||
- lublak | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
Please always be sure to use the latest compatible version. | ||
- type: textarea | ||
id: bug-description | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is. | ||
placeholder: The description of the bug. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Describe the expected behavior | ||
description: A clear and concise description of what you expected to happen. | ||
placeholder: The expected behavior. | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: What is your Node.js version? | ||
placeholder: 14.X.X | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: What is your n8n version? | ||
placeholder: 0.189.0 | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: What is your n8n-nodes-text-manipulation version? | ||
placeholder: 0.189.0 | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: os | ||
attributes: | ||
label: What operating system are you seeing the problem on? | ||
multiple: true | ||
options: | ||
- Linux | ||
- Windows | ||
- MacOS | ||
- Other (enter below with the version) | ||
- type: input | ||
attributes: | ||
label: Operating system version (or if other, then please fill in complete name and version) | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant log output | ||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell | ||
name: Bug Report | ||
description: Create a report to help us improve | ||
labels: [bug] | ||
assignees: | ||
- lublak | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
Please always be sure to use the latest compatible version. | ||
- type: textarea | ||
id: bug-description | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is. | ||
placeholder: The description of the bug. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Describe the expected behavior | ||
description: A clear and concise description of what you expected to happen. | ||
placeholder: The expected behavior. | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: What is your Node.js version? | ||
placeholder: 14.X.X | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: What is your n8n version? | ||
placeholder: 0.189.0 | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: What is your n8n-nodes-text-manipulation version? | ||
placeholder: 0.189.0 | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: os | ||
attributes: | ||
label: What operating system are you seeing the problem on? | ||
multiple: true | ||
options: | ||
- Linux | ||
- Windows | ||
- MacOS | ||
- Other (enter below with the version) | ||
- type: input | ||
attributes: | ||
label: Operating system version (or if other, then please fill in complete name and version) | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant log output | ||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
name: Feature Request | ||
description: Suggest an idea for this project | ||
labels: [enhancement] | ||
assignees: | ||
- lublak | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this feature request! | ||
- type: textarea | ||
id: feature-description | ||
attributes: | ||
label: Describe the function you would like to have | ||
description: A clear and concise description of what you want to happen. | ||
placeholder: The description of the function. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: alternative-solution | ||
attributes: | ||
label: Describe your current alternative solution. | ||
description: Your current solution that you use, if there is one. | ||
placeholder: Your alternative solution. | ||
name: Feature Request | ||
description: Suggest an idea for this project | ||
labels: [enhancement] | ||
assignees: | ||
- lublak | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this feature request! | ||
- type: textarea | ||
id: feature-description | ||
attributes: | ||
label: Describe the function you would like to have | ||
description: A clear and concise description of what you want to happen. | ||
placeholder: The description of the function. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: alternative-solution | ||
attributes: | ||
label: Describe your current alternative solution. | ||
description: Your current solution that you use, if there is one. | ||
placeholder: Your alternative solution. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
name: Node.js CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [14.x, 16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Lint | ||
run: npm run lint | ||
- name: Build | ||
run: npm run build --if-present | ||
name: Node.js CI | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Lint | ||
run: npm run lint | ||
- name: Build | ||
run: npm run build --if-present |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
name: Node.js Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
- run: npm ci | ||
|
||
publish-npm: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm ci | ||
- run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
if: ${{ !github.event.release.prerelease }} | ||
- run: npm publish --access public --tag beta | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
if: ${{ github.event.release.prerelease }} | ||
name: Node.js Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 18 | ||
- run: npm ci | ||
|
||
publish-npm: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 18 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm ci | ||
- run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
if: ${{ !github.event.release.prerelease }} | ||
- run: npm publish --access public --tag beta | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
if: ${{ github.event.release.prerelease }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
node_modules | ||
.DS_Store | ||
.tmp | ||
tmp | ||
dist | ||
npm-debug.log* | ||
yarn.lock | ||
node_modules | ||
.DS_Store | ||
.tmp | ||
tmp | ||
dist | ||
npm-debug.log* | ||
yarn.lock | ||
.vscode/launch.json |
Oops, something went wrong.