@sveltek/tsconfig 1.0.0 → 1.1.0
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/LICENSE.txt +2 -2
- package/README.md +16 -5
- package/package.json +6 -17
- package/tsconfig.json +1 -0
package/LICENSE.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
4
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2026, Ivo Dolenc <https://github.com/ivodolenc>
|
|
4
|
+
Copyright (c) 2026, Sveltek <https://github.com/sveltek>
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -12,19 +12,30 @@ pnpm add -D @sveltek/tsconfig
|
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
```ts
|
|
16
|
+
// tsconfig.json
|
|
16
17
|
|
|
17
|
-
```json
|
|
18
18
|
{
|
|
19
19
|
"extends": "@sveltek/tsconfig"
|
|
20
20
|
}
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
##
|
|
23
|
+
## Custom Setup
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
```ts
|
|
26
|
+
// tsconfig.json
|
|
26
27
|
|
|
27
|
-
|
|
28
|
+
{
|
|
29
|
+
"extends": "@sveltek/tsconfig",
|
|
30
|
+
"compilerOptions": {
|
|
31
|
+
"baseUrl": "./",
|
|
32
|
+
"paths": {
|
|
33
|
+
"@": ["./src"],
|
|
34
|
+
"@/*": ["./src/*"]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
```
|
|
28
39
|
|
|
29
40
|
## License
|
|
30
41
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltek/tsconfig",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"author": "Sveltek",
|
|
5
|
-
"contributors": [
|
|
6
|
-
{
|
|
7
|
-
"name": "Ivo Dolenc",
|
|
8
|
-
"url": "https://github.com/ivodolenc"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
5
|
"description": "Sveltek's config for TypeScript.",
|
|
12
6
|
"license": "MIT",
|
|
13
7
|
"repository": {
|
|
@@ -32,14 +26,6 @@
|
|
|
32
26
|
"presets",
|
|
33
27
|
"config"
|
|
34
28
|
],
|
|
35
|
-
"scripts": {
|
|
36
|
-
"format": "prettier --write ."
|
|
37
|
-
},
|
|
38
|
-
"packageManager": "pnpm@10.6.5",
|
|
39
|
-
"engines": {
|
|
40
|
-
"node": ">=20.0.0",
|
|
41
|
-
"pnpm": ">=10.0.0"
|
|
42
|
-
},
|
|
43
29
|
"peerDependencies": {
|
|
44
30
|
"@types/node": ">=20.0.0",
|
|
45
31
|
"typescript": ">=5.0.0"
|
|
@@ -50,6 +36,9 @@
|
|
|
50
36
|
}
|
|
51
37
|
},
|
|
52
38
|
"devDependencies": {
|
|
53
|
-
"prettier": "^3.
|
|
39
|
+
"prettier": "^3.8.0"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"format": "prettier --write ."
|
|
54
43
|
}
|
|
55
|
-
}
|
|
44
|
+
}
|