From 01934502b4d0a52de8f9161cb4e4628a6b2cdc5e Mon Sep 17 00:00:00 2001 From: Andrey Tabakov Date: Tue, 28 Apr 2026 17:14:24 +0300 Subject: [PATCH 1/2] chore: release versions --- .changeset/next-prerelease-check.md | 41 ----------------- .changeset/pre.json | 46 ------------------- components/ui-ai-chat/CHANGELOG.md | 7 +++ components/ui-ai-chat/package.json | 2 +- components/ui-analytics/CHANGELOG.md | 8 ++++ components/ui-analytics/package.json | 2 +- components/ui-button/CHANGELOG.md | 5 ++ components/ui-button/package.json | 2 +- components/ui-checkbox-tree/CHANGELOG.md | 9 ++++ components/ui-checkbox-tree/package.json | 2 +- components/ui-checkbox/CHANGELOG.md | 5 ++ components/ui-checkbox/package.json | 2 +- components/ui-data-type-icon/CHANGELOG.md | 5 ++ components/ui-data-type-icon/package.json | 2 +- components/ui-date-picker/CHANGELOG.md | 8 ++++ components/ui-date-picker/package.json | 2 +- components/ui-icon/CHANGELOG.md | 5 ++ components/ui-icon/package.json | 2 +- components/ui-json-view/CHANGELOG.md | 8 ++++ components/ui-json-view/package.json | 2 +- components/ui-layout-view/CHANGELOG.md | 5 ++ components/ui-layout-view/package.json | 2 +- components/ui-menu/CHANGELOG.md | 8 ++++ components/ui-menu/package.json | 2 +- components/ui-multi-selector/CHANGELOG.md | 8 ++++ components/ui-multi-selector/package.json | 2 +- components/ui-node-icon/CHANGELOG.md | 5 ++ components/ui-node-icon/package.json | 2 +- components/ui-selector/CHANGELOG.md | 12 +++++ components/ui-selector/package.json | 2 +- components/ui-separator-icon/CHANGELOG.md | 5 ++ components/ui-separator-icon/package.json | 2 +- components/ui-slider/CHANGELOG.md | 5 ++ components/ui-slider/package.json | 2 +- components/ui-status-badge/CHANGELOG.md | 5 ++ components/ui-status-badge/package.json | 2 +- components/ui-switch/CHANGELOG.md | 5 ++ components/ui-switch/package.json | 2 +- components/ui-tag/CHANGELOG.md | 5 ++ components/ui-tag/package.json | 2 +- components/ui-theme/CHANGELOG.md | 5 ++ components/ui-theme/package.json | 2 +- components/ui-tree/CHANGELOG.md | 7 +++ components/ui-tree/package.json | 2 +- configs/prettier-config/CHANGELOG.md | 5 ++ configs/prettier-config/package.json | 2 +- configs/svgr-config/CHANGELOG.md | 5 ++ configs/svgr-config/package.json | 2 +- configs/typescript-config/CHANGELOG.md | 5 ++ configs/typescript-config/package.json | 2 +- configs/vitest-config/CHANGELOG.md | 5 ++ configs/vitest-config/package.json | 2 +- hooks/use-async-state/CHANGELOG.md | 7 +++ hooks/use-async-state/package.json | 2 +- .../use-close-on-outside-events/CHANGELOG.md | 5 ++ .../use-close-on-outside-events/package.json | 2 +- hooks/use-flag/CHANGELOG.md | 5 ++ hooks/use-flag/package.json | 2 +- hooks/use-previous-value/CHANGELOG.md | 5 ++ hooks/use-previous-value/package.json | 2 +- hooks/use-side-effect/CHANGELOG.md | 7 +++ hooks/use-side-effect/package.json | 2 +- hooks/use-size/CHANGELOG.md | 5 ++ hooks/use-size/package.json | 2 +- hooks/use-track-id/CHANGELOG.md | 7 +++ hooks/use-track-id/package.json | 2 +- hooks/use-track-ids/CHANGELOG.md | 7 +++ hooks/use-track-ids/package.json | 2 +- libraries/dom-utils/CHANGELOG.md | 5 ++ libraries/dom-utils/package.json | 2 +- libraries/portal-root-for/CHANGELOG.md | 5 ++ libraries/portal-root-for/package.json | 2 +- libraries/track-id/CHANGELOG.md | 5 ++ libraries/track-id/package.json | 2 +- libraries/tree-utils/CHANGELOG.md | 5 ++ libraries/tree-utils/package.json | 2 +- 76 files changed, 260 insertions(+), 124 deletions(-) delete mode 100644 .changeset/next-prerelease-check.md delete mode 100644 .changeset/pre.json diff --git a/.changeset/next-prerelease-check.md b/.changeset/next-prerelease-check.md deleted file mode 100644 index 0dcf44e9..00000000 --- a/.changeset/next-prerelease-check.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -"@tabula/dom-utils": patch -"@tabula/portal-root-for": patch -"@tabula/prettier-config": patch -"@tabula/svgr-config": patch -"@tabula/track-id": patch -"@tabula/tree-utils": patch -"@tabula/typescript-config": patch -"@tabula/ui-ai-chat": patch -"@tabula/ui-analytics": patch -"@tabula/ui-button": patch -"@tabula/ui-checkbox": patch -"@tabula/ui-checkbox-tree": patch -"@tabula/ui-data-type-icon": patch -"@tabula/ui-date-picker": patch -"@tabula/ui-icon": patch -"@tabula/ui-json-view": patch -"@tabula/ui-layout-view": patch -"@tabula/ui-menu": patch -"@tabula/ui-multi-selector": patch -"@tabula/ui-node-icon": patch -"@tabula/ui-selector": patch -"@tabula/ui-separator-icon": patch -"@tabula/ui-slider": patch -"@tabula/ui-status-badge": patch -"@tabula/ui-switch": patch -"@tabula/ui-tag": patch -"@tabula/ui-theme": patch -"@tabula/ui-tree": patch -"@tabula/use-async-state": patch -"@tabula/use-close-on-outside-events": patch -"@tabula/use-flag": patch -"@tabula/use-previous-value": patch -"@tabula/use-side-effect": patch -"@tabula/use-size": patch -"@tabula/use-track-id": patch -"@tabula/use-track-ids": patch -"@tabula/vitest-config": patch ---- - -Publish next prerelease packages for validation. diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 4ff65811..00000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "mode": "pre", - "tag": "next", - "initialVersions": { - "@tabula/ui-ai-chat": "2.1.3", - "@tabula/ui-analytics": "0.3.2", - "@tabula/ui-button": "9.1.2", - "@tabula/ui-checkbox": "4.1.2", - "@tabula/ui-checkbox-tree": "4.1.2", - "@tabula/ui-data-type-icon": "0.2.3", - "@tabula/ui-date-picker": "7.1.2", - "@tabula/ui-icon": "8.0.4", - "@tabula/ui-json-view": "7.3.3", - "@tabula/ui-layout-view": "8.1.2", - "@tabula/ui-menu": "1.2.2", - "@tabula/ui-multi-selector": "1.1.2", - "@tabula/ui-node-icon": "12.0.0", - "@tabula/ui-selector": "3.1.1", - "@tabula/ui-separator-icon": "0.2.3", - "@tabula/ui-slider": "2.1.2", - "@tabula/ui-status-badge": "1.1.2", - "@tabula/ui-switch": "1.1.2", - "@tabula/ui-tag": "0.1.2", - "@tabula/ui-theme": "3.3.2", - "@tabula/ui-tree": "0.1.2", - "@tabula/prettier-config": "0.1.7", - "@tabula/svgr-config": "0.3.2", - "@tabula/typescript-config": "0.3.3", - "@tabula/vitest-config": "0.3.0", - "@tabula/use-async-state": "0.1.0", - "@tabula/use-close-on-outside-events": "0.1.0", - "@tabula/use-flag": "0.1.0", - "@tabula/use-previous-value": "0.1.0", - "@tabula/use-side-effect": "0.1.0", - "@tabula/use-size": "0.2.2", - "@tabula/use-track-id": "0.1.1", - "@tabula/use-track-ids": "0.1.1", - "@tabula/dom-utils": "0.1.0", - "@tabula/portal-root-for": "0.1.0", - "@tabula/track-id": "0.1.0", - "@tabula/tree-utils": "0.1.0" - }, - "changesets": [ - "next-prerelease-check" - ] -} diff --git a/components/ui-ai-chat/CHANGELOG.md b/components/ui-ai-chat/CHANGELOG.md index 84d51f6f..a8687774 100644 --- a/components/ui-ai-chat/CHANGELOG.md +++ b/components/ui-ai-chat/CHANGELOG.md @@ -1,5 +1,12 @@ # @tabula/ui-ai-chat +## 2.1.4 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/ui-button@9.1.3 + ## 2.1.4-next.0 ### Patch Changes diff --git a/components/ui-ai-chat/package.json b/components/ui-ai-chat/package.json index 2772805d..26305fa9 100644 --- a/components/ui-ai-chat/package.json +++ b/components/ui-ai-chat/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-ai-chat", - "version": "2.1.4-next.0", + "version": "2.1.4", "description": "Allows to embed UI for conversation with AI assistant", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-analytics/CHANGELOG.md b/components/ui-analytics/CHANGELOG.md index cefe5cd1..31bc6989 100644 --- a/components/ui-analytics/CHANGELOG.md +++ b/components/ui-analytics/CHANGELOG.md @@ -1,5 +1,13 @@ # @tabula/ui-analytics +## 0.3.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/use-track-id@0.1.2 + - @tabula/use-track-ids@0.1.2 + ## 0.3.3-next.0 ### Patch Changes diff --git a/components/ui-analytics/package.json b/components/ui-analytics/package.json index 2131c4a1..d32cccdf 100644 --- a/components/ui-analytics/package.json +++ b/components/ui-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-analytics", - "version": "0.3.3-next.0", + "version": "0.3.3", "description": "Allows to provide tracking ids to components", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-button/CHANGELOG.md b/components/ui-button/CHANGELOG.md index 6659bdc4..fbd0ad0e 100644 --- a/components/ui-button/CHANGELOG.md +++ b/components/ui-button/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/ui-button +## 9.1.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 9.1.3-next.0 ### Patch Changes diff --git a/components/ui-button/package.json b/components/ui-button/package.json index db7325e3..99a1be8b 100644 --- a/components/ui-button/package.json +++ b/components/ui-button/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-button", - "version": "9.1.3-next.0", + "version": "9.1.3", "description": "Button components which are used to initialize an action", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-checkbox-tree/CHANGELOG.md b/components/ui-checkbox-tree/CHANGELOG.md index ef2fb472..4dd1d116 100644 --- a/components/ui-checkbox-tree/CHANGELOG.md +++ b/components/ui-checkbox-tree/CHANGELOG.md @@ -1,5 +1,14 @@ # @tabula/ui-checkbox-tree +## 4.1.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/tree-utils@0.1.1 + - @tabula/ui-checkbox@4.1.3 + - @tabula/ui-tree@0.1.3 + ## 4.1.3-next.0 ### Patch Changes diff --git a/components/ui-checkbox-tree/package.json b/components/ui-checkbox-tree/package.json index cce6c946..c8682a00 100644 --- a/components/ui-checkbox-tree/package.json +++ b/components/ui-checkbox-tree/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-checkbox-tree", - "version": "4.1.3-next.0", + "version": "4.1.3", "description": "Allows to select items in the tree", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-checkbox/CHANGELOG.md b/components/ui-checkbox/CHANGELOG.md index 0644c745..2a72364f 100644 --- a/components/ui-checkbox/CHANGELOG.md +++ b/components/ui-checkbox/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/ui-checkbox +## 4.1.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 4.1.3-next.0 ### Patch Changes diff --git a/components/ui-checkbox/package.json b/components/ui-checkbox/package.json index ba8c56dd..5ab18214 100644 --- a/components/ui-checkbox/package.json +++ b/components/ui-checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-checkbox", - "version": "4.1.3-next.0", + "version": "4.1.3", "description": "Checkbox control for forms", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-data-type-icon/CHANGELOG.md b/components/ui-data-type-icon/CHANGELOG.md index bd6d7941..16137bc0 100644 --- a/components/ui-data-type-icon/CHANGELOG.md +++ b/components/ui-data-type-icon/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/ui-data-type-icon +## 0.2.4 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.2.4-next.0 ### Patch Changes diff --git a/components/ui-data-type-icon/package.json b/components/ui-data-type-icon/package.json index 593bba08..2efe8e15 100644 --- a/components/ui-data-type-icon/package.json +++ b/components/ui-data-type-icon/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-data-type-icon", - "version": "0.2.4-next.0", + "version": "0.2.4", "description": "Icons for data types", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-date-picker/CHANGELOG.md b/components/ui-date-picker/CHANGELOG.md index cfa86998..2d446856 100644 --- a/components/ui-date-picker/CHANGELOG.md +++ b/components/ui-date-picker/CHANGELOG.md @@ -1,5 +1,13 @@ # @tabula/ui-date-picker +## 7.1.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/ui-button@9.1.3 + - @tabula/ui-data-type-icon@0.2.4 + ## 7.1.3-next.0 ### Patch Changes diff --git a/components/ui-date-picker/package.json b/components/ui-date-picker/package.json index 4fe8aae6..e7c3b01e 100644 --- a/components/ui-date-picker/package.json +++ b/components/ui-date-picker/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-date-picker", - "version": "7.1.3-next.0", + "version": "7.1.3", "description": "Allows to pick a date, time or date and time together", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-icon/CHANGELOG.md b/components/ui-icon/CHANGELOG.md index b6efd2a8..243f1ff4 100644 --- a/components/ui-icon/CHANGELOG.md +++ b/components/ui-icon/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/ui-icon +## 8.0.5 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 8.0.5-next.0 ### Patch Changes diff --git a/components/ui-icon/package.json b/components/ui-icon/package.json index 36e0256e..d92514ab 100644 --- a/components/ui-icon/package.json +++ b/components/ui-icon/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-icon", - "version": "8.0.5-next.0", + "version": "8.0.5", "description": "Sets of various icons", "type": "module", "exports": { diff --git a/components/ui-json-view/CHANGELOG.md b/components/ui-json-view/CHANGELOG.md index 6333ce1a..346ac75e 100644 --- a/components/ui-json-view/CHANGELOG.md +++ b/components/ui-json-view/CHANGELOG.md @@ -1,5 +1,13 @@ # @tabula/ui-json-view +## 7.3.4 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/ui-analytics@0.3.3 + - @tabula/use-size@0.2.3 + ## 7.3.4-next.0 ### Patch Changes diff --git a/components/ui-json-view/package.json b/components/ui-json-view/package.json index b15e3f95..42ee83fe 100644 --- a/components/ui-json-view/package.json +++ b/components/ui-json-view/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-json-view", - "version": "7.3.4-next.0", + "version": "7.3.4", "description": "Allows to view JSON in interactive way", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-layout-view/CHANGELOG.md b/components/ui-layout-view/CHANGELOG.md index ea625d3c..21fcc914 100644 --- a/components/ui-layout-view/CHANGELOG.md +++ b/components/ui-layout-view/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/ui-layout-view +## 8.1.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 8.1.3-next.0 ### Patch Changes diff --git a/components/ui-layout-view/package.json b/components/ui-layout-view/package.json index 0e7ffabd..5e037630 100644 --- a/components/ui-layout-view/package.json +++ b/components/ui-layout-view/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-layout-view", - "version": "8.1.3-next.0", + "version": "8.1.3", "description": "Layout component, that unifies sidebar functionality", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-menu/CHANGELOG.md b/components/ui-menu/CHANGELOG.md index cba19029..077083ac 100644 --- a/components/ui-menu/CHANGELOG.md +++ b/components/ui-menu/CHANGELOG.md @@ -1,5 +1,13 @@ # @tabula/ui-menu +## 1.2.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/dom-utils@0.1.1 + - @tabula/use-flag@0.1.1 + ## 1.2.3-next.0 ### Patch Changes diff --git a/components/ui-menu/package.json b/components/ui-menu/package.json index f6838bb9..4bc28c53 100644 --- a/components/ui-menu/package.json +++ b/components/ui-menu/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-menu", - "version": "1.2.3-next.0", + "version": "1.2.3", "description": "Menus display a list of actions or options that a user can choose", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-multi-selector/CHANGELOG.md b/components/ui-multi-selector/CHANGELOG.md index 8e8cece1..6b40befd 100644 --- a/components/ui-multi-selector/CHANGELOG.md +++ b/components/ui-multi-selector/CHANGELOG.md @@ -1,5 +1,13 @@ # @tabula/ui-multi-selector +## 1.1.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/ui-tag@0.1.3 + - @tabula/use-flag@0.1.1 + ## 1.1.3-next.0 ### Patch Changes diff --git a/components/ui-multi-selector/package.json b/components/ui-multi-selector/package.json index 76d29204..afb4e61e 100644 --- a/components/ui-multi-selector/package.json +++ b/components/ui-multi-selector/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-multi-selector", - "version": "1.1.3-next.0", + "version": "1.1.3", "description": "A MultiSelector allows users to select one or more items from a list of choices, or suggest own item.", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-node-icon/CHANGELOG.md b/components/ui-node-icon/CHANGELOG.md index 2b1da94c..7e98901a 100644 --- a/components/ui-node-icon/CHANGELOG.md +++ b/components/ui-node-icon/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/ui-node-icon +## 12.0.1 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 12.0.1-next.0 ### Patch Changes diff --git a/components/ui-node-icon/package.json b/components/ui-node-icon/package.json index 1901a8ec..847a95ed 100644 --- a/components/ui-node-icon/package.json +++ b/components/ui-node-icon/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-node-icon", - "version": "12.0.1-next.0", + "version": "12.0.1", "description": "Icons for nodes", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-selector/CHANGELOG.md b/components/ui-selector/CHANGELOG.md index 8d83855e..f0e0e25d 100644 --- a/components/ui-selector/CHANGELOG.md +++ b/components/ui-selector/CHANGELOG.md @@ -1,5 +1,17 @@ # @tabula/ui-selector +## 3.1.2 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/dom-utils@0.1.1 + - @tabula/portal-root-for@0.1.1 + - @tabula/ui-menu@1.2.3 + - @tabula/use-async-state@0.1.1 + - @tabula/use-close-on-outside-events@0.1.1 + - @tabula/use-previous-value@0.1.1 + ## 3.1.2-next.0 ### Patch Changes diff --git a/components/ui-selector/package.json b/components/ui-selector/package.json index 257bc777..d22bf2e3 100644 --- a/components/ui-selector/package.json +++ b/components/ui-selector/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-selector", - "version": "3.1.2-next.0", + "version": "3.1.2", "description": "Selector allow users to choose a single option from a collapsible list of options when space is limited", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-separator-icon/CHANGELOG.md b/components/ui-separator-icon/CHANGELOG.md index a4ffefec..86e5efa4 100644 --- a/components/ui-separator-icon/CHANGELOG.md +++ b/components/ui-separator-icon/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/ui-separator-icon +## 0.2.4 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.2.4-next.0 ### Patch Changes diff --git a/components/ui-separator-icon/package.json b/components/ui-separator-icon/package.json index dba30f56..09f704e7 100644 --- a/components/ui-separator-icon/package.json +++ b/components/ui-separator-icon/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-separator-icon", - "version": "0.2.4-next.0", + "version": "0.2.4", "description": "Icons for separators", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-slider/CHANGELOG.md b/components/ui-slider/CHANGELOG.md index adb07cf4..020e9be1 100644 --- a/components/ui-slider/CHANGELOG.md +++ b/components/ui-slider/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/ui-slider +## 2.1.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 2.1.3-next.0 ### Patch Changes diff --git a/components/ui-slider/package.json b/components/ui-slider/package.json index 584d8f44..47c66b11 100644 --- a/components/ui-slider/package.json +++ b/components/ui-slider/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-slider", - "version": "2.1.3-next.0", + "version": "2.1.3", "description": "Sliders allow users to quickly select a value within a range. They should be used when the upper and lower bounds to the range are invariable", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-status-badge/CHANGELOG.md b/components/ui-status-badge/CHANGELOG.md index 223ca648..c2aa8895 100644 --- a/components/ui-status-badge/CHANGELOG.md +++ b/components/ui-status-badge/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/ui-status-badge +## 1.1.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 1.1.3-next.0 ### Patch Changes diff --git a/components/ui-status-badge/package.json b/components/ui-status-badge/package.json index 69ce86c5..c9eb82e7 100644 --- a/components/ui-status-badge/package.json +++ b/components/ui-status-badge/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-status-badge", - "version": "1.1.3-next.0", + "version": "1.1.3", "description": "Status badges are used for showing a small amount of color categorized metadata about something state", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-switch/CHANGELOG.md b/components/ui-switch/CHANGELOG.md index 596a4fb8..d7a59323 100644 --- a/components/ui-switch/CHANGELOG.md +++ b/components/ui-switch/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/ui-switch +## 1.1.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 1.1.3-next.0 ### Patch Changes diff --git a/components/ui-switch/package.json b/components/ui-switch/package.json index 2024f26e..5a34d47a 100644 --- a/components/ui-switch/package.json +++ b/components/ui-switch/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-switch", - "version": "1.1.3-next.0", + "version": "1.1.3", "description": "Switches allows users to turn an individual option on or off", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-tag/CHANGELOG.md b/components/ui-tag/CHANGELOG.md index 9450e7b9..2755f1bb 100644 --- a/components/ui-tag/CHANGELOG.md +++ b/components/ui-tag/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/ui-tag +## 0.1.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.1.3-next.0 ### Patch Changes diff --git a/components/ui-tag/package.json b/components/ui-tag/package.json index 40de458f..665049c6 100644 --- a/components/ui-tag/package.json +++ b/components/ui-tag/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-tag", - "version": "0.1.3-next.0", + "version": "0.1.3", "description": "Tags allow users to categorize content. They can represent keywords or people, and are grouped to describe an item or a search request", "type": "module", "typings": "./typings/index.d.ts", diff --git a/components/ui-theme/CHANGELOG.md b/components/ui-theme/CHANGELOG.md index 667f2d42..92ed29e3 100644 --- a/components/ui-theme/CHANGELOG.md +++ b/components/ui-theme/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/ui-theme +## 3.3.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 3.3.3-next.0 ### Patch Changes diff --git a/components/ui-theme/package.json b/components/ui-theme/package.json index c0f66aa3..4338f1c7 100644 --- a/components/ui-theme/package.json +++ b/components/ui-theme/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-theme", - "version": "3.3.3-next.0", + "version": "3.3.3", "description": "Theme provider for the UI kit", "type": "module", "sass": "sass/theme.scss", diff --git a/components/ui-tree/CHANGELOG.md b/components/ui-tree/CHANGELOG.md index 21853760..1ffb498e 100644 --- a/components/ui-tree/CHANGELOG.md +++ b/components/ui-tree/CHANGELOG.md @@ -1,5 +1,12 @@ # @tabula/ui-tree +## 0.1.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/tree-utils@0.1.1 + ## 0.1.3-next.0 ### Patch Changes diff --git a/components/ui-tree/package.json b/components/ui-tree/package.json index 29eb0787..bd81a985 100644 --- a/components/ui-tree/package.json +++ b/components/ui-tree/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/ui-tree", - "version": "0.1.3-next.0", + "version": "0.1.3", "description": "Allows to render trees", "type": "module", "typings": "./typings/index.d.ts", diff --git a/configs/prettier-config/CHANGELOG.md b/configs/prettier-config/CHANGELOG.md index bb7eb02d..f95e5878 100644 --- a/configs/prettier-config/CHANGELOG.md +++ b/configs/prettier-config/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/prettier-config +## 0.1.8 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.1.8-next.0 ### Patch Changes diff --git a/configs/prettier-config/package.json b/configs/prettier-config/package.json index 2ed9bb41..6e78b382 100644 --- a/configs/prettier-config/package.json +++ b/configs/prettier-config/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/prettier-config", - "version": "0.1.8-next.0", + "version": "0.1.8", "description": "Configuration for the Prettier", "exports": { ".": { diff --git a/configs/svgr-config/CHANGELOG.md b/configs/svgr-config/CHANGELOG.md index b5a9ad1d..167f83fc 100644 --- a/configs/svgr-config/CHANGELOG.md +++ b/configs/svgr-config/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/svgr-config +## 0.3.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.3.3-next.0 ### Patch Changes diff --git a/configs/svgr-config/package.json b/configs/svgr-config/package.json index 5b294079..bde72907 100644 --- a/configs/svgr-config/package.json +++ b/configs/svgr-config/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/svgr-config", - "version": "0.3.3-next.0", + "version": "0.3.3", "description": "Configuration for the SVGR with ability to change name and display name of components", "type": "module", "typings": "./typings/index.d.ts", diff --git a/configs/typescript-config/CHANGELOG.md b/configs/typescript-config/CHANGELOG.md index 7f601d7e..9340da36 100644 --- a/configs/typescript-config/CHANGELOG.md +++ b/configs/typescript-config/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/typescript-config +## 0.3.4 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.3.4-next.0 ### Patch Changes diff --git a/configs/typescript-config/package.json b/configs/typescript-config/package.json index 1f640462..9306f93b 100644 --- a/configs/typescript-config/package.json +++ b/configs/typescript-config/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/typescript-config", - "version": "0.3.4-next.0", + "version": "0.3.4", "description": "Configurations for the TypeScript", "keywords": [ "tabula.io", diff --git a/configs/vitest-config/CHANGELOG.md b/configs/vitest-config/CHANGELOG.md index c2f610ef..7738905d 100644 --- a/configs/vitest-config/CHANGELOG.md +++ b/configs/vitest-config/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/vitest-config +## 0.3.1 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.3.1-next.0 ### Patch Changes diff --git a/configs/vitest-config/package.json b/configs/vitest-config/package.json index c4f6c135..fa665521 100644 --- a/configs/vitest-config/package.json +++ b/configs/vitest-config/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/vitest-config", - "version": "0.3.1-next.0", + "version": "0.3.1", "description": "Configuration for the Vitest", "type": "module", "typings": "./typings/index.d.ts", diff --git a/hooks/use-async-state/CHANGELOG.md b/hooks/use-async-state/CHANGELOG.md index fac69e3b..562d7fc9 100644 --- a/hooks/use-async-state/CHANGELOG.md +++ b/hooks/use-async-state/CHANGELOG.md @@ -1,5 +1,12 @@ # @tabula/use-async-state +## 0.1.1 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/use-side-effect@0.1.1 + ## 0.1.1-next.0 ### Patch Changes diff --git a/hooks/use-async-state/package.json b/hooks/use-async-state/package.json index 7e882bd6..96382db7 100644 --- a/hooks/use-async-state/package.json +++ b/hooks/use-async-state/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/use-async-state", - "version": "0.1.1-next.0", + "version": "0.1.1", "description": "Allows to handle async state with cache and refreshing", "type": "module", "typings": "./typings/index.d.ts", diff --git a/hooks/use-close-on-outside-events/CHANGELOG.md b/hooks/use-close-on-outside-events/CHANGELOG.md index 3c34c473..e569e703 100644 --- a/hooks/use-close-on-outside-events/CHANGELOG.md +++ b/hooks/use-close-on-outside-events/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/use-close-on-outside-events +## 0.1.1 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.1.1-next.0 ### Patch Changes diff --git a/hooks/use-close-on-outside-events/package.json b/hooks/use-close-on-outside-events/package.json index 7945ebcf..e1e122cf 100644 --- a/hooks/use-close-on-outside-events/package.json +++ b/hooks/use-close-on-outside-events/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/use-close-on-outside-events", - "version": "0.1.1-next.0", + "version": "0.1.1", "description": "Allows to call close handler on events which triggered outside target element", "type": "module", "typings": "./typings/index.d.ts", diff --git a/hooks/use-flag/CHANGELOG.md b/hooks/use-flag/CHANGELOG.md index e70fa916..91290170 100644 --- a/hooks/use-flag/CHANGELOG.md +++ b/hooks/use-flag/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/use-flag +## 0.1.1 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.1.1-next.0 ### Patch Changes diff --git a/hooks/use-flag/package.json b/hooks/use-flag/package.json index f53f971a..6496929d 100644 --- a/hooks/use-flag/package.json +++ b/hooks/use-flag/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/use-flag", - "version": "0.1.1-next.0", + "version": "0.1.1", "description": "Allows to use boolean state as flag", "type": "module", "typings": "./typings/index.d.ts", diff --git a/hooks/use-previous-value/CHANGELOG.md b/hooks/use-previous-value/CHANGELOG.md index 95d65991..027459a6 100644 --- a/hooks/use-previous-value/CHANGELOG.md +++ b/hooks/use-previous-value/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/use-previous-value +## 0.1.1 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.1.1-next.0 ### Patch Changes diff --git a/hooks/use-previous-value/package.json b/hooks/use-previous-value/package.json index ac802420..88ecd6dc 100644 --- a/hooks/use-previous-value/package.json +++ b/hooks/use-previous-value/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/use-previous-value", - "version": "0.1.1-next.0", + "version": "0.1.1", "description": "Allows to keep previous value", "type": "module", "typings": "./typings/index.d.ts", diff --git a/hooks/use-side-effect/CHANGELOG.md b/hooks/use-side-effect/CHANGELOG.md index 47586fca..7b8eab02 100644 --- a/hooks/use-side-effect/CHANGELOG.md +++ b/hooks/use-side-effect/CHANGELOG.md @@ -1,5 +1,12 @@ # @tabula/use-side-effect +## 0.1.1 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/use-previous-value@0.1.1 + ## 0.1.1-next.0 ### Patch Changes diff --git a/hooks/use-side-effect/package.json b/hooks/use-side-effect/package.json index 755ebf33..e256055d 100644 --- a/hooks/use-side-effect/package.json +++ b/hooks/use-side-effect/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/use-side-effect", - "version": "0.1.1-next.0", + "version": "0.1.1", "description": "Allows to manage side effects", "type": "module", "typings": "./typings/index.d.ts", diff --git a/hooks/use-size/CHANGELOG.md b/hooks/use-size/CHANGELOG.md index ad5e7ad3..22c041b4 100644 --- a/hooks/use-size/CHANGELOG.md +++ b/hooks/use-size/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/use-size +## 0.2.3 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.2.3-next.0 ### Patch Changes diff --git a/hooks/use-size/package.json b/hooks/use-size/package.json index 1ee8fea1..06fc45d7 100644 --- a/hooks/use-size/package.json +++ b/hooks/use-size/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/use-size", - "version": "0.2.3-next.0", + "version": "0.2.3", "description": "Watches the DOM element's size with ResizeObserver", "type": "module", "typings": "./typings/index.d.ts", diff --git a/hooks/use-track-id/CHANGELOG.md b/hooks/use-track-id/CHANGELOG.md index f9aa6f87..8bbf90c3 100644 --- a/hooks/use-track-id/CHANGELOG.md +++ b/hooks/use-track-id/CHANGELOG.md @@ -1,5 +1,12 @@ # @tabula/use-track-id +## 0.1.2 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/track-id@0.1.1 + ## 0.1.2-next.0 ### Patch Changes diff --git a/hooks/use-track-id/package.json b/hooks/use-track-id/package.json index 15f38644..aba83dab 100644 --- a/hooks/use-track-id/package.json +++ b/hooks/use-track-id/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/use-track-id", - "version": "0.1.2-next.0", + "version": "0.1.2", "description": "Helps generate track id for analytics purposes", "type": "module", "typings": "./typings/index.d.ts", diff --git a/hooks/use-track-ids/CHANGELOG.md b/hooks/use-track-ids/CHANGELOG.md index 099e281e..ed731147 100644 --- a/hooks/use-track-ids/CHANGELOG.md +++ b/hooks/use-track-ids/CHANGELOG.md @@ -1,5 +1,12 @@ # @tabula/use-track-ids +## 0.1.2 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. +- Updated dependencies [d138c5e] + - @tabula/track-id@0.1.1 + ## 0.1.2-next.0 ### Patch Changes diff --git a/hooks/use-track-ids/package.json b/hooks/use-track-ids/package.json index e5068822..49f8c4a4 100644 --- a/hooks/use-track-ids/package.json +++ b/hooks/use-track-ids/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/use-track-ids", - "version": "0.1.2-next.0", + "version": "0.1.2", "description": "Helps generate track ids for analytics purposes", "type": "module", "typings": "./typings/index.d.ts", diff --git a/libraries/dom-utils/CHANGELOG.md b/libraries/dom-utils/CHANGELOG.md index 5c11254d..f6c0d3e5 100644 --- a/libraries/dom-utils/CHANGELOG.md +++ b/libraries/dom-utils/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/dom-utils +## 0.1.1 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.1.1-next.0 ### Patch Changes diff --git a/libraries/dom-utils/package.json b/libraries/dom-utils/package.json index 15fbfb0f..869459bc 100644 --- a/libraries/dom-utils/package.json +++ b/libraries/dom-utils/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/dom-utils", - "version": "0.1.1-next.0", + "version": "0.1.1", "description": "Set of utilities for working with DOM", "type": "module", "typings": "./typings/index.d.ts", diff --git a/libraries/portal-root-for/CHANGELOG.md b/libraries/portal-root-for/CHANGELOG.md index 374525e0..afa13a9b 100644 --- a/libraries/portal-root-for/CHANGELOG.md +++ b/libraries/portal-root-for/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/portal-root-for +## 0.1.1 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.1.1-next.0 ### Patch Changes diff --git a/libraries/portal-root-for/package.json b/libraries/portal-root-for/package.json index 8b0b6338..5fd43a97 100644 --- a/libraries/portal-root-for/package.json +++ b/libraries/portal-root-for/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/portal-root-for", - "version": "0.1.1-next.0", + "version": "0.1.1", "description": "Allows to get or create portal root", "type": "module", "typings": "./typings/index.d.ts", diff --git a/libraries/track-id/CHANGELOG.md b/libraries/track-id/CHANGELOG.md index 368a175d..3d781383 100644 --- a/libraries/track-id/CHANGELOG.md +++ b/libraries/track-id/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/track-id +## 0.1.1 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.1.1-next.0 ### Patch Changes diff --git a/libraries/track-id/package.json b/libraries/track-id/package.json index 65db3104..1eaf5be9 100644 --- a/libraries/track-id/package.json +++ b/libraries/track-id/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/track-id", - "version": "0.1.1-next.0", + "version": "0.1.1", "description": "Helps generate track ids for analytics purposes", "type": "module", "typings": "./typings/index.d.ts", diff --git a/libraries/tree-utils/CHANGELOG.md b/libraries/tree-utils/CHANGELOG.md index 14232968..f7d3df94 100644 --- a/libraries/tree-utils/CHANGELOG.md +++ b/libraries/tree-utils/CHANGELOG.md @@ -1,5 +1,10 @@ # @tabula/tree-utils +## 0.1.1 +### Patch Changes + +- d138c5e: Publish next prerelease packages for validation. + ## 0.1.1-next.0 ### Patch Changes diff --git a/libraries/tree-utils/package.json b/libraries/tree-utils/package.json index 749648f8..a534be5d 100644 --- a/libraries/tree-utils/package.json +++ b/libraries/tree-utils/package.json @@ -1,6 +1,6 @@ { "name": "@tabula/tree-utils", - "version": "0.1.1-next.0", + "version": "0.1.1", "description": "Utilities for working with simple tree representation", "type": "module", "typings": "./typings/index.d.ts", From 9b5d0266d1f7182b45055e379e0490bc321506cc Mon Sep 17 00:00:00 2001 From: Andrey Tabakov Date: Wed, 6 May 2026 16:36:20 +0300 Subject: [PATCH 2/2] chore: patch @tabula/forge and update UiTheme implementation --- .../ui-theme/src/{UiTheme.tsx => UiTheme.ts} | 8 +++--- package.json | 5 +++- patches/@tabula__forge.patch | 28 +++++++++++++++++++ pnpm-lock.yaml | 9 ++++-- test-json.js | 12 ++++++++ 5 files changed, 55 insertions(+), 7 deletions(-) rename components/ui-theme/src/{UiTheme.tsx => UiTheme.ts} (68%) create mode 100644 patches/@tabula__forge.patch create mode 100644 test-json.js diff --git a/components/ui-theme/src/UiTheme.tsx b/components/ui-theme/src/UiTheme.ts similarity index 68% rename from components/ui-theme/src/UiTheme.tsx rename to components/ui-theme/src/UiTheme.ts index 3340e401..1cbe6b88 100644 --- a/components/ui-theme/src/UiTheme.tsx +++ b/components/ui-theme/src/UiTheme.ts @@ -1,4 +1,4 @@ -import { FC, PropsWithChildren, createContext, useContext } from 'react'; +import { createElement, FC, PropsWithChildren, createContext, useContext } from 'react'; import { layers } from './layers.css'; import { vars } from './theme.css'; @@ -10,9 +10,9 @@ const uiTheme = { const Context = createContext(uiTheme); -export const UiTheme: FC = ({ children }) => ( - {children} -); +export const UiTheme: FC = ({ children }) => { + return createElement(Context.Provider, { value: uiTheme }, children); +}; if (import.meta.env.DEV) { UiTheme.displayName = 'ui-theme(UiTheme)'; diff --git a/package.json b/package.json index 90484a32..9463608b 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,9 @@ "eslint": "^10.0.0", "typescript": "^6.0.0" } + }, + "patchedDependencies": { + "@tabula/forge": "patches/@tabula__forge.patch" } }, "engines": { @@ -74,8 +77,8 @@ "@vanilla-extract/dynamic": "catalog:", "@vanilla-extract/vite-plugin": "^5.2.2", "change-case": "^5.4.4", - "eslint": "^10.2.1", "esbuild": "^0.28.0", + "eslint": "^10.2.1", "execa": "^9.6.1", "handlebars": "^4.7.9", "happy-dom": "catalog:", diff --git a/patches/@tabula__forge.patch b/patches/@tabula__forge.patch new file mode 100644 index 00000000..92d5f42a --- /dev/null +++ b/patches/@tabula__forge.patch @@ -0,0 +1,28 @@ +diff --git a/lib/index.js b/lib/index.js +index ebed270fae36eddde3d18d4960935659ce21d0de..200fe40c5c462ec34d20dea706109562bd165b83 100644 +--- a/lib/index.js ++++ b/lib/index.js +@@ -174,8 +174,21 @@ function renderDocs(docs) { + return docs.map((doc) => { + const { expression, ...storybook2 } = doc; + const instance = expression?.getName() ?? doc.displayName; +- return `${instance}.__docgenInfo = ${JSON.stringify(storybook2, null, 2)};`; +- }).join("\n"); ++ const cache = new Set(); ++ const safeStringify = JSON.stringify(storybook2, (key, value) => { ++ if (typeof value === "object" && value !== null) { ++ if (cache.has(value)) { ++ return "[Circular]"; ++ } ++ if (value.constructor && (value.constructor.name === "SourceFileObject" || value.constructor.name === "NodeObject")) { ++ return "[TSNode]"; ++ } ++ cache.add(value); ++ } ++ return value; ++ }, 2); ++ return `${instance}.__docgenInfo = ${safeStringify};`; ++ }).join("\\n"); + } + + // src/plugins/reactDocgenPlugin/reactDocgenPlugin.ts diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4f28abdb..c0a7186f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -64,6 +64,11 @@ catalogs: specifier: ^4.1.5 version: 4.1.5 +patchedDependencies: + '@tabula/forge': + hash: d777bad36076a034e5af764d7ed950497556d0a761e7cdd17721b41528055f2b + path: patches/@tabula__forge.patch + importers: .: @@ -106,7 +111,7 @@ importers: version: 1.1.1(@typescript-eslint/eslint-plugin@8.59.0(@typescript-eslint/parser@8.59.0(eslint@10.2.1(jiti@2.6.1))(typescript@6.0.3))(eslint@10.2.1(jiti@2.6.1))(typescript@6.0.3))(@typescript-eslint/utils@8.59.0(eslint@10.2.1(jiti@2.6.1))(typescript@6.0.3))(eslint-import-resolver-node@0.3.9)(eslint@10.2.1(jiti@2.6.1))(typescript@6.0.3)(vitest@4.1.5(@types/node@24.12.2)(happy-dom@20.9.0)(vite@8.0.10(@types/node@24.12.2)(esbuild@0.28.0)(jiti@2.6.1)(sass-embedded@1.99.0)(sass@1.99.0)(tsx@4.21.0))) '@tabula/forge': specifier: ^4.0.2 - version: 4.0.2(jiti@2.6.1)(tsx@4.21.0)(typescript@6.0.3) + version: 4.0.2(patch_hash=d777bad36076a034e5af764d7ed950497556d0a761e7cdd17721b41528055f2b)(jiti@2.6.1)(tsx@4.21.0)(typescript@6.0.3) '@tabula/prettier-config': specifier: workspace:* version: link:configs/prettier-config @@ -7150,7 +7155,7 @@ snapshots: - supports-color - vitest - '@tabula/forge@4.0.2(jiti@2.6.1)(tsx@4.21.0)(typescript@6.0.3)': + '@tabula/forge@4.0.2(patch_hash=d777bad36076a034e5af764d7ed950497556d0a761e7cdd17721b41528055f2b)(jiti@2.6.1)(tsx@4.21.0)(typescript@6.0.3)': dependencies: '@babel/core': 7.29.0 '@babel/types': 7.29.0 diff --git a/test-json.js b/test-json.js new file mode 100644 index 00000000..cc1fb8bf --- /dev/null +++ b/test-json.js @@ -0,0 +1,12 @@ +const stringify = (obj) => { + const cache = new Set(); + return JSON.stringify(obj, (key, value) => { + if (typeof value === 'object' && value !== null) { + if (cache.has(value)) { + return '[Circular]'; + } + cache.add(value); + } + return value; + }, 2); +};