From e4f90996af5972c09e80f31f66abc3fcb2c2e99c Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Fri, 9 Mar 2018 10:49:57 +0100 Subject: Remove example from react-docs package to react-docs-example package --- packages/react-docs-example/tsconfig.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 packages/react-docs-example/tsconfig.json (limited to 'packages/react-docs-example/tsconfig.json') diff --git a/packages/react-docs-example/tsconfig.json b/packages/react-docs-example/tsconfig.json new file mode 100644 index 000000000..3e5c9e435 --- /dev/null +++ b/packages/react-docs-example/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compilerOptions": { + "outDir": "./lib/", + "jsx": "react", + "baseUrl": "./", + "strictNullChecks": false, + "paths": { + "*": ["node_modules/@types/*", "*"] + }, + "module": "commonjs", + "target": "es5", + "lib": ["es2017", "dom"], + "sourceMap": true, + "declaration": true, + "experimentalDecorators": true, + "noImplicitReturns": true, + "pretty": true, + "strict": true + }, + "include": ["./example/ts/**/*"] +} -- cgit v1.2.3 From cc73f72d130ed91f74dbe378cc68e834850898f4 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Fri, 9 Mar 2018 11:00:47 +0100 Subject: remove example top-level dir --- packages/react-docs-example/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/react-docs-example/tsconfig.json') diff --git a/packages/react-docs-example/tsconfig.json b/packages/react-docs-example/tsconfig.json index 3e5c9e435..0e9cd3ddd 100644 --- a/packages/react-docs-example/tsconfig.json +++ b/packages/react-docs-example/tsconfig.json @@ -17,5 +17,5 @@ "pretty": true, "strict": true }, - "include": ["./example/ts/**/*"] + "include": ["./ts/**/*"] } -- cgit v1.2.3 From e302d233175c10240f5135b3bb4c8f1ca2e43fae Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Fri, 9 Mar 2018 13:44:56 +0100 Subject: Extend top-level tsconfigs --- packages/react-docs-example/tsconfig.json | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'packages/react-docs-example/tsconfig.json') diff --git a/packages/react-docs-example/tsconfig.json b/packages/react-docs-example/tsconfig.json index 0e9cd3ddd..2f12470d6 100644 --- a/packages/react-docs-example/tsconfig.json +++ b/packages/react-docs-example/tsconfig.json @@ -1,4 +1,5 @@ { + "extends": "../../tsconfig", "compilerOptions": { "outDir": "./lib/", "jsx": "react", @@ -6,16 +7,7 @@ "strictNullChecks": false, "paths": { "*": ["node_modules/@types/*", "*"] - }, - "module": "commonjs", - "target": "es5", - "lib": ["es2017", "dom"], - "sourceMap": true, - "declaration": true, - "experimentalDecorators": true, - "noImplicitReturns": true, - "pretty": true, - "strict": true + } }, "include": ["./ts/**/*"] } -- cgit v1.2.3