@powerlines/plugin-graphql 0.1.671 → 0.1.673
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.cjs +2 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Object.
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -31,7 +31,6 @@ let _power_plant_graphql_codegen = require("@power-plant/graphql-codegen");
|
|
|
31
31
|
_power_plant_graphql_codegen = __toESM(_power_plant_graphql_codegen, 1);
|
|
32
32
|
let _power_plant_graphql_schema_codegen = require("@power-plant/graphql-schema/codegen");
|
|
33
33
|
let _powerlines_plugin_power_plant = require("@powerlines/plugin-power-plant");
|
|
34
|
-
_powerlines_plugin_power_plant = __toESM(_powerlines_plugin_power_plant, 1);
|
|
35
34
|
let _stryke_fs_exists = require("@stryke/fs/exists");
|
|
36
35
|
let _stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
37
36
|
let defu = require("defu");
|
|
@@ -51,7 +50,7 @@ let powerlines_plugin_utils = require("powerlines/plugin-utils");
|
|
|
51
50
|
*/
|
|
52
51
|
const plugin = (options = {}) => {
|
|
53
52
|
const generatorConfig = { ..._power_plant_graphql_codegen.default };
|
|
54
|
-
return [(0, _powerlines_plugin_power_plant.
|
|
53
|
+
return [(0, _powerlines_plugin_power_plant.plugin)(generatorConfig), {
|
|
55
54
|
name: "graphql",
|
|
56
55
|
config() {
|
|
57
56
|
return { graphql: (0, defu.default)(options, {
|
|
@@ -102,5 +101,4 @@ const plugin = (options = {}) => {
|
|
|
102
101
|
};
|
|
103
102
|
|
|
104
103
|
//#endregion
|
|
105
|
-
exports.default = plugin;
|
|
106
104
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -18,5 +18,5 @@ declare module "powerlines" {
|
|
|
18
18
|
*/
|
|
19
19
|
declare const plugin: <TContext extends GraphQLPluginContext = GraphQLPluginContext>(options?: GraphQLPluginOptions) => Plugin<TContext>[];
|
|
20
20
|
//#endregion
|
|
21
|
-
export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, type PowerPlantGraphQLCodegenOptions, plugin
|
|
21
|
+
export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, type PowerPlantGraphQLCodegenOptions, plugin };
|
|
22
22
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -18,5 +18,5 @@ declare module "powerlines" {
|
|
|
18
18
|
*/
|
|
19
19
|
declare const plugin: <TContext extends GraphQLPluginContext = GraphQLPluginContext>(options?: GraphQLPluginOptions) => Plugin<TContext>[];
|
|
20
20
|
//#endregion
|
|
21
|
-
export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, type PowerPlantGraphQLCodegenOptions, plugin
|
|
21
|
+
export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, type PowerPlantGraphQLCodegenOptions, plugin };
|
|
22
22
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./types/index.mjs";
|
|
2
2
|
import graphqlCodegenGenerator from "@power-plant/graphql-codegen";
|
|
3
3
|
import { schemaToCodegenDocument } from "@power-plant/graphql-schema/codegen";
|
|
4
|
-
import
|
|
4
|
+
import { plugin as plugin$1 } from "@powerlines/plugin-power-plant";
|
|
5
5
|
import { existsSync } from "@stryke/fs/exists";
|
|
6
6
|
import { joinPaths } from "@stryke/path/join-paths";
|
|
7
7
|
import defu from "defu";
|
|
@@ -20,7 +20,7 @@ import { replacePathTokens } from "powerlines/plugin-utils";
|
|
|
20
20
|
*/
|
|
21
21
|
const plugin = (options = {}) => {
|
|
22
22
|
const generatorConfig = { ...graphqlCodegenGenerator };
|
|
23
|
-
return [
|
|
23
|
+
return [plugin$1(generatorConfig), {
|
|
24
24
|
name: "graphql",
|
|
25
25
|
config() {
|
|
26
26
|
return { graphql: defu(options, {
|
|
@@ -71,5 +71,5 @@ const plugin = (options = {}) => {
|
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
//#endregion
|
|
74
|
-
export { plugin
|
|
74
|
+
export { plugin };
|
|
75
75
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-graphql",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.673",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Powerlines plugin to generate project code from GraphQL schemas.",
|
|
6
6
|
"keywords": ["graphql", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -91,19 +91,19 @@
|
|
|
91
91
|
"files": ["dist/**/*"],
|
|
92
92
|
"dependencies": {
|
|
93
93
|
"@power-plant/core": "^0.0.89",
|
|
94
|
-
"@power-plant/graphql-codegen": "^0.0.
|
|
94
|
+
"@power-plant/graphql-codegen": "^0.0.85",
|
|
95
95
|
"@power-plant/graphql-schema": "^0.0.1",
|
|
96
|
-
"@powerlines/plugin-power-plant": "^0.1.
|
|
96
|
+
"@powerlines/plugin-power-plant": "^0.1.67",
|
|
97
97
|
"@stryke/fs": "^0.33.110",
|
|
98
98
|
"@stryke/path": "^0.29.35",
|
|
99
99
|
"defu": "^6.1.7",
|
|
100
100
|
"graphql": "^17.0.2",
|
|
101
|
-
"powerlines": "^0.47.
|
|
101
|
+
"powerlines": "^0.47.210"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
104
|
+
"@powerlines/plugin-plugin": "^0.12.623",
|
|
105
105
|
"@types/node": "^25.9.5"
|
|
106
106
|
},
|
|
107
107
|
"publishConfig": { "access": "public" },
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "4ee69b33975e2fa912d2c73700dc7e949f25b2d4"
|
|
109
109
|
}
|