@powerlines/plugin-content-collections 0.1.55 → 0.1.57

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,4 +1,4 @@
1
- import { n as ContentCollectionsPluginContext } from "./plugin-CN8hGE5C.mjs";
1
+ import { n as ContentCollectionsPluginContext } from "./plugin-CdWcc0Nu.cjs";
2
2
  import { Writer } from "@content-collections/core";
3
3
 
4
4
  //#region src/helpers/create-writer.d.ts
@@ -1,4 +1,4 @@
1
- import { n as ContentCollectionsPluginContext } from "./plugin-Dd9r_4nu.cjs";
1
+ import { n as ContentCollectionsPluginContext } from "./plugin-BcG58blY.mjs";
2
2
  import { Writer } from "@content-collections/core";
3
3
 
4
4
  //#region src/helpers/create-writer.d.ts
@@ -1,3 +1,3 @@
1
- import "../plugin-Dd9r_4nu.cjs";
2
- import { t as createWriter } from "../create-writer-NwaCbP2S.cjs";
1
+ import "../plugin-CdWcc0Nu.cjs";
2
+ import { t as createWriter } from "../create-writer-BzlzYION.cjs";
3
3
  export { createWriter };
@@ -1,3 +1,3 @@
1
- import "../plugin-CN8hGE5C.mjs";
2
- import { t as createWriter } from "../create-writer-CKLP_sfw.mjs";
1
+ import "../plugin-BcG58blY.mjs";
2
+ import { t as createWriter } from "../create-writer-goiWOycc.mjs";
3
3
  export { createWriter };
@@ -1,5 +1,5 @@
1
1
  import { t as createEmitter } from "../create-emitter-Bk1iruR0.cjs";
2
- import "../plugin-Dd9r_4nu.cjs";
3
- import { t as createWriter } from "../create-writer-NwaCbP2S.cjs";
2
+ import "../plugin-CdWcc0Nu.cjs";
3
+ import { t as createWriter } from "../create-writer-BzlzYION.cjs";
4
4
  import "../index-BR1oNnaF.cjs";
5
5
  export { createEmitter, createWriter };
@@ -1,5 +1,5 @@
1
1
  import { t as createEmitter } from "../create-emitter-Ccqc-tkP.mjs";
2
- import "../plugin-CN8hGE5C.mjs";
3
- import { t as createWriter } from "../create-writer-CKLP_sfw.mjs";
2
+ import "../plugin-BcG58blY.mjs";
3
+ import { t as createWriter } from "../create-writer-goiWOycc.mjs";
4
4
  import "../index-DNLi60D-.mjs";
5
5
  export { createEmitter, createWriter };
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as createEmitter } from "./create-emitter-Bk1iruR0.cjs";
2
- import { a as ContentCollectionsPluginUserConfig, c as __ΩContentCollectionsPluginOptions, d as Plugin, i as ContentCollectionsPluginResolvedConfig, l as __ΩContentCollectionsPluginResolvedConfig, n as ContentCollectionsPluginContext, o as __ΩContentCollectionsContext, r as ContentCollectionsPluginOptions, s as __ΩContentCollectionsPluginContext, t as ContentCollectionsContext, u as __ΩContentCollectionsPluginUserConfig } from "./plugin-Dd9r_4nu.cjs";
3
- import { t as createWriter } from "./create-writer-NwaCbP2S.cjs";
2
+ import { a as ContentCollectionsPluginUserConfig, c as __ΩContentCollectionsPluginOptions, d as Plugin, i as ContentCollectionsPluginResolvedConfig, l as __ΩContentCollectionsPluginResolvedConfig, n as ContentCollectionsPluginContext, o as __ΩContentCollectionsContext, r as ContentCollectionsPluginOptions, s as __ΩContentCollectionsPluginContext, t as ContentCollectionsContext, u as __ΩContentCollectionsPluginUserConfig } from "./plugin-CdWcc0Nu.cjs";
3
+ import { t as createWriter } from "./create-writer-BzlzYION.cjs";
4
4
  import "./index-BR1oNnaF.cjs";
