@powerlines/plugin-content-collections 0.1.399 → 0.1.401

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.
package/dist/index.cjs CHANGED
@@ -43,7 +43,7 @@ const plugin = (options) => {
43
43
  configuration.checksum = (0, node_crypto.createHash)("sha256").update(JSON.stringify(configuration)).digest("hex");
44
44
  const context = await (0, _content_collections_core.createBuildContext)({
45
45
  emitter,
46
- baseDirectory: (0, _stryke_path_join.joinPaths)(this.workspaceConfig.workspaceRoot, this.config.root),
46
+ baseDirectory: (0, _stryke_path_join.joinPaths)(this.config.cwd, this.config.root),
47
47
  outputDirectory: this.config.contentCollections.outputPath || (0, _stryke_path_join.joinPaths)(this.builtinsPath, "content"),
48
48
  configuration
49
49
  });
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createEmitter } from "./helpers/create-emitter.cjs";
2
- import { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig } from "./types/plugin.cjs";
2
+ import { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig } from "./types/plugin.cjs";
3
3
  import { createWriter } from "./helpers/create-writer.cjs";
4
4
  import { Plugin } from "powerlines";
5
5
 
@@ -17,5 +17,5 @@ declare module "powerlines" {
17
17
  */
18
18
  declare const plugin: <TContext extends ContentCollectionsPluginContext = ContentCollectionsPluginContext>(options: ContentCollectionsPluginOptions) => Plugin<TContext>;
19
19
  //#endregion
20
- export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, createEmitter, createWriter, plugin as default, plugin };
20
+ export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig, createEmitter, createWriter, plugin as default, plugin };
21
21
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;YA0CY,MAAA;IACR,kBAAA,GAAqB,+BAAA;EAAA;AAAA;;;;;;;cAUZ,MAAA,oBACM,+BAAA,GACf,+BAAA,EAEF,OAAA,EAAS,+BAAA,KACR,MAAA,CAAO,QAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;YAyCY,MAAA;IACR,kBAAA,GAAqB,+BAAA;EAAA;AAAA;;;;;;;cAUZ,MAAA,oBACM,+BAAA,GACf,+BAAA,EAEF,OAAA,EAAS,+BAAA,KACR,MAAA,CAAO,QAAA"}
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createEmitter } from "./helpers/create-emitter.mjs";
2
- import { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig } from "./types/plugin.mjs";
2
+ import { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig } from "./types/plugin.mjs";
3
3
  import { createWriter } from "./helpers/create-writer.mjs";
4
4
  import { Plugin } from "powerlines";
5
5
 
