diff --git a/.prettierrc.js b/.prettierrc.js deleted file mode 100644 index 936ee0601..000000000 --- a/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@spryker/frontend-config.prettier/.prettierrc.json'); diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 000000000..748c8cd42 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,28 @@ +{ + "printWidth": 120, + "tabWidth": 4, + "useTabs": false, + "semi": true, + "singleQuote": true, + "quoteProps": "as-needed", + "trailingComma": "all", + "bracketSpacing": true, + "arrowParens": "always", + "proseWrap": "preserve", + "endOfLine": "lf", + "overrides": [ + { + "files": "*.xml", + "options": { + "printWidth": 140 + }, + "excludeFiles": ["*.schema.xml", "*.transfer.xml"] + }, + { + "files": ["*.schema.xml", "*.transfer.xml"], + "options": { + "printWidth": 300 + } + } + ] +} diff --git a/libs/button/src/lib/button-core/theme/button-core.component.theme.less b/libs/button/src/lib/button-core/theme/button-core.component.theme.less index c2bdd1d7a..dadd0aa2e 100644 --- a/libs/button/src/lib/button-core/theme/button-core.component.theme.less +++ b/libs/button/src/lib/button-core/theme/button-core.component.theme.less @@ -49,7 +49,7 @@ // Color variants - Primary @btn-primary-color: var(--spy-btn-primary-color, @spy-white); -@btn-primary-bg: var(--spy-btn-primary-bg, @primary-color); +@btn-primary-bg: var(--spy-btn-primary-bg, @spy-primary-color); @btn-primary-active-bg: var(--spy-btn-primary-active-bg, @green-dark); // Color variants - Default @@ -65,15 +65,15 @@ @btn-danger-active-bg: var(--spy-btn-danger-active-bg, @red-dark); // Color variants - Outline -@btn-outline-color: var(--spy-btn-outline-color, @green); -@btn-outline-border: var(--spy-btn-outline-border, @green); +@btn-outline-color: var(--spy-btn-outline-color, @spy-primary-color); +@btn-outline-border: var(--spy-btn-outline-border, @spy-primary-color); @btn-critical-outline-color: var(--spy-btn-critical-outline-color, @red); @btn-critical-outline-border: var(--spy-btn-critical-outline-border, @red); // Link and special states @btn-disable-border: var(--spy-btn-disable-border, @gray-light); @btn-link-padding: var(--spy-btn-link-padding, 2px 9px); -@btn-link-color: var(--spy-btn-link-color, @green); +@btn-link-color: var(--spy-btn-link-color, @spy-primary-color); @btn-link-color-hover: var(--spy-btn-link-color-hover, @green-dark); @btn-link-bg-active: var(--spy-btn-link-bg-active, @gray-lighter); @btn-icon-right-padding: var(--spy-btn-icon-right-padding, 8px); diff --git a/libs/button/src/lib/button-toggle/button-toggle.component.less b/libs/button/src/lib/button-toggle/button-toggle.component.less index b889310c5..0b1e33ad7 100644 --- a/libs/button/src/lib/button-toggle/button-toggle.component.less +++ b/libs/button/src/lib/button-toggle/button-toggle.component.less @@ -24,7 +24,7 @@ &:focus { color: @gray-dark; - border-color: @green; + border-color: @spy-primary-color; } &:active { @@ -41,18 +41,18 @@ } &--toggled { - color: @green; + color: @spy-primary-color; border-color: currentColor; &:focus { - color: @green; + color: @spy-primary-color; border-color: @green-dark; } &:active { background: @green-lighter; color: @green-dark; - border-color: @green; + border-color: @spy-primary-color; } &:hover { diff --git a/libs/carousel/src/lib/carousel/carousel.component.less b/libs/carousel/src/lib/carousel/carousel.component.less index c14e03eef..6264ed7fa 100644 --- a/libs/carousel/src/lib/carousel/carousel.component.less +++ b/libs/carousel/src/lib/carousel/carousel.component.less @@ -77,7 +77,7 @@ } &:active { - background-color: @green; + background-color: @spy-primary-color; border-color: @transparent; color: @white; } diff --git a/libs/carousel/src/lib/carousel/carousel.component.theme.less b/libs/carousel/src/lib/carousel/carousel.component.theme.less index 94ce7e4f9..5bd0ce1dc 100644 --- a/libs/carousel/src/lib/carousel/carousel.component.theme.less +++ b/libs/carousel/src/lib/carousel/carousel.component.theme.less @@ -29,7 +29,7 @@ @carousel-slide-height-sm: var(--spy-carousel-slide-height-sm, 240px); @carousel-thumb-border: var(--spy-carousel-thumb-border, 1px solid transparent); -@carousel-thumb-active-border: var(--spy-carousel-thumb-active-border, 1px solid @green); +@carousel-thumb-active-border: var(--spy-carousel-thumb-active-border, 1px solid @spy-primary-color); @carousel-navigation-button-padding: var(--spy-carousel-navigation-button-padding, 3px 0 0); @carousel-navigation-button-icon-color: var(--spy-carousel-navigation-button-icon-color, @gray-dark); diff --git a/libs/collapsible/src/lib/collapsible/collapsible.component.theme.less b/libs/collapsible/src/lib/collapsible/collapsible.component.theme.less index c84616e2c..31fa97d35 100644 --- a/libs/collapsible/src/lib/collapsible/collapsible.component.theme.less +++ b/libs/collapsible/src/lib/collapsible/collapsible.component.theme.less @@ -29,4 +29,4 @@ @collapse-content-padding: var(--spy-collapse-content-padding, 10px 18px); @collapse-header-icon-margin-right: var(--spy-collapse-header-icon-margin-right, 3px); @collapse-border: var(--spy-collapse-border, @collapse-panel-border-width solid @gray-light); -@collapse-focus-border: var(--spy-collapse-border, @collapse-panel-border-width solid @green); +@collapse-focus-border: var(--spy-collapse-border, @collapse-panel-border-width solid @spy-primary-color); diff --git a/libs/date-picker/src/lib/date-picker/date-picker.component.less b/libs/date-picker/src/lib/date-picker/date-picker.component.less index 798dc6019..0f75e4e04 100644 --- a/libs/date-picker/src/lib/date-picker/date-picker.component.less +++ b/libs/date-picker/src/lib/date-picker/date-picker.component.less @@ -25,10 +25,10 @@ } &-focused { - border-color: @green; + border-color: @spy-primary-color; &:hover { - border-color: @green; + border-color: @spy-primary-color; } } @@ -153,12 +153,12 @@ } &:focus { - border-color: @green; + border-color: @spy-primary-color; } &:active { - border-color: @green; - background-color: @green; + border-color: @spy-primary-color; + background-color: @spy-primary-color; background-image: @date-picker-icon-navigation-arrow-active; color: @spy-white; } @@ -234,7 +234,7 @@ &:focus { .ant-picker-cell-inner::after { - border-color: @green; + border-color: @spy-primary-color; } } @@ -260,7 +260,7 @@ &-selected.ant-picker-cell-in-view, &-selected { .ant-picker-cell-inner { - background-color: @green !important; + background-color: @spy-primary-color !important; color: @spy-white; } @@ -268,7 +268,7 @@ &:active, &:hover { .ant-picker-cell-inner { - background-color: @green !important; + background-color: @spy-primary-color !important; color: @spy-white; } } diff --git a/libs/drawer/src/lib/drawer-wrapper/drawer-wrapper.component.theme.less b/libs/drawer/src/lib/drawer-wrapper/drawer-wrapper.component.theme.less index d9598670c..5d2f96762 100644 --- a/libs/drawer/src/lib/drawer-wrapper/drawer-wrapper.component.theme.less +++ b/libs/drawer/src/lib/drawer-wrapper/drawer-wrapper.component.theme.less @@ -14,7 +14,7 @@ @border-radius-base 0 0 @border-radius-base ); @drawer-wrapper-action-border: var(--spy-drawer-wrapper-action-border, 1px solid @transparent); -@drawer-wrapper-action-hover-background: var(--spy-drawer-wrapper-action-hover-background, @green); +@drawer-wrapper-action-hover-background: var(--spy-drawer-wrapper-action-hover-background, @spy-primary-color); @drawer-wrapper-action-hover-color: var(--spy-drawer-wrapper-action-hover-color, @spy-white); @drawer-content-width: var(--spy-drawer-content-width, calc(100% - @drawer-wrapper-action-size)); @drawer-wrapper-z-index: var(--spy-drawer-wrapper-z-index, 0); diff --git a/libs/dropdown/src/lib/dropdown/dropdown.component.less b/libs/dropdown/src/lib/dropdown/dropdown.component.less index 888260253..efe189a28 100644 --- a/libs/dropdown/src/lib/dropdown/dropdown.component.less +++ b/libs/dropdown/src/lib/dropdown/dropdown.component.less @@ -35,7 +35,7 @@ &:focus { border-radius: @dropdown-menu-item-border-focus-radius; - border-color: @green; + border-color: @spy-primary-color; } } } diff --git a/libs/navigation/src/lib/navigation/navigation.component.theme.less b/libs/navigation/src/lib/navigation/navigation.component.theme.less index 5a5ddaac1..972755a77 100644 --- a/libs/navigation/src/lib/navigation/navigation.component.theme.less +++ b/libs/navigation/src/lib/navigation/navigation.component.theme.less @@ -34,7 +34,7 @@ @menu-item-radius: var(--spy-menu-item-radius, @border-radius-small); @menu-item-width: var(--spy-menu-item-width, 100%); @menu-item-border: var(--spy-menu-item-border, 2px solid @transparent); -@menu-item-focus-border: var(--spy-menu-item-focus-border, 2px solid @green); +@menu-item-focus-border: var(--spy-menu-item-focus-border, 2px solid @spy-primary-color); @menu-item-focus-box-shadow: var(--spy-menu-item-focus-box-shadow, inset @box-shadow-focus); @menu-item-submenu-padding: var(--spy-menu-item-submenu-padding, 14px 34px 14px 53px); @menu-item-submenu-submenu-padding: var(--spy-menu-item-submenu-submenu-padding, 11px 34px 11px 67px); diff --git a/libs/pagination/src/lib/pagination/pagination.component.less b/libs/pagination/src/lib/pagination/pagination.component.less index 2768ef76f..8c02081f4 100644 --- a/libs/pagination/src/lib/pagination/pagination.component.less +++ b/libs/pagination/src/lib/pagination/pagination.component.less @@ -49,7 +49,7 @@ } &:active { - border-color: @green; + border-color: @spy-primary-color; background-color: @spy-white; a { @@ -63,8 +63,8 @@ } &-item-active { - background-color: @green; - border-color: @green; + background-color: @spy-primary-color; + border-color: @spy-primary-color; pointer-events: none; a { @@ -99,7 +99,7 @@ &:active { .ant-pagination-icon { - color: @green; + color: @spy-primary-color; } } } diff --git a/libs/radio/src/lib/radio/radio.component.theme.less b/libs/radio/src/lib/radio/radio.component.theme.less index 612c976c8..b5575890c 100644 --- a/libs/radio/src/lib/radio/radio.component.theme.less +++ b/libs/radio/src/lib/radio/radio.component.theme.less @@ -6,11 +6,11 @@ @radio-border: var(--spy-radio-border, @spy-border-width-base solid @gray); @radio-inner-size: var(--spy-radio-inner-size, 10px); @radio-inner-margin: var(--spy-radio-inner-margin, calc(@radio-inner-size / -2) 0 0 calc(@radio-inner-size / -2)); -@radio-focus-border-color: var(--spy-radio-focus-border-color, @green); +@radio-focus-border-color: var(--spy-radio-focus-border-color, @spy-primary-color); @radio-disabled-border-color: var(--spy-radio-disabled-border-color, @gray); @radio-inner-disabled-background: var(--spy-radio-inner-disabled-background, @gray-dark); @radio-hover-border-color: var(--spy-radio-hover-border-color, @gray-dark); @radio-checked-background: var(--spy-radio-checked-background, @green-dark); -@radio-checked-focus-shadow: var(--spy-radio-checked-focus-shadow, 0 0 2px @green); +@radio-checked-focus-shadow: var(--spy-radio-checked-focus-shadow, 0 0 2px @spy-primary-color); @radio-label-color: var(--spy-radio-label-color, @ink); @radio-label-indent-x: var(--spy-radio-label-indent-x, 8px); diff --git a/libs/select/src/lib/select/select.component.less b/libs/select/src/lib/select/select.component.less index dbf45fdf7..adccc27ef 100644 --- a/libs/select/src/lib/select/select.component.less +++ b/libs/select/src/lib/select/select.component.less @@ -111,7 +111,7 @@ &.ant-select-focused:not(.ant-select-customize-input) { .ant-select-selector { - border-color: @green; + border-color: @spy-primary-color; } } @@ -246,7 +246,7 @@ } &__multiChecked { - background-color: @green; + background-color: @spy-primary-color; line-height: @checkbox-multi-select-checked-line-height; position: relative; display: none; @@ -273,7 +273,7 @@ background-color: @spy-white; &:focus { - border-color: @green; + border-color: @spy-primary-color; } &:hover { @@ -287,7 +287,7 @@ position: absolute; top: @select-menu-vertical-padding; right: @select-menu-horizontal-padding; - color: @green; + color: @spy-primary-color; font-size: @check-icon-size; } @@ -304,7 +304,7 @@ &-content-wrapper-selected, &-selected { &:not(.ant-select-item-option-disabled) { - color: @green; + color: @spy-primary-color; background-color: @green-lighter; } diff --git a/libs/styles/src/lib/themes/default/components/input.less b/libs/styles/src/lib/themes/default/components/input.less index 44f9a8db5..4fcae1201 100644 --- a/libs/styles/src/lib/themes/default/components/input.less +++ b/libs/styles/src/lib/themes/default/components/input.less @@ -13,7 +13,7 @@ @input-color: var(--spy-input-color, @ink); @input-border-color: var(--spy-input-border-color, @gray-light); @input-hover-border-color: var(--spy-input-hover-border-color, @border-color-base); -@input-focus-border-color: var(--spy-input-focus-border-color, @green); +@input-focus-border-color: var(--spy-input-focus-border-color, @spy-primary-color); @input-disabled-bg: var(--spy-input-disabled-bg, @spy-disabled-bg); @input-disabled-border: var(--spy-input-disabled-border, @gray-light); @input-icon-color: var(--spy-input-icon-color, @input-placeholder-color); diff --git a/libs/styles/src/lib/themes/default/mixins/active-mixin.less b/libs/styles/src/lib/themes/default/mixins/active-mixin.less index de52f4547..775d18e4f 100644 --- a/libs/styles/src/lib/themes/default/mixins/active-mixin.less +++ b/libs/styles/src/lib/themes/default/mixins/active-mixin.less @@ -1,9 +1,9 @@ /** * Provides active state for elements, configured by the passed parameters. - * @param {String} @color [@primary-color] + * @param {String} @color [@spy-primary-color] * @param {String} @box-shadow [@box-shadow-focus] */ -.active(@color: @primary-color, @box-shadow: @box-shadow-focus) { +.active(@color: @spy-primary-color, @box-shadow: @box-shadow-focus) { border-color: @color; outline: 0; box-shadow: @box-shadow; diff --git a/libs/styles/src/lib/themes/default/variables/colors.less b/libs/styles/src/lib/themes/default/variables/colors.less index 247ae4865..7388c4688 100644 --- a/libs/styles/src/lib/themes/default/variables/colors.less +++ b/libs/styles/src/lib/themes/default/variables/colors.less @@ -42,22 +42,22 @@ @global-bg-gray: var(--spy-global-bg-gray, @gray-lighter); @warning-color: #ff6800; -@spy-warning-color: var(--spy-warning-color, @orange); +@spy-warning-color: var(--spy-warning-color, @warning-color); @success-color: #11856e; -@spy-success-color: var(--spy-success-color, @green); +@spy-success-color: var(--spy-success-color, @success-color); @error-color: #c72712; -@spy-error-color: var(--spy-error-color, @red); +@spy-error-color: var(--spy-error-color, @error-color); @info-color: var(--spy-info-color, @blue); @primary-color: #11856e; -@spy-primary-color: var(--spy-primary-color, @green); +@spy-primary-color: var(--spy-primary-color, @primary-color); @normal-color: var(--spy-normal-color, @gray); @body-background: var(--spy-body-background, @gray-lighter); @component-background: var(--spy-component-background, @white); @border-color-base: var(--spy-border-color-base, @gray); @border-color-split: #dbdbdb; -@spy-border-color-split: var(--spy-border-color-split, @gray-light); +@spy-border-color-split: var(--spy-border-color-split, @border-color-split); @disabled-color: #71747b; -@spy-disabled-color: var(--spy-disabled-color, @gray-dark); +@spy-disabled-color: var(--spy-disabled-color, @disabled-color); @disabled-bg: #f5f5f5; -@spy-disabled-bg: var(--spy-disabled-bg, @gray-lighter); -@transparent: var(--spy-transparent, rgba(#fff, 0)); +@spy-disabled-bg: var(--spy-disabled-bg, @disabled-bg); +@transparent: var(--spy-transparent, transparent); diff --git a/libs/styles/src/lib/themes/default/variables/common.less b/libs/styles/src/lib/themes/default/variables/common.less index df5f8d242..5ec5cfab7 100644 --- a/libs/styles/src/lib/themes/default/variables/common.less +++ b/libs/styles/src/lib/themes/default/variables/common.less @@ -8,7 +8,7 @@ @border-radius-base: var(--spy-border-radius-base, 10px); @border-radius-large: var(--spy-border-radius-base, 24px); -@box-shadow-focus: var(--spy-box-shadow-focus, 0 0 3px @green); +@box-shadow-focus: var(--spy-box-shadow-focus, 0 0 3px @spy-primary-color); @box-shadow-base: var(--spy-box-shadow-base, 0 1px 3px @ink-effect); @box-shadow-1: var(--spy-box-shadow-1, 0 4px 12px @ink-effect); @box-shadow-2: var(--spy-box-shadow-2, 1px 3px 18px @ink-effect); diff --git a/libs/table.feature.editable/src/lib/table-editable-feature.component.less b/libs/table.feature.editable/src/lib/table-editable-feature.component.less index f2b951ed3..770e5f173 100644 --- a/libs/table.feature.editable/src/lib/table-editable-feature.component.less +++ b/libs/table.feature.editable/src/lib/table-editable-feature.component.less @@ -4,7 +4,7 @@ .ant-table { &-tbody > tr { &.ant-table-row--editable > td .ant-table-column-inner::after { - border-color: @green; + border-color: @spy-primary-color; } } } diff --git a/libs/table.feature.settings/src/lib/table-settings-feature.component.less b/libs/table.feature.settings/src/lib/table-settings-feature.component.less index ba2e002e2..c0319c1cd 100644 --- a/libs/table.feature.settings/src/lib/table-settings-feature.component.less +++ b/libs/table.feature.settings/src/lib/table-settings-feature.component.less @@ -83,7 +83,7 @@ &:hover, &:focus { - color: @green; + color: @spy-primary-color; } &:active { diff --git a/libs/table/src/lib/table-column-list/table-column-list.component.less b/libs/table/src/lib/table-column-list/table-column-list.component.less index 06f4ebd69..1201ebb8e 100644 --- a/libs/table/src/lib/table-column-list/table-column-list.component.less +++ b/libs/table/src/lib/table-column-list/table-column-list.component.less @@ -18,7 +18,7 @@ line-height: @table-column-list-trigger-line-height; padding: @table-column-list-trigger-padding; margin-bottom: @table-column-list-trigger-margin-bottom; - color: @green; + color: @spy-primary-color; border-radius: @border-radius-base; cursor: pointer; diff --git a/libs/table/src/lib/table/table.component.less b/libs/table/src/lib/table/table.component.less index a90463066..eebee6fc7 100644 --- a/libs/table/src/lib/table/table.component.less +++ b/libs/table/src/lib/table/table.component.less @@ -192,7 +192,7 @@ } &.ant-table-row--selected::after { - border-color: @green; + border-color: @spy-primary-color; } &.ant-table-row--editable::after { @@ -202,7 +202,7 @@ } &:focus::after { - border-color: @green; + border-color: @spy-primary-color; } } diff --git a/libs/tabs/src/lib/tabs/tabs.component.less b/libs/tabs/src/lib/tabs/tabs.component.less index 094ad08e2..552d5d9d2 100644 --- a/libs/tabs/src/lib/tabs/tabs.component.less +++ b/libs/tabs/src/lib/tabs/tabs.component.less @@ -200,7 +200,7 @@ .ant-tabs-custom-tab { &::before { - background-color: @green; + background-color: @spy-primary-color; } &-warning::before { @@ -215,7 +215,7 @@ color: @green-dark; &::before { - background-color: @green; + background-color: @spy-primary-color; } &-warning { diff --git a/libs/toggle/src/lib/toggle/toggle.component.less b/libs/toggle/src/lib/toggle/toggle.component.less index 9740b5c92..1f7cf19ca 100644 --- a/libs/toggle/src/lib/toggle/toggle.component.less +++ b/libs/toggle/src/lib/toggle/toggle.component.less @@ -11,7 +11,7 @@ font: @font-default; &--active { - color: @green; + color: @spy-primary-color; } &--disabled { diff --git a/libs/tree-select/src/lib/tree-select/tree-select.component.less b/libs/tree-select/src/lib/tree-select/tree-select.component.less index fff83a644..ce951571b 100644 --- a/libs/tree-select/src/lib/tree-select/tree-select.component.less +++ b/libs/tree-select/src/lib/tree-select/tree-select.component.less @@ -101,7 +101,7 @@ &-open { .ant-select-selector { - border-color: @green; + border-color: @spy-primary-color; box-shadow: @tree-select-focus-box-shadow; } @@ -189,7 +189,7 @@ background-color: @green-lighter; .ant-select-tree-node-content-wrapper { - color: @green; + color: @spy-primary-color; } } @@ -197,7 +197,7 @@ .ant-select-tree-checkbox-inner { &, &:hover { - border-color: @green; + border-color: @spy-primary-color; } } } @@ -247,8 +247,8 @@ &-indeterminate { .ant-select-tree-checkbox-inner { - background-color: @green; - border-color: @green; + background-color: @spy-primary-color; + border-color: @spy-primary-color; &::after { width: @tree-select-indeterminate-checkbox-inner-width; diff --git a/package-lock.json b/package-lock.json index 71a1786ba..52633c09d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,7 +53,6 @@ "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-node-resolve": "^16.0.2", "@rollup/plugin-typescript": "^12.1.4", - "@spryker/frontend-config.prettier": "^0.0.5", "@spryker/frontend-config.stylelint": "^0.0.6", "@storybook/addon-a11y": "^9.1.10", "@storybook/addon-designs": "^10.0.2", @@ -8201,6 +8200,18 @@ } } }, + "node_modules/@lerna/create/node_modules/@napi-rs/wasm-runtime": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.4.tgz", + "integrity": "sha512-9zESzOO5aDByvhIAsOy9TbpZ0Ur2AJbUI7UT73kcUTS2mxAMHOBaa1st/jAymNoCtvrit99kkzT1FZuXVcgfIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@emnapi/core": "^1.1.0", + "@emnapi/runtime": "^1.1.0", + "@tybys/wasm-util": "^0.9.0" + } + }, "node_modules/@lerna/create/node_modules/@npmcli/fs": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-5.0.0.tgz", @@ -8214,6 +8225,146 @@ "node": "^20.17.0 || >=22.9.0" } }, + "node_modules/@lerna/create/node_modules/@nx/nx-darwin-arm64": { + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-21.5.2.tgz", + "integrity": "sha512-PrfZbV2blRHoWLor+xDVwPY/dk46kbsmuTXCZRYlNAwko521Y9dCAJT0UOROic3zoUasQ+TwqsQextIcKCotIA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@lerna/create/node_modules/@nx/nx-darwin-x64": { + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-21.5.2.tgz", + "integrity": "sha512-YaLY2Cqbjrl+pDddHV7GFtokn81GLvoqg+i9k0Eiid8B0dDLBZpJ3VQKr4RkTzxBX38UuHbJUwrZc8L9z8vqEw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@lerna/create/node_modules/@nx/nx-freebsd-x64": { + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-21.5.2.tgz", + "integrity": "sha512-2z/Wd42/KHFyT0zRVxWHlaRBQz12Fd1A0FCGJzuWI8G2meh9tYt4MN96gQ4q/rLQ0fmfFEEECq6pmOfCi8t9Mg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@lerna/create/node_modules/@nx/nx-linux-arm-gnueabihf": { + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-21.5.2.tgz", + "integrity": "sha512-lY2O1py8x+l39XAFFuplKlzouPC9K/gERYEB/b5jHGf7PGfNj0BX2MDmUztgTty6kKUnkRele39aSoQqWok0gA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lerna/create/node_modules/@nx/nx-linux-arm64-gnu": { + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-21.5.2.tgz", + "integrity": "sha512-gcpkXXPpWaf8wB0FZUaKmk8Jdv+QMHLiOcQuuXYi1X0vbgotVTl/y+dccwG1EZml6V5JIRGtg2YDM61a7Olp1Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lerna/create/node_modules/@nx/nx-linux-arm64-musl": { + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-21.5.2.tgz", + "integrity": "sha512-oCSUwT0hORgFJWIGjwl6x4/2mVusw+3YAcSrvDePAXadjPSEMLZlJEE+4HExzqLFFBTxc+ucvyOIk08P4BtNJg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lerna/create/node_modules/@nx/nx-linux-x64-gnu": { + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-21.5.2.tgz", + "integrity": "sha512-rgJTQk0iaidxEIMOuRQJS36Sk4+qcpJP0uwymvgyoTpZyBdkX38NHH3D+E6sudPSFWsiVxJpkCzYE4ScSKF8Ew==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lerna/create/node_modules/@nx/nx-linux-x64-musl": { + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-21.5.2.tgz", + "integrity": "sha512-KeS36526VruYO9HzhFGqhE5tbps7e94DV0b4j5wfPr7V51EfPzvjAiMWllsQDARv67wdbQ80c0Wg516XTlekgA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lerna/create/node_modules/@nx/nx-win32-arm64-msvc": { + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-21.5.2.tgz", + "integrity": "sha512-jlRTycYKOiSqc0fcqvabOH/HZX9BOG0S8EGsLmqEr2OkJLZc25ByD1n22P486R2n+m8GQwL6pX+L1LPpOPmz0A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@lerna/create/node_modules/@nx/nx-win32-x64-msvc": { + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-21.5.2.tgz", + "integrity": "sha512-Ur8GPdz52kLS5uE9IQf0wBtGyvQm4Y3M1ZDjRkR+oGf26aVGNTK6C0+kMJPuggR4Z6lurmHYA34ViGi2hHPPpA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@lerna/create/node_modules/@sigstore/bundle": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-4.0.0.tgz", @@ -8334,6 +8485,16 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@lerna/create/node_modules/@tybys/wasm-util": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.9.0.tgz", + "integrity": "sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@lerna/create/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -8472,6 +8633,29 @@ } } }, + "node_modules/@lerna/create/node_modules/define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@lerna/create/node_modules/dotenv": { + "version": "16.4.7", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", + "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, "node_modules/@lerna/create/node_modules/execa": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/execa/-/execa-5.0.0.tgz", @@ -8590,6 +8774,32 @@ } } }, + "node_modules/@lerna/create/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna/create/node_modules/is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/@lerna/create/node_modules/is-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", @@ -8600,6 +8810,32 @@ "node": ">=8" } }, + "node_modules/@lerna/create/node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna/create/node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/@lerna/create/node_modules/js-yaml": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", @@ -8613,6 +8849,30 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/@lerna/create/node_modules/jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@lerna/create/node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@lerna/create/node_modules/lru-cache": { "version": "11.2.4", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz", @@ -8681,6 +8941,146 @@ "node": "^20.17.0 || >=22.9.0" } }, + "node_modules/@lerna/create/node_modules/nx": { + "version": "21.5.2", + "resolved": "https://registry.npmjs.org/nx/-/nx-21.5.2.tgz", + "integrity": "sha512-hvq3W6mWsNuXzO1VWXpVcbGuF3e4cx0PyPavy8RgZUinbnh3Gk+f+2DGXyjKEyAG3Ql0Nl3V4RJERZzXEVl7EA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@napi-rs/wasm-runtime": "0.2.4", + "@yarnpkg/lockfile": "^1.1.0", + "@yarnpkg/parsers": "3.0.2", + "@zkochan/js-yaml": "0.0.7", + "axios": "^1.8.3", + "chalk": "^4.1.0", + "cli-cursor": "3.1.0", + "cli-spinners": "2.6.1", + "cliui": "^8.0.1", + "dotenv": "~16.4.5", + "dotenv-expand": "~11.0.6", + "enquirer": "~2.3.6", + "figures": "3.2.0", + "flat": "^5.0.2", + "front-matter": "^4.0.2", + "ignore": "^5.0.4", + "jest-diff": "^30.0.2", + "jsonc-parser": "3.2.0", + "lines-and-columns": "2.0.3", + "minimatch": "9.0.3", + "node-machine-id": "1.1.12", + "npm-run-path": "^4.0.1", + "open": "^8.4.0", + "ora": "5.3.0", + "resolve.exports": "2.0.3", + "semver": "^7.5.3", + "string-width": "^4.2.3", + "tar-stream": "~2.2.0", + "tmp": "~0.2.1", + "tree-kill": "^1.2.2", + "tsconfig-paths": "^4.1.2", + "tslib": "^2.3.0", + "yaml": "^2.6.0", + "yargs": "^17.6.2", + "yargs-parser": "21.1.1" + }, + "bin": { + "nx": "bin/nx.js", + "nx-cloud": "bin/nx-cloud.js" + }, + "optionalDependencies": { + "@nx/nx-darwin-arm64": "21.5.2", + "@nx/nx-darwin-x64": "21.5.2", + "@nx/nx-freebsd-x64": "21.5.2", + "@nx/nx-linux-arm-gnueabihf": "21.5.2", + "@nx/nx-linux-arm64-gnu": "21.5.2", + "@nx/nx-linux-arm64-musl": "21.5.2", + "@nx/nx-linux-x64-gnu": "21.5.2", + "@nx/nx-linux-x64-musl": "21.5.2", + "@nx/nx-win32-arm64-msvc": "21.5.2", + "@nx/nx-win32-x64-msvc": "21.5.2" + }, + "peerDependencies": { + "@swc-node/register": "^1.8.0", + "@swc/core": "^1.3.85" + }, + "peerDependenciesMeta": { + "@swc-node/register": { + "optional": true + }, + "@swc/core": { + "optional": true + } + } + }, + "node_modules/@lerna/create/node_modules/nx/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@lerna/create/node_modules/nx/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@lerna/create/node_modules/open": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", + "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@lerna/create/node_modules/ora": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.3.0.tgz", + "integrity": "sha512-zAKMgGXUim0Jyd6CXK9lraBnD3H5yPGBPPOkC23a2BG6hsm4Zu6OQSjQuEtV0BHDf4aKHcUFvJiGRrFuW3MG8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "log-symbols": "^4.0.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@lerna/create/node_modules/pacote": { "version": "21.0.1", "resolved": "https://registry.npmjs.org/pacote/-/pacote-21.0.1.tgz", @@ -8730,6 +9130,21 @@ "node": ">=18" } }, + "node_modules/@lerna/create/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/@lerna/create/node_modules/rimraf": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.4.1.tgz", @@ -8873,6 +9288,23 @@ "node": "^20.17.0 || >=22.9.0" } }, + "node_modules/@lerna/create/node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/@lerna/create/node_modules/tinyglobby": { "version": "0.2.12", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.12.tgz", @@ -19494,13 +19926,6 @@ "@sinonjs/commons": "^3.0.1" } }, - "node_modules/@spryker/frontend-config.prettier": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/@spryker/frontend-config.prettier/-/frontend-config.prettier-0.0.5.tgz", - "integrity": "sha512-686bC/JYjdg9zriD6D/Y+6vpAOfSTe97UPUE0735C/gqau+RobncX07BgGusMQ50ArpLz8vWpa3dwwjW7FiQPw==", - "dev": true, - "license": "MIT" - }, "node_modules/@spryker/frontend-config.stylelint": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/@spryker/frontend-config.stylelint/-/frontend-config.stylelint-0.0.6.tgz", diff --git a/package.json b/package.json index 430a6b72b..83000c64b 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,6 @@ "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-node-resolve": "^16.0.2", "@rollup/plugin-typescript": "^12.1.4", - "@spryker/frontend-config.prettier": "^0.0.5", "@spryker/frontend-config.stylelint": "^0.0.6", "@storybook/addon-a11y": "^9.1.10", "@storybook/addon-designs": "^10.0.2",