5
5
  import "./index-BL32-cvv.cjs";
6
6
 
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as createEmitter } from "./create-emitter-Ccqc-tkP.mjs";
2
- import { a as ContentCollectionsPluginUserConfig, c as __ΩContentCollectionsPluginOptions, d as Plugin, i as ContentCollectionsPluginResolvedConfig, l as __ΩContentCollectionsPluginResolvedConfig, n as ContentCollectionsPluginContext, o as __ΩContentCollectionsContext, r as ContentCollectionsPluginOptions, s as __ΩContentCollectionsPluginContext, t as ContentCollectionsContext, u as __ΩContentCollectionsPluginUserConfig } from "./plugin-CN8hGE5C.mjs";
3
- import { t as createWriter } from "./create-writer-CKLP_sfw.mjs";
2
+ import { a as ContentCollectionsPluginUserConfig, c as __ΩContentCollectionsPluginOptions, d as Plugin, i as ContentCollectionsPluginResolvedConfig, l as __ΩContentCollectionsPluginResolvedConfig, n as ContentCollectionsPluginContext, o as __ΩContentCollectionsContext, r as ContentCollectionsPluginOptions, s as __ΩContentCollectionsPluginContext, t as ContentCollectionsContext, u as __ΩContentCollectionsPluginUserConfig } from "./plugin-BcG58blY.mjs";
3
+ import { t as createWriter } from "./create-writer-goiWOycc.mjs";
4
4
  import "./index-DNLi60D-.mjs";
5
5
  import "./index-Bk0eNZmQ.mjs";
6
6
 
@@ -910,7 +910,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
910
910
  * @param environment - The environment to check.
911
911
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
912
912
  */
913
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | PluginConfig<any>>;
913
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
914
914
  }
915
915
  //#endregion
916
916
  //#region ../powerlines/src/types/tsconfig.d.ts
@@ -910,7 +910,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
910
910
  * @param environment - The environment to check.
911
911
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
912
912
  */
913
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | PluginConfig<any>>;
913
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
914
914
  }
915
915
  //#endregion
916
916
  //#region ../powerlines/src/types/tsconfig.d.ts
@@ -1,3 +1,3 @@
1
- import { a as ContentCollectionsPluginUserConfig, c as __ΩContentCollectionsPluginOptions, i as ContentCollectionsPluginResolvedConfig, l as __ΩContentCollectionsPluginResolvedConfig, n as ContentCollectionsPluginContext, o as __ΩContentCollectionsContext, r as ContentCollectionsPluginOptions, s as __ΩContentCollectionsPluginContext, t as ContentCollectionsContext, u as __ΩContentCollectionsPluginUserConfig } from "../plugin-Dd9r_4nu.cjs";
1
+ import { a as ContentCollectionsPluginUserConfig, c as __ΩContentCollectionsPluginOptions, i as ContentCollectionsPluginResolvedConfig, l as __ΩContentCollectionsPluginResolvedConfig, n as ContentCollectionsPluginContext, o as __ΩContentCollectionsContext, r as ContentCollectionsPluginOptions, s as __ΩContentCollectionsPluginContext, t as ContentCollectionsContext, u as __ΩContentCollectionsPluginUserConfig } from "../plugin-CdWcc0Nu.cjs";
2
2
  import "../index-BL32-cvv.cjs";
3
3
  export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig };
