Make multiple commands cross-platform (#3733)

*  Replace `;` with `&&` in scripts

* 👕 Fix lint
This commit is contained in:
Iván Ovejero 2022-07-20 10:14:12 +02:00 committed by GitHub
parent 803e0097fa
commit 2997711e00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 18 additions and 18 deletions

View file

@ -30,10 +30,10 @@
"start:default": "cd bin && ./n8n",
"start:windows": "cd bin && n8n",
"test": "npm run test:sqlite",
"test:sqlite": "export N8N_LOG_LEVEL=silent; export DB_TYPE=sqlite; jest --forceExit",
"test:postgres": "export N8N_LOG_LEVEL=silent; export DB_TYPE=postgresdb; jest",
"test:postgres:alt-schema": "export DB_POSTGRESDB_SCHEMA=alt_schema; npm run test:postgres",
"test:mysql": "export N8N_LOG_LEVEL=silent; export DB_TYPE=mysqldb; jest",
"test:sqlite": "export N8N_LOG_LEVEL=silent && export DB_TYPE=sqlite && jest --forceExit",
"test:postgres": "export N8N_LOG_LEVEL=silent && export DB_TYPE=postgresdb && jest",
"test:postgres:alt-schema": "export DB_POSTGRESDB_SCHEMA=alt_schema && npm run test:postgres",
"test:mysql": "export N8N_LOG_LEVEL=silent && export DB_TYPE=mysqldb && jest",
"watch": "tsc --watch",
"typeorm": "ts-node -T ../../node_modules/typeorm/cli.js"
},

View file

@ -79,7 +79,7 @@ export class GoogleBooks implements INodeType {
'@version': [
1,
],
}
},
},
},
{
@ -102,7 +102,7 @@ export class GoogleBooks implements INodeType {
'@version': [
2,
],
}
},
},
},
{

View file

@ -89,7 +89,7 @@ export class GoogleDocs implements INodeType {
'@version': [
1,
],
}
},
},
},
{
@ -112,7 +112,7 @@ export class GoogleDocs implements INodeType {
'@version': [
2,
],
}
},
},
},
{

View file

@ -74,7 +74,7 @@ export class GoogleDrive implements INodeType {
'@version': [
1,
],
}
},
},
},
{
@ -97,7 +97,7 @@ export class GoogleDrive implements INodeType {
'@version': [
2,
],
}
},
},
},
{

View file

@ -92,7 +92,7 @@ export class GoogleSheets implements INodeType {
'@version': [
1,
],
}
},
},
},
{
@ -115,7 +115,7 @@ export class GoogleSheets implements INodeType {
'@version': [
2,
],
}
},
},
},
{

View file

@ -74,7 +74,7 @@ export class GoogleSlides implements INodeType {
'@version': [
1,
],
}
},
},
},
{
@ -97,7 +97,7 @@ export class GoogleSlides implements INodeType {
'@version': [
2,
],
}
},
},
},
{

View file

@ -80,7 +80,7 @@ export class GoogleTranslate implements INodeType {
'@version': [
1,
],
}
},
},
},
{
@ -103,7 +103,7 @@ export class GoogleTranslate implements INodeType {
'@version': [
2,
],
}
},
},
},
{

View file

@ -19,8 +19,8 @@
"build": "tsc && gulp build:icons && gulp build:translations",
"build:translations": "gulp build:translations",
"format": "cd ../.. && node_modules/prettier/bin-prettier.js packages/nodes-base/**/**.ts --write",
"lint": "tslint -p tsconfig.json -c tslint.json; cd ../../ && node_modules/eslint/bin/eslint.js packages/nodes-base/nodes packages/nodes-base/credentials",
"lintfix": "tslint --fix -p tsconfig.json -c tslint.json; cd ../.. && node_modules/eslint/bin/eslint.js packages/nodes-base/nodes packages/nodes-base/credentials --fix",
"lint": "tslint -p tsconfig.json -c tslint.json && cd ../../ && node_modules/eslint/bin/eslint.js packages/nodes-base/nodes packages/nodes-base/credentials",
"lintfix": "tslint --fix -p tsconfig.json -c tslint.json && cd ../.. && node_modules/eslint/bin/eslint.js packages/nodes-base/nodes packages/nodes-base/credentials --fix",
"watch": "tsc --watch",
"test": "jest"
},