@powerlines/plugin-swc 0.5.33 → 0.5.36

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.
@@ -1184,6 +1184,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1184
1184
  * @returns A logger function
1185
1185
  */
1186
1186
  extendLog: (name: string) => LogFn;
1187
+ /**
1188
+ * Generates a checksum representing the current context state
1189
+ *
1190
+ * @returns A promise that resolves to a string representing the checksum
1191
+ */
1192
+ generateChecksum: () => Promise<string>;
1187
1193
  }
1188
1194
  type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
1189
1195
  /**
@@ -1184,6 +1184,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1184
1184
  * @returns A logger function
1185
1185
  */
1186
1186
  extendLog: (name: string) => LogFn;
1187
+ /**
1188
+ * Generates a checksum representing the current context state
1189
+ *
1190
+ * @returns A promise that resolves to a string representing the checksum
1191
+ */
1192
+ generateChecksum: () => Promise<string>;
1187
1193
  }
1188
1194
  type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
1189
1195
  /**
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as SwcPluginContext, a as SwcPluginOptions, P as Plugin } from './index-BPcfMw29.cjs';
2
- export { c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from './index-BPcfMw29.cjs';
1
+ import { S as SwcPluginContext, a as SwcPluginOptions, P as Plugin } from './index-zm3iuAgJ.cjs';
2
+ export { c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from './index-zm3iuAgJ.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-BPcfMw29.js';
2
- export { c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from './index-BPcfMw29.js';
1
+ import { S as SwcPluginContext, a as SwcPluginOptions, P as Plugin } from './index-zm3iuAgJ.js';
2
+ export { c as SwcPluginResolvedConfig, b as SwcPluginUserConfig, f as __ΩSwcPluginContext, _ as __ΩSwcPluginOptions, e as __ΩSwcPluginResolvedConfig, d as __ΩSwcPluginUserConfig } from './index-zm3iuAgJ.js';
3
3
  import '@swc/core';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -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-BPcfMw29.cjs';
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-zm3iuAgJ.cjs';
2
2
  import '@swc/core';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -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-BPcfMw29.js';
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-zm3iuAgJ.js';
2
2
  import '@swc/core';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -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-BPcfMw29.cjs';
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-zm3iuAgJ.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -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-BPcfMw29.js';
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-zm3iuAgJ.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.33",
3
+ "version": "0.5.36",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to transform project code with SWC.",
6
6
  "repository": {
@@ -127,15 +127,15 @@
127
127
  "files": ["dist/**/*"],
128
128
  "keywords": ["swc", "powerlines", "storm-software", "powerlines-plugin"],
129
129
  "dependencies": {
130
- "@swc/core": "^1.15.2",
130
+ "@swc/core": "^1.15.3",
131
131
  "defu": "^6.1.4",
132
- "powerlines": "^0.23.7"
132
+ "powerlines": "^0.23.10"
133
133
  },
134
134
  "devDependencies": {
135
- "@powerlines/nx": "^0.10.24",
136
- "@powerlines/plugin-plugin": "^0.11.32",
135
+ "@powerlines/nx": "^0.10.27",
136
+ "@powerlines/plugin-plugin": "^0.11.35",
137
137
  "@types/node": "^24.10.1"
138
138
  },
139
139
  "publishConfig": { "access": "public" },
140
- "gitHead": "76575e78b1db97f4786341913ad2ec42ec1de504"
140
+ "gitHead": "5a6b8349dc29bf9e496ed5dee32c6cfb8d9bff4e"
141
141
  }