Skip to content

Commit

Permalink
chore: merge branch 'v2' into v2-develop
Browse files Browse the repository at this point in the history
  • Loading branch information
FRSgit committed May 25, 2023
2 parents 635b6ed + 1ef4305 commit cad819e
Show file tree
Hide file tree
Showing 13 changed files with 141 additions and 215 deletions.
2 changes: 2 additions & 0 deletions .vuestorefrontcloud/docs/Dockerfile
Expand Up @@ -25,3 +25,5 @@ RUN yarn build:docs

FROM nginx
COPY --from=build /var/www/apps/docs/components/.vuepress/dist /usr/share/nginx/html/v2
COPY .vuestorefrontcloud/docs/default.conf /etc/nginx/conf.d/default.conf

2 changes: 1 addition & 1 deletion .vuestorefrontcloud/docs/README.md
Expand Up @@ -4,6 +4,6 @@

You can debug dockerized docs image by following steps below:
- add `EXPOSE 80` command at the end of the Dockerfile in this folder next to this readme file,
- build image using `docker build -t docs -f .vuestorefrontcloud/docs/Dockerfile .`,
- build image using `DOCKER_BUILDKIT=1 docker build -t docs --build-arg VITE_DOCS_BASEPATH=/v2/ -f .vuestorefrontcloud/docs/Dockerfile .`,
- run image using `docker run -p 48080:80 docs`,
- open browser and go to the address `localhost:48080/v2/index.html` to see the docs page running.
13 changes: 13 additions & 0 deletions .vuestorefrontcloud/docs/default.conf
@@ -0,0 +1,13 @@
server {
listen 80;
server_name _;

location /v2/figma {
return 307 https://www.figma.com/file/7APRfAoRBRwsZeu07wN5Vg/Storefront-UI-%7C-Design-Kit-v2.2-(public);
}

location /v2 {
try_files $uri $uri.html $uri/ =404;
root /usr/share/nginx/html;
}
}
4 changes: 0 additions & 4 deletions .vuestorefrontcloud/router/docker/default.conf
Expand Up @@ -10,8 +10,4 @@ server {
location / {
return 301 https://docs.storefrontui.io/v2$uri$is_args$args;
}

location /v2/figma {
return 307 https://www.figma.com/file/7APRfAoRBRwsZeu07wN5Vg/Storefront-UI-%7C-Design-Kit-v2.2-(public)
}
}
10 changes: 10 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,13 @@
# 2.2.1 (2023-05-24)

## Overview

This is a patch release containing bug fixes to SFUI2.

## Bug fixes

- enable CJS support introduced by `react-merge-refs` dependency ([#2699](https://github.com/vuestorefront/storefront-ui/issues/2699), [c1c5b5fee](https://github.com/vuestorefront/storefront-ui/commit/c1c5b5feee1c7a7e2a2933f001e3f4239887f15d)).

# 2.2.0 (2023-05-11)

## Overview
Expand Down
2 changes: 1 addition & 1 deletion packages/config/tailwind/package.json
@@ -1,6 +1,6 @@
{
"name": "@storefront-ui/tailwind-config",
"version": "2.2.0",
"version": "2.2.1",
"license": "MIT",
"sideEffects": false,
"exports": {
Expand Down
@@ -1,4 +1,4 @@
import { useEffect, useRef, useState, useCallback } from 'react';
import { useEffect, useRef, useState } from 'react';
import { type UseScrollableOptions, Scrollable, composeHandlers, createPropsGetter } from '@storefront-ui/react';

export function useScrollable<TElement extends HTMLElement>({
Expand Down
2 changes: 1 addition & 1 deletion packages/sfui/frameworks/react/package.json
@@ -1,6 +1,6 @@
{
"name": "@storefront-ui/react",
"version": "2.2.0",
"version": "2.2.1",
"license": "MIT",
"sideEffects": false,
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sfui/frameworks/vue/package.json
@@ -1,6 +1,6 @@
{
"name": "@storefront-ui/vue",
"version": "2.2.0",
"version": "2.2.1",
"license": "MIT",
"sideEffects": false,
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sfui/shared/package.json
@@ -1,7 +1,7 @@
{
"name": "@storefront-ui/shared",
"description": "Shared set of utils and typings used by `@storefront-ui/*` packages",
"version": "2.2.0",
"version": "2.2.1",
"license": "MIT",
"sideEffects": false,
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sfui/tw-plugin-peer-next/package.json
@@ -1,7 +1,7 @@
{
"name": "@storefront-ui/tw-plugin-peer-next",
"description": "SFUI peer-next plugin for Tailwind",
"version": "2.2.0",
"version": "2.2.1",
"license": "MIT",
"sideEffects": false,
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sfui/typography/package.json
@@ -1,7 +1,7 @@
{
"name": "@storefront-ui/typography",
"description": "SFUI typography plugin for Tailwind",
"version": "2.2.0",
"version": "2.2.1",
"sideEffects": false,
"license": "MIT",
"exports": {
Expand Down

0 comments on commit cad819e

Please sign in to comment.