Skip to content

Commit

Permalink
feat: adds tsconfig package
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiokopplin committed Jul 12, 2022
1 parent 4e3507e commit a795b81
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
],
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --no-cache --parallel --continue",
"lint": "turbo run lint",
"clean": "turbo run clean && rm -rf node_modules",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "turbo run build && changeset publish"
"release": "turbo run build && changeset publish",
"release-local": "yarn changeset && yarn version-packages"
},
"devDependencies": {
"@changesets/cli": "^2.22.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/tsconfig/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @kopplin/tsconfig

## 0.0.1

### Patch Changes

- release package
21 changes: 21 additions & 0 deletions packages/tsconfig/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# @kopplin/tsconfig

[![npm version](https://badge.fury.io/js/%40kopplin%2Ftsconfig.svg)](https://badge.fury.io/js/%40kopplin%2Ftsconfig)

Kopplin's Shared [TypeScript config](https://www.typescriptlang.org/docs/handbook/ts-config-json.html)

## Install

```
npm install --save-dev @kopplin/tsconfig
```

## Usage

`tsconfig.json`

```json
{
"extends": "@kopplin/tsconfig"
}
```
15 changes: 15 additions & 0 deletions packages/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "@kopplin/tsconfig",
"version": "0.0.1",
"description": "Shared Typescript config",
"author": "Sérgio Kopplin <sergiokopplin.com>",
"main": "tsconfig.json",
"files": [
"tsconfig.json"
],
"keywords": [
"tsconfig",
"typescript"
],
"license": "MIT"
}
21 changes: 21 additions & 0 deletions packages/tsconfig/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"compilerOptions": {
"lib": ["esnext"],
"declaration": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"sourceMap": true,
"target": "es6",
"allowJs": false,
"pretty": true,
"experimentalDecorators": true
}
}

0 comments on commit a795b81

Please sign in to comment.