Skip to content

Commit

Permalink
Simplify tsc setup
Browse files Browse the repository at this point in the history
We don't need to build files to `lib` as jest compiles on the fly during
tests and `ncc` packages the action from typescript.
  • Loading branch information
feelepxyz committed Jul 28, 2021
1 parent 57f817a commit 603a648
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"compilerOptions": {
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"outDir": "./lib", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"moduleResolution": "node"
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"moduleResolution": "node",
"noEmit": true, /* Do not emit compiler output files as we use ncc to package the action */
"forceConsistentCasingInFileNames": true /* Error if requiring a file by a casing different from the casing on disk */
},
"include": ["src/**/*.ts"],
"exclude": ["**/node_modules/**"]
Expand Down

0 comments on commit 603a648

Please sign in to comment.