@constructive-io/graphql-codegen 4.18.0 → 4.19.0

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/core/generate.js CHANGED
@@ -77,7 +77,7 @@ function resolveSkillsOutputDir(config, outputRoot) {
77
77
  ? config.skillsPath
78
78
  : node_path_1.default.resolve(workspaceRoot, config.skillsPath);
79
79
  }
80
- return node_path_1.default.resolve(workspaceRoot, 'skills');
80
+ return node_path_1.default.resolve(workspaceRoot, '.agents/skills');
81
81
  }
82
82
  async function generate(options = {}, internalOptions) {
83
83
  // Apply defaults to get resolved config
@@ -35,7 +35,7 @@ function resolveSkillsOutputDir(config, outputRoot) {
35
35
  ? config.skillsPath
36
36
  : path.resolve(workspaceRoot, config.skillsPath);
37
37
  }
38
- return path.resolve(workspaceRoot, 'skills');
38
+ return path.resolve(workspaceRoot, '.agents/skills');
39
39
  }
40
40
  export async function generate(options = {}, internalOptions) {
41
41
  // Apply defaults to get resolved config
@@ -372,7 +372,7 @@ export interface GraphQLSDKConfigTarget {
372
372
  /**
373
373
  * Custom path for generated skill files.
374
374
  * When set, skills are written to this directory.
375
- * When undefined (default), skills are written to {workspaceRoot}/skills/
375
+ * When undefined (default), skills are written to {workspaceRoot}/.agents/skills/
376
376
  * where workspaceRoot is auto-detected by walking up from the output directory
377
377
  * looking for pnpm-workspace.yaml, lerna.json, or package.json with workspaces.
378
378
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/graphql-codegen",
3
- "version": "4.18.0",
3
+ "version": "4.19.0",
4
4
  "description": "GraphQL SDK generator for Constructive databases with React Query hooks",
5
5
  "keywords": [
6
6
  "graphql",
@@ -101,5 +101,5 @@
101
101
  "tsx": "^4.21.0",
102
102
  "typescript": "^5.9.3"
103
103
  },
104
- "gitHead": "b8d4ae2b36e37e7f3533f858f19ec000febaa04b"
104
+ "gitHead": "3ca5054c7471ffa8deaea5a369edf46a4f0a5313"
105
105
  }
package/types/config.d.ts CHANGED
@@ -372,7 +372,7 @@ export interface GraphQLSDKConfigTarget {
372
372
  /**
373
373
  * Custom path for generated skill files.
374
374
  * When set, skills are written to this directory.
375
- * When undefined (default), skills are written to {workspaceRoot}/skills/
375
+ * When undefined (default), skills are written to {workspaceRoot}/.agents/skills/
376
376
  * where workspaceRoot is auto-detected by walking up from the output directory
377
377
  * looking for pnpm-workspace.yaml, lerna.json, or package.json with workspaces.
378
378
  */