@kubb/plugin-ts 4.1.3 → 4.1.4
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/README.md +18 -17
- package/dist/{components-GsgfMVz2.cjs → components-3SwDb74W.cjs} +5 -3
- package/dist/{components-GsgfMVz2.cjs.map → components-3SwDb74W.cjs.map} +1 -1
- package/dist/{components-DLoXwJfh.js → components-CSEFpzdz.js} +5 -3
- package/dist/{components-DLoXwJfh.js.map → components-CSEFpzdz.js.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/generators.cjs +2 -2
- package/dist/generators.js +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/{plugin-BOIllle2.cjs → plugin--SAE5fJd.cjs} +5 -4
- package/dist/{plugin-BOIllle2.cjs.map → plugin--SAE5fJd.cjs.map} +1 -1
- package/dist/{plugin-DY3KfvGA.js → plugin-C6Jg0eqz.js} +5 -4
- package/dist/{plugin-DY3KfvGA.js.map → plugin-C6Jg0eqz.js.map} +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
+
<h1>Plugin TypeScript</h1>
|
|
3
|
+
<a href="https://kubb.dev" target="_blank" rel="noopener noreferrer">
|
|
4
|
+
<img width="180" src="https://raw.githubusercontent.com/kubb-labs/kubb/main/assets/logo.png" alt="Kubb logo">
|
|
5
|
+
</a>
|
|
2
6
|
|
|
3
|
-
<!-- <img src="assets/logo.png" alt="logo" width="200" height="auto" /> -->
|
|
4
|
-
<h1>@kubb/plugin-ts</h1>
|
|
5
|
-
|
|
6
|
-
<p>
|
|
7
|
-
Swagger integration for TypeScript to generate all the different types based on an OpenAPI specification.
|
|
8
|
-
</p>
|
|
9
|
-
|
|
10
|
-
<img src="https://raw.githubusercontent.com/kubb-labs/kubb/main/assets/banner.png" alt="logo" height="auto" />
|
|
11
7
|
|
|
12
8
|
[![npm version][npm-version-src]][npm-version-href]
|
|
13
9
|
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
14
10
|
[![Coverage][coverage-src]][coverage-href]
|
|
15
11
|
[![License][license-src]][license-href]
|
|
16
|
-
|
|
12
|
+
[![Sponsors][sponsors-src]][sponsors-href]
|
|
17
13
|
<h4>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
<a href="https://codesandbox.io/s/github/kubb-labs/kubb/tree/main//examples/typescript" target="_blank">View Demo</a>
|
|
15
|
+
<span> · </span>
|
|
16
|
+
<a href="https://kubb.dev/" target="_blank">Documentation</a>
|
|
17
|
+
<span> · </span>
|
|
18
|
+
<a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Report Bug</a>
|
|
19
|
+
<span> · </span>
|
|
20
|
+
<a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Request Feature</a>
|
|
21
|
+
</h4>
|
|
26
22
|
</div>
|
|
27
23
|
|
|
24
|
+
Swagger integration for TypeScript to generate all the different types based on an OpenAPI specification.
|
|
25
|
+
|
|
26
|
+
|
|
28
27
|
## Supporting Kubb
|
|
29
28
|
|
|
30
29
|
Kubb uses an MIT-licensed open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider:
|
|
@@ -52,3 +51,5 @@ Kubb uses an MIT-licensed open source project with its ongoing development made
|
|
|
52
51
|
[minified-href]: https://www.npmjs.com/package/@kubb/plugin-ts
|
|
53
52
|
[coverage-src]: https://img.shields.io/codecov/c/github/kubb-labs/kubb?style=flat&colorA=18181B&colorB=f58517
|
|
54
53
|
[coverage-href]: https://www.npmjs.com/package/@kubb/plugin-ts
|
|
54
|
+
[sponsors-src]: https://img.shields.io/github/sponsors/stijnvanhulle?style=flat&colorA=18181B&colorB=f58517
|
|
55
|
+
[sponsors-href]: https://github.com/sponsors/stijnvanhulle/
|
|
@@ -1255,7 +1255,8 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
1255
1255
|
function setCurrentlyValidatingElement$1(element) {
|
|
1256
1256
|
if (element) {
|
|
1257
1257
|
var owner = element._owner;
|
|
1258
|
-
|
|
1258
|
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
|
1259
|
+
setExtraStackFrame(stack);
|
|
1259
1260
|
} else setExtraStackFrame(null);
|
|
1260
1261
|
}
|
|
1261
1262
|
var propTypesMisspellWarningShown = false;
|
|
@@ -1361,7 +1362,8 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
1361
1362
|
checkPropTypes(propTypes, element.props, "prop", name, element);
|
|
1362
1363
|
} else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
|
|
1363
1364
|
propTypesMisspellWarningShown = true;
|
|
1364
|
-
|
|
1365
|
+
var _name = getComponentNameFromType(type);
|
|
1366
|
+
error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
|
|
1365
1367
|
}
|
|
1366
1368
|
if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1367
1369
|
}
|
|
@@ -1957,4 +1959,4 @@ Object.defineProperty(exports, '__toESM', {
|
|
|
1957
1959
|
return __toESM;
|
|
1958
1960
|
}
|
|
1959
1961
|
});
|
|
1960
|
-
//# sourceMappingURL=components-
|
|
1962
|
+
//# sourceMappingURL=components-3SwDb74W.cjs.map
|