@codecompose/typescript-config 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
1
|
# typescript-config
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Opinionated reusable Typescript configurations.
|
|
4
|
+
|
|
5
|
+
It assumes:
|
|
6
|
+
|
|
7
|
+
- A monorepo setup
|
|
8
|
+
- You transpile using a bundler
|
|
9
|
+
- Strict rules
|
|
10
|
+
- src and dist directories
|
|
11
|
+
- ~/ as path alias for src
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
pnpm i @codecompose/typescript-config
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"extends": "@codecompose/typescript-config/library.json"
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Available Configurations
|
|
26
|
+
|
|
27
|
+
- base
|
|
28
|
+
- library
|
|
29
|
+
- react-library
|
|
30
|
+
- service
|
|
31
|
+
- nextjs
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecompose/typescript-config",
|
|
3
|
-
"description": "
|
|
4
|
-
"version": "1.0.
|
|
3
|
+
"description": "Opinionated reusable TypeScript configurations",
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Thijs Koerselman",
|
|
7
7
|
"publishConfig": {
|