ci: Setup TS project references for nodes-base, and stop packaging tests in the npm package (no-changelog) (#5635)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-03-08 14:33:13 +01:00 committed by GitHub
parent 0d49ad8b93
commit 0b6fa6b20e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 7 deletions

View file

@ -15,7 +15,8 @@
"scripts": {
"clean": "rimraf dist .turbo",
"dev": "pnpm watch",
"build": "tsc && gulp build:icons && gulp build:translations && pnpm build:metadata",
"typecheck": "tsc",
"build": "tsc -p tsconfig.build.json && gulp build:icons && gulp build:translations && pnpm build:metadata",
"build:translations": "gulp build:translations",
"build:metadata": "pnpm n8n-generate-known && pnpm n8n-generate-ui-types",
"format": "prettier --write . --ignore-path ../../.prettierignore",

View file

@ -0,0 +1,16 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"types": ["node"],
"noEmit": false,
"tsBuildInfoFile": "dist/build.tsbuildinfo"
},
"include": [
"credentials/**/*.ts",
"nodes/**/*.ts",
"nodes/**/*.json",
"credentials/translations/**/*.json"
],
"exclude": ["nodes/**/*.test.ts", "test/**"]
}

View file

@ -1,18 +1,17 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"lib": ["dom", "es2020", "es2022.error"],
"types": ["node", "jest"],
"noEmit": true,
// TODO: remove all options below this line
"noImplicitReturns": false,
"noUnusedLocals": false,
"useUnknownInCatchVariables": false
},
"include": [
"credentials/**/*.ts",
"nodes/**/*.ts",
"nodes/**/*.json",
"credentials/translations/**/*.json"
"include": ["credentials/**/*.ts", "nodes/**/*.ts"],
"references": [
{ "path": "../workflow/tsconfig.build.json" },
{ "path": "../core/tsconfig.build.json" }
]
}