@@ -17,5 +17,5 @@ declare module "powerlines" {
17
17
  */
18
18
  declare const plugin: <TContext extends ContentCollectionsPluginContext = ContentCollectionsPluginContext>(options: ContentCollectionsPluginOptions) => Plugin<TContext>;
19
19
  //#endregion
20
- export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, createEmitter, createWriter, plugin as default, plugin };
20
+ export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig, createEmitter, createWriter, plugin as default, plugin };
21
21
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;YA0CY,MAAA;IACR,kBAAA,GAAqB,+BAAA;EAAA;AAAA;;;;;;;cAUZ,MAAA,oBACM,+BAAA,GACf,+BAAA,EAEF,OAAA,EAAS,+BAAA,KACR,MAAA,CAAO,QAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;YAyCY,MAAA;IACR,kBAAA,GAAqB,+BAAA;EAAA;AAAA;;;;;;;cAUZ,MAAA,oBACM,+BAAA,GACf,+BAAA,EAEF,OAAA,EAAS,+BAAA,KACR,MAAA,CAAO,QAAA"}
package/dist/index.mjs CHANGED
@@ -40,7 +40,7 @@ const plugin = (options) => {
40
40
  configuration.checksum = createHash("sha256").update(JSON.stringify(configuration)).digest("hex");
41
41
  const context = await createBuildContext({
42
42
  emitter,
43
- baseDirectory: joinPaths(this.workspaceConfig.workspaceRoot, this.config.root),
43
+ baseDirectory: joinPaths(this.config.cwd, this.config.root),
44
44
  outputDirectory: this.config.contentCollections.outputPath || joinPaths(this.builtinsPath, "content"),
45
45
  configuration
46
46
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n build,\n createBuildContext,\n createConfigurationReader,\n InternalConfiguration\n} from \"@content-collections/core\";\nimport { existsSync } from \"@stryke/fs/exists\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport defu from \"defu\";\nimport { createHash } from \"node:crypto\";\nimport { Plugin } from \"powerlines\";\nimport { replacePathTokens } from \"powerlines/plugin-utils\";\nimport { createEmitter } from \"./helpers/create-emitter\";\nimport { createWriter } from \"./helpers/create-writer\";\nimport {\n ContentCollectionsPluginContext,\n ContentCollectionsPluginOptions,\n ContentCollectionsPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n contentCollections?: ContentCollectionsPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to integrate Content Collections for code generation.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends ContentCollectionsPluginContext =\n ContentCollectionsPluginContext\n>(\n options: ContentCollectionsPluginOptions\n): Plugin<TContext> => {\n return {\n name: \"content-collections\",\n config() {\n return {\n contentCollections: defu(options, {\n configFile: \"{root}/content-collections.ts\",\n collections: []\n })\n } as Partial<ContentCollectionsPluginUserConfig>;\n },\n async configResolved() {\n this.config.contentCollections.configFile ||= replacePathTokens(\n this,\n this.config.contentCollections.configFile\n );\n\n this.config.contentCollections.outputPath ||= replacePathTokens(\n this,\n this.config.contentCollections.outputPath\n );\n\n const emitter = createEmitter();\n const readConfiguration = createConfigurationReader();\n\n let configuration = {} as InternalConfiguration;\n try {\n if (existsSync(this.config.contentCollections.configFile)) {\n configuration = await readConfiguration(\n this.config.contentCollections.configFile,\n {\n configName: \"config.mjs\",\n cacheDir: joinPaths(this.cachePath, \"content-collections\")\n }\n );\n }\n } catch {\n // Do nothing\n }\n\n configuration = defu(configuration ?? {}, this.config.contentCollections);\n configuration.checksum = createHash(\"sha256\")\n .update(JSON.stringify(configuration))\n .digest(\"hex\");\n\n const context = await createBuildContext({\n emitter,\n baseDirectory: joinPaths(\n this.workspaceConfig.workspaceRoot,\n this.config.root\n ),\n outputDirectory:\n this.config.contentCollections.outputPath ||\n joinPaths(this.builtinsPath, \"content\"),\n configuration\n });\n context.writer = createWriter(this);\n\n this.contentCollections = {\n context,\n build: async () => build(context),\n on: emitter.on\n };\n },\n async prepare() {\n return this.contentCollections.build();\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;;AAqDA,MAAa,UAIX,YACqB;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO,EACL,oBAAoB,KAAK,SAAS;IAChC,YAAY;IACZ,aAAa,EAAE;IAChB,CAAC,EACH;;EAEH,MAAM,iBAAiB;AACrB,QAAK,OAAO,mBAAmB,eAAe,kBAC5C,MACA,KAAK,OAAO,mBAAmB,WAChC;AAED,QAAK,OAAO,mBAAmB,eAAe,kBAC5C,MACA,KAAK,OAAO,mBAAmB,WAChC;GAED,MAAM,UAAU,eAAe;GAC/B,MAAM,oBAAoB,2BAA2B;GAErD,IAAI,gBAAgB,EAAE;AACtB,OAAI;AACF,QAAI,WAAW,KAAK,OAAO,mBAAmB,WAAW,CACvD,iBAAgB,MAAM,kBACpB,KAAK,OAAO,mBAAmB,YAC/B;KACE,YAAY;KACZ,UAAU,UAAU,KAAK,WAAW,sBAAsB;KAC3D,CACF;WAEG;AAIR,mBAAgB,KAAK,iBAAiB,EAAE,EAAE,KAAK,OAAO,mBAAmB;AACzE,iBAAc,WAAW,WAAW,SAAS,CAC1C,OAAO,KAAK,UAAU,cAAc,CAAC,CACrC,OAAO,MAAM;GAEhB,MAAM,UAAU,MAAM,mBAAmB;IACvC;IACA,eAAe,UACb,KAAK,gBAAgB,eACrB,KAAK,OAAO,KACb;IACD,iBACE,KAAK,OAAO,mBAAmB,cAC/B,UAAU,KAAK,cAAc,UAAU;IACzC;IACD,CAAC;AACF,WAAQ,SAAS,aAAa,KAAK;AAEnC,QAAK,qBAAqB;IACxB;IACA,OAAO,YAAY,MAAM,QAAQ;IACjC,IAAI,QAAQ;IACb;;EAEH,MAAM,UAAU;AACd,UAAO,KAAK,mBAAmB,OAAO;;EAEzC"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n build,\n createBuildContext,\n createConfigurationReader,\n InternalConfiguration\n} from \"@content-collections/core\";\nimport { existsSync } from \"@stryke/fs/exists\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport defu from \"defu\";\nimport { createHash } from \"node:crypto\";\nimport { Plugin } from \"powerlines\";\nimport { replacePathTokens } from \"powerlines/plugin-utils\";\nimport { createEmitter } from \"./helpers/create-emitter\";\nimport { createWriter } from \"./helpers/create-writer\";\nimport {\n ContentCollectionsPluginContext,\n ContentCollectionsPluginOptions\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n contentCollections?: ContentCollectionsPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to integrate Content Collections for code generation.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends ContentCollectionsPluginContext =\n ContentCollectionsPluginContext\n>(\n options: ContentCollectionsPluginOptions\n): Plugin<TContext> => {\n return {\n name: \"content-collections\",\n config() {\n return {\n contentCollections: defu(options, {\n configFile: \"{root}/content-collections.ts\",\n collections: []\n })\n };\n },\n async configResolved() {\n this.config.contentCollections.configFile ||= replacePathTokens(\n this,\n this.config.contentCollections.configFile\n );\n\n this.config.contentCollections.outputPath ||= replacePathTokens(\n this,\n this.config.contentCollections.outputPath\n );\n\n const emitter = createEmitter();\n const readConfiguration = createConfigurationReader();\n\n let configuration = {} as InternalConfiguration;\n try {\n if (existsSync(this.config.contentCollections.configFile)) {\n configuration = await readConfiguration(\n this.config.contentCollections.configFile,\n {\n configName: \"config.mjs\",\n cacheDir: joinPaths(this.cachePath, \"content-collections\")\n }\n );\n }\n } catch {\n // Do nothing\n }\n\n configuration = defu(configuration ?? {}, this.config.contentCollections);\n configuration.checksum = createHash(\"sha256\")\n .update(JSON.stringify(configuration))\n .digest(\"hex\");\n\n const context = await createBuildContext({\n emitter,\n baseDirectory: joinPaths(this.config.cwd, this.config.root),\n outputDirectory:\n this.config.contentCollections.outputPath ||\n joinPaths(this.builtinsPath, \"content\"),\n configuration\n });\n context.writer = createWriter(this);\n\n this.contentCollections = {\n context,\n build: async () => build(context),\n on: emitter.on\n };\n },\n async prepare() {\n return this.contentCollections.build();\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;;AAoDA,MAAa,UAIX,YACqB;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO,EACL,oBAAoB,KAAK,SAAS;IAChC,YAAY;IACZ,aAAa,EAAE;IAChB,CAAC,EACH;;EAEH,MAAM,iBAAiB;AACrB,QAAK,OAAO,mBAAmB,eAAe,kBAC5C,MACA,KAAK,OAAO,mBAAmB,WAChC;AAED,QAAK,OAAO,mBAAmB,eAAe,kBAC5C,MACA,KAAK,OAAO,mBAAmB,WAChC;GAED,MAAM,UAAU,eAAe;GAC/B,MAAM,oBAAoB,2BAA2B;GAErD,IAAI,gBAAgB,EAAE;AACtB,OAAI;AACF,QAAI,WAAW,KAAK,OAAO,mBAAmB,WAAW,CACvD,iBAAgB,MAAM,kBACpB,KAAK,OAAO,mBAAmB,YAC/B;KACE,YAAY;KACZ,UAAU,UAAU,KAAK,WAAW,sBAAsB;KAC3D,CACF;WAEG;AAIR,mBAAgB,KAAK,iBAAiB,EAAE,EAAE,KAAK,OAAO,mBAAmB;AACzE,iBAAc,WAAW,WAAW,SAAS,CAC1C,OAAO,KAAK,UAAU,cAAc,CAAC,CACrC,OAAO,MAAM;GAEhB,MAAM,UAAU,MAAM,mBAAmB;IACvC;IACA,eAAe,UAAU,KAAK,OAAO,KAAK,KAAK,OAAO,KAAK;IAC3D,iBACE,KAAK,OAAO,mBAAmB,cAC/B,UAAU,KAAK,cAAc,UAAU;IACzC;IACD,CAAC;AACF,WAAQ,SAAS,aAAa,KAAK;AAEnC,QAAK,qBAAqB;IACxB;IACA,OAAO,YAAY,MAAM,QAAQ;IACjC,IAAI,QAAQ;IACb;;EAEH,MAAM,UAAU;AACd,UAAO,KAAK,mBAAmB,OAAO;;EAEzC"}
@@ -1,2 +1,2 @@
1
- import { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig } from "./plugin.cjs";
2
- export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig };
1
+ import { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig } from "./plugin.cjs";
2
+ export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig };
@@ -1,2 +1,2 @@
1
- import { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig } from "./plugin.mjs";
2
- export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig };
1
+ import { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig } from "./plugin.mjs";
2
+ export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig };
@@ -38,6 +38,11 @@ type ContentCollectionsPluginResolvedConfig = ResolvedConfig & {
38
38
  type ContentCollectionsPluginContext<TResolvedConfig extends ContentCollectionsPluginResolvedConfig = ContentCollectionsPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
39
39
  contentCollections: ContentCollectionsContext;
40
40
  };
