@powerlines/plugin-content-collections 0.1.24 → 0.1.26

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
  import { Writer } from '@content-collections/core';
2
- import { C as ContentCollectionsPluginContext } from '../index-D_KuXwqm.cjs';
2
+ import { C as ContentCollectionsPluginContext } from '../index-BLOKxxwP.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -1,5 +1,5 @@
1
1
  import { Writer } from '@content-collections/core';
2
- import { C as ContentCollectionsPluginContext } from '../index-D_KuXwqm.js';
2
+ import { C as ContentCollectionsPluginContext } from '../index-BLOKxxwP.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -1,7 +1,7 @@
1
1
  export { createEmitter } from './create-emitter.cjs';
2
2
  export { createWriter } from './create-writer.cjs';
3
3
  import '@content-collections/core';
4
- import '../index-D_KuXwqm.cjs';
4
+ import '../index-BLOKxxwP.cjs';
5
5
  import '@storm-software/build-tools/types';
6
6
  import '@storm-software/config-tools/types';
7
7
  import '@storm-software/config/types';
@@ -1,7 +1,7 @@
1
1
  export { createEmitter } from './create-emitter.js';
2
2
  export { createWriter } from './create-writer.js';
3
3
  import '@content-collections/core';
4
- import '../index-D_KuXwqm.js';
4
+ import '../index-BLOKxxwP.js';
5
5
  import '@storm-software/build-tools/types';
6
6
  import '@storm-software/config-tools/types';
7
7
  import '@storm-software/config/types';
@@ -1184,6 +1184,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1184
1184
  * @returns A logger function
1185
1185
  */
1186
1186
  extendLog: (name: string) => LogFn;
1187
+ /**
1188
+ * Generates a checksum representing the current context state
1189
+ *
1190
+ * @returns A promise that resolves to a string representing the checksum
1191
+ */
1192
+ generateChecksum: () => Promise<string>;
1187
1193
  }
1188
1194
  type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
1189
1195
  /**
@@ -1184,6 +1184,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1184
1184
  * @returns A logger function
1185
1185
  */
1186
1186
  extendLog: (name: string) => LogFn;
1187
+ /**
1188
+ * Generates a checksum representing the current context state
1189
+ *
1190
+ * @returns A promise that resolves to a string representing the checksum
1191
+ */
1192
+ generateChecksum: () => Promise<string>;
1187
1193
  }
1188
1194
  type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