@@ -1,3 +1,3 @@
1
- import { a as ContentCollectionsPluginUserConfig, c as __ΩContentCollectionsPluginOptions, i as ContentCollectionsPluginResolvedConfig, l as __ΩContentCollectionsPluginResolvedConfig, n as ContentCollectionsPluginContext, o as __ΩContentCollectionsContext, r as ContentCollectionsPluginOptions, s as __ΩContentCollectionsPluginContext, t as ContentCollectionsContext, u as __ΩContentCollectionsPluginUserConfig } from "../plugin-CN8hGE5C.mjs";
1
+ import { a as ContentCollectionsPluginUserConfig, c as __ΩContentCollectionsPluginOptions, i as ContentCollectionsPluginResolvedConfig, l as __ΩContentCollectionsPluginResolvedConfig, n as ContentCollectionsPluginContext, o as __ΩContentCollectionsContext, r as ContentCollectionsPluginOptions, s as __ΩContentCollectionsPluginContext, t as ContentCollectionsContext, u as __ΩContentCollectionsPluginUserConfig } from "../plugin-BcG58blY.mjs";
2
2
  import "../index-Bk0eNZmQ.mjs";
3
3
  export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig };
@@ -1,2 +1,2 @@
1
- import { a as ContentCollectionsPluginUserConfig, c as __ΩContentCollectionsPluginOptions, i as ContentCollectionsPluginResolvedConfig, l as __ΩContentCollectionsPluginResolvedConfig, n as ContentCollectionsPluginContext, o as __ΩContentCollectionsContext, r as ContentCollectionsPluginOptions, s as __ΩContentCollectionsPluginContext, t as ContentCollectionsContext, u as __ΩContentCollectionsPluginUserConfig } from "../plugin-Dd9r_4nu.cjs";
1
+ import { a as ContentCollectionsPluginUserConfig, c as __ΩContentCollectionsPluginOptions, i as ContentCollectionsPluginResolvedConfig, l as __ΩContentCollectionsPluginResolvedConfig, n as ContentCollectionsPluginContext, o as __ΩContentCollectionsContext, r as ContentCollectionsPluginOptions, s as __ΩContentCollectionsPluginContext, t as ContentCollectionsContext, u as __ΩContentCollectionsPluginUserConfig } from "../plugin-CdWcc0Nu.cjs";
2
2
  export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig };
@@ -1,2 +1,2 @@
1
- import { a as ContentCollectionsPluginUserConfig, c as __ΩContentCollectionsPluginOptions, i as ContentCollectionsPluginResolvedConfig, l as __ΩContentCollectionsPluginResolvedConfig, n as ContentCollectionsPluginContext, o as __ΩContentCollectionsContext, r as ContentCollectionsPluginOptions, s as __ΩContentCollectionsPluginContext, t as ContentCollectionsContext, u as __ΩContentCollectionsPluginUserConfig } from "../plugin-CN8hGE5C.mjs";
1
+ import { a as ContentCollectionsPluginUserConfig, c as __ΩContentCollectionsPluginOptions, i as ContentCollectionsPluginResolvedConfig, l as __ΩContentCollectionsPluginResolvedConfig, n as ContentCollectionsPluginContext, o as __ΩContentCollectionsContext, r as ContentCollectionsPluginOptions, s as __ΩContentCollectionsPluginContext, t as ContentCollectionsContext, u as __ΩContentCollectionsPluginUserConfig } from "../plugin-BcG58blY.mjs";
2
2
  export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-content-collections",
3
- "version": "0.1.55",
3
+ "version": "0.1.57",
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.13",
131
131
  "defu": "^6.1.4",
132
132
  "pluralize": "^8.0.0",
133
- "powerlines": "^0.30.6"
133
+ "powerlines": "^0.30.8"
134
134
  },
135
135
  "devDependencies": {
136
- "@powerlines/nx": "^0.10.55",
137
- "@powerlines/plugin-plugin": "^0.12.7",
136
+ "@powerlines/nx": "^0.10.57",
137
+ "@powerlines/plugin-plugin": "^0.12.9",
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": "765cad6142c279ab069843806dedacf49c90a7bb"
143
+ "gitHead": "b6cd904eada6483fffd8791e64febb309d73f399"
144
144
  }