@powerlines/plugin-swc 0.5.65 → 0.5.66
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/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/{plugin-B3t8jxUp.d.cts → plugin-D6N_utnP.d.mts} +2 -2
- package/dist/{plugin-BmbEdreF.d.mts → plugin-XEQOH-q9.d.cts} +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __ΩSwcPluginContext, c as __ΩSwcPluginUserConfig, i as SwcPluginUserConfig, l as Plugin, n as SwcPluginOptions, o as __ΩSwcPluginOptions, r as SwcPluginResolvedConfig, s as __ΩSwcPluginResolvedConfig, t as SwcPluginContext } from "./plugin-
|
|
1
|
+
import { a as __ΩSwcPluginContext, c as __ΩSwcPluginUserConfig, i as SwcPluginUserConfig, l as Plugin, n as SwcPluginOptions, o as __ΩSwcPluginOptions, r as SwcPluginResolvedConfig, s as __ΩSwcPluginResolvedConfig, t as SwcPluginContext } from "./plugin-XEQOH-q9.cjs";
|
|
2
2
|
import "./index-CEgs-Dz2.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __ΩSwcPluginContext, c as __ΩSwcPluginUserConfig, i as SwcPluginUserConfig, l as Plugin, n as SwcPluginOptions, o as __ΩSwcPluginOptions, r as SwcPluginResolvedConfig, s as __ΩSwcPluginResolvedConfig, t as SwcPluginContext } from "./plugin-
|
|
1
|
+
import { a as __ΩSwcPluginContext, c as __ΩSwcPluginUserConfig, i as SwcPluginUserConfig, l as Plugin, n as SwcPluginOptions, o as __ΩSwcPluginOptions, r as SwcPluginResolvedConfig, s as __ΩSwcPluginResolvedConfig, t as SwcPluginContext } from "./plugin-D6N_utnP.mjs";
|
|
2
2
|
import "./index-BgAdqTbb.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Options } from "@swc/core";
|
|
1
2
|
import { ArrayValues } from "@stryke/types/array";
|
|
2
3
|
import { FunctionLike, MaybePromise, NonUndefined } from "@stryke/types/base";
|
|
3
4
|
import { ExternalIdResult, HookFilter, TransformResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage, UnpluginOptions } from "unplugin";
|
|
@@ -19,7 +20,6 @@ import { AssetGlob } from "@stryke/types/file";
|
|
|
19
20
|
import { ResolveOptions } from "@stryke/fs/resolve";
|
|
20
21
|
import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
|
|
21
22
|
import ts from "typescript";
|
|
22
|
-
import { Options } from "@swc/core";
|
|
23
23
|
|
|
24
24
|
//#region ../powerlines/src/types/build.d.ts
|
|
25
25
|
type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
|
|
@@ -1634,7 +1634,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1634
1634
|
* @param environment - The environment to check.
|
|
1635
1635
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
1636
1636
|
*/
|
|
1637
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) =>
|
|
1637
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
|
|
1638
1638
|
}
|
|
1639
1639
|
//#endregion
|
|
1640
1640
|
//#region src/types/plugin.d.ts
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Options } from "@swc/core";
|
|
2
1
|
import { ArrayValues } from "@stryke/types/array";
|
|
3
2
|
import { FunctionLike, MaybePromise, NonUndefined } from "@stryke/types/base";
|
|
4
3
|
import { ExternalIdResult, HookFilter, TransformResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage, UnpluginOptions } from "unplugin";
|
|
@@ -20,6 +19,7 @@ import { AssetGlob } from "@stryke/types/file";
|
|
|
20
19
|
import { ResolveOptions } from "@stryke/fs/resolve";
|
|
21
20
|
import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
|
|
22
21
|
import ts from "typescript";
|
|
22
|
+
import { Options } from "@swc/core";
|
|
23
23
|
|
|
24
24
|
//#region ../powerlines/src/types/build.d.ts
|
|
25
25
|
type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
|
|
@@ -1634,7 +1634,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1634
1634
|
* @param environment - The environment to check.
|
|
1635
1635
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
1636
1636
|
*/
|
|
1637
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) =>
|
|
1637
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
|
|
1638
1638
|
}
|
|
1639
1639
|
//#endregion
|
|
1640
1640
|
//#region src/types/plugin.d.ts
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as __ΩSwcPluginContext, c as __ΩSwcPluginUserConfig, i as SwcPluginUserConfig, n as SwcPluginOptions, o as __ΩSwcPluginOptions, r as SwcPluginResolvedConfig, s as __ΩSwcPluginResolvedConfig, t as SwcPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩSwcPluginContext, c as __ΩSwcPluginUserConfig, i as SwcPluginUserConfig, n as SwcPluginOptions, o as __ΩSwcPluginOptions, r as SwcPluginResolvedConfig, s as __ΩSwcPluginResolvedConfig, t as SwcPluginContext } from "../plugin-XEQOH-q9.cjs";
|
|
2
2
|
import "../index-CEgs-Dz2.cjs";
|
|
3
3
|
export { SwcPluginContext, SwcPluginOptions, SwcPluginResolvedConfig, SwcPluginUserConfig, __ΩSwcPluginContext, __ΩSwcPluginOptions, __ΩSwcPluginResolvedConfig, __ΩSwcPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as __ΩSwcPluginContext, c as __ΩSwcPluginUserConfig, i as SwcPluginUserConfig, n as SwcPluginOptions, o as __ΩSwcPluginOptions, r as SwcPluginResolvedConfig, s as __ΩSwcPluginResolvedConfig, t as SwcPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩSwcPluginContext, c as __ΩSwcPluginUserConfig, i as SwcPluginUserConfig, n as SwcPluginOptions, o as __ΩSwcPluginOptions, r as SwcPluginResolvedConfig, s as __ΩSwcPluginResolvedConfig, t as SwcPluginContext } from "../plugin-D6N_utnP.mjs";
|
|
2
2
|
import "../index-BgAdqTbb.mjs";
|
|
3
3
|
export { SwcPluginContext, SwcPluginOptions, SwcPluginResolvedConfig, SwcPluginUserConfig, __ΩSwcPluginContext, __ΩSwcPluginOptions, __ΩSwcPluginResolvedConfig, __ΩSwcPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as __ΩSwcPluginContext, c as __ΩSwcPluginUserConfig, i as SwcPluginUserConfig, n as SwcPluginOptions, o as __ΩSwcPluginOptions, r as SwcPluginResolvedConfig, s as __ΩSwcPluginResolvedConfig, t as SwcPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩSwcPluginContext, c as __ΩSwcPluginUserConfig, i as SwcPluginUserConfig, n as SwcPluginOptions, o as __ΩSwcPluginOptions, r as SwcPluginResolvedConfig, s as __ΩSwcPluginResolvedConfig, t as SwcPluginContext } from "../plugin-XEQOH-q9.cjs";
|
|
2
2
|
export { SwcPluginContext, SwcPluginOptions, SwcPluginResolvedConfig, SwcPluginUserConfig, __ΩSwcPluginContext, __ΩSwcPluginOptions, __ΩSwcPluginResolvedConfig, __ΩSwcPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as __ΩSwcPluginContext, c as __ΩSwcPluginUserConfig, i as SwcPluginUserConfig, n as SwcPluginOptions, o as __ΩSwcPluginOptions, r as SwcPluginResolvedConfig, s as __ΩSwcPluginResolvedConfig, t as SwcPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩSwcPluginContext, c as __ΩSwcPluginUserConfig, i as SwcPluginUserConfig, n as SwcPluginOptions, o as __ΩSwcPluginOptions, r as SwcPluginResolvedConfig, s as __ΩSwcPluginResolvedConfig, t as SwcPluginContext } from "../plugin-D6N_utnP.mjs";
|
|
2
2
|
export { SwcPluginContext, SwcPluginOptions, SwcPluginResolvedConfig, SwcPluginUserConfig, __ΩSwcPluginContext, __ΩSwcPluginOptions, __ΩSwcPluginResolvedConfig, __ΩSwcPluginUserConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-swc",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.66",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to transform project code with SWC.",
|
|
6
6
|
"repository": {
|
|
@@ -147,13 +147,13 @@
|
|
|
147
147
|
"dependencies": {
|
|
148
148
|
"@swc/core": "^1.15.3",
|
|
149
149
|
"defu": "^6.1.4",
|
|
150
|
-
"powerlines": "^0.30.
|
|
150
|
+
"powerlines": "^0.30.8"
|
|
151
151
|
},
|
|
152
152
|
"devDependencies": {
|
|
153
|
-
"@powerlines/nx": "^0.10.
|
|
154
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
153
|
+
"@powerlines/nx": "^0.10.57",
|
|
154
|
+
"@powerlines/plugin-plugin": "^0.12.9",
|
|
155
155
|
"@types/node": "^24.10.1"
|
|
156
156
|
},
|
|
157
157
|
"publishConfig": { "access": "public" },
|
|
158
|
-
"gitHead": "
|
|
158
|
+
"gitHead": "b6cd904eada6483fffd8791e64febb309d73f399"
|
|
159
159
|
}
|