create-ng-tailwind 4.1.0 → 4.1.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.
Potentially problematic release.
This version of create-ng-tailwind might be problematic. Click here for more details.
- package/CHANGELOG.md +8 -0
- package/lib/templates/base/linting.js +12 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [4.1.1] - 2026-06-06
|
|
9
|
+
|
|
10
|
+
### 🐛 Bug Fixes
|
|
11
|
+
|
|
12
|
+
- **Drop deprecated `baseUrl` from scaffolded tsconfigs and use relative `paths`**: Generated projects no longer write `"baseUrl": "./"` (TS5101 — deprecated in TypeScript 5.6, removed in 7.0). Path-alias values are now relative (`["./src/app/core/*"]` instead of `["src/app/core/*"]`), which the Angular compiler requires when `baseUrl` is absent (TS5090). Aliases like `@core/*`, `@shared/*`, etc. behave identically — only the tsconfig syntax changed.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
8
16
|
## [4.1.0] - 2026-06-06
|
|
9
17
|
|
|
10
18
|
### ✨ New Features
|
|
@@ -72,16 +72,18 @@ async function createVSCodeSettings(config) {
|
|
|
72
72
|
* Update TypeScript config with path mappings
|
|
73
73
|
*/
|
|
74
74
|
async function updateTsConfig(config) {
|
|
75
|
-
// Define path mapping configuration
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
"@
|
|
82
|
-
"@
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
75
|
+
// Define path mapping configuration.
|
|
76
|
+
// No `baseUrl` — it's deprecated in TS 5.6 (TS5101) and removed in TS 7.
|
|
77
|
+
// Without baseUrl, every path value must be relative (start with `./`),
|
|
78
|
+
// otherwise the Angular compiler raises TS5090.
|
|
79
|
+
const pathMappingConfig = ` "paths": {
|
|
80
|
+
"@/*": ["./src/*"],
|
|
81
|
+
"@app/*": ["./src/app/*"],
|
|
82
|
+
"@core/*": ["./src/app/core/*"],
|
|
83
|
+
"@shared/*": ["./src/app/shared/*"],
|
|
84
|
+
"@features/*": ["./src/app/features/*"],
|
|
85
|
+
"@layout/*": ["./src/app/layout/*"],
|
|
86
|
+
"@environments/*": ["./src/environments/*"]
|
|
85
87
|
},`;
|
|
86
88
|
|
|
87
89
|
// Helper function to add path mappings to a tsconfig file
|