@jscutlery/swc-angular 0.22.0 → 0.23.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/CHANGELOG.md +69 -0
- package/README.md +2 -2
- package/index.cjs.js +3 -3
- package/index.esm.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,72 @@
|
|
|
1
|
+
## 0.23.1 (2026-10-24)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for swc-angular to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
5
|
+
## 0.23.0 (2026-10-24)
|
|
6
|
+
|
|
7
|
+
### 🚀 Features
|
|
8
|
+
|
|
9
|
+
- ⚠️ **swc-angular:** support @swc/core 1.16.x ([#1101](https://github.com/jscutlery/devkit/pull/1101), [#999](https://github.com/jscutlery/devkit/issues/999))
|
|
10
|
+
|
|
11
|
+
### ⚠️ Breaking Changes
|
|
12
|
+
|
|
13
|
+
- **swc-angular:** support @swc/core 1.16.x ([#1101](https://github.com/jscutlery/devkit/pull/1101), [#999](https://github.com/jscutlery/devkit/issues/999))
|
|
14
|
+
@jscutlery/swc-angular and @jscutlery/swc-angular-plugin
|
|
15
|
+
now require @swc/core 1.16.x. @swc/core 1.15.x is no longer supported.
|
|
16
|
+
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
|
17
|
+
* refactor(swc-angular-plugin): use ? for the missing query locator
|
|
18
|
+
Clippy 1.99 flags the match as question_mark, and CI runs clippy with
|
|
19
|
+
-D warnings.
|
|
20
|
+
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
|
21
|
+
* build: 📦 pin Rust toolchain to 1.99.1
|
|
22
|
+
CI installed whatever stable Rust was current, so the 1.99 release broke
|
|
23
|
+
the plugin build (wasm link error) and lint (new clippy rule) without any
|
|
24
|
+
change in the repo. actions-rust-lang/setup-rust-toolchain reads
|
|
25
|
+
rust-toolchain.toml when no toolchain input is given, so CI and local
|
|
26
|
+
builds now use the same version.
|
|
27
|
+
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
|
28
|
+
|
|
29
|
+
### ❤️ Thank You
|
|
30
|
+
|
|
31
|
+
- Claude Opus 5.5 (1M context)
|
|
32
|
+
- Edouard Bozon
|
|
33
|
+
|
|
34
|
+
## 0.22.5 (2026-05-11)
|
|
35
|
+
|
|
36
|
+
### 🩹 Fixes
|
|
37
|
+
|
|
38
|
+
- 📦 update dependency zone.js to v0.16.2 ([#1077](https://github.com/jscutlery/devkit/pull/1077))
|
|
39
|
+
|
|
40
|
+
## 0.22.4 (2026-02-21)
|
|
41
|
+
|
|
42
|
+
### 🩹 Fixes
|
|
43
|
+
|
|
44
|
+
- 📦 update dependency zone.js to v0.16.1 ([#973](https://github.com/jscutlery/devkit/pull/973))
|
|
45
|
+
|
|
46
|
+
## 0.22.3 (2026-02-20)
|
|
47
|
+
|
|
48
|
+
### 🩹 Fixes
|
|
49
|
+
|
|
50
|
+
- 📦 update dependency @babel/core to v7.29.0 ([#967](https://github.com/jscutlery/devkit/pull/967))
|
|
51
|
+
|
|
52
|
+
## 0.22.2 (2026-02-12)
|
|
53
|
+
|
|
54
|
+
This was a version bump only for swc-angular to align it with other projects, there were no code changes.
|
|
55
|
+
|
|
56
|
+
## 0.22.1 (2026-02-12)
|
|
57
|
+
|
|
58
|
+
### 🚀 Features
|
|
59
|
+
|
|
60
|
+
- **release:** add Corepack enable step to release action ([c581902](https://github.com/jscutlery/devkit/commit/c581902))
|
|
61
|
+
|
|
62
|
+
### 🩹 Fixes
|
|
63
|
+
|
|
64
|
+
- **release:** update npm publishing configuration to use .yarnrc.yml ([0eeb739](https://github.com/jscutlery/devkit/commit/0eeb739))
|
|
65
|
+
|
|
66
|
+
### ❤️ Thank You
|
|
67
|
+
|
|
68
|
+
- Edouard Bozon
|
|
69
|
+
|
|
1
70
|
## 0.22.0 (2026-02-12)
|
|
2
71
|
|
|
3
72
|
### 🚀 Features
|
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ _Cf. [Detailed Benchmark Data](#-no-cache)_
|
|
|
61
61
|
Install this preset and its dependencies via npm:
|
|
62
62
|
|
|
63
63
|
```sh
|
|
64
|
-
npm install -D @jscutlery/swc-angular @jscutlery/swc-angular-plugin @swc/core @swc/jest
|
|
64
|
+
npm install -D @jscutlery/swc-angular @jscutlery/swc-angular-plugin @swc/core@~1.16.0 @swc/jest
|
|
65
65
|
grep .swc .gitignore || echo .swc >> .gitignore
|
|
66
66
|
```
|
|
67
67
|
|
|
@@ -106,7 +106,7 @@ import 'reflect-metadata';
|
|
|
106
106
|
Install this preset and its dependencies via npm:
|
|
107
107
|
|
|
108
108
|
```sh
|
|
109
|
-
npm install -D @jscutlery/swc-angular @jscutlery/swc-angular-plugin @swc/core unplugin-swc
|
|
109
|
+
npm install -D @jscutlery/swc-angular @jscutlery/swc-angular-plugin @swc/core@~1.16.0 unplugin-swc
|
|
110
110
|
grep .swc .gitignore || echo .swc >> .gitignore
|
|
111
111
|
```
|
|
112
112
|
|
package/index.cjs.js
CHANGED
|
@@ -97,11 +97,11 @@ function assertCompatibleSwcCoreVersion(version) {
|
|
|
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
|
}
|
|
100
|
-
if (!version.startsWith('1.
|
|
100
|
+
if (!version.startsWith('1.16.')) {
|
|
101
101
|
console.error(`
|
|
102
102
|
@swc/core version ${version} is incompatible with @jscutlery/swc-angular.
|
|
103
|
-
Please use @swc/core version 1.
|
|
104
|
-
> npm add -D @swc/core@~1.
|
|
103
|
+
Please use @swc/core version 1.16.x
|
|
104
|
+
> npm add -D @swc/core@~1.16.0
|
|
105
105
|
`);
|
|
106
106
|
process.exit(1);
|
|
107
107
|
}
|
package/index.esm.js
CHANGED
|
@@ -93,11 +93,11 @@ function assertCompatibleSwcCoreVersion(version) {
|
|
|
93
93
|
const packageJsonPath = join(dirname(require.resolve('@swc/core')), 'package.json');
|
|
94
94
|
version = fileSystem.readJsonFile(packageJsonPath).version;
|
|
95
95
|
}
|
|
96
|
-
if (!version.startsWith('1.
|
|
96
|
+
if (!version.startsWith('1.16.')) {
|
|
97
97
|
console.error(`
|
|
98
98
|
@swc/core version ${version} is incompatible with @jscutlery/swc-angular.
|
|
99
|
-
Please use @swc/core version 1.
|
|
100
|
-
> npm add -D @swc/core@~1.
|
|
99
|
+
Please use @swc/core version 1.16.x
|
|
100
|
+
> npm add -D @swc/core@~1.16.0
|
|
101
101
|
`);
|
|
102
102
|
process.exit(1);
|
|
103
103
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jscutlery/swc-angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/jscutlery/devkit"
|
|
6
6
|
},
|
|
@@ -12,7 +12,7 @@
|
|
|
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.16.0"
|
|
16
16
|
},
|
|
17
17
|
"module": "./index.esm.js",
|
|
18
18
|
"main": "./index.cjs.js",
|