@vijayhardaha/dev-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/package.json +2 -3
- package/src/jsconfig/index.json +1 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vijayhardaha/dev-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Reusable development configurations for Next.js + TypeScript projects",
|
|
5
5
|
"author": "Vijay Hardaha",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,8 +24,7 @@
|
|
|
24
24
|
"./commitlint": "./src/commitlint/index.js",
|
|
25
25
|
"./stylelint": "./src/stylelint/index.js",
|
|
26
26
|
"./next-sitemap": "./src/next-sitemap/index.js",
|
|
27
|
-
"./typescript
|
|
28
|
-
"./typescript/tsconfig": "./src/typescript/tsconfig.json",
|
|
27
|
+
"./typescript": "./src/typescript/base.json",
|
|
29
28
|
"./jsconfig": "./src/jsconfig/index.json"
|
|
30
29
|
},
|
|
31
30
|
"files": [
|
package/src/jsconfig/index.json
CHANGED
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
// =====================================================================
|
|
2
|
-
// JavaScript Configuration
|
|
3
|
-
// =====================================================================
|
|
4
|
-
// Purpose: JavaScript configuration for module resolution and path mapping.
|
|
5
|
-
// Docs: https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler#jsconfigjson
|
|
6
|
-
// =====================================================================
|
|
7
|
-
|
|
8
1
|
{
|
|
9
|
-
|
|
10
|
-
// Use React's modern JSX transform for better performance
|
|
11
|
-
"compilerOptions": {
|
|
12
|
-
"jsx": "react-jsx",
|
|
13
|
-
// Allow importing JSON modules
|
|
14
|
-
"resolveJsonModule": true,
|
|
15
|
-
// Base directory for non-relative imports
|
|
16
|
-
"baseUrl": ".",
|
|
17
|
-
// Map @/* to ./src/* for cleaner imports
|
|
18
|
-
"paths": { "@/*": ["./src/*"] }
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
// ---- Excluded Files ----
|
|
22
|
-
// Skip directories that don't need type checking
|
|
2
|
+
"compilerOptions": { "jsx": "react-jsx", "resolveJsonModule": true, "baseUrl": ".", "paths": { "@/*": ["./src/*"] } },
|
|
23
3
|
"exclude": ["node_modules", ".next", "out"]
|
|
24
4
|
}
|