Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sindresorhus/tsconfig
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.7.0
Choose a base ref
...
head repository: sindresorhus/tsconfig
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.8.0
Choose a head ref
  • 4 commits
  • 4 files changed
  • 1 contributor

Commits on Nov 20, 2020

  1. Copy the full SHA
    a1ea5cc View commit details
  2. Require Node.js 10

    sindresorhus committed Nov 20, 2020
    Copy the full SHA
    eee7b81 View commit details
  3. Copy the full SHA
    543c786 View commit details
  4. 0.8.0

    sindresorhus committed Nov 20, 2020
    Copy the full SHA
    b71aed1 View commit details
Showing with 7 additions and 14 deletions.
  1. +1 −1 license
  2. +3 −3 package.json
  3. +0 −7 readme.md
  4. +3 −3 tsconfig.json
2 changes: 1 addition & 1 deletion license
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@sindresorhus/tsconfig",
"version": "0.7.0",
"version": "0.8.0",
"description": "Shared TypeScript config for my projects",
"license": "MIT",
"repository": "sindresorhus/tsconfig",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
"url": "https://sindresorhus.com"
},
"main": "tsconfig.json",
"engines": {
"node": ">=8"
"node": ">=10"
},
"files": [
"tsconfig.json"
7 changes: 0 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
@@ -2,14 +2,12 @@

> Shared [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) for my projects

## Install

```
$ npm install --save-dev @sindresorhus/tsconfig
```


## Usage

`tsconfig.json`
@@ -26,8 +24,3 @@ $ npm install --save-dev @sindresorhus/tsconfig
}
}
```


## License

MIT © [Sindre Sorhus](https://sindresorhus.com)
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
// Disabled because of https://github.com/Microsoft/TypeScript/issues/29172
// "outDir": "dist",

"target": "es2017", // Node.js 8
"target": "es2018", // Node.js 10
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
@@ -17,9 +17,9 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noEmitOnError": true,
// Disabled because of TS bugs: https://github.com/sindresorhus/tsconfig/issues/7
// "useDefineForClassFields": true,
"useDefineForClassFields": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true
}