41
+ declare type __ΩContentCollectionsContext = any[];
42
+ declare type __ΩContentCollectionsPluginOptions = any[];
43
+ declare type __ΩContentCollectionsPluginUserConfig = any[];
44
+ declare type __ΩContentCollectionsPluginResolvedConfig = any[];
45
+ declare type __ΩContentCollectionsPluginContext = any[];
41
46
  //#endregion
42
- export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig };
47
+ export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig };
43
48
  //# sourceMappingURL=plugin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAyBY,yBAAA,GAA4B,IAAA,CACtC,OAAA,CAAQ,UAAA,QAAkB,qBAAA;EAEtB,OAAA,EAAS,YAAA;AAAA;AAAA,UAEE,+BAAA;;;;;;;;;EASf,UAAA;EAbA;;;EAkBA,WAAA,GAAc,aAAA;EAhBD;;;AAEf;;;;;EAwBE,UAAA;AAAA;AAAA,KAGU,kCAAA,GAAqC,UAAA;EAC/C,kBAAA,GAAqB,+BAAA;AAAA;AAAA,KAGX,sCAAA,GAAyC,cAAA;EACnD,kBAAA,EAAoB,QAAA,CAClB,IAAA,CAAK,+BAAA,mBAEL,IAAA,CAAK,+BAAA;AAAA;AAAA,KAGG,+BAAA,yBACc,sCAAA,GACtB,sCAAA,IACA,aAAA,CAAc,eAAA;EAChB,kBAAA,EAAoB,yBAAA;AAAA"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAyBY,yBAAA,GAA4B,IAAA,CACtC,OAAA,CAAQ,UAAA,QAAkB,qBAAA;EAEtB,OAAA,EAAS,YAAA;AAAA;AAAA,UAEE,+BAAA;;;;;;;;;EASf,UAAA;EAbA;;;EAkBA,WAAA,GAAc,aAAA;EAhBD;;;AAEf;;;;;EAwBE,UAAA;AAAA;AAAA,KAGU,kCAAA,GAAqC,UAAA;EAC/C,kBAAA,GAAqB,+BAAA;AAAA;AAAA,KAGX,sCAAA,GAAyC,cAAA;EACnD,kBAAA,EAAoB,QAAA,CAClB,IAAA,CAAK,+BAAA,mBAEL,IAAA,CAAK,+BAAA;AAAA;AAAA,KAGG,+BAAA,yBACc,sCAAA,GACtB,sCAAA,IACA,aAAA,CAAc,eAAA;EAChB,kBAAA,EAAoB,yBAAA;AAAA;AAAA"}
