@kubb/fabric-core 0.13.1 → 0.13.3

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.
Files changed (80) hide show
  1. package/dist/{Fabric-CE-4sqCG.d.ts → Fabric-D4udrNnL.d.ts} +9 -6
  2. package/dist/{RootContext-BgiMS39h.d.ts → RootContext-BEiEsH2Z.d.ts} +4 -3
  3. package/dist/{chunk-BYypO7fO.js → chunk-BVHe6Par.js} +5 -1
  4. package/dist/{chunk-uaV2rQ02.cjs → chunk-DVipidnM.cjs} +10 -0
  5. package/dist/{defaultParser-C1atU7yU.js → defaultParser-BD_N68Bo.js} +3 -2
  6. package/dist/{defaultParser-C1atU7yU.js.map → defaultParser-BD_N68Bo.js.map} +1 -1
  7. package/dist/{defaultParser-BAgmtMo_.cjs → defaultParser-BK-zOanQ.cjs} +3 -2
  8. package/dist/{defaultParser-BAgmtMo_.cjs.map → defaultParser-BK-zOanQ.cjs.map} +1 -1
  9. package/dist/{getRelativePath-BcieQL5M.js → getRelativePath-C4Au07ON.js} +2 -1
  10. package/dist/{getRelativePath-BcieQL5M.js.map → getRelativePath-C4Au07ON.js.map} +1 -1
  11. package/dist/{getRelativePath-DVG8dIzW.cjs → getRelativePath-DpbA6qm5.cjs} +2 -2
  12. package/dist/{getRelativePath-DVG8dIzW.cjs.map → getRelativePath-DpbA6qm5.cjs.map} +1 -1
  13. package/dist/index.cjs +8 -5
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.ts +7 -3
  16. package/dist/index.js +8 -4
  17. package/dist/index.js.map +1 -1
  18. package/dist/{onProcessExit-B7_bTfyR.cjs → onProcessExit-BHrZkYzP.cjs} +10 -4
  19. package/dist/{onProcessExit-B7_bTfyR.cjs.map → onProcessExit-BHrZkYzP.cjs.map} +1 -1
  20. package/dist/{onProcessExit-CF200hsz.js → onProcessExit-CnZym153.js} +10 -3
  21. package/dist/{onProcessExit-CF200hsz.js.map → onProcessExit-CnZym153.js.map} +1 -1
  22. package/dist/parsers/typescript.cjs +2 -2
  23. package/dist/parsers/typescript.d.ts +2 -1
  24. package/dist/parsers/typescript.js +2 -1
  25. package/dist/parsers/typescript.js.map +1 -1
  26. package/dist/parsers.cjs +3 -2
  27. package/dist/parsers.cjs.map +1 -1
  28. package/dist/parsers.d.ts +2 -1
  29. package/dist/parsers.js +3 -2
  30. package/dist/parsers.js.map +1 -1
  31. package/dist/plugins.cjs +3 -3
  32. package/dist/plugins.d.ts +3 -2
  33. package/dist/plugins.js +3 -2
  34. package/dist/plugins.js.map +1 -1
  35. package/dist/types.cjs +1 -1
  36. package/dist/types.d.ts +4 -3
  37. package/dist/types.js +1 -1
  38. package/dist/{useNodeTree-DuQ5Df0t.d.ts → useNodeTree-CPJ6Y80N.d.ts} +3 -2
  39. package/package.json +3 -2
  40. package/src/Fabric.ts +5 -6
  41. package/src/createFabric.ts +5 -2
  42. package/src/utils/onProcessExit.ts +9 -0
  43. package/dist/Fabric-efyCO1t7.d.ts +0 -516
  44. package/dist/RootContext-CA-zkTEp.d.ts +0 -26
  45. package/dist/useNodeTree-BpHR6gQx.d.ts +0 -58
  46. package/src/components/__snapshots__/arrow_function_with_generics.ts +0 -3
  47. package/src/components/__snapshots__/async_arrow_function.ts +0 -3
  48. package/src/components/__snapshots__/async_function.ts +0 -3
  49. package/src/components/__snapshots__/async_function_with_Promise_return_type.ts +0 -3
  50. package/src/components/__snapshots__/basic_arrow_function.ts +0 -3
  51. package/src/components/__snapshots__/basic_const.ts +0 -1
  52. package/src/components/__snapshots__/basic_export.ts +0 -1
  53. package/src/components/__snapshots__/basic_function.ts +0 -3
  54. package/src/components/__snapshots__/basic_import.ts +0 -1
  55. package/src/components/__snapshots__/basic_type.ts +0 -1
  56. package/src/components/__snapshots__/const_with_JSDoc.ts +0 -4
  57. package/src/components/__snapshots__/const_with_as_const.ts +0 -1
  58. package/src/components/__snapshots__/const_with_type.ts +0 -1
  59. package/src/components/__snapshots__/default_exported_arrow_function.ts +0 -3
  60. package/src/components/__snapshots__/default_exported_function.ts +0 -3
  61. package/src/components/__snapshots__/exported_arrow_function.ts +0 -3
  62. package/src/components/__snapshots__/exported_const.ts +0 -1
  63. package/src/components/__snapshots__/exported_function.ts +0 -3
  64. package/src/components/__snapshots__/exported_type.ts +0 -1
  65. package/src/components/__snapshots__/function_with_JSDoc.ts +0 -6
  66. package/src/components/__snapshots__/function_with_generics.ts +0 -3
  67. package/src/components/__snapshots__/function_with_parameters.ts +0 -3
  68. package/src/components/__snapshots__/function_with_return_type.ts +0 -3
  69. package/src/components/__snapshots__/matches_with_root_import.ts +0 -1
  70. package/src/components/__snapshots__/named_export.ts +0 -1
  71. package/src/components/__snapshots__/named_export_(object_advanced).ts +0 -1
  72. package/src/components/__snapshots__/named_import.ts +0 -1
  73. package/src/components/__snapshots__/named_import_(object).ts +0 -1
  74. package/src/components/__snapshots__/named_import_(object_advanced).ts +0 -1
  75. package/src/components/__snapshots__/named_typed_export.ts +0 -1
  76. package/src/components/__snapshots__/named_typed_import.ts +0 -1
  77. package/src/components/__snapshots__/single_line_arrow_function.ts +0 -1
  78. package/src/components/__snapshots__/type_with_JSDoc.ts +0 -4
  79. package/src/components/__snapshots__/typed_export.ts +0 -1
  80. package/src/components/__snapshots__/typed_import.ts +0 -1
