@powerlines/plugin-capnp 0.1.5 → 0.1.7
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-DwFfaQMt.d.cts → index-BpmVCs8e.d.cts} +25 -1
- package/dist/{index-DwFfaQMt.d.ts → index-BpmVCs8e.d.ts} +25 -1
- package/dist/{src/index.d.cts → index.d.cts} +2 -2
- package/dist/{src/index.d.ts → index.d.ts} +2 -2
- 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 +9 -9
- /package/dist/{src/index.cjs → index.cjs} +0 -0
- /package/dist/{src/index.js → index.js} +0 -0
|
@@ -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 CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from '
|
|
2
|
-
export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '
|
|
1
|
+
import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-BpmVCs8e.cjs';
|
|
2
|
+
export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from './index-BpmVCs8e.cjs';
|
|
3
3
|
import '@stryke/capnp/types';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from '
|
|
2
|
-
export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '
|
|
1
|
+
import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-BpmVCs8e.js';
|
|
2
|
+
export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from './index-BpmVCs8e.js';
|
|
3
3
|
import '@stryke/capnp/types';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-
|
|
1
|
+
export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-BpmVCs8e.cjs';
|
|
2
2
|
import '@stryke/capnp/types';
|
|
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 { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-
|
|
1
|
+
export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-BpmVCs8e.js';
|
|
2
2
|
import '@stryke/capnp/types';
|
|
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 '@stryke/capnp/types';
|
|
2
|
-
export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-
|
|
2
|
+
export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-BpmVCs8e.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 '@stryke/capnp/types';
|
|
2
|
-
export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-
|
|
2
|
+
export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-BpmVCs8e.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-capnp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code from Cap'n Proto schemas.",
|
|
6
6
|
"repository": {
|
|
@@ -99,19 +99,19 @@
|
|
|
99
99
|
"files": ["dist/**/*"],
|
|
100
100
|
"keywords": ["capnp", "powerlines", "storm-software", "powerlines-plugin"],
|
|
101
101
|
"dependencies": {
|
|
102
|
-
"@stryke/capnp": "^0.12.
|
|
103
|
-
"@stryke/path": "^0.
|
|
104
|
-
"@stryke/type-checks": "^0.3.
|
|
105
|
-
"@stryke/types": "^0.10.
|
|
102
|
+
"@stryke/capnp": "^0.12.19",
|
|
103
|
+
"@stryke/path": "^0.19.0",
|
|
104
|
+
"@stryke/type-checks": "^0.3.11",
|
|
105
|
+
"@stryke/types": "^0.10.1",
|
|
106
106
|
"defu": "^6.1.4",
|
|
107
107
|
"jiti": "^2.6.1",
|
|
108
|
-
"powerlines": "^0.
|
|
108
|
+
"powerlines": "^0.19.1"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
|
-
"@powerlines/nx": "^0.10.
|
|
112
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
111
|
+
"@powerlines/nx": "^0.10.5",
|
|
112
|
+
"@powerlines/plugin-plugin": "^0.11.13",
|
|
113
113
|
"@types/node": "^22.19.0"
|
|
114
114
|
},
|
|
115
115
|
"publishConfig": { "access": "public" },
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "d25499feacd0143784f3cd426488909134bffab2"
|
|
117
117
|
}
|
|
File without changes
|
|
File without changes
|