@powerlines/plugin-content-collections 0.1.3 → 0.1.5
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/helpers/create-writer.d.cts +1 -1
- package/dist/helpers/create-writer.d.ts +1 -1
- package/dist/helpers/index.d.cts +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/{index-DUdx3_SO.d.cts → index-Gw48j5XK.d.cts} +25 -1
- package/dist/{index-DUdx3_SO.d.ts → index-Gw48j5XK.d.ts} +25 -1
- package/dist/{src/index.cjs → index.cjs} +1 -1
- package/dist/{src/index.d.cts → index.d.cts} +4 -4
- package/dist/{src/index.d.ts → index.d.ts} +4 -4
- package/dist/{src/index.js → index.js} +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +10 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Writer } from '@content-collections/core';
|
|
2
|
-
import { C as ContentCollectionsPluginContext } from '../index-
|
|
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-
|
|
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';
|
package/dist/helpers/index.d.cts
CHANGED
|
@@ -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-
|
|
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';
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -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-
|
|
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,4 +1,4 @@
|
|
|
1
|
-
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('./chunk-FBBMZ4NC.cjs'),core=require('@content-collections/core'),exists=require('@stryke/fs/exists'),join=require('@stryke/path/join'),c=require('defu'),node_crypto=require('node:crypto'),paths=require('powerlines/plugin-utils/paths'),createEmitter=require('./helpers/create-emitter'),createWriter=require('./helpers/create-writer'),helpers=require('./helpers'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var c__default=/*#__PURE__*/_interopDefault(c);/*****************************************
|
|
2
2
|
*
|
|
3
3
|
* ⚡ Built by Storm Software
|
|
4
4
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from '
|
|
2
|
-
export { b as ContentCollectionsContext, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from '
|
|
3
|
-
export { createEmitter } from '
|
|
4
|
-
export { createWriter } from '
|
|
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
|
+
export { createEmitter } from './helpers/create-emitter.cjs';
|
|
4
|
+
export { createWriter } from './helpers/create-writer.cjs';
|
|
5
5
|
import '@content-collections/core';
|
|
6
6
|
import '@storm-software/build-tools/types';
|
|
7
7
|
import '@storm-software/config-tools/types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, P as Plugin } from '
|
|
2
|
-
export { b as ContentCollectionsContext, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from '
|
|
3
|
-
export { createEmitter } from '
|
|
4
|
-
export { createWriter } from '
|
|
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
|
+
export { createEmitter } from './helpers/create-emitter.js';
|
|
4
|
+
export { createWriter } from './helpers/create-writer.js';
|
|
5
5
|
import '@content-collections/core';
|
|
6
6
|
import '@storm-software/build-tools/types';
|
|
7
7
|
import '@storm-software/config-tools/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'
|
|
1
|
+
import {a}from'./chunk-UCUR73HG.js';import {createConfigurationReader,createBuildContext,build}from'@content-collections/core';import {existsSync}from'@stryke/fs/exists';import {joinPaths}from'@stryke/path/join';import c from'defu';import {createHash}from'node:crypto';import {replacePathTokens}from'powerlines/plugin-utils/paths';import {createEmitter}from'./helpers/create-emitter';import {createWriter}from'./helpers/create-writer';export*from'./helpers';export*from'./types';/*****************************************
|
|
2
2
|
*
|
|
3
3
|
* ⚡ Built by Storm Software
|
|
4
4
|
*
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from '../index-
|
|
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';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as ContentCollectionsContext, C as ContentCollectionsPluginContext, a as ContentCollectionsPluginOptions, d as ContentCollectionsPluginResolvedConfig, c as ContentCollectionsPluginUserConfig } from '../index-
|
|
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';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -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-
|
|
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';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -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-
|
|
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
|
+
"version": "0.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code using Content Collections.",
|
|
6
6
|
"repository": {
|
|
@@ -105,22 +105,22 @@
|
|
|
105
105
|
],
|
|
106
106
|
"dependencies": {
|
|
107
107
|
"@content-collections/core": "^0.12.0",
|
|
108
|
-
"@stryke/fs": "^0.32.
|
|
109
|
-
"@stryke/string-format": "^0.12.
|
|
110
|
-
"@stryke/path": "^0.
|
|
111
|
-
"@stryke/type-checks": "^0.3.
|
|
112
|
-
"@stryke/types": "^0.10.
|
|
108
|
+
"@stryke/fs": "^0.32.11",
|
|
109
|
+
"@stryke/string-format": "^0.12.1",
|
|
110
|
+
"@stryke/path": "^0.19.0",
|
|
111
|
+
"@stryke/type-checks": "^0.3.11",
|
|
112
|
+
"@stryke/types": "^0.10.1",
|
|
113
113
|
"defu": "^6.1.4",
|
|
114
114
|
"pluralize": "^8.0.0",
|
|
115
|
-
"powerlines": "^0.
|
|
115
|
+
"powerlines": "^0.19.1"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
-
"@powerlines/nx": "^0.10.
|
|
119
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
118
|
+
"@powerlines/nx": "^0.10.5",
|
|
119
|
+
"@powerlines/plugin-plugin": "^0.11.13",
|
|
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": "
|
|
125
|
+
"gitHead": "d25499feacd0143784f3cd426488909134bffab2"
|
|
126
126
|
}
|