1189
1195
  /**
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from './index-D_KuXwqm.cjs';
2
- export { b as ContentCollectionsContext, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig, _ as __ΩContentCollectionsContext, h as __ΩContentCollectionsPluginContext, e as __ΩContentCollectionsPluginOptions, g as __ΩContentCollectionsPluginResolvedConfig, f as __ΩContentCollectionsPluginUserConfig } from './index-D_KuXwqm.cjs';
1
+ import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from './index-BLOKxxwP.cjs';
2
+ export { b as ContentCollectionsContext, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig, _ as __ΩContentCollectionsContext, h as __ΩContentCollectionsPluginContext, e as __ΩContentCollectionsPluginOptions, g as __ΩContentCollectionsPluginResolvedConfig, f as __ΩContentCollectionsPluginUserConfig } from './index-BLOKxxwP.cjs';
3
3
  export { createEmitter } from './helpers/create-emitter.cjs';
4
4
  export { createWriter } from './helpers/create-writer.cjs';
5
5
  import '@content-collections/core';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from './index-D_KuXwqm.js';
2
- export { b as ContentCollectionsContext, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig, _ as __ΩContentCollectionsContext, h as __ΩContentCollectionsPluginContext, e as __ΩContentCollectionsPluginOptions, g as __ΩContentCollectionsPluginResolvedConfig, f as __ΩContentCollectionsPluginUserConfig } from './index-D_KuXwqm.js';
1
+ import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from './index-BLOKxxwP.js';
2
+ export { b as ContentCollectionsContext, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig, _ as __ΩContentCollectionsContext, h as __ΩContentCollectionsPluginContext, e as __ΩContentCollectionsPluginOptions, g as __ΩContentCollectionsPluginResolvedConfig, f as __ΩContentCollectionsPluginUserConfig } from './index-BLOKxxwP.js';
3
3
  export { createEmitter } from './helpers/create-emitter.js';
4
4
  export { createWriter } from './helpers/create-writer.js';
5
5
  import '@content-collections/core';
@@ -1,4 +1,4 @@
1
- export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig, _ as __ΩContentCollectionsContext, h as __ΩContentCollectionsPluginContext, e as __ΩContentCollectionsPluginOptions, g as __ΩContentCollectionsPluginResolvedConfig, f as __ΩContentCollectionsPluginUserConfig } from '../index-D_KuXwqm.cjs';
1
+ export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig, _ as __ΩContentCollectionsContext, h as __ΩContentCollectionsPluginContext, e as __ΩContentCollectionsPluginOptions, g as __ΩContentCollectionsPluginResolvedConfig, f as __ΩContentCollectionsPluginUserConfig } from '../index-BLOKxxwP.cjs';
2
2
  import '@content-collections/core';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig, _ as __ΩContentCollectionsContext, h as __ΩContentCollectionsPluginContext, e as __ΩContentCollectionsPluginOptions, g as __ΩContentCollectionsPluginResolvedConfig, f as __ΩContentCollectionsPluginUserConfig } from '../index-D_KuXwqm.js';
1
+ export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig, _ as __ΩContentCollectionsContext, h as __ΩContentCollectionsPluginContext, e as __ΩContentCollectionsPluginOptions, g as __ΩContentCollectionsPluginResolvedConfig, f as __ΩContentCollectionsPluginUserConfig } from '../index-BLOKxxwP.js';
2
2
  import '@content-collections/core';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,5 +1,5 @@
1
1
  import '@content-collections/core';
2
- export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig, _ as __ΩContentCollectionsContext, h as __ΩContentCollectionsPluginContext, e as __ΩContentCollectionsPluginOptions, g as __ΩContentCollectionsPluginResolvedConfig, f as __ΩContentCollectionsPluginUserConfig } from '../index-D_KuXwqm.cjs';
2
+ export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig, _ as __ΩContentCollectionsContext, h as __ΩContentCollectionsPluginContext, e as __ΩContentCollectionsPluginOptions, g as __ΩContentCollectionsPluginResolvedConfig, f as __ΩContentCollectionsPluginUserConfig } from '../index-BLOKxxwP.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -1,5 +1,5 @@
1
1
  import '@content-collections/core';
2
- export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig, _ as __ΩContentCollectionsContext, h as __ΩContentCollectionsPluginContext, e as __ΩContentCollectionsPluginOptions, g as __ΩContentCollectionsPluginResolvedConfig, f as __ΩContentCollectionsPluginUserConfig } from '../index-D_KuXwqm.js';
2
+ export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig, _ as __ΩContentCollectionsContext, h as __ΩContentCollectionsPluginContext, e as __ΩContentCollectionsPluginOptions, g as __ΩContentCollectionsPluginResolvedConfig, f as __ΩContentCollectionsPluginUserConfig } from '../index-BLOKxxwP.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-content-collections",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to generate project code using Content Collections.",
6
6
  "repository": {
@@ -112,15 +112,15 @@
112
112
  "@stryke/types": "^0.10.2",
113
113
  "defu": "^6.1.4",
114
114
  "pluralize": "^8.0.0",
115
- "powerlines": "^0.23.7"
115
+ "powerlines": "^0.23.9"
116
116
  },
117
117
  "devDependencies": {
118
- "@powerlines/nx": "^0.10.24",
119
- "@powerlines/plugin-plugin": "^0.11.32",
118
+ "@powerlines/nx": "^0.10.26",
119
+ "@powerlines/plugin-plugin": "^0.11.34",
120
120
  "@standard-schema/spec": "^1.0.0",
121
121
  "@types/node": "^24.10.1",
122
122
  "@types/pluralize": "^0.0.33"
123
123
  },
124
124
  "publishConfig": { "access": "public" },
125
- "gitHead": "76575e78b1db97f4786341913ad2ec42ec1de504"
125
+ "gitHead": "d217b583335e4615b4e28fba7325f51fbd78a3f6"
126
126
  }