@kubb/plugin-swr 5.4.4 → 5.4.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.
@@ -195,6 +195,20 @@
195
195
  "description": "Module specifier the generated mutation hook imports from",
196
196
  "type": "text",
197
197
  "default": "swr/mutation"
198
+ },
199
+ {
200
+ "key": "banner",
201
+ "path": ["output", "banner"],
202
+ "label": "Banner",
203
+ "description": "Text added at the top of every generated file",
204
+ "type": "text"
205
+ },
206
+ {
207
+ "key": "footer",
208
+ "path": ["output", "footer"],
209
+ "label": "Footer",
210
+ "description": "Text added at the end of every generated file",
211
+ "type": "text"
198
212
  }
199
213
  ]
200
214
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-swr",
3
- "version": "5.4.4",
3
+ "version": "5.4.5",
4
4
  "description": "Generate type-safe SWR hooks with Kubb. Covers useSWR and useSWRMutation with full TypeScript support.",
5
5
  "keywords": [
6
6
  "code-generation",
@@ -79,18 +79,18 @@
79
79
  "registry": "https://registry.npmjs.org/"
80
80
  },
81
81
  "dependencies": {
82
- "@kubb/plugin-ts": "^5.0.14"
82
+ "@kubb/plugin-ts": "^5.0.15"
83
83
  },
84
84
  "devDependencies": {
85
85
  "@internals/client": "0.0.0",
86
86
  "@internals/shared": "0.0.0",
87
87
  "@internals/tanstack-query": "0.0.0",
88
88
  "@internals/utils": "0.0.0",
89
- "kubb": "^5.11.1",
89
+ "kubb": "^5.12.5",
90
90
  "swr": "^2.5.1"
91
91
  },
92
92
  "peerDependencies": {
93
- "kubb": "^5.11.1",
93
+ "kubb": "^5.12.5",
94
94
  "swr": "^2.2.0"
95
95
  },
96
96
  "peerDependenciesMeta": {