@kubb/fabric-core 0.2.8 → 0.2.10
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 +20 -0
- package/package.json +10 -6
package/README.md
CHANGED
|
@@ -298,3 +298,23 @@ fabric.write({ extension: { '.vue': '.ts' } })
|
|
|
298
298
|
> [!NOTE]
|
|
299
299
|
> - `fabric.use` accepts both plugins and parsers. The `fsPlugin` handles I/O and adds `fabric.write`. Parsers decide how files are converted to strings for specific extensions.
|
|
300
300
|
> - When extension mapping is provided to `fabric.write`, Fabric picks a parser whose `extNames` include the file’s extension. Otherwise, the default parser is used.
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
<!-- Badges -->
|
|
304
|
+
|
|
305
|
+
[npm-version-src]: https://img.shields.io/npm/v/@kubb/fabric-core?flat&colorA=18181B&colorB=f58517
|
|
306
|
+
[npm-version-href]: https://npmjs.com/package/@kubb/fabric-core
|
|
307
|
+
[npm-downloads-src]: https://img.shields.io/npm/dm/@kubb/fabric-core?flat&colorA=18181B&colorB=f58517
|
|
308
|
+
[npm-downloads-href]: https://npmjs.com/package/@kubb/fabric-core
|
|
309
|
+
[license-src]: https://img.shields.io/github/license/kubb-labs/fabric.svg?flat&colorA=18181B&colorB=f58517
|
|
310
|
+
[license-href]: https://github.com/kubb-labs/fabric/blob/main/LICENSE
|
|
311
|
+
[build-src]: https://img.shields.io/github/actions/workflow/status/kubb-labs/fabric/ci.yaml?style=flat&colorA=18181B&colorB=f58517
|
|
312
|
+
[build-href]: https://www.npmjs.com/package/@kubb/fabric-core
|
|
313
|
+
[minified-src]: https://img.shields.io/bundlephobia/min/@kubb/fabric-core?style=flat&colorA=18181B&colorB=f58517
|
|
314
|
+
[minified-href]: https://www.npmjs.com/package/@kubb/fabric-core
|
|
315
|
+
[coverage-src]: https://img.shields.io/codecov/c/github/kubb-labs/fabric?style=flat&colorA=18181B&colorB=f58517
|
|
316
|
+
[coverage-href]: https://www.npmjs.com/package/@kubb/fabric-core
|
|
317
|
+
[contributors-src]: https://img.shields.io/github/contributors/kubb-labs/fabric?style=flat&colorA=18181B&colorB=f58517&label=%20
|
|
318
|
+
[contributors-href]: #contributors-
|
|
319
|
+
[sponsors-src]: https://img.shields.io/github/sponsors/stijnvanhulle?style=flat&colorA=18181B&colorB=f58517
|
|
320
|
+
[sponsors-href]: https://github.com/sponsors/stijnvanhulle/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/fabric-core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "Core functionality for Kubb's plugin-based code generation system, providing the foundation for transforming OpenAPI specifications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -71,6 +71,13 @@
|
|
|
71
71
|
"!/**/**.test.**",
|
|
72
72
|
"!/**/__tests__/**"
|
|
73
73
|
],
|
|
74
|
+
"size-limit": [
|
|
75
|
+
{
|
|
76
|
+
"path": "./dist/*.js",
|
|
77
|
+
"limit": "510 KiB",
|
|
78
|
+
"gzip": true
|
|
79
|
+
}
|
|
80
|
+
],
|
|
74
81
|
"dependencies": {
|
|
75
82
|
"cli-progress": "^3.12.0",
|
|
76
83
|
"fs-extra": "^11.3.2",
|
|
@@ -82,10 +89,7 @@
|
|
|
82
89
|
"devDependencies": {
|
|
83
90
|
"@types/cli-progress": "^3.11.6",
|
|
84
91
|
"@types/fs-extra": "^11.0.4",
|
|
85
|
-
"@types/serve-handler": "^6.1.4"
|
|
86
|
-
"remeda": "^2.32.0",
|
|
87
|
-
"tsdown": "^0.15.11",
|
|
88
|
-
"typescript": "^5.9.3"
|
|
92
|
+
"@types/serve-handler": "^6.1.4"
|
|
89
93
|
},
|
|
90
94
|
"engines": {
|
|
91
95
|
"node": ">=20"
|
|
@@ -95,7 +99,7 @@
|
|
|
95
99
|
"registry": "https://registry.npmjs.org/"
|
|
96
100
|
},
|
|
97
101
|
"scripts": {
|
|
98
|
-
"build": "tsdown",
|
|
102
|
+
"build": "tsdown && size-limit",
|
|
99
103
|
"clean": "npx rimraf ./dist",
|
|
100
104
|
"lint": "bun biome lint .",
|
|
101
105
|
"lint:fix": "bun biome lint --fix --unsafe .",
|