Skip to content

Commit

Permalink
feat(tsconfig): removeComments is not enabled by default (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cphayim authored Jul 1, 2024
1 parent 838f734 commit 4963ac7
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 26 deletions.
7 changes: 7 additions & 0 deletions packages/tsconfig/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @ombro/tsconfig

## 2.0.1

### Patch Changes

- The setting `removeComments` is not enabled by default
- Which simplifies the hierarchy

## 2.0.0

### Major Changes
Expand Down
23 changes: 0 additions & 23 deletions packages/tsconfig/common/common.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ombro/tsconfig",
"version": "2.0.0",
"version": "2.0.1",
"description": "Shared TypeScript tsconfig.json",
"engines": {
"node": ">=v16.20.2"
Expand Down
19 changes: 17 additions & 2 deletions packages/tsconfig/target/base.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
// Compile the target-related configurations
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../common/common.json",
"compilerOptions": {
"target": "ES2021", // Node 16
"lib": ["DOM", "DOM.Iterable", "ES2021"],
"moduleResolution": "node",
"moduleDetection": "force",
"allowSyntheticDefaultImports": true,
"resolveJsonModule": false
"resolveJsonModule": false,
// The parts that hardly need to be changed...
"declaration": true,
"pretty": true,
"newLine": "lf",
"stripInternal": true,
"strict": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noEmitOnError": true,
"useDefineForClassFields": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"useUnknownInCatchVariables": false
}
}

0 comments on commit 4963ac7

Please sign in to comment.