@sveltek/tsconfig 1.0.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 ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Ivo Dolenc <https://github.com/ivodolenc>
4
+ Copyright (c) 2025 Sveltek <https://github.com/sveltek>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,33 @@
1
+ <h1 align="center">@sveltek/tsconfig</h1>
2
+
3
+ <p align="center">Sveltek's config for TypeScript.</p>
4
+
5
+ <br>
6
+
7
+ ## Installation
8
+
9
+ ```sh
10
+ pnpm add -D @sveltek/tsconfig
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ### tsconfig.json
16
+
17
+ ```json
18
+ {
19
+ "extends": "@sveltek/tsconfig"
20
+ }
21
+ ```
22
+
23
+ ## Community
24
+
25
+ Feel free to ask questions or share new ideas.
26
+
27
+ Use the official [discussions](https://github.com/sveltek/tsconfig/discussions) to get involved.
28
+
29
+ ## License
30
+
31
+ Developed in 🇭🇷 Croatia, © Sveltek.
32
+
33
+ Released under the [MIT](LICENSE.txt) license.
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@sveltek/tsconfig",
3
+ "version": "1.0.0",
4
+ "author": "Sveltek",
5
+ "contributors": [
6
+ {
7
+ "name": "Ivo Dolenc",
8
+ "url": "https://github.com/ivodolenc"
9
+ }
10
+ ],
11
+ "description": "Sveltek's config for TypeScript.",
12
+ "license": "MIT",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/sveltek/tsconfig.git"
16
+ },
17
+ "homepage": "https://github.com/sveltek/tsconfig",
18
+ "type": "module",
19
+ "exports": {
20
+ ".": "./tsconfig.json"
21
+ },
22
+ "files": [
23
+ "tsconfig.json"
24
+ ],
25
+ "keywords": [
26
+ "sveltek",
27
+ "svelte",
28
+ "sveltekit",
29
+ "typescript",
30
+ "configuration",
31
+ "tsconfig",
32
+ "presets",
33
+ "config"
34
+ ],
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
+ "peerDependencies": {
44
+ "@types/node": ">=20.0.0",
45
+ "typescript": ">=5.0.0"
46
+ },
47
+ "peerDependenciesMeta": {
48
+ "@types/node": {
49
+ "optional": true
50
+ }
51
+ },
52
+ "devDependencies": {
53
+ "prettier": "^3.5.3"
54
+ }
55
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "module": "ESNext",
5
+ "moduleResolution": "Bundler",
6
+ "lib": ["DOM", "DOM.Iterable", "ESNext"],
7
+ "skipLibCheck": true,
8
+ "strict": true,
9
+ "allowJs": true,
10
+ "noEmit": true,
11
+ "resolveJsonModule": true,
12
+ "allowSyntheticDefaultImports": true,
13
+ "forceConsistentCasingInFileNames": true,
14
+ "baseUrl": "${configDir}",
15
+ "paths": {
16
+ "@": ["${configDir}/src"],
17
+ "@/*": ["${configDir}/src/*"]
18
+ }
19
+ },
20
+ "include": [
21
+ "${configDir}/src/**/*",
22
+ "${configDir}/test/**/*",
23
+ "${configDir}/tests/**/*",
24
+ "${configDir}/scripts/**/*",
25
+ "${configDir}/playground/**/*",
26
+ "${configDir}/playgrounds/**/*",
27
+ "${configDir}/package/**/*",
28
+ "${configDir}/packages/**/*",
29
+ "${configDir}/*.js",
30
+ "${configDir}/*.mjs",
31
+ "${configDir}/*.ts",
32
+ "${configDir}/*.mts",
33
+ "${configDir}/*.json"
34
+ ],
35
+ "exclude": [
36
+ "${configDir}/.out",
37
+ "${configDir}/.tmp",
38
+ "${configDir}/.temp",
39
+ "${configDir}/.dist",
40
+ "${configDir}/.build",
41
+ "${configDir}/.cache",
42
+ "${configDir}/.output",
43
+ "${configDir}/.private",
44
+ "${configDir}/.history",
45
+ "${configDir}/.vercel",
46
+ "${configDir}/.svelte-kit",
47
+ "${configDir}/node_modules",
48
+ "${configDir}/out",
49
+ "${configDir}/tmp",
50
+ "${configDir}/temp",
51
+ "${configDir}/dist",
52
+ "${configDir}/build",
53
+ "${configDir}/cache",
54
+ "${configDir}/output",
55
+ "${configDir}/history"
56
+ ]
57
+ }