From da0275d3511e27f15992e5ba9a7b7d6f19f295b6 Mon Sep 17 00:00:00 2001 From: Florent Mathieu Date: Thu, 2 May 2024 08:49:58 -1000 Subject: [PATCH] chore(release): publish --- lerna.json | 2 +- package-lock.json | 114 +++++++++---------- packages/accordions/package.json | 4 +- packages/avatars/package.json | 4 +- packages/breadcrumbs/package.json | 4 +- packages/buttons/package.json | 4 +- packages/chrome/package.json | 4 +- packages/colorpickers/package.json | 12 +- packages/datepickers/package.json | 4 +- packages/drag-drop/package.json | 4 +- packages/dropdowns.next/package.json | 12 +- packages/dropdowns/package.json | 6 +- packages/forms/package.json | 4 +- packages/grid/package.json | 8 +- packages/loaders/package.json | 4 +- packages/modals/package.json | 4 +- packages/notifications/package.json | 6 +- packages/pagination/package.json | 4 +- packages/tables/package.json | 4 +- packages/tabs/package.json | 4 +- packages/tags/package.json | 4 +- packages/theming/package.json | 2 +- packages/tooltips/package.json | 4 +- packages/typography/package.json | 4 +- packages/utilities/package.json | 4 +- utils/build/rollup.config-1714675503759.cjs | 119 ++++++++++++++++++++ utils/build/rollup.config-1714675503877.cjs | 119 ++++++++++++++++++++ utils/build/rollup.config-1714675503925.cjs | 119 ++++++++++++++++++++ utils/build/rollup.config-1714675504000.cjs | 119 ++++++++++++++++++++ utils/build/rollup.config-1714675504049.cjs | 119 ++++++++++++++++++++ utils/build/rollup.config-1714675504426.cjs | 119 ++++++++++++++++++++ 31 files changed, 829 insertions(+), 115 deletions(-) create mode 100644 utils/build/rollup.config-1714675503759.cjs create mode 100644 utils/build/rollup.config-1714675503877.cjs create mode 100644 utils/build/rollup.config-1714675503925.cjs create mode 100644 utils/build/rollup.config-1714675504000.cjs create mode 100644 utils/build/rollup.config-1714675504049.cjs create mode 100644 utils/build/rollup.config-1714675504426.cjs diff --git a/lerna.json b/lerna.json index fedb16f78b5..35cfc802511 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "8.76.1", + "version": "8.76.2", "changelog": { "repo": "zendeskgarden/react-components", "cacheDir": ".changelog", diff --git a/package-lock.json b/package-lock.json index 3e0eba12f03..a7c78150632 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54956,7 +54956,7 @@ }, "packages/accordions": { "name": "@zendeskgarden/react-accordions", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-accordion": "^3.0.0", @@ -54965,7 +54965,7 @@ "prop-types": "^15.5.7" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -54977,14 +54977,14 @@ }, "packages/avatars": { "name": "@zendeskgarden/react-avatars", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "polished": "^4.0.0", "prop-types": "^15.5.7" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -54996,7 +54996,7 @@ }, "packages/breadcrumbs": { "name": "@zendeskgarden/react-breadcrumbs", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-breadcrumb": "^1.0.0", @@ -55004,7 +55004,7 @@ "prop-types": "^15.5.7" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -55016,7 +55016,7 @@ }, "packages/buttons": { "name": "@zendeskgarden/react-buttons", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-selection": "^3.0.0", @@ -55026,7 +55026,7 @@ "react-merge-refs": "^1.1.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -55038,7 +55038,7 @@ }, "packages/chrome": { "name": "@zendeskgarden/react-chrome", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-accordion": "^3.0.4", @@ -55049,7 +55049,7 @@ "react-merge-refs": "^1.1.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -55061,15 +55061,15 @@ }, "packages/colorpickers": { "name": "@zendeskgarden/react-colorpickers", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-grid": "^0.1.1", "@zendeskgarden/container-utilities": "^2.0.0", - "@zendeskgarden/react-buttons": "^8.76.1", - "@zendeskgarden/react-forms": "^8.76.1", - "@zendeskgarden/react-modals": "^8.76.1", - "@zendeskgarden/react-tooltips": "^8.76.1", + "@zendeskgarden/react-buttons": "^8.76.2", + "@zendeskgarden/react-forms": "^8.76.2", + "@zendeskgarden/react-modals": "^8.76.2", + "@zendeskgarden/react-tooltips": "^8.76.2", "lodash.isequal": "^4.5.0", "lodash.throttle": "^4.1.1", "polished": "^4.0.0", @@ -55078,7 +55078,7 @@ "devDependencies": { "@types/lodash.isequal": "4.5.8", "@types/lodash.throttle": "4.1.9", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -55090,7 +55090,7 @@ }, "packages/datepickers": { "name": "@zendeskgarden/react-datepickers", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-utilities": "^2.0.0", @@ -55099,7 +55099,7 @@ "react-popper": "^1.3.4" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -55147,7 +55147,7 @@ }, "packages/drag-drop": { "name": "@zendeskgarden/react-drag-drop", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "polished": "^4.0.0", @@ -55157,7 +55157,7 @@ "@dnd-kit/core": "6.1.0", "@dnd-kit/sortable": "8.0.0", "@dnd-kit/utilities": "3.2.2", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -55169,12 +55169,12 @@ }, "packages/dropdowns": { "name": "@zendeskgarden/react-dropdowns", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-selection": "^2.0.0", "@zendeskgarden/container-utilities": "^1.0.14", - "@zendeskgarden/react-forms": "^8.76.1", + "@zendeskgarden/react-forms": "^8.76.2", "downshift": "^7.0.0", "polished": "^4.0.0", "prop-types": "^15.5.7", @@ -55183,7 +55183,7 @@ }, "devDependencies": { "@types/lodash.debounce": "4.0.9", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0", "lodash.debounce": "4.0.8" }, @@ -55196,23 +55196,23 @@ }, "packages/dropdowns.next": { "name": "@zendeskgarden/react-dropdowns.next", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@floating-ui/react-dom": "^2.0.0", "@zendeskgarden/container-combobox": "^1.1.4", "@zendeskgarden/container-menu": "^0.3.0", "@zendeskgarden/container-utilities": "^2.0.0", - "@zendeskgarden/react-buttons": "^8.76.1", - "@zendeskgarden/react-forms": "^8.76.1", - "@zendeskgarden/react-tags": "^8.76.1", - "@zendeskgarden/react-tooltips": "^8.76.1", + "@zendeskgarden/react-buttons": "^8.76.2", + "@zendeskgarden/react-forms": "^8.76.2", + "@zendeskgarden/react-tags": "^8.76.2", + "@zendeskgarden/react-tooltips": "^8.76.2", "polished": "^4.0.0", "prop-types": "^15.7.2", "react-merge-refs": "^1.1.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -55287,7 +55287,7 @@ }, "packages/forms": { "name": "@zendeskgarden/react-forms", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-field": "^3.0.0", @@ -55300,7 +55300,7 @@ }, "devDependencies": { "@types/lodash.debounce": "4.0.9", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0", "react-dropzone": "14.2.3" }, @@ -55313,20 +55313,20 @@ }, "packages/grid": { "name": "@zendeskgarden/react-grid", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-splitter": "^2.0.3", "@zendeskgarden/container-utilities": "^2.0.0", - "@zendeskgarden/react-buttons": "^8.76.1", - "@zendeskgarden/react-tooltips": "^8.76.1", + "@zendeskgarden/react-buttons": "^8.76.2", + "@zendeskgarden/react-tooltips": "^8.76.2", "polished": "^4.0.0", "prop-types": "^15.5.7", "react-merge-refs": "^1.1.0", "use-resize-observer": "^9.1.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1" + "@zendeskgarden/react-theming": "^8.76.2" }, "peerDependencies": { "@zendeskgarden/react-theming": "^8.75.0", @@ -55337,7 +55337,7 @@ }, "packages/loaders": { "name": "@zendeskgarden/react-loaders", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-schedule": "^2.0.0", @@ -55345,7 +55345,7 @@ "prop-types": "^15.5.7" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1" + "@zendeskgarden/react-theming": "^8.76.2" }, "peerDependencies": { "@zendeskgarden/react-theming": "^8.75.0", @@ -55356,7 +55356,7 @@ }, "packages/modals": { "name": "@zendeskgarden/react-modals", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@popperjs/core": "^2.4.4", @@ -55371,7 +55371,7 @@ }, "devDependencies": { "@types/react-transition-group": "4.4.10", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -55383,10 +55383,10 @@ }, "packages/notifications": { "name": "@zendeskgarden/react-notifications", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { - "@zendeskgarden/react-buttons": "^8.76.1", + "@zendeskgarden/react-buttons": "^8.76.2", "polished": "^4.1.1", "prop-types": "^15.5.7", "react-transition-group": "^4.4.2", @@ -55394,7 +55394,7 @@ }, "devDependencies": { "@types/react-transition-group": "4.4.10", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -55406,7 +55406,7 @@ }, "packages/pagination": { "name": "@zendeskgarden/react-pagination", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-pagination": "^1.0.0", @@ -55415,7 +55415,7 @@ "prop-types": "^15.5.7" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -55427,7 +55427,7 @@ }, "packages/tables": { "name": "@zendeskgarden/react-tables", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-utilities": "^2.0.0", @@ -55438,7 +55438,7 @@ "devDependencies": { "@types/react-beautiful-dnd": "13.1.8", "@types/react-window": "1.8.8", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0", "react-beautiful-dnd": "13.1.1", "react-window": "1.8.10" @@ -55452,7 +55452,7 @@ }, "packages/tabs": { "name": "@zendeskgarden/react-tabs", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-tabs": "^2.0.1", @@ -55462,7 +55462,7 @@ "react-merge-refs": "^1.1.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1" + "@zendeskgarden/react-theming": "^8.76.2" }, "peerDependencies": { "@zendeskgarden/react-theming": "^8.75.0", @@ -55473,7 +55473,7 @@ }, "packages/tags": { "name": "@zendeskgarden/react-tags", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-utilities": "^2.0.0", @@ -55481,7 +55481,7 @@ "prop-types": "^15.5.7" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "peerDependencies": { @@ -55493,7 +55493,7 @@ }, "packages/theming": { "name": "@zendeskgarden/react-theming", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-focusvisible": "^2.0.0", @@ -55513,7 +55513,7 @@ }, "packages/tooltips": { "name": "@zendeskgarden/react-tooltips", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-tooltip": "^1.0.0", @@ -55524,7 +55524,7 @@ "react-popper": "^1.3.4" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1" + "@zendeskgarden/react-theming": "^8.76.2" }, "peerDependencies": { "@zendeskgarden/react-theming": "^8.75.0", @@ -55571,7 +55571,7 @@ }, "packages/typography": { "name": "@zendeskgarden/react-typography", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "dependencies": { "@zendeskgarden/container-scrollregion": "^1.0.0", @@ -55580,7 +55580,7 @@ "prop-types": "^15.5.7" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1" + "@zendeskgarden/react-theming": "^8.76.2" }, "peerDependencies": { "@zendeskgarden/react-theming": "^8.75.0", @@ -55591,10 +55591,10 @@ }, "packages/utilities": { "name": "@zendeskgarden/react-utilities", - "version": "8.76.1", + "version": "8.76.2", "license": "Apache-2.0", "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1" + "@zendeskgarden/react-theming": "^8.76.2" } }, "utils/eslint": { diff --git a/packages/accordions/package.json b/packages/accordions/package.json index 8b2dadb6a77..d46fb2f1f20 100644 --- a/packages/accordions/package.json +++ b/packages/accordions/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-accordions", - "version": "8.76.1", + "version": "8.76.2", "description": "Components related to accordions in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -33,7 +33,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/avatars/package.json b/packages/avatars/package.json index bbfca2de8c3..09b634599b0 100644 --- a/packages/avatars/package.json +++ b/packages/avatars/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-avatars", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to avatars in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -31,7 +31,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/breadcrumbs/package.json b/packages/breadcrumbs/package.json index bd94d198db1..25f33459cae 100644 --- a/packages/breadcrumbs/package.json +++ b/packages/breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-breadcrumbs", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to breadcrumbs in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -32,7 +32,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/buttons/package.json b/packages/buttons/package.json index ab17febaaf5..129e1db52c4 100644 --- a/packages/buttons/package.json +++ b/packages/buttons/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-buttons", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to buttons in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -34,7 +34,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/chrome/package.json b/packages/chrome/package.json index 74852a03fe8..52d361e54a6 100644 --- a/packages/chrome/package.json +++ b/packages/chrome/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-chrome", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to Chrome within the Garden Design System.", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -35,7 +35,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/colorpickers/package.json b/packages/colorpickers/package.json index f903544119e..d1193e000bc 100644 --- a/packages/colorpickers/package.json +++ b/packages/colorpickers/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-colorpickers", - "version": "8.76.1", + "version": "8.76.2", "description": "Components related to color pickers in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -23,10 +23,10 @@ "dependencies": { "@zendeskgarden/container-grid": "^0.1.1", "@zendeskgarden/container-utilities": "^2.0.0", - "@zendeskgarden/react-buttons": "^8.76.1", - "@zendeskgarden/react-forms": "^8.76.1", - "@zendeskgarden/react-modals": "^8.76.1", - "@zendeskgarden/react-tooltips": "^8.76.1", + "@zendeskgarden/react-buttons": "^8.76.2", + "@zendeskgarden/react-forms": "^8.76.2", + "@zendeskgarden/react-modals": "^8.76.2", + "@zendeskgarden/react-tooltips": "^8.76.2", "lodash.isequal": "^4.5.0", "lodash.throttle": "^4.1.1", "polished": "^4.0.0", @@ -41,7 +41,7 @@ "devDependencies": { "@types/lodash.isequal": "4.5.8", "@types/lodash.throttle": "4.1.9", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/datepickers/package.json b/packages/datepickers/package.json index 23c039f5fca..436f0de79eb 100644 --- a/packages/datepickers/package.json +++ b/packages/datepickers/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-datepickers", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to datepickers in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -33,7 +33,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/drag-drop/package.json b/packages/drag-drop/package.json index fd6bb24f82a..ad82689ff12 100644 --- a/packages/drag-drop/package.json +++ b/packages/drag-drop/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-drag-drop", - "version": "8.76.1", + "version": "8.76.2", "description": "Components related to drag and drop in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -34,7 +34,7 @@ "@dnd-kit/core": "6.1.0", "@dnd-kit/sortable": "8.0.0", "@dnd-kit/utilities": "3.2.2", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/dropdowns.next/package.json b/packages/dropdowns.next/package.json index ab3a681d604..51df4de9a75 100644 --- a/packages/dropdowns.next/package.json +++ b/packages/dropdowns.next/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-dropdowns.next", - "version": "8.76.1", + "version": "8.76.2", "description": "Components related to dropdowns in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -25,10 +25,10 @@ "@zendeskgarden/container-combobox": "^1.1.4", "@zendeskgarden/container-menu": "^0.3.0", "@zendeskgarden/container-utilities": "^2.0.0", - "@zendeskgarden/react-buttons": "^8.76.1", - "@zendeskgarden/react-forms": "^8.76.1", - "@zendeskgarden/react-tags": "^8.76.1", - "@zendeskgarden/react-tooltips": "^8.76.1", + "@zendeskgarden/react-buttons": "^8.76.2", + "@zendeskgarden/react-forms": "^8.76.2", + "@zendeskgarden/react-tags": "^8.76.2", + "@zendeskgarden/react-tooltips": "^8.76.2", "polished": "^4.0.0", "prop-types": "^15.7.2", "react-merge-refs": "^1.1.0" @@ -40,7 +40,7 @@ "styled-components": "^5.1.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/dropdowns/package.json b/packages/dropdowns/package.json index 30993d4346d..92fb700c8ef 100644 --- a/packages/dropdowns/package.json +++ b/packages/dropdowns/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-dropdowns", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to dropdowns in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -23,7 +23,7 @@ "dependencies": { "@zendeskgarden/container-selection": "^2.0.0", "@zendeskgarden/container-utilities": "^1.0.14", - "@zendeskgarden/react-forms": "^8.76.1", + "@zendeskgarden/react-forms": "^8.76.2", "downshift": "^7.0.0", "polished": "^4.0.0", "prop-types": "^15.5.7", @@ -38,7 +38,7 @@ }, "devDependencies": { "@types/lodash.debounce": "4.0.9", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0", "lodash.debounce": "4.0.8" }, diff --git a/packages/forms/package.json b/packages/forms/package.json index cf5957daac4..b25be513c85 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-forms", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to form elements in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -37,7 +37,7 @@ }, "devDependencies": { "@types/lodash.debounce": "4.0.9", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0", "react-dropzone": "14.2.3" }, diff --git a/packages/grid/package.json b/packages/grid/package.json index 9bed1e01437..e450c1bf2c3 100644 --- a/packages/grid/package.json +++ b/packages/grid/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-grid", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to layout grids in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -23,8 +23,8 @@ "dependencies": { "@zendeskgarden/container-splitter": "^2.0.3", "@zendeskgarden/container-utilities": "^2.0.0", - "@zendeskgarden/react-buttons": "^8.76.1", - "@zendeskgarden/react-tooltips": "^8.76.1", + "@zendeskgarden/react-buttons": "^8.76.2", + "@zendeskgarden/react-tooltips": "^8.76.2", "polished": "^4.0.0", "prop-types": "^15.5.7", "react-merge-refs": "^1.1.0", @@ -37,7 +37,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1" + "@zendeskgarden/react-theming": "^8.76.2" }, "keywords": [ "components", diff --git a/packages/loaders/package.json b/packages/loaders/package.json index 4888bedbe7a..c693b4811fd 100644 --- a/packages/loaders/package.json +++ b/packages/loaders/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-loaders", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to loaders in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -32,7 +32,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1" + "@zendeskgarden/react-theming": "^8.76.2" }, "keywords": [ "components", diff --git a/packages/modals/package.json b/packages/modals/package.json index a5059de9de5..78fc6cf0caa 100644 --- a/packages/modals/package.json +++ b/packages/modals/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-modals", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to modals in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -39,7 +39,7 @@ }, "devDependencies": { "@types/react-transition-group": "4.4.10", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/notifications/package.json b/packages/notifications/package.json index 1525730327d..3e2e60e122d 100644 --- a/packages/notifications/package.json +++ b/packages/notifications/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-notifications", - "version": "8.76.1", + "version": "8.76.2", "description": "Notification and Well components within the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -21,7 +21,7 @@ "sideEffects": false, "types": "dist/typings/index.d.ts", "dependencies": { - "@zendeskgarden/react-buttons": "^8.76.1", + "@zendeskgarden/react-buttons": "^8.76.2", "polished": "^4.1.1", "prop-types": "^15.5.7", "react-transition-group": "^4.4.2", @@ -35,7 +35,7 @@ }, "devDependencies": { "@types/react-transition-group": "4.4.10", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/pagination/package.json b/packages/pagination/package.json index 40a634e9614..32f20bebff1 100644 --- a/packages/pagination/package.json +++ b/packages/pagination/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-pagination", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to pagination in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -33,7 +33,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/tables/package.json b/packages/tables/package.json index efabd707c6b..b3f3e6a6aa0 100644 --- a/packages/tables/package.json +++ b/packages/tables/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-tables", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to tables in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -35,7 +35,7 @@ "devDependencies": { "@types/react-beautiful-dnd": "13.1.8", "@types/react-window": "1.8.8", - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0", "react-beautiful-dnd": "13.1.1", "react-window": "1.8.10" diff --git a/packages/tabs/package.json b/packages/tabs/package.json index 20a9b950912..7b899fbfa7c 100644 --- a/packages/tabs/package.json +++ b/packages/tabs/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-tabs", - "version": "8.76.1", + "version": "8.76.2", "description": "Components and render prop containers relating to the Garden Design System.", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -34,7 +34,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1" + "@zendeskgarden/react-theming": "^8.76.2" }, "keywords": [ "components", diff --git a/packages/tags/package.json b/packages/tags/package.json index b0783640250..50841e7c666 100644 --- a/packages/tags/package.json +++ b/packages/tags/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-tags", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to tags in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -32,7 +32,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1", + "@zendeskgarden/react-theming": "^8.76.2", "@zendeskgarden/svg-icons": "7.0.0" }, "keywords": [ diff --git a/packages/theming/package.json b/packages/theming/package.json index 0eb09575257..e2bc776289a 100644 --- a/packages/theming/package.json +++ b/packages/theming/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-theming", - "version": "8.76.1", + "version": "8.76.2", "description": "Theming utilities and components within the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", diff --git a/packages/tooltips/package.json b/packages/tooltips/package.json index 8bf359b0175..5e128af5075 100644 --- a/packages/tooltips/package.json +++ b/packages/tooltips/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-tooltips", - "version": "8.76.1", + "version": "8.76.2", "description": "Collection of components and render prop containers relating to Tooltips in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -35,7 +35,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1" + "@zendeskgarden/react-theming": "^8.76.2" }, "keywords": [ "components", diff --git a/packages/typography/package.json b/packages/typography/package.json index 0534e26332f..aa1ad052311 100644 --- a/packages/typography/package.json +++ b/packages/typography/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-typography", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to typography in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -33,7 +33,7 @@ "styled-components": "^4.2.0 || ^5.0.0" }, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1" + "@zendeskgarden/react-theming": "^8.76.2" }, "keywords": [ "components", diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 9d076960f3a..730923a3940 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -1,6 +1,6 @@ { "name": "@zendeskgarden/react-utilities", - "version": "8.76.1", + "version": "8.76.2", "description": "Components relating to utilities in the Garden Design System", "license": "Apache-2.0", "author": "Zendesk Garden ", @@ -20,7 +20,7 @@ }, "sideEffects": false, "devDependencies": { - "@zendeskgarden/react-theming": "^8.76.1" + "@zendeskgarden/react-theming": "^8.76.2" }, "keywords": [ "components", diff --git a/utils/build/rollup.config-1714675503759.cjs b/utils/build/rollup.config-1714675503759.cjs new file mode 100644 index 00000000000..42252b31839 --- /dev/null +++ b/utils/build/rollup.config-1714675503759.cjs @@ -0,0 +1,119 @@ +'use strict'; + +Object.defineProperty(exports, '__esModule', { value: true }); + +var path = require('path'); +var fs = require('fs'); +var core = require('@babel/core'); +var commonjs = require('@rollup/plugin-commonjs'); +var replace = require('@rollup/plugin-replace'); +var nodeResolve = require('@rollup/plugin-node-resolve'); +var typescript = require('rollup-plugin-typescript2'); +var pluginBabel = require('@rollup/plugin-babel'); +var analyze = require('rollup-plugin-analyzer'); +var cleanup = require('rollup-plugin-cleanup'); +var del = require('rollup-plugin-delete'); +var svgr = require('@svgr/rollup'); +var tsc = require('typescript'); + +/** + * Copyright Zendesk, Inc. + * + * Use of this source code is governed under the Apache License, Version 2.0 + * found at http://www.apache.org/licenses/LICENSE-2.0. + */ + + +const pkg = require(path.resolve('./package.json')); +const svgoConfig = require(path.resolve('../../.svgo.config.js')); +const babelOptions = require(path.resolve('../../babel.config.js')); +const isTSPackage = fs.existsSync(path.resolve('tsconfig.build.json')); + +const externalPackages = [ + 'react', + 'react-dom', + 'prop-types', + 'styled-components', + 'react-uid', + '@zendeskgarden/react-theming', + ...Object.keys(pkg.dependencies || {}) +].map(external => new RegExp(`^${external}/?.*`, 'u')); + +const BANNER = `/** +* Copyright Zendesk, Inc. +* +* Use of this source code is governed under the Apache License, Version 2.0 +* found at http://www.apache.org/licenses/LICENSE-2.0. +*/`; + +var rollup_config = [ + { + input: pkg['zendeskgarden:src'], + /** + * Filter out dependencies that consumers + * will bundle during build time + */ + external: id => externalPackages.filter(regexp => regexp.test(id)).length > 0, + plugins: [ + /** + * Remove existing dist files and type definitions + */ + del({ targets: 'dist/*' }), + nodeResolve({ + mainFields: ['module', 'main', 'jsnext', 'browser'] + }), + commonjs({ + include: 'node_modules/**' + }), + svgr({ svgoConfig }), + isTSPackage && + typescript({ + check: false, + tsconfig: 'tsconfig.build.json', + useTsconfigDeclarationDir: true, + typescript: tsc + }), + pluginBabel.babel({ + babelHelpers: 'bundled', + babelrc: false, + exclude: 'node_modules/**', // only transpile our source code + ...babelOptions, + extensions: ['.tsx', '.ts', ...core.DEFAULT_EXTENSIONS] + }), + /** + * Replace PACKAGE_VERSION constant with the current package version + */ + replace({ PACKAGE_VERSION: `'${pkg.version}'`, preventAssignment: true }), + /** + * Remove comments from source files + */ + cleanup({ extensions: ['js', 'jsx', 'ts', 'tsx'] }), + /** + * Only enforce matching size snapshot files in CI environments + */ + // sizeSnapshot({ + // matchSnapshot: !!process.env.CI, + // printInfo: !!process.env.CI || !!process.env.ANALYZE_BUNDLE + // }), + !!process.env.ANALYZE_BUNDLE && analyze({ summaryOnly: true }) + ], + output: [ + { + file: pkg.main, + format: 'cjs', + interop: 'auto', + banner: BANNER // Apply global Zendesk license + }, + { + dir: path.dirname(pkg.module), + format: 'es', + preserveModules: true, + preserveModulesRoot: 'src', + entryFileNames: '[name].js', + banner: BANNER // Apply global Zendesk license + } + ] + } +]; + +exports.default = rollup_config; diff --git a/utils/build/rollup.config-1714675503877.cjs b/utils/build/rollup.config-1714675503877.cjs new file mode 100644 index 00000000000..42252b31839 --- /dev/null +++ b/utils/build/rollup.config-1714675503877.cjs @@ -0,0 +1,119 @@ +'use strict'; + +Object.defineProperty(exports, '__esModule', { value: true }); + +var path = require('path'); +var fs = require('fs'); +var core = require('@babel/core'); +var commonjs = require('@rollup/plugin-commonjs'); +var replace = require('@rollup/plugin-replace'); +var nodeResolve = require('@rollup/plugin-node-resolve'); +var typescript = require('rollup-plugin-typescript2'); +var pluginBabel = require('@rollup/plugin-babel'); +var analyze = require('rollup-plugin-analyzer'); +var cleanup = require('rollup-plugin-cleanup'); +var del = require('rollup-plugin-delete'); +var svgr = require('@svgr/rollup'); +var tsc = require('typescript'); + +/** + * Copyright Zendesk, Inc. + * + * Use of this source code is governed under the Apache License, Version 2.0 + * found at http://www.apache.org/licenses/LICENSE-2.0. + */ + + +const pkg = require(path.resolve('./package.json')); +const svgoConfig = require(path.resolve('../../.svgo.config.js')); +const babelOptions = require(path.resolve('../../babel.config.js')); +const isTSPackage = fs.existsSync(path.resolve('tsconfig.build.json')); + +const externalPackages = [ + 'react', + 'react-dom', + 'prop-types', + 'styled-components', + 'react-uid', + '@zendeskgarden/react-theming', + ...Object.keys(pkg.dependencies || {}) +].map(external => new RegExp(`^${external}/?.*`, 'u')); + +const BANNER = `/** +* Copyright Zendesk, Inc. +* +* Use of this source code is governed under the Apache License, Version 2.0 +* found at http://www.apache.org/licenses/LICENSE-2.0. +*/`; + +var rollup_config = [ + { + input: pkg['zendeskgarden:src'], + /** + * Filter out dependencies that consumers + * will bundle during build time + */ + external: id => externalPackages.filter(regexp => regexp.test(id)).length > 0, + plugins: [ + /** + * Remove existing dist files and type definitions + */ + del({ targets: 'dist/*' }), + nodeResolve({ + mainFields: ['module', 'main', 'jsnext', 'browser'] + }), + commonjs({ + include: 'node_modules/**' + }), + svgr({ svgoConfig }), + isTSPackage && + typescript({ + check: false, + tsconfig: 'tsconfig.build.json', + useTsconfigDeclarationDir: true, + typescript: tsc + }), + pluginBabel.babel({ + babelHelpers: 'bundled', + babelrc: false, + exclude: 'node_modules/**', // only transpile our source code + ...babelOptions, + extensions: ['.tsx', '.ts', ...core.DEFAULT_EXTENSIONS] + }), + /** + * Replace PACKAGE_VERSION constant with the current package version + */ + replace({ PACKAGE_VERSION: `'${pkg.version}'`, preventAssignment: true }), + /** + * Remove comments from source files + */ + cleanup({ extensions: ['js', 'jsx', 'ts', 'tsx'] }), + /** + * Only enforce matching size snapshot files in CI environments + */ + // sizeSnapshot({ + // matchSnapshot: !!process.env.CI, + // printInfo: !!process.env.CI || !!process.env.ANALYZE_BUNDLE + // }), + !!process.env.ANALYZE_BUNDLE && analyze({ summaryOnly: true }) + ], + output: [ + { + file: pkg.main, + format: 'cjs', + interop: 'auto', + banner: BANNER // Apply global Zendesk license + }, + { + dir: path.dirname(pkg.module), + format: 'es', + preserveModules: true, + preserveModulesRoot: 'src', + entryFileNames: '[name].js', + banner: BANNER // Apply global Zendesk license + } + ] + } +]; + +exports.default = rollup_config; diff --git a/utils/build/rollup.config-1714675503925.cjs b/utils/build/rollup.config-1714675503925.cjs new file mode 100644 index 00000000000..42252b31839 --- /dev/null +++ b/utils/build/rollup.config-1714675503925.cjs @@ -0,0 +1,119 @@ +'use strict'; + +Object.defineProperty(exports, '__esModule', { value: true }); + +var path = require('path'); +var fs = require('fs'); +var core = require('@babel/core'); +var commonjs = require('@rollup/plugin-commonjs'); +var replace = require('@rollup/plugin-replace'); +var nodeResolve = require('@rollup/plugin-node-resolve'); +var typescript = require('rollup-plugin-typescript2'); +var pluginBabel = require('@rollup/plugin-babel'); +var analyze = require('rollup-plugin-analyzer'); +var cleanup = require('rollup-plugin-cleanup'); +var del = require('rollup-plugin-delete'); +var svgr = require('@svgr/rollup'); +var tsc = require('typescript'); + +/** + * Copyright Zendesk, Inc. + * + * Use of this source code is governed under the Apache License, Version 2.0 + * found at http://www.apache.org/licenses/LICENSE-2.0. + */ + + +const pkg = require(path.resolve('./package.json')); +const svgoConfig = require(path.resolve('../../.svgo.config.js')); +const babelOptions = require(path.resolve('../../babel.config.js')); +const isTSPackage = fs.existsSync(path.resolve('tsconfig.build.json')); + +const externalPackages = [ + 'react', + 'react-dom', + 'prop-types', + 'styled-components', + 'react-uid', + '@zendeskgarden/react-theming', + ...Object.keys(pkg.dependencies || {}) +].map(external => new RegExp(`^${external}/?.*`, 'u')); + +const BANNER = `/** +* Copyright Zendesk, Inc. +* +* Use of this source code is governed under the Apache License, Version 2.0 +* found at http://www.apache.org/licenses/LICENSE-2.0. +*/`; + +var rollup_config = [ + { + input: pkg['zendeskgarden:src'], + /** + * Filter out dependencies that consumers + * will bundle during build time + */ + external: id => externalPackages.filter(regexp => regexp.test(id)).length > 0, + plugins: [ + /** + * Remove existing dist files and type definitions + */ + del({ targets: 'dist/*' }), + nodeResolve({ + mainFields: ['module', 'main', 'jsnext', 'browser'] + }), + commonjs({ + include: 'node_modules/**' + }), + svgr({ svgoConfig }), + isTSPackage && + typescript({ + check: false, + tsconfig: 'tsconfig.build.json', + useTsconfigDeclarationDir: true, + typescript: tsc + }), + pluginBabel.babel({ + babelHelpers: 'bundled', + babelrc: false, + exclude: 'node_modules/**', // only transpile our source code + ...babelOptions, + extensions: ['.tsx', '.ts', ...core.DEFAULT_EXTENSIONS] + }), + /** + * Replace PACKAGE_VERSION constant with the current package version + */ + replace({ PACKAGE_VERSION: `'${pkg.version}'`, preventAssignment: true }), + /** + * Remove comments from source files + */ + cleanup({ extensions: ['js', 'jsx', 'ts', 'tsx'] }), + /** + * Only enforce matching size snapshot files in CI environments + */ + // sizeSnapshot({ + // matchSnapshot: !!process.env.CI, + // printInfo: !!process.env.CI || !!process.env.ANALYZE_BUNDLE + // }), + !!process.env.ANALYZE_BUNDLE && analyze({ summaryOnly: true }) + ], + output: [ + { + file: pkg.main, + format: 'cjs', + interop: 'auto', + banner: BANNER // Apply global Zendesk license + }, + { + dir: path.dirname(pkg.module), + format: 'es', + preserveModules: true, + preserveModulesRoot: 'src', + entryFileNames: '[name].js', + banner: BANNER // Apply global Zendesk license + } + ] + } +]; + +exports.default = rollup_config; diff --git a/utils/build/rollup.config-1714675504000.cjs b/utils/build/rollup.config-1714675504000.cjs new file mode 100644 index 00000000000..42252b31839 --- /dev/null +++ b/utils/build/rollup.config-1714675504000.cjs @@ -0,0 +1,119 @@ +'use strict'; + +Object.defineProperty(exports, '__esModule', { value: true }); + +var path = require('path'); +var fs = require('fs'); +var core = require('@babel/core'); +var commonjs = require('@rollup/plugin-commonjs'); +var replace = require('@rollup/plugin-replace'); +var nodeResolve = require('@rollup/plugin-node-resolve'); +var typescript = require('rollup-plugin-typescript2'); +var pluginBabel = require('@rollup/plugin-babel'); +var analyze = require('rollup-plugin-analyzer'); +var cleanup = require('rollup-plugin-cleanup'); +var del = require('rollup-plugin-delete'); +var svgr = require('@svgr/rollup'); +var tsc = require('typescript'); + +/** + * Copyright Zendesk, Inc. + * + * Use of this source code is governed under the Apache License, Version 2.0 + * found at http://www.apache.org/licenses/LICENSE-2.0. + */ + + +const pkg = require(path.resolve('./package.json')); +const svgoConfig = require(path.resolve('../../.svgo.config.js')); +const babelOptions = require(path.resolve('../../babel.config.js')); +const isTSPackage = fs.existsSync(path.resolve('tsconfig.build.json')); + +const externalPackages = [ + 'react', + 'react-dom', + 'prop-types', + 'styled-components', + 'react-uid', + '@zendeskgarden/react-theming', + ...Object.keys(pkg.dependencies || {}) +].map(external => new RegExp(`^${external}/?.*`, 'u')); + +const BANNER = `/** +* Copyright Zendesk, Inc. +* +* Use of this source code is governed under the Apache License, Version 2.0 +* found at http://www.apache.org/licenses/LICENSE-2.0. +*/`; + +var rollup_config = [ + { + input: pkg['zendeskgarden:src'], + /** + * Filter out dependencies that consumers + * will bundle during build time + */ + external: id => externalPackages.filter(regexp => regexp.test(id)).length > 0, + plugins: [ + /** + * Remove existing dist files and type definitions + */ + del({ targets: 'dist/*' }), + nodeResolve({ + mainFields: ['module', 'main', 'jsnext', 'browser'] + }), + commonjs({ + include: 'node_modules/**' + }), + svgr({ svgoConfig }), + isTSPackage && + typescript({ + check: false, + tsconfig: 'tsconfig.build.json', + useTsconfigDeclarationDir: true, + typescript: tsc + }), + pluginBabel.babel({ + babelHelpers: 'bundled', + babelrc: false, + exclude: 'node_modules/**', // only transpile our source code + ...babelOptions, + extensions: ['.tsx', '.ts', ...core.DEFAULT_EXTENSIONS] + }), + /** + * Replace PACKAGE_VERSION constant with the current package version + */ + replace({ PACKAGE_VERSION: `'${pkg.version}'`, preventAssignment: true }), + /** + * Remove comments from source files + */ + cleanup({ extensions: ['js', 'jsx', 'ts', 'tsx'] }), + /** + * Only enforce matching size snapshot files in CI environments + */ + // sizeSnapshot({ + // matchSnapshot: !!process.env.CI, + // printInfo: !!process.env.CI || !!process.env.ANALYZE_BUNDLE + // }), + !!process.env.ANALYZE_BUNDLE && analyze({ summaryOnly: true }) + ], + output: [ + { + file: pkg.main, + format: 'cjs', + interop: 'auto', + banner: BANNER // Apply global Zendesk license + }, + { + dir: path.dirname(pkg.module), + format: 'es', + preserveModules: true, + preserveModulesRoot: 'src', + entryFileNames: '[name].js', + banner: BANNER // Apply global Zendesk license + } + ] + } +]; + +exports.default = rollup_config; diff --git a/utils/build/rollup.config-1714675504049.cjs b/utils/build/rollup.config-1714675504049.cjs new file mode 100644 index 00000000000..42252b31839 --- /dev/null +++ b/utils/build/rollup.config-1714675504049.cjs @@ -0,0 +1,119 @@ +'use strict'; + +Object.defineProperty(exports, '__esModule', { value: true }); + +var path = require('path'); +var fs = require('fs'); +var core = require('@babel/core'); +var commonjs = require('@rollup/plugin-commonjs'); +var replace = require('@rollup/plugin-replace'); +var nodeResolve = require('@rollup/plugin-node-resolve'); +var typescript = require('rollup-plugin-typescript2'); +var pluginBabel = require('@rollup/plugin-babel'); +var analyze = require('rollup-plugin-analyzer'); +var cleanup = require('rollup-plugin-cleanup'); +var del = require('rollup-plugin-delete'); +var svgr = require('@svgr/rollup'); +var tsc = require('typescript'); + +/** + * Copyright Zendesk, Inc. + * + * Use of this source code is governed under the Apache License, Version 2.0 + * found at http://www.apache.org/licenses/LICENSE-2.0. + */ + + +const pkg = require(path.resolve('./package.json')); +const svgoConfig = require(path.resolve('../../.svgo.config.js')); +const babelOptions = require(path.resolve('../../babel.config.js')); +const isTSPackage = fs.existsSync(path.resolve('tsconfig.build.json')); + +const externalPackages = [ + 'react', + 'react-dom', + 'prop-types', + 'styled-components', + 'react-uid', + '@zendeskgarden/react-theming', + ...Object.keys(pkg.dependencies || {}) +].map(external => new RegExp(`^${external}/?.*`, 'u')); + +const BANNER = `/** +* Copyright Zendesk, Inc. +* +* Use of this source code is governed under the Apache License, Version 2.0 +* found at http://www.apache.org/licenses/LICENSE-2.0. +*/`; + +var rollup_config = [ + { + input: pkg['zendeskgarden:src'], + /** + * Filter out dependencies that consumers + * will bundle during build time + */ + external: id => externalPackages.filter(regexp => regexp.test(id)).length > 0, + plugins: [ + /** + * Remove existing dist files and type definitions + */ + del({ targets: 'dist/*' }), + nodeResolve({ + mainFields: ['module', 'main', 'jsnext', 'browser'] + }), + commonjs({ + include: 'node_modules/**' + }), + svgr({ svgoConfig }), + isTSPackage && + typescript({ + check: false, + tsconfig: 'tsconfig.build.json', + useTsconfigDeclarationDir: true, + typescript: tsc + }), + pluginBabel.babel({ + babelHelpers: 'bundled', + babelrc: false, + exclude: 'node_modules/**', // only transpile our source code + ...babelOptions, + extensions: ['.tsx', '.ts', ...core.DEFAULT_EXTENSIONS] + }), + /** + * Replace PACKAGE_VERSION constant with the current package version + */ + replace({ PACKAGE_VERSION: `'${pkg.version}'`, preventAssignment: true }), + /** + * Remove comments from source files + */ + cleanup({ extensions: ['js', 'jsx', 'ts', 'tsx'] }), + /** + * Only enforce matching size snapshot files in CI environments + */ + // sizeSnapshot({ + // matchSnapshot: !!process.env.CI, + // printInfo: !!process.env.CI || !!process.env.ANALYZE_BUNDLE + // }), + !!process.env.ANALYZE_BUNDLE && analyze({ summaryOnly: true }) + ], + output: [ + { + file: pkg.main, + format: 'cjs', + interop: 'auto', + banner: BANNER // Apply global Zendesk license + }, + { + dir: path.dirname(pkg.module), + format: 'es', + preserveModules: true, + preserveModulesRoot: 'src', + entryFileNames: '[name].js', + banner: BANNER // Apply global Zendesk license + } + ] + } +]; + +exports.default = rollup_config; diff --git a/utils/build/rollup.config-1714675504426.cjs b/utils/build/rollup.config-1714675504426.cjs new file mode 100644 index 00000000000..42252b31839 --- /dev/null +++ b/utils/build/rollup.config-1714675504426.cjs @@ -0,0 +1,119 @@ +'use strict'; + +Object.defineProperty(exports, '__esModule', { value: true }); + +var path = require('path'); +var fs = require('fs'); +var core = require('@babel/core'); +var commonjs = require('@rollup/plugin-commonjs'); +var replace = require('@rollup/plugin-replace'); +var nodeResolve = require('@rollup/plugin-node-resolve'); +var typescript = require('rollup-plugin-typescript2'); +var pluginBabel = require('@rollup/plugin-babel'); +var analyze = require('rollup-plugin-analyzer'); +var cleanup = require('rollup-plugin-cleanup'); +var del = require('rollup-plugin-delete'); +var svgr = require('@svgr/rollup'); +var tsc = require('typescript'); + +/** + * Copyright Zendesk, Inc. + * + * Use of this source code is governed under the Apache License, Version 2.0 + * found at http://www.apache.org/licenses/LICENSE-2.0. + */ + + +const pkg = require(path.resolve('./package.json')); +const svgoConfig = require(path.resolve('../../.svgo.config.js')); +const babelOptions = require(path.resolve('../../babel.config.js')); +const isTSPackage = fs.existsSync(path.resolve('tsconfig.build.json')); + +const externalPackages = [ + 'react', + 'react-dom', + 'prop-types', + 'styled-components', + 'react-uid', + '@zendeskgarden/react-theming', + ...Object.keys(pkg.dependencies || {}) +].map(external => new RegExp(`^${external}/?.*`, 'u')); + +const BANNER = `/** +* Copyright Zendesk, Inc. +* +* Use of this source code is governed under the Apache License, Version 2.0 +* found at http://www.apache.org/licenses/LICENSE-2.0. +*/`; + +var rollup_config = [ + { + input: pkg['zendeskgarden:src'], + /** + * Filter out dependencies that consumers + * will bundle during build time + */ + external: id => externalPackages.filter(regexp => regexp.test(id)).length > 0, + plugins: [ + /** + * Remove existing dist files and type definitions + */ + del({ targets: 'dist/*' }), + nodeResolve({ + mainFields: ['module', 'main', 'jsnext', 'browser'] + }), + commonjs({ + include: 'node_modules/**' + }), + svgr({ svgoConfig }), + isTSPackage && + typescript({ + check: false, + tsconfig: 'tsconfig.build.json', + useTsconfigDeclarationDir: true, + typescript: tsc + }), + pluginBabel.babel({ + babelHelpers: 'bundled', + babelrc: false, + exclude: 'node_modules/**', // only transpile our source code + ...babelOptions, + extensions: ['.tsx', '.ts', ...core.DEFAULT_EXTENSIONS] + }), + /** + * Replace PACKAGE_VERSION constant with the current package version + */ + replace({ PACKAGE_VERSION: `'${pkg.version}'`, preventAssignment: true }), + /** + * Remove comments from source files + */ + cleanup({ extensions: ['js', 'jsx', 'ts', 'tsx'] }), + /** + * Only enforce matching size snapshot files in CI environments + */ + // sizeSnapshot({ + // matchSnapshot: !!process.env.CI, + // printInfo: !!process.env.CI || !!process.env.ANALYZE_BUNDLE + // }), + !!process.env.ANALYZE_BUNDLE && analyze({ summaryOnly: true }) + ], + output: [ + { + file: pkg.main, + format: 'cjs', + interop: 'auto', + banner: BANNER // Apply global Zendesk license + }, + { + dir: path.dirname(pkg.module), + format: 'es', + preserveModules: true, + preserveModulesRoot: 'src', + entryFileNames: '[name].js', + banner: BANNER // Apply global Zendesk license + } + ] + } +]; + +exports.default = rollup_config;