@jscutlery/swc-angular 0.14.4 → 0.14.6
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 +24 -0
- package/index.cjs.js +3 -2
- package/index.esm.js +3 -2
- package/package.json +2 -2
- package/src/index.d.ts +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## 0.14.6 (2024-06-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- 📦 update dependency zone.js to v0.14.7 ([#437](https://github.com/jscutlery/devkit/pull/437))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Younes Jaaidi @yjaaidi
|
|
12
|
+
|
|
13
|
+
## 0.14.5 (2024-05-22)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### 🩹 Fixes
|
|
17
|
+
|
|
18
|
+
- **swc-angular:** 🐞 ignore .swcrc to fix conflicts ([#402](https://github.com/jscutlery/devkit/pull/402))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### ❤️ Thank You
|
|
22
|
+
|
|
23
|
+
- Younes Jaaidi
|
|
24
|
+
|
|
1
25
|
## 0.14.4 (2024-05-21)
|
|
2
26
|
|
|
3
27
|
|
package/index.cjs.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var node_path = require('node:path');
|
|
5
6
|
var core = require('@swc/core');
|
|
6
7
|
var node_fs = require('node:fs');
|
|
7
|
-
var node_path = require('node:path');
|
|
8
8
|
|
|
9
9
|
function _extends() {
|
|
10
10
|
_extends = Object.assign || function assign(target) {
|
|
@@ -53,7 +53,8 @@ function swcAngularPreset(options = {}) {
|
|
|
53
53
|
include: [
|
|
54
54
|
'transform-async-to-generator'
|
|
55
55
|
]
|
|
56
|
-
}
|
|
56
|
+
},
|
|
57
|
+
swcrc: false
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
60
|
function swcAngularJestTransformer() {
|
package/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { join, dirname } from 'node:path';
|
|
1
2
|
import { version } from '@swc/core';
|
|
2
3
|
import { readFileSync } from 'node:fs';
|
|
3
|
-
import { join, dirname } from 'node:path';
|
|
4
4
|
|
|
5
5
|
function _extends() {
|
|
6
6
|
_extends = Object.assign || function assign(target) {
|
|
@@ -49,7 +49,8 @@ function swcAngularPreset(options = {}) {
|
|
|
49
49
|
include: [
|
|
50
50
|
'transform-async-to-generator'
|
|
51
51
|
]
|
|
52
|
-
}
|
|
52
|
+
},
|
|
53
|
+
swcrc: false
|
|
53
54
|
};
|
|
54
55
|
}
|
|
55
56
|
function swcAngularJestTransformer() {
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Options } from '@swc/core';
|
|
2
2
|
export interface AngularPresetOptions {
|
|
3
3
|
templateRawSuffix?: boolean;
|
|
4
4
|
}
|
|
@@ -20,6 +20,7 @@ export declare function swcAngularPreset(options?: AngularPresetOptions): {
|
|
|
20
20
|
env: {
|
|
21
21
|
include: string[];
|
|
22
22
|
};
|
|
23
|
+
swcrc: false;
|
|
23
24
|
};
|
|
24
25
|
export declare function swcAngularJestTransformer(): [string, Record<string, unknown>];
|
|
25
26
|
export declare function swcAngularVitePreset(): {
|
|
@@ -40,8 +41,9 @@ export declare function swcAngularVitePreset(): {
|
|
|
40
41
|
env: {
|
|
41
42
|
include: string[];
|
|
42
43
|
};
|
|
44
|
+
swcrc: false;
|
|
43
45
|
};
|
|
44
|
-
export declare function swcAngularUnpluginOptions():
|
|
46
|
+
export declare function swcAngularUnpluginOptions(): Options & {
|
|
45
47
|
tsconfigFile?: boolean;
|
|
46
48
|
};
|
|
47
49
|
interface SwcPluginAngularOptions {
|
|
@@ -68,5 +70,6 @@ declare const _default: {
|
|
|
68
70
|
env: {
|
|
69
71
|
include: string[];
|
|
70
72
|
};
|
|
73
|
+
swcrc: false;
|
|
71
74
|
};
|
|
72
75
|
export default _default;
|