@ocavue/tsconfig 0.5.0 → 0.6.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.
@@ -13,7 +13,7 @@ runs:
13
13
  - uses: pnpm/action-setup@v4
14
14
 
15
15
  - name: Setup node
16
- uses: actions/setup-node@v4
16
+ uses: actions/setup-node@v6
17
17
  with:
18
18
  node-version: ${{ inputs.node-version }}
19
19
  cache: pnpm
@@ -24,7 +24,7 @@ jobs:
24
24
  needs: [version]
25
25
  if: ${{ needs.version.outputs.release_created }}
26
26
  steps:
27
- - uses: actions/checkout@v4
27
+ - uses: actions/checkout@v5
28
28
 
29
29
  - uses: ./.github/actions/setup
30
30
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.0](https://github.com/ocavue/tsconfig/compare/v0.5.0...v0.6.0) (2025-11-20)
4
+
5
+
6
+ ### Features
7
+
8
+ * enable `rewriteRelativeImportExtensions` ([#29](https://github.com/ocavue/tsconfig/issues/29)) ([23c95e1](https://github.com/ocavue/tsconfig/commit/23c95e1e8d4ac9c6000a49d9fb22a26264f6da77))
9
+
3
10
  ## [0.5.0](https://github.com/ocavue/tsconfig/compare/v0.4.0...v0.5.0) (2025-09-05)
4
11
 
5
12
 
package/dom/app.json CHANGED
@@ -21,6 +21,11 @@
21
21
  "skipLibCheck": true,
22
22
  // Allow JavaScript files to be included in the project.
23
23
  "allowJs": true,
24
+ // Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
25
+ // paths to their JavaScript equivalent in output files. Also allow
26
+ // TypeScript files to import each other with a TypeScript-specific
27
+ // extension like .ts, .mts, or .tsx.
28
+ "rewriteRelativeImportExtensions": true,
24
29
  // Allow JSON files to be imported as modules.
25
30
  "resolveJsonModule": true,
26
31
  // Force TypeScript to consider all files as modules. This helps to avoid
@@ -21,6 +21,11 @@
21
21
  "skipLibCheck": true,
22
22
  // Allow JavaScript files to be included in the project.
23
23
  "allowJs": true,
24
+ // Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
25
+ // paths to their JavaScript equivalent in output files. Also allow
26
+ // TypeScript files to import each other with a TypeScript-specific
27
+ // extension like .ts, .mts, or .tsx.
28
+ "rewriteRelativeImportExtensions": true,
24
29
  // Allow JSON files to be imported as modules.
25
30
  "resolveJsonModule": true,
26
31
  // Force TypeScript to consider all files as modules. This helps to avoid
@@ -21,6 +21,11 @@
21
21
  "skipLibCheck": true,
22
22
  // Allow JavaScript files to be included in the project.
23
23
  "allowJs": true,
24
+ // Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
25
+ // paths to their JavaScript equivalent in output files. Also allow
26
+ // TypeScript files to import each other with a TypeScript-specific
27
+ // extension like .ts, .mts, or .tsx.
28
+ "rewriteRelativeImportExtensions": true,
24
29
  // Allow JSON files to be imported as modules.
25
30
  "resolveJsonModule": true,
26
31
  // Force TypeScript to consider all files as modules. This helps to avoid
package/dom/root.json CHANGED
@@ -21,6 +21,11 @@
21
21
  "skipLibCheck": true,
22
22
  // Allow JavaScript files to be included in the project.
23
23
  "allowJs": true,
24
+ // Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
25
+ // paths to their JavaScript equivalent in output files. Also allow
26
+ // TypeScript files to import each other with a TypeScript-specific
27
+ // extension like .ts, .mts, or .tsx.
28
+ "rewriteRelativeImportExtensions": true,
24
29
  // Allow JSON files to be imported as modules.
25
30
  "resolveJsonModule": true,
26
31
  // Force TypeScript to consider all files as modules. This helps to avoid
package/es/app.json CHANGED
@@ -21,6 +21,11 @@
21
21
  "skipLibCheck": true,
22
22
  // Allow JavaScript files to be included in the project.
23
23
  "allowJs": true,
24
+ // Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
25
+ // paths to their JavaScript equivalent in output files. Also allow
26
+ // TypeScript files to import each other with a TypeScript-specific
27
+ // extension like .ts, .mts, or .tsx.
28
+ "rewriteRelativeImportExtensions": true,
24
29
  // Allow JSON files to be imported as modules.
25
30
  "resolveJsonModule": true,
26
31
  // Force TypeScript to consider all files as modules. This helps to avoid
@@ -21,6 +21,11 @@
21
21
  "skipLibCheck": true,
22
22
  // Allow JavaScript files to be included in the project.
23
23
  "allowJs": true,
24
+ // Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
25
+ // paths to their JavaScript equivalent in output files. Also allow
26
+ // TypeScript files to import each other with a TypeScript-specific
27
+ // extension like .ts, .mts, or .tsx.
28
+ "rewriteRelativeImportExtensions": true,
24
29
  // Allow JSON files to be imported as modules.
25
30
  "resolveJsonModule": true,
26
31
  // Force TypeScript to consider all files as modules. This helps to avoid
package/es/build-tsc.json CHANGED
@@ -21,6 +21,11 @@
21
21
  "skipLibCheck": true,
22
22
  // Allow JavaScript files to be included in the project.
23
23
  "allowJs": true,
24
+ // Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
25
+ // paths to their JavaScript equivalent in output files. Also allow
26
+ // TypeScript files to import each other with a TypeScript-specific
27
+ // extension like .ts, .mts, or .tsx.
28
+ "rewriteRelativeImportExtensions": true,
24
29
  // Allow JSON files to be imported as modules.
25
30
  "resolveJsonModule": true,
26
31
  // Force TypeScript to consider all files as modules. This helps to avoid
package/es/root.json CHANGED
@@ -21,6 +21,11 @@
21
21
  "skipLibCheck": true,
22
22
  // Allow JavaScript files to be included in the project.
23
23
  "allowJs": true,
24
+ // Rewrite .ts, .tsx, .mts, and .cts file extensions in relative import
25
+ // paths to their JavaScript equivalent in output files. Also allow
26
+ // TypeScript files to import each other with a TypeScript-specific
27
+ // extension like .ts, .mts, or .tsx.
28
+ "rewriteRelativeImportExtensions": true,
24
29
  // Allow JSON files to be imported as modules.
25
30
  "resolveJsonModule": true,
26
31
  // Force TypeScript to consider all files as modules. This helps to avoid
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocavue/tsconfig",
3
3
  "type": "module",
4
- "version": "0.5.0",
4
+ "version": "0.6.0",
5
5
  "description": "A collection of reusable TypeScript configurations",
6
6
  "author": "ocavue <ocavue@gmail.com>",
7
7
  "license": "MIT",
@@ -21,8 +21,8 @@
21
21
  "access": "public"
22
22
  },
23
23
  "devDependencies": {
24
- "@types/bun": "^1.2.9",
25
- "prettier": "^3.5.3"
24
+ "@types/bun": "^1.3.2",
25
+ "prettier": "^3.6.2"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "bun build.ts"