@powerlines/plugin-content-collections 0.1.60 → 0.1.61
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.
|
@@ -215,18 +215,18 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
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<
|
|
218
|
+
dedupe?: false | ((other: Plugin<TContext>) => 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<
|
|
222
|
+
dependsOn?: PluginConfig<TContext>[];
|
|
223
223
|
/**
|
|
224
224
|
* Define environments where this plugin should be active. By default, the plugin is active in all environments.
|
|
225
225
|
*
|
|
226
226
|
* @param environment - The environment to check.
|
|
227
227
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
228
228
|
*/
|
|
229
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<
|
|
229
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<TContext>;
|
|
230
230
|
}
|
|
231
231
|
//#endregion
|
|
232
232
|
export { Plugin };
|
|
@@ -215,18 +215,18 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
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<
|
|
218
|
+
dedupe?: false | ((other: Plugin<TContext>) => 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<
|
|
222
|
+
dependsOn?: PluginConfig<TContext>[];
|
|
223
223
|
/**
|
|
224
224
|
* Define environments where this plugin should be active. By default, the plugin is active in all environments.
|
|
225
225
|
*
|
|
226
226
|
* @param environment - The environment to check.
|
|
227
227
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
228
228
|
*/
|
|
229
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<
|
|
229
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<TContext>;
|
|
230
230
|
}
|
|
231
231
|
//#endregion
|
|
232
232
|
export { Plugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-content-collections",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.61",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code using Content Collections.",
|
|
6
6
|
"repository": {
|
|
@@ -130,15 +130,15 @@
|
|
|
130
130
|
"@stryke/types": "^0.10.23",
|
|
131
131
|
"defu": "^6.1.4",
|
|
132
132
|
"pluralize": "^8.0.0",
|
|
133
|
-
"powerlines": "^0.30.
|
|
133
|
+
"powerlines": "^0.30.12"
|
|
134
134
|
},
|
|
135
135
|
"devDependencies": {
|
|
136
|
-
"@powerlines/nx": "^0.10.
|
|
137
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
136
|
+
"@powerlines/nx": "^0.10.61",
|
|
137
|
+
"@powerlines/plugin-plugin": "^0.12.13",
|
|
138
138
|
"@standard-schema/spec": "^1.0.0",
|
|
139
139
|
"@types/node": "^24.10.1",
|
|
140
140
|
"@types/pluralize": "^0.0.33"
|
|
141
141
|
},
|
|
142
142
|
"publishConfig": { "access": "public" },
|
|
143
|
-
"gitHead": "
|
|
143
|
+
"gitHead": "cf77bcf1cf8704db0c0be1a77a3a2b7d5f801aa6"
|
|
144
144
|
}
|