mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
Make multiple commands cross-platform (#3733)
* ⚡ Replace `;` with `&&` in scripts * 👕 Fix lint
This commit is contained in:
parent
803e0097fa
commit
2997711e00
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -79,7 +79,7 @@ export class GoogleBooks implements INodeType {
|
|||
'@version': [
|
||||
1,
|
||||
],
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -102,7 +102,7 @@ export class GoogleBooks implements INodeType {
|
|||
'@version': [
|
||||
2,
|
||||
],
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -89,7 +89,7 @@ export class GoogleDocs implements INodeType {
|
|||
'@version': [
|
||||
1,
|
||||
],
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ export class GoogleDocs implements INodeType {
|
|||
'@version': [
|
||||
2,
|
||||
],
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -74,7 +74,7 @@ export class GoogleDrive implements INodeType {
|
|||
'@version': [
|
||||
1,
|
||||
],
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -97,7 +97,7 @@ export class GoogleDrive implements INodeType {
|
|||
'@version': [
|
||||
2,
|
||||
],
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -92,7 +92,7 @@ export class GoogleSheets implements INodeType {
|
|||
'@version': [
|
||||
1,
|
||||
],
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -115,7 +115,7 @@ export class GoogleSheets implements INodeType {
|
|||
'@version': [
|
||||
2,
|
||||
],
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -74,7 +74,7 @@ export class GoogleSlides implements INodeType {
|
|||
'@version': [
|
||||
1,
|
||||
],
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -97,7 +97,7 @@ export class GoogleSlides implements INodeType {
|
|||
'@version': [
|
||||
2,
|
||||
],
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -80,7 +80,7 @@ export class GoogleTranslate implements INodeType {
|
|||
'@version': [
|
||||
1,
|
||||
],
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -103,7 +103,7 @@ export class GoogleTranslate implements INodeType {
|
|||
'@version': [
|
||||
2,
|
||||
],
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue