@powerlines/plugin-content-collections 0.1.16 → 0.1.20

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-B5GNI_Pf.cjs';
2
+ import { C as ContentCollectionsPluginContext } from '../index-DR9izlAh.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-B5GNI_Pf.js';
2
+ import { C as ContentCollectionsPluginContext } from '../index-DR9izlAh.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-B5GNI_Pf.cjs';
4
+ import '../index-DR9izlAh.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-B5GNI_Pf.js';
4
+ import '../index-DR9izlAh.js';
5
5
  import '@storm-software/build-tools/types';
6
6
  import '@storm-software/config-tools/types';
7
7
  import '@storm-software/config/types';
@@ -218,8 +218,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
218
218
  tsconfigFilePath: string;
219
219
  };
220
220
 
221
- declare const __VFS_PATCH__: unique symbol;
222
- declare const __VFS_REVERT__: unique symbol;
221
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
222
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
223
223
  type OutputModeType = "fs" | "virtual";
224
224
  interface VirtualFile {
225
225
  /**
@@ -628,6 +628,15 @@ interface OutputConfig {
628
628
  * @defaultValue "dist/\{projectRoot\}"
629
629
  */
630
630
  outputPath?: string;
631
+ /**
632
+ * The output directory path for the project build.
633
+ *
634
+ * @remarks
635
+ * This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
636
+ *
637
+ * @defaultValue "\{projectRoot\}/dist"
638
+ */
639
+ distPath?: string;
631
640
  /**
632
641
  * The format of the output files
633
642
  *
@@ -1448,5 +1457,10 @@ type ContentCollectionsPluginResolvedConfig = ResolvedConfig & {
1448
1457
  type ContentCollectionsPluginContext<TResolvedConfig extends ContentCollectionsPluginResolvedConfig = ContentCollectionsPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
1449
1458
  contentCollections: ContentCollectionsContext;
1450
1459
  };
1460
+ declare type __ΩContentCollectionsContext = any[];
1461
+ declare type __ΩContentCollectionsPluginOptions = any[];
1462
+ declare type __ΩContentCollectionsPluginUserConfig = any[];
1463
+ declare type __ΩContentCollectionsPluginResolvedConfig = any[];
1464
+ declare type __ΩContentCollectionsPluginContext = any[];
1451
1465
 
1452
- export type { ContentCollectionsPluginContext as C, Plugin as P, ContentCollectionsPluginOptions as a, ContentCollectionsContext as b, ContentCollectionsPluginUserConfig as c, ContentCollectionsPluginResolvedConfig as d };
1466
+ export type { ContentCollectionsPluginContext as C, Plugin as P, __ΩContentCollectionsContext as _, ContentCollectionsPluginOptions as a, ContentCollectionsContext as b, ContentCollectionsPluginUserConfig as c, ContentCollectionsPluginResolvedConfig as d, __ΩContentCollectionsPluginOptions as e, __ΩContentCollectionsPluginUserConfig as f, __ΩContentCollectionsPluginResolvedConfig as g, __ΩContentCollectionsPluginContext as h };
@@ -218,8 +218,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
218
218
  tsconfigFilePath: string;
219
219
  };
220
220
 
221
- declare const __VFS_PATCH__: unique symbol;
222
- declare const __VFS_REVERT__: unique symbol;
221
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
222
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
223
223
  type OutputModeType = "fs" | "virtual";
224
224
  interface VirtualFile {
225
225
  /**
@@ -628,6 +628,15 @@ interface OutputConfig {
628
628
  * @defaultValue "dist/\{projectRoot\}"
629
629
  */
630
630
  outputPath?: string;
631
+ /**
632
+ * The output directory path for the project build.
633
+ *
634
+ * @remarks
635
+ * This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
636
+ *
637
+ * @defaultValue "\{projectRoot\}/dist"
638
+ */
639
+ distPath?: string;
631
640
  /**
632
641
  * The format of the output files
633
642
  *
@@ -1448,5 +1457,10 @@ type ContentCollectionsPluginResolvedConfig = ResolvedConfig & {
1448
1457
  type ContentCollectionsPluginContext<TResolvedConfig extends ContentCollectionsPluginResolvedConfig = ContentCollectionsPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
1449
1458
  contentCollections: ContentCollectionsContext;
1450
1459
  };
1460
+ declare type __ΩContentCollectionsContext = any[];
1461
+ declare type __ΩContentCollectionsPluginOptions = any[];
1462
+ declare type __ΩContentCollectionsPluginUserConfig = any[];
1463
+ declare type __ΩContentCollectionsPluginResolvedConfig = any[];
1464
+ declare type __ΩContentCollectionsPluginContext = any[];
1451
1465
 
1452
- export type { ContentCollectionsPluginContext as C, Plugin as P, ContentCollectionsPluginOptions as a, ContentCollectionsContext as b, ContentCollectionsPluginUserConfig as c, ContentCollectionsPluginResolvedConfig as d };
1466
+ export type { ContentCollectionsPluginContext as C, Plugin as P, __ΩContentCollectionsContext as _, ContentCollectionsPluginOptions as a, ContentCollectionsContext as b, ContentCollectionsPluginUserConfig as c, ContentCollectionsPluginResolvedConfig as d, __ΩContentCollectionsPluginOptions as e, __ΩContentCollectionsPluginUserConfig as f, __ΩContentCollectionsPluginResolvedConfig as g, __ΩContentCollectionsPluginContext as h };
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from './index-B5GNI_Pf.cjs';
2
- export { b as ContentCollectionsContext, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from './index-B5GNI_Pf.cjs';
1
+ import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from './index-DR9izlAh.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-DR9izlAh.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-B5GNI_Pf.js';
2
- export { b as ContentCollectionsContext, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from './index-B5GNI_Pf.js';
1
+ import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from './index-DR9izlAh.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-DR9izlAh.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 } from '../index-B5GNI_Pf.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-DR9izlAh.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 } from '../index-B5GNI_Pf.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-DR9izlAh.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 } from '../index-B5GNI_Pf.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-DR9izlAh.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 } from '../index-B5GNI_Pf.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-DR9izlAh.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.16",
3
+ "version": "0.1.20",
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.22.1"
115
+ "powerlines": "^0.23.3"
116
116
  },
117
117
  "devDependencies": {
118
- "@powerlines/nx": "^0.10.16",
119
- "@powerlines/plugin-plugin": "^0.11.24",
118
+ "@powerlines/nx": "^0.10.20",
119
+ "@powerlines/plugin-plugin": "^0.11.28",
120
120
  "@standard-schema/spec": "^1.0.0",
121
- "@types/node": "^22.19.1",
121
+ "@types/node": "^24.10.1",
122
122
  "@types/pluralize": "^0.0.33"
123
123
  },
124
124
  "publishConfig": { "access": "public" },
125
- "gitHead": "781b9a5f57b9c64bf6e659316741b7c8a429445f"
125
+ "gitHead": "6e43200541ace2946694195c092642e7ac2f3098"
126
126
  }