@@ -38,6 +38,11 @@ type ContentCollectionsPluginResolvedConfig = ResolvedConfig & {
38
38
  type ContentCollectionsPluginContext<TResolvedConfig extends ContentCollectionsPluginResolvedConfig = ContentCollectionsPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
39
39
  contentCollections: ContentCollectionsContext;
40
40
  };
41
+ declare type __ΩContentCollectionsContext = any[];
42
+ declare type __ΩContentCollectionsPluginOptions = any[];
43
+ declare type __ΩContentCollectionsPluginUserConfig = any[];
44
+ declare type __ΩContentCollectionsPluginResolvedConfig = any[];
45
+ declare type __ΩContentCollectionsPluginContext = any[];
41
46
  //#endregion
42
- export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig };
47
+ export { ContentCollectionsContext, ContentCollectionsPluginContext, ContentCollectionsPluginOptions, ContentCollectionsPluginResolvedConfig, ContentCollectionsPluginUserConfig, __ΩContentCollectionsContext, __ΩContentCollectionsPluginContext, __ΩContentCollectionsPluginOptions, __ΩContentCollectionsPluginResolvedConfig, __ΩContentCollectionsPluginUserConfig };
43
48
  //# sourceMappingURL=plugin.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAyBY,yBAAA,GAA4B,IAAA,CACtC,OAAA,CAAQ,UAAA,QAAkB,qBAAA;EAEtB,OAAA,EAAS,YAAA;AAAA;AAAA,UAEE,+BAAA;;;;;;;;;EASf,UAAA;EAbA;;;EAkBA,WAAA,GAAc,aAAA;EAhBD;;;AAEf;;;;;EAwBE,UAAA;AAAA;AAAA,KAGU,kCAAA,GAAqC,UAAA;EAC/C,kBAAA,GAAqB,+BAAA;AAAA;AAAA,KAGX,sCAAA,GAAyC,cAAA;EACnD,kBAAA,EAAoB,QAAA,CAClB,IAAA,CAAK,+BAAA,mBAEL,IAAA,CAAK,+BAAA;AAAA;AAAA,KAGG,+BAAA,yBACc,sCAAA,GACtB,sCAAA,IACA,aAAA,CAAc,eAAA;EAChB,kBAAA,EAAoB,yBAAA;AAAA"}
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAyBY,yBAAA,GAA4B,IAAA,CACtC,OAAA,CAAQ,UAAA,QAAkB,qBAAA;EAEtB,OAAA,EAAS,YAAA;AAAA;AAAA,UAEE,+BAAA;;;;;;;;;EASf,UAAA;EAbA;;;EAkBA,WAAA,GAAc,aAAA;EAhBD;;;AAEf;;;;;EAwBE,UAAA;AAAA;AAAA,KAGU,kCAAA,GAAqC,UAAA;EAC/C,kBAAA,GAAqB,+BAAA;AAAA;AAAA,KAGX,sCAAA,GAAyC,cAAA;EACnD,kBAAA,EAAoB,QAAA,CAClB,IAAA,CAAK,+BAAA,mBAEL,IAAA,CAAK,+BAAA;AAAA;AAAA,KAGG,+BAAA,yBACc,sCAAA,GACtB,sCAAA,IACA,aAAA,CAAc,eAAA;EAChB,kBAAA,EAAoB,yBAAA;AAAA;AAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-content-collections",
3
- "version": "0.1.399",
3
+ "version": "0.1.401",
4
4
  "private": false,
5
5
  "description": "A Powerlines plugin to generate project code using Content Collections.",
6
6
  "keywords": [
@@ -145,11 +145,11 @@
145
145
  "@stryke/types": "^0.11.3",
146
146
  "defu": "^6.1.7",
147
147
  "pluralize": "^8.0.0",
148
- "powerlines": "^0.42.40"
148
+ "powerlines": "^0.43.0"
149
149
  },
150
150
  "devDependencies": {
151
151
  "@content-collections/core": "^0.12.0",
152
- "@powerlines/plugin-plugin": "^0.12.350",
152
+ "@powerlines/plugin-plugin": "^0.12.352",
153
153
  "@types/node": "^25.6.0",
154
154
  "@types/pluralize": "^0.0.33"
155
155
  },
@@ -158,5 +158,5 @@
158
158
  "@content-collections/core": { "optional": false }
159
159
  },
160
160
  "publishConfig": { "access": "public" },
161
- "gitHead": "53fe118324ce5a30936fc934f219781021d72844"
161
+ "gitHead": "49eae5ce8145cd6ae873cb4d9b3d747f7132c82d"
162
162
  }