From a365b57361d5a5db51544b48b693519f71fc885d Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sat, 8 Jun 2019 11:49:14 -0700 Subject: [PATCH] Move node to root-level tests folder --- node/tsconfig.json | 21 +++++++++++++++++++++ src/node/tsconfig.json | 17 ----------------- src/tsconfig.json | 3 +-- {src/node => test}/CharWidth.api.ts | 0 test/tsconfig.json | 21 +++++++++++++++++++++ tsconfig.all.json | 1 + 6 files changed, 44 insertions(+), 19 deletions(-) create mode 100644 node/tsconfig.json delete mode 100644 src/node/tsconfig.json rename {src/node => test}/CharWidth.api.ts (100%) create mode 100644 test/tsconfig.json diff --git a/node/tsconfig.json b/node/tsconfig.json new file mode 100644 index 00000000..80e7b98f --- /dev/null +++ b/node/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compilerOptions": { + "lib": [ + "dom", + "es6", + ], + "rootDir": "../test", + "outDir": "../../out", + "types": [ + "../node_modules/@types/mocha" + ], + "sourceMap": true, + "removeComments": true, + "pretty": true, + "strict": true + }, + "include": [ + "../test/**/*", + "../typings/xterm.d.ts" + ] +} diff --git a/src/node/tsconfig.json b/src/node/tsconfig.json deleted file mode 100644 index 8a67624b..00000000 --- a/src/node/tsconfig.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "extends": "../tsconfig-library-base", - "compilerOptions": { - "lib": [ - "dom", - "es6", - ], - "outDir": "../../out", - "types": [ - "../../node_modules/@types/mocha" - ] - }, - "include": [ - "./**/*", - "../../typings/xterm.d.ts" - ] -} diff --git a/src/tsconfig.json b/src/tsconfig.json index 7a7449a1..a42c8338 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -31,7 +31,6 @@ "references": [ { "path": "./common" }, { "path": "./core" }, - { "path": "./ui" }, - { "path": "./node" } + { "path": "./ui" } ] } diff --git a/src/node/CharWidth.api.ts b/test/CharWidth.api.ts similarity index 100% rename from src/node/CharWidth.api.ts rename to test/CharWidth.api.ts diff --git a/test/tsconfig.json b/test/tsconfig.json new file mode 100644 index 00000000..fce9a1ba --- /dev/null +++ b/test/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compilerOptions": { + "lib": [ + "dom", + "es6", + ], + "rootDir": ".", + "outDir": "../out/test", + "types": [ + "../node_modules/@types/mocha" + ], + "sourceMap": true, + "removeComments": true, + "pretty": true, + "strict": true + }, + "include": [ + "./**/*", + "../typings/xterm.d.ts" + ] +} diff --git a/tsconfig.all.json b/tsconfig.all.json index 4de8e9b5..d2670811 100644 --- a/tsconfig.all.json +++ b/tsconfig.all.json @@ -3,6 +3,7 @@ "include": [], "references": [ { "path": "./src" }, + { "path": "./test" }, { "path": "./addons/xterm-addon-attach/src" }, { "path": "./addons/xterm-addon-fit/src" }, { "path": "./addons/xterm-addon-search/src" },