@jscutlery/swc-angular 0.14.3 → 0.14.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 CHANGED
@@ -1,3 +1,22 @@
1
+ ## 0.14.5 (2024-05-22)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **swc-angular:** 🐞 ignore .swcrc to fix conflicts ([#402](https://github.com/jscutlery/devkit/pull/402))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Younes Jaaidi
12
+
13
+ ## 0.14.4 (2024-05-21)
14
+
15
+
16
+ ### 🩹 Fixes
17
+
18
+ - 📦 update dependency @babel/core to v7.24.5 ([#398](https://github.com/jscutlery/devkit/pull/398))
19
+
1
20
  ## 0.14.3 (2024-05-19)
2
21
 
3
22
 
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jscutlery/swc-angular",
3
- "version": "0.14.3",
3
+ "version": "0.14.5",
4
4
  "repository": {
5
5
  "url": "https://github.com/jscutlery/devkit"
6
6
  },
package/src/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Config } from '@swc/core';
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(): Config & {
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;