@powerlines/plugin-stylelint 0.1.104 → 0.1.106

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.
@@ -39,7 +39,7 @@ interface BasePluginHookFunctions<TContext extends PluginContext = PluginContext
39
39
  * @remarks
40
40
  * Modify config before it's resolved. The hook can either mutate {@link Context.config} on the passed-in context directly, or return a partial config object that will be deeply merged into existing config.
41
41
  *
42
- * @warning User plugins are resolved before running this hook so injecting other plugins inside the config hook will have no effect. If you want to add plugins, consider doing so in the {@link Plugin.dependsOn} property instead.
42
+ * @warning User plugins are resolved before running this hook so injecting other plugins inside the config hook will have no effect.
43
43
  *
44
44
  * @see https://vitejs.dev/guide/api-plugin#config
45
45
  *
@@ -215,11 +215,10 @@ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<
215
215
  * @param other - The other plugin to compare against.
216
216
  * @returns `true` if the two plugins are the same, `false` otherwise.
217
217
  */
218
- dedupe?: false | ((other: Plugin<TContext>) => boolean);
218
+ dedupe?: false | ((other: Plugin<any>) => boolean);
219
219
  /**
220
220
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
221
221
  */
222
- dependsOn?: PluginConfig<TContext>[];
223
222
  /**
224
223
  * Define environments where this plugin should be active. By default, the plugin is active in all environments.
225
224
  *
@@ -39,7 +39,7 @@ interface BasePluginHookFunctions<TContext extends PluginContext = PluginContext
39
39
  * @remarks
40
40
  * Modify config before it's resolved. The hook can either mutate {@link Context.config} on the passed-in context directly, or return a partial config object that will be deeply merged into existing config.
41
41
  *
42
- * @warning User plugins are resolved before running this hook so injecting other plugins inside the config hook will have no effect. If you want to add plugins, consider doing so in the {@link Plugin.dependsOn} property instead.
42
+ * @warning User plugins are resolved before running this hook so injecting other plugins inside the config hook will have no effect.
43
43
  *
44
44
  * @see https://vitejs.dev/guide/api-plugin#config
45
45
  *
@@ -215,11 +215,10 @@ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<
215
215
  * @param other - The other plugin to compare against.
216
216
  * @returns `true` if the two plugins are the same, `false` otherwise.
217
217
  */
218
- dedupe?: false | ((other: Plugin<TContext>) => boolean);
218
+ dedupe?: false | ((other: Plugin<any>) => boolean);
219
219
  /**
220
220
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
221
221
  */
222
- dependsOn?: PluginConfig<TContext>[];
223
222
  /**
224
223
  * Define environments where this plugin should be active. By default, the plugin is active in all environments.
225
224
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-stylelint",
3
- "version": "0.1.104",
3
+ "version": "0.1.106",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for running Stylelint on the codebase.",
6
6
  "repository": {
@@ -105,18 +105,18 @@
105
105
  "powerlines-plugin"
106
106
  ],
107
107
  "dependencies": {
108
- "@storm-software/config-tools": "^1.188.73",
108
+ "@storm-software/config-tools": "^1.188.74",
109
109
  "@stryke/fs": "^0.33.26",
110
110
  "@stryke/path": "^0.24.0",
111
111
  "defu": "^6.1.4",
112
- "powerlines": "^0.36.5",
112
+ "powerlines": "^0.36.7",
113
113
  "stylelint": "^16.26.1"
114
114
  },
115
115
  "devDependencies": {
116
- "@powerlines/nx": "^0.11.31",
117
- "@storm-software/tsup": "^0.2.71",
116
+ "@powerlines/nx": "^0.11.33",
117
+ "@storm-software/tsup": "^0.2.72",
118
118
  "@types/node": "^24.10.4"
119
119
  },
120
120
  "publishConfig": { "access": "public" },
121
- "gitHead": "c41f638b197fc405bae6c2f6e47d7d6c36e52ac6"
121
+ "gitHead": "abbf694ae460ab6f58ae645a000cabf4a4fdac80"
122
122
  }