@jscutlery/swc-angular 0.21.0 → 0.21.5
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/CHANGELOG.md +38 -0
- package/index.cjs.js +8 -8
- package/index.esm.js +8 -8
- package/package.json +3 -3
- package/index.esm.d.ts +0 -2
- /package/{index.cjs.d.ts → index.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
+
## 0.21.5 (2026-02-12)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **rx-computed:** update @jscutlery/operators dependency version from ^2.0.0 to ^3.0.0 ([b96cf37](https://github.com/jscutlery/devkit/commit/b96cf37))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Edouard Bozon
|
|
10
|
+
|
|
11
|
+
## 0.21.4 (2026-02-06)
|
|
12
|
+
|
|
13
|
+
### 🩹 Fixes
|
|
14
|
+
|
|
15
|
+
- **swc-angular:** set @swc/core peer dependency version to current supported version ([#953](https://github.com/jscutlery/devkit/pull/953))
|
|
16
|
+
|
|
17
|
+
### ❤️ Thank You
|
|
18
|
+
|
|
19
|
+
- Kai Röder
|
|
20
|
+
|
|
21
|
+
## 0.21.3 (2026-01-18)
|
|
22
|
+
|
|
23
|
+
### 🩹 Fixes
|
|
24
|
+
|
|
25
|
+
- 📦 update babel monorepo to v7.28.6 ([#947](https://github.com/jscutlery/devkit/pull/947))
|
|
26
|
+
|
|
27
|
+
## 0.21.2 (2025-12-22)
|
|
28
|
+
|
|
29
|
+
### 🩹 Fixes
|
|
30
|
+
|
|
31
|
+
- 📦 update dependency zone.js to v0.16.0 ([#927](https://github.com/jscutlery/devkit/pull/927))
|
|
32
|
+
|
|
33
|
+
## 0.21.1 (2025-12-21)
|
|
34
|
+
|
|
35
|
+
### 🩹 Fixes
|
|
36
|
+
|
|
37
|
+
- 📦 update dependency @babel/core to v7.28.5 ([#926](https://github.com/jscutlery/devkit/pull/926))
|
|
38
|
+
|
|
1
39
|
## 0.21.0 (2025-10-21)
|
|
2
40
|
|
|
3
41
|
### 🚀 Features
|
package/index.cjs.js
CHANGED
|
@@ -79,13 +79,13 @@ function swcAngularVitePreset(options = {}) {
|
|
|
79
79
|
function swcAngularUnpluginOptions(options = {}) {
|
|
80
80
|
return _extends({}, swcAngularVitePreset(options), {
|
|
81
81
|
/* Since we are using SWC's env option, we need to disable the tsconfigFile option.
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
82
|
+
* Otherwise `unpluggin-swc` will try to use the target from the tsconfig's `compilerOptions`,
|
|
83
|
+
* and make SWC produce the following error: "`env` and `jsc.target` cannot be used together".
|
|
84
|
+
*
|
|
85
|
+
* We could have added this extra option to `swcAngularVitePreset`, but forwarding any extra option
|
|
86
|
+
* to SWC will make SWC's configuration parser fail.
|
|
87
|
+
*
|
|
88
|
+
* Cf. https://github.com/unplugin/unplugin-swc/issues/137 */ tsconfigFile: false
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
@@ -93,7 +93,7 @@ function swcAngularUnpluginOptions(options = {}) {
|
|
|
93
93
|
*/ var index = swcAngularPreset();
|
|
94
94
|
function assertCompatibleSwcCoreVersion(version) {
|
|
95
95
|
/* Fallback to reading version from package.json when not exported.
|
|
96
|
-
|
|
96
|
+
* This happens on Stackblitz. */ if (version == undefined) {
|
|
97
97
|
const packageJsonPath = node_path.join(node_path.dirname(require.resolve('@swc/core')), 'package.json');
|
|
98
98
|
version = fileSystem.readJsonFile(packageJsonPath).version;
|
|
99
99
|
}
|
package/index.esm.js
CHANGED
|
@@ -75,13 +75,13 @@ function swcAngularVitePreset(options = {}) {
|
|
|
75
75
|
function swcAngularUnpluginOptions(options = {}) {
|
|
76
76
|
return _extends({}, swcAngularVitePreset(options), {
|
|
77
77
|
/* Since we are using SWC's env option, we need to disable the tsconfigFile option.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
* Otherwise `unpluggin-swc` will try to use the target from the tsconfig's `compilerOptions`,
|
|
79
|
+
* and make SWC produce the following error: "`env` and `jsc.target` cannot be used together".
|
|
80
|
+
*
|
|
81
|
+
* We could have added this extra option to `swcAngularVitePreset`, but forwarding any extra option
|
|
82
|
+
* to SWC will make SWC's configuration parser fail.
|
|
83
|
+
*
|
|
84
|
+
* Cf. https://github.com/unplugin/unplugin-swc/issues/137 */ tsconfigFile: false
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
@@ -89,7 +89,7 @@ function swcAngularUnpluginOptions(options = {}) {
|
|
|
89
89
|
*/ var index = swcAngularPreset();
|
|
90
90
|
function assertCompatibleSwcCoreVersion(version) {
|
|
91
91
|
/* Fallback to reading version from package.json when not exported.
|
|
92
|
-
|
|
92
|
+
* This happens on Stackblitz. */ if (version == undefined) {
|
|
93
93
|
const packageJsonPath = join(dirname(require.resolve('@swc/core')), 'package.json');
|
|
94
94
|
version = fileSystem.readJsonFile(packageJsonPath).version;
|
|
95
95
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jscutlery/swc-angular",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/jscutlery/devkit"
|
|
6
6
|
},
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
],
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"@jscutlery/swc-angular-plugin": ">=0.11.0 <1.0.0",
|
|
15
|
-
"@swc/core": "~1.
|
|
15
|
+
"@swc/core": "~1.13.0"
|
|
16
16
|
},
|
|
17
17
|
"module": "./index.esm.js",
|
|
18
18
|
"main": "./index.cjs.js",
|
|
19
|
-
"types": "./index.
|
|
19
|
+
"types": "./index.d.ts"
|
|
20
20
|
}
|
package/index.esm.d.ts
DELETED
|
File without changes
|