@powerlines/plugin-swc 0.5.50 → 0.5.52
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +5 -5
- package/dist/{index-IaaLhTqD.d.cts → index-Cr9zV8Bk.d.cts} +6 -6
- package/dist/{index-IaaLhTqD.d.ts → index-Cr9zV8Bk.d.ts} +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SwcPluginContext, a as SwcPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from './index-
|
|
1
|
+
import { S as SwcPluginContext, a as SwcPluginOptions, P as Plugin } from './index-Cr9zV8Bk.cjs';
|
|
2
|
+
export { c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from './index-Cr9zV8Bk.cjs';
|
|
3
3
|
import '@swc/core';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SwcPluginContext, a as SwcPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from './index-
|
|
1
|
+
import { S as SwcPluginContext, a as SwcPluginOptions, P as Plugin } from './index-Cr9zV8Bk.js';
|
|
2
|
+
export { c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from './index-Cr9zV8Bk.js';
|
|
3
3
|
import '@swc/core';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SwcPluginContext, a as SwcPluginOptions, c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from '../index-
|
|
1
|
+
export { S as SwcPluginContext, a as SwcPluginOptions, c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from '../index-Cr9zV8Bk.cjs';
|
|
2
2
|
import '@swc/core';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SwcPluginContext, a as SwcPluginOptions, c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from '../index-
|
|
1
|
+
export { S as SwcPluginContext, a as SwcPluginOptions, c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from '../index-Cr9zV8Bk.js';
|
|
2
2
|
import '@swc/core';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@swc/core';
|
|
2
|
-
export { S as SwcPluginContext, a as SwcPluginOptions, c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from '../index-
|
|
2
|
+
export { S as SwcPluginContext, a as SwcPluginOptions, c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from '../index-Cr9zV8Bk.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@swc/core';
|
|
2
|
-
export { S as SwcPluginContext, a as SwcPluginOptions, c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from '../index-
|
|
2
|
+
export { S as SwcPluginContext, a as SwcPluginOptions, c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from '../index-Cr9zV8Bk.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-swc",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.52",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to transform project code with SWC.",
|
|
6
6
|
"repository": {
|
|
@@ -129,13 +129,13 @@
|
|
|
129
129
|
"dependencies": {
|
|
130
130
|
"@swc/core": "^1.15.3",
|
|
131
131
|
"defu": "^6.1.4",
|
|
132
|
-
"powerlines": "^0.
|
|
132
|
+
"powerlines": "^0.26.0"
|
|
133
133
|
},
|
|
134
134
|
"devDependencies": {
|
|
135
|
-
"@powerlines/nx": "^0.10.
|
|
136
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
135
|
+
"@powerlines/nx": "^0.10.43",
|
|
136
|
+
"@powerlines/plugin-plugin": "^0.11.51",
|
|
137
137
|
"@types/node": "^24.10.1"
|
|
138
138
|
},
|
|
139
139
|
"publishConfig": { "access": "public" },
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "f5914f6eb955964b0c2c1785c6e75d5ee04ebd79"
|
|
141
141
|
}
|
|
@@ -1425,12 +1425,6 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
1425
1425
|
resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
|
|
1426
1426
|
isEntry: boolean;
|
|
1427
1427
|
}) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
|
|
1428
|
-
/**
|
|
1429
|
-
* An API object that can be used for inter-plugin communication.
|
|
1430
|
-
*
|
|
1431
|
-
* @see https://rollupjs.org/plugin-development/#direct-plugin-communication
|
|
1432
|
-
*/
|
|
1433
|
-
api?: Record<string, any>;
|
|
1434
1428
|
};
|
|
1435
1429
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
|
|
1436
1430
|
[TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
|
|
@@ -1440,6 +1434,12 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1440
1434
|
* The name of the plugin, for use in deduplication, error messages and logs.
|
|
1441
1435
|
*/
|
|
1442
1436
|
name: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* An API object that can be used for inter-plugin communication.
|
|
1439
|
+
*
|
|
1440
|
+
* @see https://rollupjs.org/plugin-development/#direct-plugin-communication
|
|
1441
|
+
*/
|
|
1442
|
+
api?: Record<string, any>;
|
|
1443
1443
|
/**
|
|
1444
1444
|
* Enforce plugin invocation tier similar to webpack loaders. Hooks ordering is still subject to the `order` property in the hook object.
|
|
1445
1445
|
*
|
|
@@ -1425,12 +1425,6 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
1425
1425
|
resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
|
|
1426
1426
|
isEntry: boolean;
|
|
1427
1427
|
}) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
|
|
1428
|
-
/**
|
|
1429
|
-
* An API object that can be used for inter-plugin communication.
|
|
1430
|
-
*
|
|
1431
|
-
* @see https://rollupjs.org/plugin-development/#direct-plugin-communication
|
|
1432
|
-
*/
|
|
1433
|
-
api?: Record<string, any>;
|
|
1434
1428
|
};
|
|
1435
1429
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
|
|
1436
1430
|
[TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
|
|
@@ -1440,6 +1434,12 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1440
1434
|
* The name of the plugin, for use in deduplication, error messages and logs.
|
|
1441
1435
|
*/
|
|
1442
1436
|
name: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* An API object that can be used for inter-plugin communication.
|
|
1439
|
+
*
|
|
1440
|
+
* @see https://rollupjs.org/plugin-development/#direct-plugin-communication
|
|
1441
|
+
*/
|
|
1442
|
+
api?: Record<string, any>;
|
|
1443
1443
|
/**
|
|
1444
1444
|
* Enforce plugin invocation tier similar to webpack loaders. Hooks ordering is still subject to the `order` property in the hook object.
|
|
1445
1445
|
*
|