@kubb/swagger-ts 2.0.0-beta.12 → 2.0.0-beta.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/swagger-ts",
3
- "version": "2.0.0-beta.12",
3
+ "version": "2.0.0-beta.14",
4
4
  "description": "Generator swagger-ts",
5
5
  "keywords": [
6
6
  "typescript",
@@ -49,14 +49,14 @@
49
49
  "hotscript": "^1.0.13",
50
50
  "json-schema-to-ts": "^2.9.2",
51
51
  "ts-toolbelt": "^9.6.0",
52
- "@kubb/core": "2.0.0-beta.12",
53
- "@kubb/parser": "2.0.0-beta.12",
54
- "@kubb/react": "2.0.0-beta.12",
55
- "@kubb/types": "2.0.0-beta.12",
56
- "@kubb/swagger": "2.0.0-beta.12"
52
+ "@kubb/core": "2.0.0-beta.14",
53
+ "@kubb/parser": "2.0.0-beta.14",
54
+ "@kubb/react": "2.0.0-beta.14",
55
+ "@kubb/swagger": "2.0.0-beta.14",
56
+ "@kubb/types": "2.0.0-beta.14"
57
57
  },
58
58
  "devDependencies": {
59
- "@types/react": "^18.2.41",
59
+ "@types/react": "^18.2.42",
60
60
  "eslint": "^8.55.0",
61
61
  "expect-type": "^0.17.3",
62
62
  "react": "^18.2.0",
@@ -66,7 +66,7 @@
66
66
  "@kubb/tsup-config": "1.1.8"
67
67
  },
68
68
  "peerDependencies": {
69
- "@kubb/react": "2.0.0-beta.12"
69
+ "@kubb/react": "2.0.0-beta.14"
70
70
  },
71
71
  "packageManager": "pnpm@8.3.0",
72
72
  "engines": {
package/src/plugin.ts CHANGED
@@ -76,7 +76,7 @@ export const definePlugin = createPlugin<PluginOptions>((options) => {
76
76
  return
77
77
  }
78
78
 
79
- return this.fileManager.write(source, writePath)
79
+ return this.fileManager.write(source, writePath, { sanity: false })
80
80
  },
81
81
  async buildStart() {
82
82
  const [swaggerPlugin]: [KubbPlugin<SwaggerPluginOptions>] = PluginManager.getDependedPlugins<SwaggerPluginOptions>(this.plugins, [swaggerPluginName])