@@ -1,3 +0,0 @@
1
- async function myFunc() {
2
- return true
3
- }
@@ -1,3 +0,0 @@
1
- async function myFunc(): Promise<boolean> {
2
- return true
3
- }
@@ -1,3 +0,0 @@
1
- const myFunc = () => {
2
- return true
3
- }
@@ -1 +0,0 @@
1
- const myVar = "hello"
@@ -1 +0,0 @@
1
- export * from "@kubb/fabric-core";
@@ -1,3 +0,0 @@
1
- function myFunc() {
2
- return true
3
- }
@@ -1 +0,0 @@
1
- import fabric from "@kubb/fabric-core";
@@ -1 +0,0 @@
1
- type MyType = { a: string }
@@ -1,4 +0,0 @@
1
- /**
2
- * This is a variable
3
- */
4
- const myVar = "hello"
@@ -1 +0,0 @@
1
- const myVar = "hello" as const
@@ -1 +0,0 @@
1
- const myVar: string = "hello"
@@ -1,3 +0,0 @@
1
- export default const myFunc = () => {
2
- return true
3
- }
@@ -1,3 +0,0 @@
1
- export default function myFunc() {
2
- return true
3
- }
@@ -1,3 +0,0 @@
1
- export const myFunc = () => {
2
- return true
3
- }
@@ -1 +0,0 @@
1
- export const myVar = "hello"
@@ -1,3 +0,0 @@
1
- export function myFunc() {
2
- return true
3
- }
@@ -1 +0,0 @@
1
- export type MyType = { a: string }
@@ -1,6 +0,0 @@
1
- /**
2
- * @deprecated
3
- */
4
- function myFunc() {
5
- return true
6
- }
@@ -1,3 +0,0 @@
1
- function myFunc<T>() {
2
- return true
3
- }
@@ -1,3 +0,0 @@
1
- function myFunc(a: string, b: number) {
2
- return true
3
- }
@@ -1,3 +0,0 @@
1
- function myFunc(): boolean {
2
- return true
3
- }
@@ -1 +0,0 @@
1
- import fabric from "./fabric/@kubb/fabric-core";
@@ -1 +0,0 @@
1
- export type { createFabric } from "@kubb/fabric-core";
@@ -1 +0,0 @@
1
- export { App, createFabric } from "@kubb/fabric-core";
@@ -1 +0,0 @@
1
- import type { createFabric } from "@kubb/fabric-core";
@@ -1 +0,0 @@
1
- import { createFabric as create } from "@kubb/fabric-core";
@@ -1 +0,0 @@
1
- import { App, createFabric as create } from "@kubb/fabric-core";
@@ -1 +0,0 @@
1
- export type { Fabric } from "@kubb/fabric-core";
@@ -1 +0,0 @@
1
- import type { Fabric } from "@kubb/react-fabric";
@@ -1 +0,0 @@
1
- const myFunc = () => true
@@ -1,4 +0,0 @@
1
- /**
2
- * This is a variable
3
- */
4
- type MyType = { a: string }
@@ -1 +0,0 @@
1
- export type * from "@kubb/fabric-core";
@@ -1 +0,0 @@
1
- import type fabric from "@kubb/fabric-core";