@powerlines/plugin-graphql 0.1.123 → 0.1.124
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.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/{plugin-BEE_1hxr.d.cts → plugin-B-JWUDie.d.mts} +10 -3
- package/dist/{plugin-DOqYu9n5.d.mts → plugin-BTRNOsqk.d.cts} +10 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, l as Plugin, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "./plugin-
|
|
1
|
+
import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, l as Plugin, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "./plugin-BTRNOsqk.cjs";
|
|
2
2
|
import "./index-CEgs-Dz2.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, l as Plugin, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "./plugin-
|
|
1
|
+
import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, l as Plugin, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "./plugin-B-JWUDie.mjs";
|
|
2
2
|
import "./index-BgAdqTbb.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { CodegenContext, YamlCliFlags } from "@graphql-codegen/cli";
|
|
2
|
+
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
1
3
|
import { ArrayValues } from "@stryke/types/array";
|
|
2
4
|
import { FunctionLike, MaybePromise, NonUndefined } from "@stryke/types/base";
|
|
3
5
|
import { ExternalIdResult, HookFilter, TransformResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage, UnpluginOptions } from "unplugin";
|
|
@@ -12,7 +14,6 @@ import { Range } from "semver";
|
|
|
12
14
|
import { Project } from "ts-morph";
|
|
13
15
|
import { RequestInfo, Response } from "undici";
|
|
14
16
|
import { Format } from "@storm-software/build-tools/types";
|
|
15
|
-
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
16
17
|
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
17
18
|
import { TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
18
19
|
import { AssetGlob } from "@stryke/types/file";
|
|
@@ -20,7 +21,6 @@ import { DateString } from "compatx";
|
|
|
20
21
|
import { ResolveOptions } from "@stryke/fs/resolve";
|
|
21
22
|
import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
|
|
22
23
|
import ts from "typescript";
|
|
23
|
-
import { CodegenContext, YamlCliFlags } from "@graphql-codegen/cli";
|
|
24
24
|
|
|
25
25
|
//#region ../powerlines/src/types/build.d.ts
|
|
26
26
|
type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
|
|
@@ -936,6 +936,13 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
936
936
|
* If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
|
|
937
937
|
*/
|
|
938
938
|
description?: string;
|
|
939
|
+
/**
|
|
940
|
+
* The organization or author of the project
|
|
941
|
+
*
|
|
942
|
+
* @remarks
|
|
943
|
+
* If this option is not provided, the build process will try to use the \`author\` value from the \`package.json\` file. If the \`author\` value cannot be determined, the {@link name | name configuration} will be used.
|
|
944
|
+
*/
|
|
945
|
+
organization?: string;
|
|
939
946
|
/**
|
|
940
947
|
* The date to use for compatibility checks
|
|
941
948
|
*
|
|
@@ -1091,7 +1098,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
|
|
|
1091
1098
|
/**
|
|
1092
1099
|
* The resolved options for the Powerlines project configuration.
|
|
1093
1100
|
*/
|
|
1094
|
-
type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
1101
|
+
type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
1095
1102
|
/**
|
|
1096
1103
|
* The configuration options that were provided inline to the Powerlines CLI.
|
|
1097
1104
|
*/
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { CodegenContext, YamlCliFlags } from "@graphql-codegen/cli";
|
|
2
|
-
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
3
1
|
import { ArrayValues } from "@stryke/types/array";
|
|
4
2
|
import { FunctionLike, MaybePromise, NonUndefined } from "@stryke/types/base";
|
|
5
3
|
import { ExternalIdResult, HookFilter, TransformResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage, UnpluginOptions } from "unplugin";
|
|
@@ -14,6 +12,7 @@ import { Range } from "semver";
|
|
|
14
12
|
import { Project } from "ts-morph";
|
|
15
13
|
import { RequestInfo, Response } from "undici";
|
|
16
14
|
import { Format } from "@storm-software/build-tools/types";
|
|
15
|
+
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
17
16
|
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
18
17
|
import { TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
19
18
|
import { AssetGlob } from "@stryke/types/file";
|
|
@@ -21,6 +20,7 @@ import { DateString } from "compatx";
|
|
|
21
20
|
import { ResolveOptions } from "@stryke/fs/resolve";
|
|
22
21
|
import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
|
|
23
22
|
import ts from "typescript";
|
|
23
|
+
import { CodegenContext, YamlCliFlags } from "@graphql-codegen/cli";
|
|
24
24
|
|
|
25
25
|
//#region ../powerlines/src/types/build.d.ts
|
|
26
26
|
type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
|
|
@@ -936,6 +936,13 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
936
936
|
* If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
|
|
937
937
|
*/
|
|
938
938
|
description?: string;
|
|
939
|
+
/**
|
|
940
|
+
* The organization or author of the project
|
|
941
|
+
*
|
|
942
|
+
* @remarks
|
|
943
|
+
* If this option is not provided, the build process will try to use the \`author\` value from the \`package.json\` file. If the \`author\` value cannot be determined, the {@link name | name configuration} will be used.
|
|
944
|
+
*/
|
|
945
|
+
organization?: string;
|
|
939
946
|
/**
|
|
940
947
|
* The date to use for compatibility checks
|
|
941
948
|
*
|
|
@@ -1091,7 +1098,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
|
|
|
1091
1098
|
/**
|
|
1092
1099
|
* The resolved options for the Powerlines project configuration.
|
|
1093
1100
|
*/
|
|
1094
|
-
type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
1101
|
+
type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
1095
1102
|
/**
|
|
1096
1103
|
* The configuration options that were provided inline to the Powerlines CLI.
|
|
1097
1104
|
*/
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "../plugin-BTRNOsqk.cjs";
|
|
2
2
|
import "../index-CEgs-Dz2.cjs";
|
|
3
3
|
export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "../plugin-B-JWUDie.mjs";
|
|
2
2
|
import "../index-BgAdqTbb.mjs";
|
|
3
3
|
export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "../plugin-BTRNOsqk.cjs";
|
|
2
2
|
export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩGraphQLPluginContext, c as __ΩGraphQLPluginUserConfig, i as GraphQLPluginUserConfig, n as GraphQLPluginOptions, o as __ΩGraphQLPluginOptions, r as GraphQLPluginResolvedConfig, s as __ΩGraphQLPluginResolvedConfig, t as GraphQLPluginContext } from "../plugin-B-JWUDie.mjs";
|
|
2
2
|
export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, __ΩGraphQLPluginContext, __ΩGraphQLPluginOptions, __ΩGraphQLPluginResolvedConfig, __ΩGraphQLPluginUserConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-graphql",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.124",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code from GraphQL schemas.",
|
|
6
6
|
"repository": {
|
|
@@ -123,14 +123,14 @@
|
|
|
123
123
|
"@stryke/types": "^0.10.29",
|
|
124
124
|
"defu": "^6.1.4",
|
|
125
125
|
"jiti": "^2.6.1",
|
|
126
|
-
"powerlines": "^0.36.
|
|
126
|
+
"powerlines": "^0.36.27"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
129
|
"@graphql-codegen/plugin-helpers": "^6.1.0",
|
|
130
|
-
"@powerlines/nx": "^0.11.
|
|
131
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
130
|
+
"@powerlines/nx": "^0.11.53",
|
|
131
|
+
"@powerlines/plugin-plugin": "^0.12.75",
|
|
132
132
|
"@types/node": "^24.10.4"
|
|
133
133
|
},
|
|
134
134
|
"publishConfig": { "access": "public" },
|
|
135
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "fbc59ce584fd0f78d90d2dbaa18f9c9267bd3b61"
|
|
136
136
|
}
|