Skip to content

Commit

Permalink
Release by 11.06.2024 (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakutoc authored Jun 13, 2024
2 parents 623c2a0 + bbd5a66 commit 62c9d16
Show file tree
Hide file tree
Showing 129 changed files with 19,146 additions and 651 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/cypress-release-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Run cypress tests in release branch without conditions for all packages
name: Cypress component testing on release branch

on:
pull_request:
branches:
- master

concurrency:
# New commit on branch cancels running workflows of the same branch
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

jobs:
cypress:
if: ${{ startsWith(github.head_ref, 'release') }}
strategy:
fail-fast: false
matrix:
scope: [web,b2c,ui]

uses: ./.github/workflows/cypress-common.yml
with:
scope: ${{ matrix.scope }}
with-artifacts: true
secrets: inherit

cypress-react-17:
if: ${{ startsWith(github.head_ref, 'release') }}
strategy:
fail-fast: false
matrix:
scope: [web,b2c,ui]

uses: ./.github/workflows/cypress-common.yml
with:
scope: ${{ matrix.scope }}
with-react-17: true
with-artifacts: true
secrets: inherit
2 changes: 2 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ concurrency:

jobs:
state:
# cypress checks for "release branch" run in cypress-release-branch.yml file
if: ${{ !startsWith(github.head_ref, 'release') }}
uses: ./.github/workflows/change-detection.yml
secrets: inherit

Expand Down
18 changes: 9 additions & 9 deletions packages/plasma-asdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/plasma-asdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@salutejs/plasma-asdk",
"version": "0.85.0",
"version": "0.85.1-dev.0",
"description": "Salute Design System / React UI kit for Assistant web applications",
"author": "Salute Frontend Team <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -41,7 +41,7 @@
"@salutejs/plasma-colors": "0.13.0",
"@salutejs/plasma-core": "1.160.0",
"@salutejs/plasma-cy-utils": "0.92.0",
"@salutejs/plasma-icons": "1.193.0",
"@salutejs/plasma-icons": "1.193.1-dev.0",
"@salutejs/plasma-sb-utils": "0.158.0",
"@storybook/addon-docs": "7.6.17",
"@storybook/addon-essentials": "7.6.17",
Expand Down Expand Up @@ -98,4 +98,4 @@
"Fanil Zubairov"
],
"sideEffects": false
}
}
32 changes: 16 additions & 16 deletions packages/plasma-b2c/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions packages/plasma-b2c/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@salutejs/plasma-b2c",
"version": "1.327.0",
"version": "1.327.1-dev.0",
"description": "Salute Design System / React UI kit for business-related web applications",
"author": "Salute Frontend Team <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -43,7 +43,7 @@
},
"dependencies": {
"@salutejs/plasma-core": "1.160.0",
"@salutejs/plasma-hope": "1.280.0",
"@salutejs/plasma-hope": "1.280.1-dev.0",
"@salutejs/plasma-new-hope": "0.87.0",
"@salutejs/plasma-tokens-b2c": "0.50.0",
"@salutejs/plasma-tokens-web": "1.55.0",
Expand Down Expand Up @@ -71,7 +71,7 @@
"@rollup/plugin-node-resolve": "15.2.3",
"@salutejs/plasma-colors": "0.13.0",
"@salutejs/plasma-cy-utils": "0.92.0",
"@salutejs/plasma-icons": "1.193.0",
"@salutejs/plasma-icons": "1.193.1-dev.0",
"@salutejs/plasma-sb-utils": "0.158.0",
"@storybook/addon-docs": "7.6.17",
"@storybook/addon-essentials": "7.6.17",
Expand Down Expand Up @@ -107,4 +107,4 @@
"react"
],
"sideEffects": false
}
}
18 changes: 9 additions & 9 deletions packages/plasma-hope/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/plasma-hope/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@salutejs/plasma-hope",
"version": "1.280.0",
"version": "1.280.1-dev.0",
"description": "Salute Design System / Internal React UI kit for web applications",
"author": "Salute Frontend Team <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -58,7 +58,7 @@
"@microsoft/api-extractor": "7.38.3",
"@salutejs/plasma-colors": "0.13.0",
"@salutejs/plasma-cy-utils": "0.92.0",
"@salutejs/plasma-icons": "1.193.0",
"@salutejs/plasma-icons": "1.193.1-dev.0",
"@salutejs/plasma-sb-utils": "0.158.0",
"@salutejs/plasma-tokens-b2b": "1.40.0",
"@salutejs/plasma-tokens-b2c": "0.50.0",
Expand Down Expand Up @@ -113,4 +113,4 @@
"Vasiliy Loginevskiy"
],
"sideEffects": false
}
}
4 changes: 2 additions & 2 deletions packages/plasma-icons/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/plasma-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@salutejs/plasma-icons",
"version": "1.193.0",
"version": "1.193.1-dev.0",
"description": "Salute Design System Icons",
"main": "index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -76,4 +76,4 @@
"Чельцов Евгений Олегович"
],
"sideEffects": false
}
}
3 changes: 3 additions & 0 deletions packages/plasma-icons/scripts/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const removeFillOpacity = (source: string) => source.replace(/fill-opacity="(.*?

const setFillCurrentColor = (source: string) => source.replace(/fill="(.*?)"/gm, 'fill="currentColor"');

const setStrokeCurrentColor = (source: string) => source.replace(/stroke="(.*?)"/gm, 'stroke="currentColor"');

const convertCSSProperty = (source: string) =>
source.replace(
/([a-zA-Z-]*):(.*)/g,
Expand All @@ -33,6 +35,7 @@ export const getIconAsset = (source: string, iconName: string) => {
removeLineBreak,
getSvgContent,
setFillCurrentColor,
setStrokeCurrentColor,
removeFillOpacity,
convertInlineStyleToObject,
camelizeAttributes,
Expand Down
Loading

0 comments on commit 62c9d16

Please sign in to comment.