@sveltek/tsconfig 1.0.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Ivo Dolenc <https://github.com/ivodolenc>
4
- Copyright (c) 2025 Sveltek <https://github.com/sveltek>
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
- ### tsconfig.json
15
+ ```ts
16
+ // tsconfig.json
16
17
 
17
- ```json
18
18
  {
19
19
  "extends": "@sveltek/tsconfig"
20
20
  }
21
21
  ```
22
22
 
23
- ## Community
23
+ ## Custom Setup
24
24
 
25
- Feel free to ask questions or share new ideas.
25
+ ```ts
26
+ // tsconfig.json
26
27
 
27
- Use the official [discussions](https://github.com/sveltek/tsconfig/discussions) to get involved.
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.0.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,9 +26,6 @@
32
26
  "presets",
33
27
  "config"
34
28
  ],
35
- "scripts": {
36
- "format": "prettier --write ."
37
- },
38
29
  "peerDependencies": {
39
30
  "@types/node": ">=20.0.0",
40
31
  "typescript": ">=5.0.0"
@@ -45,6 +36,9 @@
45
36
  }
46
37
  },
47
38
  "devDependencies": {
48
- "prettier": "^3.5.3"
39
+ "prettier": "^3.8.0"
40
+ },
41
+ "scripts": {
42
+ "format": "prettier --write ."
49
43
  }
50
- }
44
+ }
package/tsconfig.json CHANGED
@@ -10,6 +10,7 @@
10
10
  "noEmit": true,
11
11
  "resolveJsonModule": true,
12
12
  "allowSyntheticDefaultImports": true,
13
+ "allowImportingTsExtensions": true,
13
14
  "forceConsistentCasingInFileNames": true,
14
15
  "baseUrl": "${configDir}",
15
16
  "paths": {