refactor: Setup typescript project references across workflow, core, and cli (#4519)

* refactor: use consistent folder structure across workflow, core, and cli

* setup typescript project references across workflow, core, and cli
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-11-09 15:25:00 +01:00
committed by GitHub
parent de96def372
commit 698d96a617
251 changed files with 1284 additions and 1134 deletions

View File

@@ -12,20 +12,21 @@
"type": "git",
"url": "git+https://github.com/n8n-io/n8n.git"
},
"main": "dist/src/index.js",
"main": "dist/index.js",
"module": "src/index.ts",
"types": "dist/src/index.d.ts",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/src/index.js",
"require": "./dist/index.js",
"import": "./src/index.ts",
"types": "./dist/src/index.d.ts"
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
"scripts": {
"dev": "npm run watch",
"build": "tsc",
"typecheck": "tsc",
"build": "tsc -p tsconfig.build.json",
"format": "cd ../.. && node_modules/prettier/bin-prettier.js packages/workflow/**/**.ts --write",
"lint": "eslint .",
"lintfix": "eslint . --fix",