@powerlines/plugin-content-collections 0.1.3 → 0.1.4

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-DUdx3_SO.cjs';
2
+ import { C as ContentCollectionsPluginContext } from '../index-Gw48j5XK.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-DUdx3_SO.js';
2
+ import { C as ContentCollectionsPluginContext } from '../index-Gw48j5XK.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-DUdx3_SO.cjs';
4
+ import '../index-Gw48j5XK.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-DUdx3_SO.js';
4
+ import '../index-Gw48j5XK.js';
5
5
  import '@storm-software/build-tools/types';
6
6
  import '@storm-software/config-tools/types';
7
7
  import '@storm-software/config/types';
@@ -11,7 +11,7 @@ import { PackageJson } from '@stryke/types/package-json';
11
11
  import { Jiti } from 'jiti';
12
12
  import { ParserOptions, ParseResult } from 'oxc-parser';
13
13
  import { Range } from 'semver';
14
- import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
14
+ import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
15
15
  import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
16
16
  import ts from 'typescript';
17
17
  import { PrimitiveJsonValue } from '@stryke/json/types';
@@ -937,6 +937,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
937
937
  * A logging function for the Powerlines engine
938
938
  */
939
939
  log: LogFn;
940
+ /**
941
+ * A logging function for fatal messages
942
+ */
943
+ fatal: (message: string | UnpluginMessage) => void;
944
+ /**
945
+ * A logging function for error messages
946
+ */
947
+ error: (message: string | UnpluginMessage) => void;
948
+ /**
949
+ * A logging function for warning messages
950
+ */
951
+ warn: (message: string | UnpluginMessage) => void;
952
+ /**
953
+ * A logging function for informational messages
954
+ */
955
+ info: (message: string | UnpluginMessage) => void;
956
+ /**
957
+ * A logging function for debug messages
958
+ */
959
+ debug: (message: string | UnpluginMessage) => void;
960
+ /**
961
+ * A logging function for trace messages
962
+ */
963
+ trace: (message: string | UnpluginMessage) => void;
940
964
  /**
941
965
  * The metadata information
942
966
  */
@@ -11,7 +11,7 @@ import { PackageJson } from '@stryke/types/package-json';
11
11
  import { Jiti } from 'jiti';
12
12
  import { ParserOptions, ParseResult } from 'oxc-parser';
13
13
  import { Range } from 'semver';
14
- import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
14
+ import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
15
15
  import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
16
16
  import ts from 'typescript';
17
17
  import { PrimitiveJsonValue } from '@stryke/json/types';
@@ -937,6 +937,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
937
937
  * A logging function for the Powerlines engine
938
938
  */
939
939
  log: LogFn;
940
+ /**
941
+ * A logging function for fatal messages
942
+ */
943
+ fatal: (message: string | UnpluginMessage) => void;
944
+ /**
945
+ * A logging function for error messages
946
+ */
947
+ error: (message: string | UnpluginMessage) => void;
948
+ /**
949
+ * A logging function for warning messages
950
+ */
951
+ warn: (message: string | UnpluginMessage) => void;
952
+ /**
953
+ * A logging function for informational messages
954
+ */
955
+ info: (message: string | UnpluginMessage) => void;
956
+ /**
957
+ * A logging function for debug messages
958
+ */
959
+ debug: (message: string | UnpluginMessage) => void;
960
+ /**
961
+ * A logging function for trace messages
962
+ */
963
+ trace: (message: string | UnpluginMessage) => void;
940
964
  /**
941
965
  * The metadata information
942
966
  */
@@ -1,5 +1,5 @@
1
- import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from '../index-DUdx3_SO.cjs';
2
- export { b as ContentCollectionsContext, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from '../index-DUdx3_SO.cjs';
1
+ import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from '../index-Gw48j5XK.cjs';
2
+ export { b as ContentCollectionsContext, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from '../index-Gw48j5XK.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';
@@ -1,5 +1,5 @@
1
- import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from '../index-DUdx3_SO.js';
2
- export { b as ContentCollectionsContext, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from '../index-DUdx3_SO.js';
1
+ import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from '../index-Gw48j5XK.js';
2
+ export { b as ContentCollectionsContext, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from '../index-Gw48j5XK.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-DUdx3_SO.cjs';
1
+ export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from '../index-Gw48j5XK.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-DUdx3_SO.js';
1
+ export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from '../index-Gw48j5XK.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-DUdx3_SO.cjs';
2
+ export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from '../index-Gw48j5XK.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-DUdx3_SO.js';
2
+ export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from '../index-Gw48j5XK.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.3",
3
+ "version": "0.1.4",
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.0",
113
113
  "defu": "^6.1.4",
114
114
  "pluralize": "^8.0.0",
115
- "powerlines": "^0.18.0"
115
+ "powerlines": "^0.19.0"
116
116
  },
117
117
  "devDependencies": {
118
- "@powerlines/nx": "^0.10.3",
119
- "@powerlines/plugin-plugin": "^0.11.11",
118
+ "@powerlines/nx": "^0.10.4",
119
+ "@powerlines/plugin-plugin": "^0.11.12",
120
120
  "@standard-schema/spec": "^1.0.0",
121
121
  "@types/node": "^22.19.0",
122
122
  "@types/pluralize": "^0.0.33"
123
123
  },
124
124
  "publishConfig": { "access": "public" },
125
- "gitHead": "4af65138db7b5c7ccdbe493661f60c2a09ee1354"
125
+ "gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
126
126
  }