mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-12-16 01:13:01 -06:00
Update dependencies and fix tslint errors
This commit is contained in:
parent
9573fe070d
commit
49e4180191
4 changed files with 18 additions and 13 deletions
|
|
@ -1,8 +1,11 @@
|
||||||
const { src, dest } = require('gulp');
|
const { src, dest } = require('gulp');
|
||||||
|
|
||||||
function copyIcons() {
|
function copyIcons() {
|
||||||
return src('nodes/**/*.{png,svg}')
|
src('nodes/**/*.{png,svg}')
|
||||||
.pipe(dest('dist/nodes'));
|
.pipe(dest('dist/nodes'))
|
||||||
|
|
||||||
|
return src('credentials/**/*.{png,svg}')
|
||||||
|
.pipe(dest('dist/credentials'));
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.default = copyIcons;
|
exports.default = copyIcons;
|
||||||
|
|
|
||||||
|
|
@ -55,14 +55,14 @@
|
||||||
"genversion": "^3.1.1",
|
"genversion": "^3.1.1",
|
||||||
"gulp": "^4.0.0",
|
"gulp": "^4.0.0",
|
||||||
"jest": "^27.4.7",
|
"jest": "^27.4.7",
|
||||||
"n8n-workflow": "~0.98.0",
|
"n8n-workflow": "~0.101.0",
|
||||||
"nodelinter": "^0.1.9",
|
"nodelinter": "^0.1.9",
|
||||||
"ts-jest": "^27.1.3",
|
"ts-jest": "^27.1.3",
|
||||||
"tslint": "^6.1.2",
|
"tslint": "^6.1.2",
|
||||||
"typescript": "~4.6.0"
|
"typescript": "~4.6.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"n8n-core": "~0.116.0"
|
"n8n-core": "~0.119.0"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"transform": {
|
"transform": {
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,9 @@
|
||||||
"outDir": "./dist/",
|
"outDir": "./dist/",
|
||||||
"target": "es2019",
|
"target": "es2019",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
},
|
"esModuleInterop": true,
|
||||||
|
"useUnknownInCatchVariables": false,
|
||||||
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"credentials/**/*",
|
"credentials/**/*",
|
||||||
"src/**/*",
|
"src/**/*",
|
||||||
|
|
|
||||||
16
tslint.json
16
tslint.json
|
|
@ -64,7 +64,7 @@
|
||||||
"ordered-imports": [true, {
|
"ordered-imports": [true, {
|
||||||
"import-sources-order": "any",
|
"import-sources-order": "any",
|
||||||
"named-imports-order": "case-insensitive"
|
"named-imports-order": "case-insensitive"
|
||||||
}],
|
}],
|
||||||
"no-namespace": [
|
"no-namespace": [
|
||||||
true,
|
true,
|
||||||
"allow-declarations"
|
"allow-declarations"
|
||||||
|
|
@ -90,13 +90,13 @@
|
||||||
"trailing-comma": [
|
"trailing-comma": [
|
||||||
true,
|
true,
|
||||||
{
|
{
|
||||||
"multiline": {
|
"multiline": {
|
||||||
"objects": "always",
|
"objects": "always",
|
||||||
"arrays": "always",
|
"arrays": "always",
|
||||||
"functions": "always",
|
"functions": "always",
|
||||||
"typeLiterals": "ignore"
|
"typeLiterals": "ignore"
|
||||||
},
|
},
|
||||||
"esSpecCompliant": true
|
"esSpecCompliant": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"triple-equals": [
|
"triple-equals": [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue