@powerlines/plugin-tsc 0.2.49 → 0.2.51

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.
@@ -1,5 +1,5 @@
1
1
  export { typeCheck } from './type-check.cjs';
2
- import '../plugin-D4BxLZ88.cjs';
2
+ import '../plugin-BraaEfJl.cjs';
3
3
  import '@stryke/types/base';
4
4
  import 'unplugin';
5
5
  import '@stryke/types/array';
@@ -1,5 +1,5 @@
1
1
  export { typeCheck } from './type-check.js';
2
- import '../plugin-D4BxLZ88.js';
2
+ import '../plugin-BraaEfJl.js';
3
3
  import '@stryke/types/base';
4
4
  import 'unplugin';
5
5
  import '@stryke/types/array';
@@ -1,4 +1,4 @@
1
- import { C as Context } from '../plugin-D4BxLZ88.cjs';
1
+ import { C as Context } from '../plugin-BraaEfJl.cjs';
2
2
  import '@stryke/types/base';
3
3
  import 'unplugin';
4
4
  import '@stryke/types/array';
@@ -1,4 +1,4 @@
1
- import { C as Context } from '../plugin-D4BxLZ88.js';
1
+ import { C as Context } from '../plugin-BraaEfJl.js';
2
2
  import '@stryke/types/base';
3
3
  import 'unplugin';
4
4
  import '@stryke/types/array';
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as Plugin } from './plugin-D4BxLZ88.cjs';
1
+ import { P as Plugin } from './plugin-BraaEfJl.cjs';
2
2
  import { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions } from './types/plugin.cjs';
3
3
  export { TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig, __ΩTypeScriptCompilerPluginContext, __ΩTypeScriptCompilerPluginOptions, __ΩTypeScriptCompilerPluginResolvedConfig, __ΩTypeScriptCompilerPluginUserConfig } from './types/plugin.cjs';
4
4
  export { typeCheck } from './helpers/type-check.cjs';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as Plugin } from './plugin-D4BxLZ88.js';
1
+ import { P as Plugin } from './plugin-BraaEfJl.js';
2
2
  import { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions } from './types/plugin.js';
3
3
  export { TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig, __ΩTypeScriptCompilerPluginContext, __ΩTypeScriptCompilerPluginOptions, __ΩTypeScriptCompilerPluginResolvedConfig, __ΩTypeScriptCompilerPluginUserConfig } from './types/plugin.js';
4
4
  export { typeCheck } from './helpers/type-check.js';
@@ -1,5 +1,5 @@
1
1
  export { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions, TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig, __ΩTypeScriptCompilerPluginContext, __ΩTypeScriptCompilerPluginOptions, __ΩTypeScriptCompilerPluginResolvedConfig, __ΩTypeScriptCompilerPluginUserConfig } from './plugin.cjs';
2
- import '../plugin-D4BxLZ88.cjs';
2
+ import '../plugin-BraaEfJl.cjs';
3
3
  import '@stryke/types/base';
4
4
  import 'unplugin';
5
5
  import '@stryke/types/array';
@@ -1,5 +1,5 @@
1
1
  export { TypeScriptCompilerPluginContext, TypeScriptCompilerPluginOptions, TypeScriptCompilerPluginResolvedConfig, TypeScriptCompilerPluginUserConfig, __ΩTypeScriptCompilerPluginContext, __ΩTypeScriptCompilerPluginOptions, __ΩTypeScriptCompilerPluginResolvedConfig, __ΩTypeScriptCompilerPluginUserConfig } from './plugin.js';
2
- import '../plugin-D4BxLZ88.js';
2
+ import '../plugin-BraaEfJl.js';
3
3
  import '@stryke/types/base';
4
4
  import 'unplugin';
5
5
  import '@stryke/types/array';
@@ -1,4 +1,4 @@
1
- import { R as ResolvedConfig, a as PluginContext, U as UserConfig } from '../plugin-D4BxLZ88.cjs';
1
+ import { R as ResolvedConfig, a as PluginContext, U as UserConfig } from '../plugin-BraaEfJl.cjs';
2
2
  import ts from 'typescript';
3
3
  import '@stryke/types/base';
4
4
  import 'unplugin';
@@ -1,4 +1,4 @@
1
- import { R as ResolvedConfig, a as PluginContext, U as UserConfig } from '../plugin-D4BxLZ88.js';
1
+ import { R as ResolvedConfig, a as PluginContext, U as UserConfig } from '../plugin-BraaEfJl.js';
2
2
  import ts from 'typescript';
3
3
  import '@stryke/types/base';
4
4
  import 'unplugin';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-tsc",
3
- "version": "0.2.49",
3
+ "version": "0.2.51",
4
4
  "type": "module",
5
5
  "description": "A package containing the TypeScript compiler plugin for Powerlines.",
6
6
  "repository": {
@@ -128,13 +128,13 @@
128
128
  "keywords": ["tsc", "powerlines", "storm-software", "powerlines-plugin"],
129
129
  "dependencies": {
130
130
  "defu": "^6.1.4",
131
- "powerlines": "^0.25.3",
131
+ "powerlines": "^0.26.0",
132
132
  "typescript": "^5.9.3"
133
133
  },
134
134
  "devDependencies": {
135
- "@powerlines/nx": "^0.10.41",
135
+ "@powerlines/nx": "^0.10.43",
136
136
  "@types/node": "^24.10.1"
137
137
  },
138
138
  "publishConfig": { "access": "public" },
139
- "gitHead": "2b25269712e4620b459f135da0e43bf8d2961c62"
139
+ "gitHead": "f5914f6eb955964b0c2c1785c6e75d5ee04ebd79"
140
140
  }
@@ -1424,12 +1424,6 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
1424
1424
  resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
1425
1425
  isEntry: boolean;
1426
1426
  }) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
1427
- /**
1428
- * An API object that can be used for inter-plugin communication.
1429
- *
1430
- * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
1431
- */
1432
- api?: Record<string, any>;
1433
1427
  };
1434
1428
  type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
1435
1429
  [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
@@ -1439,6 +1433,12 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1439
1433
  * The name of the plugin, for use in deduplication, error messages and logs.
1440
1434
  */
1441
1435
  name: string;
1436
+ /**
1437
+ * An API object that can be used for inter-plugin communication.
1438
+ *
1439
+ * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
1440
+ */
1441
+ api?: Record<string, any>;
1442
1442
  /**
1443
1443
  * Enforce plugin invocation tier similar to webpack loaders. Hooks ordering is still subject to the `order` property in the hook object.
1444
1444
  *
@@ -1424,12 +1424,6 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
1424
1424
  resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
1425
1425
  isEntry: boolean;
1426
1426
  }) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
1427
- /**
1428
- * An API object that can be used for inter-plugin communication.
1429
- *
1430
- * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
1431
- */
1432
- api?: Record<string, any>;
1433
1427
  };
1434
1428
  type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
1435
1429
  [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
@@ -1439,6 +1433,12 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1439
1433
  * The name of the plugin, for use in deduplication, error messages and logs.
1440
1434
  */
1441
1435
  name: string;
1436
+ /**
1437
+ * An API object that can be used for inter-plugin communication.
1438
+ *
1439
+ * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
1440
+ */
1441
+ api?: Record<string, any>;
1442
1442
  /**
1443
1443
  * Enforce plugin invocation tier similar to webpack loaders. Hooks ordering is still subject to the `order` property in the hook object.
1444
1444
  *