diff --git a/packages/cli/package.json b/packages/cli/package.json index 838fb44a3b..07bf405ffd 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,138 +1,138 @@ { - "name": "n8n", - "version": "0.112.0", - "description": "n8n Workflow Automation Tool", - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io", - "author": { - "name": "Jan Oberhauser", - "email": "jan@n8n.io" + "name": "n8n", + "version": "0.112.0", + "description": "n8n Workflow Automation Tool", + "license": "SEE LICENSE IN LICENSE.md", + "homepage": "https://n8n.io", + "author": { + "name": "Jan Oberhauser", + "email": "jan@n8n.io" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/n8n-io/n8n.git" + }, + "main": "dist/index", + "types": "dist/src/index.d.ts", + "oclif": { + "commands": "./dist/commands", + "bin": "n8n" + }, + "scripts": { + "build": "tsc", + "dev": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"npm run watch\" \"nodemon\"", + "postpack": "rm -f oclif.manifest.json", + "prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest", + "start": "run-script-os", + "start:default": "cd bin && ./n8n", + "start:windows": "cd bin && n8n", + "test": "jest", + "tslint": "tslint -p tsconfig.json -c tslint.json", + "tslintfix": "tslint --fix -p tsconfig.json -c tslint.json", + "watch": "tsc --watch", + "typeorm": "ts-node ./node_modules/typeorm/cli.js" + }, + "bin": { + "n8n": "./bin/n8n" + }, + "keywords": [ + "automate", + "automation", + "IaaS", + "iPaaS", + "n8n", + "workflow" + ], + "engines": { + "node": ">=12.0.0" + }, + "files": [ + "bin", + "templates", + "dist", + "oclif.manifest.json" + ], + "devDependencies": { + "@oclif/dev-cli": "^1.22.2", + "@types/basic-auth": "^1.1.2", + "@types/bcryptjs": "^2.4.1", + "@types/bull": "^3.3.10", + "@types/compression": "1.0.1", + "@types/connect-history-api-fallback": "^1.3.1", + "@types/convict": "^4.2.1", + "@types/dotenv": "^8.2.0", + "@types/express": "^4.17.6", + "@types/jest": "^26.0.13", + "@types/localtunnel": "^1.9.0", + "@types/lodash.get": "^4.4.6", + "@types/node": "14.0.27", + "@types/open": "^6.1.0", + "@types/parseurl": "^1.3.1", + "@types/request-promise-native": "~1.0.15", + "concurrently": "^5.1.0", + "jest": "^26.4.2", + "nodemon": "^2.0.2", + "p-cancelable": "^2.0.0", + "run-script-os": "^1.0.7", + "ts-jest": "^26.3.0", + "ts-node": "^8.9.1", + "tslint": "^6.1.2", + "typescript": "~3.9.7" + }, + "dependencies": { + "@oclif/command": "^1.5.18", + "@oclif/errors": "^1.2.2", + "@types/jsonwebtoken": "^8.3.4", + "basic-auth": "^2.0.1", + "bcryptjs": "^2.4.3", + "body-parser": "^1.18.3", + "body-parser-xml": "^1.1.0", + "bull": "^3.19.0", + "client-oauth2": "^4.2.5", + "compression": "^1.7.4", + "connect-history-api-fallback": "^1.6.0", + "convict": "^6.0.1", + "csrf": "^3.1.0", + "dotenv": "^8.0.0", + "express": "^4.16.4", + "flatted": "^2.0.0", + "glob-promise": "^3.4.0", + "google-timezones-json": "^1.0.2", + "inquirer": "^7.0.1", + "jsonwebtoken": "^8.5.1", + "jwks-rsa": "~1.12.1", + "localtunnel": "^2.0.0", + "lodash.get": "^4.4.2", + "mysql2": "~2.1.0", + "n8n-core": "~0.65.0", + "n8n-editor-ui": "~0.82.0", + "n8n-nodes-base": "~0.109.0", + "n8n-workflow": "~0.54.0", + "oauth-1.0a": "^2.2.6", + "open": "^7.0.0", + "pg": "^8.3.0", + "prom-client": "^13.1.0", + "request-promise-native": "^1.0.7", + "sqlite3": "^5.0.1", + "sse-channel": "^3.1.1", + "tslib": "1.11.2", + "typeorm": "^0.2.30" + }, + "jest": { + "transform": { + "^.+\\.tsx?$": "ts-jest" }, - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, - "main": "dist/index", - "types": "dist/src/index.d.ts", - "oclif": { - "commands": "./dist/commands", - "bin": "n8n" - }, - "scripts": { - "build": "tsc", - "dev": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"npm run watch\" \"nodemon\"", - "postpack": "rm -f oclif.manifest.json", - "prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest", - "start": "run-script-os", - "start:default": "cd bin && ./n8n", - "start:windows": "cd bin && n8n", - "test": "jest", - "tslint": "tslint -p tsconfig.json -c tslint.json", - "tslintfix": "tslint --fix -p tsconfig.json -c tslint.json", - "watch": "tsc --watch", - "typeorm": "ts-node ./node_modules/typeorm/cli.js" - }, - "bin": { - "n8n": "./bin/n8n" - }, - "keywords": [ - "automate", - "automation", - "IaaS", - "iPaaS", - "n8n", - "workflow" + "testURL": "http://localhost/", + "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", + "testPathIgnorePatterns": [ + "/dist/", + "/node_modules/" ], - "engines": { - "node": ">=12.0.0" - }, - "files": [ - "bin", - "templates", - "dist", - "oclif.manifest.json" - ], - "devDependencies": { - "@oclif/dev-cli": "^1.22.2", - "@types/basic-auth": "^1.1.2", - "@types/bcryptjs": "^2.4.1", - "@types/bull": "^3.3.10", - "@types/compression": "1.0.1", - "@types/connect-history-api-fallback": "^1.3.1", - "@types/convict": "^4.2.1", - "@types/dotenv": "^8.2.0", - "@types/express": "^4.17.6", - "@types/jest": "^26.0.13", - "@types/localtunnel": "^1.9.0", - "@types/lodash.get": "^4.4.6", - "@types/node": "14.0.27", - "@types/open": "^6.1.0", - "@types/parseurl": "^1.3.1", - "@types/request-promise-native": "~1.0.15", - "concurrently": "^5.1.0", - "jest": "^26.4.2", - "nodemon": "^2.0.2", - "p-cancelable": "^2.0.0", - "run-script-os": "^1.0.7", - "ts-jest": "^26.3.0", - "ts-node": "^8.9.1", - "tslint": "^6.1.2", - "typescript": "~3.9.7" - }, - "dependencies": { - "@oclif/command": "^1.5.18", - "@oclif/errors": "^1.2.2", - "@types/jsonwebtoken": "^8.3.4", - "basic-auth": "^2.0.1", - "bcryptjs": "^2.4.3", - "body-parser": "^1.18.3", - "body-parser-xml": "^1.1.0", - "bull": "^3.19.0", - "client-oauth2": "^4.2.5", - "compression": "^1.7.4", - "connect-history-api-fallback": "^1.6.0", - "convict": "^6.0.1", - "csrf": "^3.1.0", - "dotenv": "^8.0.0", - "express": "^4.16.4", - "flatted": "^2.0.0", - "glob-promise": "^3.4.0", - "google-timezones-json": "^1.0.2", - "inquirer": "^7.0.1", - "jsonwebtoken": "^8.5.1", - "jwks-rsa": "~1.12.1", - "localtunnel": "^2.0.0", - "lodash.get": "^4.4.2", - "mysql2": "~2.1.0", - "n8n-core": "~0.65.0", - "n8n-editor-ui": "~0.82.0", - "n8n-nodes-base": "~0.109.0", - "n8n-workflow": "~0.54.0", - "oauth-1.0a": "^2.2.6", - "open": "^7.0.0", - "pg": "^8.3.0", - "prom-client": "^13.1.0", - "request-promise-native": "^1.0.7", - "sqlite3": "^5.0.1", - "sse-channel": "^3.1.1", - "tslib": "1.11.2", - "typeorm": "^0.2.30" - }, - "jest": { - "transform": { - "^.+\\.tsx?$": "ts-jest" - }, - "testURL": "http://localhost/", - "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", - "testPathIgnorePatterns": [ - "/dist/", - "/node_modules/" - ], - "moduleFileExtensions": [ - "ts", - "tsx", - "js", - "json" - ] - } + "moduleFileExtensions": [ + "ts", + "tsx", + "js", + "json" + ] + } } diff --git a/packages/core/package.json b/packages/core/package.json index c7c2cfa639..6db61f6f67 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,74 +1,74 @@ { - "name": "n8n-core", - "version": "0.65.0", - "description": "Core functionality of n8n", - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io", - "author": { - "name": "Jan Oberhauser", - "email": "jan@n8n.io" + "name": "n8n-core", + "version": "0.65.0", + "description": "Core functionality of n8n", + "license": "SEE LICENSE IN LICENSE.md", + "homepage": "https://n8n.io", + "author": { + "name": "Jan Oberhauser", + "email": "jan@n8n.io" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/n8n-io/n8n.git" + }, + "main": "dist/src/index", + "types": "dist/src/index.d.ts", + "scripts": { + "build": "tsc", + "dev": "npm run watch", + "tslint": "tslint -p tsconfig.json -c tslint.json", + "tslintfix": "tslint --fix -p tsconfig.json -c tslint.json", + "watch": "tsc --watch", + "test": "jest" + }, + "files": [ + "dist" + ], + "devDependencies": { + "@types/cron": "^1.7.1", + "@types/crypto-js": "^4.0.1", + "@types/express": "^4.17.6", + "@types/jest": "^26.0.13", + "@types/lodash.get": "^4.4.6", + "@types/mime-types": "^2.1.0", + "@types/node": "14.0.27", + "@types/request-promise-native": "~1.0.15", + "jest": "^26.4.2", + "source-map-support": "^0.5.9", + "ts-jest": "^26.3.0", + "tslint": "^6.1.2", + "typescript": "~3.9.7" + }, + "dependencies": { + "client-oauth2": "^4.2.5", + "cron": "^1.7.2", + "crypto-js": "4.0.0", + "file-type": "^14.6.2", + "lodash.get": "^4.4.2", + "mime-types": "^2.1.27", + "n8n-workflow": "~0.54.0", + "oauth-1.0a": "^2.2.6", + "p-cancelable": "^2.0.0", + "request": "^2.88.2", + "request-promise-native": "^1.0.7" + }, + "jest": { + "transform": { + "^.+\\.tsx?$": "ts-jest" }, - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, - "main": "dist/src/index", - "types": "dist/src/index.d.ts", - "scripts": { - "build": "tsc", - "dev": "npm run watch", - "tslint": "tslint -p tsconfig.json -c tslint.json", - "tslintfix": "tslint --fix -p tsconfig.json -c tslint.json", - "watch": "tsc --watch", - "test": "jest" - }, - "files": [ - "dist" + "testURL": "http://localhost/", + "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", + "testPathIgnorePatterns": [ + "/dist/", + "/node_modules/" ], - "devDependencies": { - "@types/cron": "^1.7.1", - "@types/crypto-js": "^4.0.1", - "@types/express": "^4.17.6", - "@types/jest": "^26.0.13", - "@types/lodash.get": "^4.4.6", - "@types/mime-types": "^2.1.0", - "@types/node": "14.0.27", - "@types/request-promise-native": "~1.0.15", - "jest": "^26.4.2", - "source-map-support": "^0.5.9", - "ts-jest": "^26.3.0", - "tslint": "^6.1.2", - "typescript": "~3.9.7" - }, - "dependencies": { - "client-oauth2": "^4.2.5", - "cron": "^1.7.2", - "crypto-js": "4.0.0", - "file-type": "^14.6.2", - "lodash.get": "^4.4.2", - "mime-types": "^2.1.27", - "n8n-workflow": "~0.54.0", - "oauth-1.0a": "^2.2.6", - "p-cancelable": "^2.0.0", - "request": "^2.88.2", - "request-promise-native": "^1.0.7" - }, - "jest": { - "transform": { - "^.+\\.tsx?$": "ts-jest" - }, - "testURL": "http://localhost/", - "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", - "testPathIgnorePatterns": [ - "/dist/", - "/node_modules/" - ], - "moduleFileExtensions": [ - "ts", - "tsx", - "js", - "json", - "node" - ] - } + "moduleFileExtensions": [ + "ts", + "tsx", + "js", + "json", + "node" + ] + } } diff --git a/packages/editor-ui/.editorconfig b/packages/editor-ui/.editorconfig index bec7553240..9e24325d41 100644 --- a/packages/editor-ui/.editorconfig +++ b/packages/editor-ui/.editorconfig @@ -6,3 +6,10 @@ indent_style = tab end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true + +[package.json] +indent_style = space +indent_size = 2 + +[*.ts] +quote_type = single diff --git a/packages/node-dev/package.json b/packages/node-dev/package.json index 9fa433df30..6ba68331a2 100644 --- a/packages/node-dev/package.json +++ b/packages/node-dev/package.json @@ -1,70 +1,70 @@ { - "name": "n8n-node-dev", - "version": "0.11.0", - "description": "CLI to simplify n8n credentials/node development", - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io", - "author": { - "name": "Jan Oberhauser", - "email": "jan@n8n.io" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, - "main": "dist/src/index", - "types": "dist/src/index.d.ts", - "oclif": { - "commands": "./dist/commands", - "bin": "n8n-node-dev" - }, - "scripts": { - "dev": "npm run watch", - "build": "tsc", - "postpack": "rm -f oclif.manifest.json", - "prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest", - "tslint": "tslint -p tsconfig.json -c tslint.json", - "tslintfix": "tslint --fix -p tsconfig.json -c tslint.json", - "watch": "tsc --watch" - }, - "bin": { - "n8n-node-dev": "./bin/n8n-node-dev" - }, - "keywords": [ - "development", - "node", - "helper", - "n8n" - ], - "files": [ - "bin", - "dist", - "templates", - "oclif.manifest.json", - "src/tsconfig-build.json" - ], - "devDependencies": { - "@oclif/dev-cli": "^1.22.2", - "@types/copyfiles": "^2.1.1", - "@types/inquirer": "^6.5.0", - "@types/tmp": "^0.1.0", - "@types/vorpal": "^1.11.0", - "tslint": "^6.1.2" - }, - "dependencies": { - "@oclif/command": "^1.5.18", - "@oclif/errors": "^1.2.2", - "@types/express": "^4.17.6", - "@types/node": "14.0.27", - "change-case": "^4.1.1", - "copyfiles": "^2.1.1", - "inquirer": "^7.0.1", - "n8n-core": "^0.48.0", - "n8n-workflow": "^0.42.0", - "oauth-1.0a": "^2.2.6", - "replace-in-file": "^6.0.0", - "request": "^2.88.2", - "tmp-promise": "^2.0.2", - "typescript": "~3.9.7" - } + "name": "n8n-node-dev", + "version": "0.11.0", + "description": "CLI to simplify n8n credentials/node development", + "license": "SEE LICENSE IN LICENSE.md", + "homepage": "https://n8n.io", + "author": { + "name": "Jan Oberhauser", + "email": "jan@n8n.io" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/n8n-io/n8n.git" + }, + "main": "dist/src/index", + "types": "dist/src/index.d.ts", + "oclif": { + "commands": "./dist/commands", + "bin": "n8n-node-dev" + }, + "scripts": { + "dev": "npm run watch", + "build": "tsc", + "postpack": "rm -f oclif.manifest.json", + "prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest", + "tslint": "tslint -p tsconfig.json -c tslint.json", + "tslintfix": "tslint --fix -p tsconfig.json -c tslint.json", + "watch": "tsc --watch" + }, + "bin": { + "n8n-node-dev": "./bin/n8n-node-dev" + }, + "keywords": [ + "development", + "node", + "helper", + "n8n" + ], + "files": [ + "bin", + "dist", + "templates", + "oclif.manifest.json", + "src/tsconfig-build.json" + ], + "devDependencies": { + "@oclif/dev-cli": "^1.22.2", + "@types/copyfiles": "^2.1.1", + "@types/inquirer": "^6.5.0", + "@types/tmp": "^0.1.0", + "@types/vorpal": "^1.11.0", + "tslint": "^6.1.2" + }, + "dependencies": { + "@oclif/command": "^1.5.18", + "@oclif/errors": "^1.2.2", + "@types/express": "^4.17.6", + "@types/node": "14.0.27", + "change-case": "^4.1.1", + "copyfiles": "^2.1.1", + "inquirer": "^7.0.1", + "n8n-core": "^0.48.0", + "n8n-workflow": "^0.42.0", + "oauth-1.0a": "^2.2.6", + "replace-in-file": "^6.0.0", + "request": "^2.88.2", + "tmp-promise": "^2.0.2", + "typescript": "~3.9.7" + } } diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index 2d97909a8c..cae916ebf8 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -640,4 +640,4 @@ "json" ] } -} \ No newline at end of file +} diff --git a/packages/workflow/package.json b/packages/workflow/package.json index b867b3f6b1..444630472d 100644 --- a/packages/workflow/package.json +++ b/packages/workflow/package.json @@ -1,59 +1,59 @@ { - "name": "n8n-workflow", - "version": "0.54.0", - "description": "Workflow base code of n8n", - "license": "SEE LICENSE IN LICENSE.md", - "homepage": "https://n8n.io", - "author": { - "name": "Jan Oberhauser", - "email": "jan@n8n.io" + "name": "n8n-workflow", + "version": "0.54.0", + "description": "Workflow base code of n8n", + "license": "SEE LICENSE IN LICENSE.md", + "homepage": "https://n8n.io", + "author": { + "name": "Jan Oberhauser", + "email": "jan@n8n.io" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/n8n-io/n8n.git" + }, + "main": "dist/src/index", + "types": "dist/src/index.d.ts", + "scripts": { + "dev": "npm run watch", + "build": "tsc", + "tslint": "tslint -p tsconfig.json -c tslint.json", + "tslintfix": "tslint --fix -p tsconfig.json -c tslint.json", + "watch": "tsc --watch", + "test": "jest" + }, + "files": [ + "dist" + ], + "devDependencies": { + "@types/express": "^4.17.6", + "@types/jest": "^26.0.13", + "@types/lodash.get": "^4.4.6", + "@types/node": "14.0.27", + "jest": "^26.4.2", + "ts-jest": "^26.3.0", + "tslint": "^6.1.2", + "typescript": "~3.9.7" + }, + "dependencies": { + "lodash.get": "^4.4.2", + "riot-tmpl": "^3.0.8" + }, + "jest": { + "transform": { + "^.+\\.tsx?$": "ts-jest" }, - "repository": { - "type": "git", - "url": "git+https://github.com/n8n-io/n8n.git" - }, - "main": "dist/src/index", - "types": "dist/src/index.d.ts", - "scripts": { - "dev": "npm run watch", - "build": "tsc", - "tslint": "tslint -p tsconfig.json -c tslint.json", - "tslintfix": "tslint --fix -p tsconfig.json -c tslint.json", - "watch": "tsc --watch", - "test": "jest" - }, - "files": [ - "dist" + "testURL": "http://localhost/", + "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", + "testPathIgnorePatterns": [ + "/dist/", + "/node_modules/" ], - "devDependencies": { - "@types/express": "^4.17.6", - "@types/jest": "^26.0.13", - "@types/lodash.get": "^4.4.6", - "@types/node": "14.0.27", - "jest": "^26.4.2", - "ts-jest": "^26.3.0", - "tslint": "^6.1.2", - "typescript": "~3.9.7" - }, - "dependencies": { - "lodash.get": "^4.4.2", - "riot-tmpl": "^3.0.8" - }, - "jest": { - "transform": { - "^.+\\.tsx?$": "ts-jest" - }, - "testURL": "http://localhost/", - "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", - "testPathIgnorePatterns": [ - "/dist/", - "/node_modules/" - ], - "moduleFileExtensions": [ - "ts", - "tsx", - "js", - "json" - ] - } + "moduleFileExtensions": [ + "ts", + "tsx", + "js", + "json" + ] + } }