Fix root tsconfig conflicting with eslint file resolution (#4437)

This commit is contained in:
Timothee Guerin 2022-02-25 18:01:27 -08:00 коммит произвёл GitHub
Родитель c494852dd6
Коммит d021dadda2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 25 добавлений и 22 удалений

Просмотреть файл

@ -1,2 +1,2 @@
const { repoRoot, run, tsc } = require("./helpers.js");
run(tsc, ["--build", "--watch"], { cwd: repoRoot, sync: false });
run(tsc, ["--build", "tsconfig.ws.json", "--watch"], { cwd: repoRoot, sync: false });

Просмотреть файл

@ -1,23 +1,3 @@
{
"references": [
{ "path": "packages/apps/autorest/tsconfig.build.json" },
{ "path": "packages/extensions/core/tsconfig.build.json" },
{ "path": "packages/extensions/modelerfour/tsconfig.build.json" },
{ "path": "packages/libs/codegen/tsconfig.build.json" },
{ "path": "packages/libs/codemodel/tsconfig.build.json" },
{ "path": "packages/libs/common/tsconfig.build.json" },
{ "path": "packages/libs/configuration/tsconfig.build.json" },
{ "path": "packages/libs/datastore/tsconfig.build.json" },
{ "path": "packages/libs/deduplication/tsconfig.build.json" },
{ "path": "packages/libs/extension/tsconfig.build.json" },
{ "path": "packages/libs/extension-base/tsconfig.build.json" },
{ "path": "packages/libs/json/tsconfig.build.json" },
{ "path": "packages/libs/jsonschema/tsconfig.build.json" },
{ "path": "packages/libs/oai2-to-oai3/tsconfig.build.json" },
{ "path": "packages/libs/openapi/tsconfig.build.json" },
{ "path": "packages/libs/yaml/tsconfig.build.json" }
],
"files": []
"extends": "./tsconfig.base.json"
}

23
tsconfig.ws.json Normal file
Просмотреть файл

@ -0,0 +1,23 @@
{
"references": [
{ "path": "packages/apps/autorest/tsconfig.build.json" },
{ "path": "packages/extensions/core/tsconfig.build.json" },
{ "path": "packages/extensions/modelerfour/tsconfig.build.json" },
{ "path": "packages/libs/codegen/tsconfig.build.json" },
{ "path": "packages/libs/codemodel/tsconfig.build.json" },
{ "path": "packages/libs/common/tsconfig.build.json" },
{ "path": "packages/libs/configuration/tsconfig.build.json" },
{ "path": "packages/libs/datastore/tsconfig.build.json" },
{ "path": "packages/libs/deduplication/tsconfig.build.json" },
{ "path": "packages/libs/extension/tsconfig.build.json" },
{ "path": "packages/libs/extension-base/tsconfig.build.json" },
{ "path": "packages/libs/json/tsconfig.build.json" },
{ "path": "packages/libs/jsonschema/tsconfig.build.json" },
{ "path": "packages/libs/oai2-to-oai3/tsconfig.build.json" },
{ "path": "packages/libs/openapi/tsconfig.build.json" },
{ "path": "packages/libs/yaml/tsconfig.build.json" }
],
"files": []
}