Skip to content

Commit

Permalink
Release by 30.10.2024 (#1521)
Browse files Browse the repository at this point in the history
  • Loading branch information
TitanKuzmich authored Oct 31, 2024
2 parents 88dd3b8 + 825090f commit 9ff3e6b
Show file tree
Hide file tree
Showing 1,083 changed files with 249,688 additions and 17,300 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ packages/sdds-cs/*
packages/sdds-finportal/*
!packages/sdds-finportal/src

packages/sdds-insol/*
!packages/sdds-insol/src

packages/plasma-b2c/*
!packages/plasma-b2c/src

Expand Down
3 changes: 2 additions & 1 deletion .github/config-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"sdds-serv",
"sdds-dfa",
"sdds-cs",
"sdds-finportal"
"sdds-finportal",
"sdds-insol"
]
}
17 changes: 11 additions & 6 deletions .github/meta.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const commonScope = ['plasma-icons', 'plasma-sb-utils', 'plasma-tokens', 'plasma-tokens-utils'];
const commonScope = ['plasma-icons', 'plasma-sb-utils', 'plasma-tokens', 'plasma-tokens-utils', 'plasma-themes', 'core-themes'];

module.exports = {
'plasma-asdk': {
Expand All @@ -17,14 +17,14 @@ module.exports = {
'plasma-typo',
],
required: ['plasma-new-hope', 'plasma-core'],
themes: '',
themes: 'plasma-themes',
},
'plasma-new-hope': {
scope: [...commonScope, 'plasma-core'],
scope: [...commonScope, 'plasma-themes', 'plasma-core'],
required: ['plasma-core'],
},
'plasma-ui': {
scope: [...commonScope, 'plasma-core', 'plasma-typo'],
scope: ['plasma-icons', 'plasma-sb-utils', 'plasma-tokens', 'plasma-tokens-utils', 'plasma-core', 'plasma-typo'],
required: ['plasma-icons', 'plasma-core'],
themes: '',
},
Expand All @@ -40,11 +40,11 @@ module.exports = {
'plasma-typo',
],
required: ['plasma-new-hope', 'plasma-core'],
themes: '',
themes: 'plasma-themes',
},
'sdds-serv': {
scope: [...commonScope, 'sdds-themes', 'plasma-new-hope'],
required: ['plasma-core'],
required: ['plasma-new-hope', 'plasma-core'],
themes: 'sdds-themes',
},
'sdds-dfa': {
Expand All @@ -62,4 +62,9 @@ module.exports = {
required: ['plasma-core'],
themes: 'sdds-themes',
},
'sdds-insol': {
scope: [...commonScope, 'sdds-themes', 'plasma-new-hope'],
required: ['plasma-new-hope', 'plasma-core', 'sdds-themes'],
themes: 'sdds-themes',
},
};
2 changes: 1 addition & 1 deletion .github/workflows/ci-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
npm i --no-progress --no-audit react@17 react-dom@17 @types/[email protected] @types/react-dom@17 --prefix="./packages/plasma-web"
- name: Lerna bootstrap by scope
run: npx lerna bootstrap --scope=@salutejs/plasma-{ui,web,b2c,hope,new-hope,core,icons}
run: npx lerna bootstrap --scope=@salutejs/plasma-{ui,web,b2c,hope,new-hope,themes,core,icons}

- name: Unit tests for React 17
run: npm run test -- --scope=@salutejs/plasma-{ui,web,b2c}
4 changes: 2 additions & 2 deletions .github/workflows/cypress-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: ./.github/actions/prepare-environment

- name: Set default scope
run: echo "SCOPE={b2c,web,core,hope,new-hope,icons,typo,tokens,tokens-b2c,tokens-b2b,tokens-web,tokens-utils,cy-utils,ui}" >> $GITHUB_ENV
run: echo "SCOPE={b2c,web,core,hope,new-hope,themes,icons,typo,tokens,tokens-b2c,tokens-b2b,tokens-web,tokens-utils,cy-utils,ui}" >> $GITHUB_ENV

- name: Install React 17
if: ${{ inputs.with-react-17 }}
Expand All @@ -39,7 +39,7 @@ jobs:
npm i --no-progress react@17 react-dom@17 @types/[email protected] @types/react-dom@17 --prefix="./packages/plasma-web"
- name: Lerna bootstrap
run: npx lerna bootstrap --scope=@salutejs/plasma-${{env.SCOPE}} --scope="@salutejs/platform-test"
run: npx lerna bootstrap --scope=@salutejs/plasma-${{env.SCOPE}} --scope="@salutejs/platform-test" --scope="@salutejs/core-themes"

- name: Run Cypress CT for Plasma ${{ inputs.scope }}
if: ${{ success() }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/documentation-deploy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ jobs:
// INFO: Пока не починили медленный css build for b2c/web ставим plasma-new-hope
if (processedData.includes('plasma-b2c')) {
result.push('plasma-new-hope');
result.push('plasma-themes');
result.push('core-themes');
}
console.log('Result =>', result);
return `@salutejs/{${result.join(',')}}`;
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/documentation-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ jobs:
npm run build --prefix="./website/sdds-dfa-docs"
cp -R ./website/sdds-dfa-docs/build ./s3_build/next-${{ github.sha }}/sdds-dfa
- name: SDDS-INSOL Docs
run: |
npm run build --prefix="./website/sdds-insol-docs"
cp -R ./website/sdds-insol-docs/build ./s3_build/next-${{ github.sha }}/sdds-insol
- name: Plasma UI Storybook
run: |
npm run storybook:build --prefix="./packages/plasma-ui"
Expand Down Expand Up @@ -117,6 +122,11 @@ jobs:
run: |
npm run storybook:build --prefix="./packages/sdds-finportal"
cp -R ./packages/sdds-finportal/build-sb ./s3_build_sb/sdds-finportal-storybook
- name: Plasma "SDDS INSOL" Storybook
run: |
npm run storybook:build --prefix="./packages/sdds-insol"
cp -R ./packages/sdds-insol/build-sb ./s3_build_sb/sdds-insol-storybook
- name: Install s3cmd
run: pip3 install s3cmd
Expand Down Expand Up @@ -270,3 +280,18 @@ jobs:
sync
./s3_build_sb/sdds-finportal-storybook/
s3://${{ secrets.AWS_S3_BUCKET_2 }}/sdds-finportal-storybook/
- name: Upload to S3 storybook "SDDS Insol"
run: >
s3cmd
--access_key ${{ secrets.AWS_ACCESS_KEY_ID }}
--secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
--host ${{ secrets.AWS_ENDPOINT }}
--host-bucket ${{ secrets.AWS_ENDPOINT }}
--bucket-location ${{ secrets.AWS_REGION }}
--signature-v2
--delete-removed
--no-mime-magic
sync
./s3_build_sb/sdds-insol-storybook/
s3://${{ secrets.AWS_S3_BUCKET_2 }}/sdds-insol-storybook/
8 changes: 7 additions & 1 deletion .github/workflows/documentation-deploy-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,12 @@ jobs:
run: |
npm run storybook:build --prefix="./packages/sdds-finportal"
cp -R ./packages/sdds-finportal/build-sb ./s3_build/${PR_NAME}/sdds-finportal-storybook
- name: Plasma "SDDS INSOL" Storybook
run: |
npm run storybook:build --prefix="./packages/sdds-insol"
cp -R ./packages/sdds-insol/build-sb ./s3_build/${PR_NAME}/sdds-insol-storybook
- name: Install s3cmd
run: pip3 install s3cmd

Expand Down Expand Up @@ -149,5 +154,6 @@ jobs:
sdds-cs storybook: http://plasma.sberdevices.ru/pr/pr-${number}/sdds-cs-storybook/
sdds-dfa storybook: http://plasma.sberdevices.ru/pr/pr-${number}/sdds-dfa-storybook/
sdds-finportal storybook: http://plasma.sberdevices.ru/pr/pr-${number}/sdds-finportal-storybook/
sdds-insol storybook: http://plasma.sberdevices.ru/pr/pr-${number}/sdds-insol-storybook/
`
});
10 changes: 10 additions & 0 deletions .github/workflows/documentation-deploy-stage-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ jobs:
run: |
npm run build --prefix="./website/sdds-dfa-docs"
cp -R ./website/sdds-dfa-docs/build ./s3_build/sdds-dfa
- name: SDDS INSOL Docs
run: |
npm run build --prefix="./website/sdds-insol-docs"
cp -R ./website/sdds-insol-docs/build ./s3_build/sdds-insol
- name: Plasma UI Storybook
run: |
Expand Down Expand Up @@ -98,6 +103,11 @@ jobs:
npm run storybook:build --prefix="./packages/sdds-dfa"
cp -R ./packages/sdds-dfa/build-sb ./s3_build/sdds-dfa-storybook
- name: Plasma "SDDS INSOL" Storybook
run: |
npm run storybook:build --prefix="./packages/sdds-insol"
cp -R ./packages/sdds-insol/build-sb ./s3_build/sdds-insol-storybook
- name: Install s3cmd
run: pip3 install s3cmd

Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/documentation-deploy-stage-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ jobs:
npm run build --prefix="./website/sdds-dfa-docs"
cp -R ./website/sdds-dfa-docs/build ./s3_build/next-${{ github.sha }}/sdds-dfa
- name: Plasma SDDS INSOL Docs
run: |
npm run build --prefix="./website/sdds-insol-docs"
cp -R ./website/sdds-insol-docs/build ./s3_build/next-${{ github.sha }}/sdds-insol
- name: Plasma UI Storybook
run: |
npm run storybook:build --prefix="./packages/plasma-ui"
Expand Down Expand Up @@ -101,6 +106,11 @@ jobs:
npm run storybook:build --prefix="./packages/sdds-dfa"
cp -R ./packages/sdds-dfa/build-sb ./s3_build_sb/sdds-dfa-storybook
- name: Plasma "SDDS INSOL" Storybook
run: |
npm run storybook:build --prefix="./packages/sdds-insol"
cp -R ./packages/sdds-insol/build-sb ./s3_build_sb/sdds-insol-storybook
- name: Install s3cmd
run: pip3 install s3cmd

Expand Down Expand Up @@ -208,3 +218,18 @@ jobs:
sync
./s3_build_sb/sdds-serv-storybook/
s3://${{ secrets.AWS_S3_BUCKET_DEV_STAGE }}/sdds-serv-storybook/
- name: Upload to S3 storybook "SDDS INSOL"
run: >
s3cmd
--access_key ${{ secrets.AWS_ACCESS_KEY_ID }}
--secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
--host ${{ secrets.AWS_ENDPOINT }}
--host-bucket ${{ secrets.AWS_ENDPOINT }}
--bucket-location ${{ secrets.AWS_REGION }}
--signature-v2
--delete-removed
--no-mime-magic
sync
./s3_build_sb/sdds-insol-storybook/
s3://${{ secrets.AWS_S3_BUCKET_DEV_STAGE }}/sdds-insol-storybook/
2 changes: 1 addition & 1 deletion .github/workflows/performance-test-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: ./.github/actions/prepare-environment

- name: Lerna bootstrap
run: npx lerna bootstrap --scope=@salutejs/plasma-{core,hope,new-hope,web,b2c,asdk,ui,icons}
run: npx lerna bootstrap --scope=@salutejs/plasma-{core,hope,new-hope,themes,web,b2c,asdk,ui,icons}

- name: Install s3cmd
run: pip3 install s3cmd
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/performance-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Lerna bootstrap for PR
run: |
cd current
npx lerna bootstrap --scope=@salutejs/plasma-{core,hope,new-hope,web,b2c,asdk,ui,icons} --scope=@salutejs/perftest-helpers
npx lerna bootstrap --scope=@salutejs/plasma-{core,hope,new-hope,themes,web,b2c,asdk,ui,icons} --scope=@salutejs/perftest-helpers
- name: Setup packages for ${{ github.event.pull_request.base.ref }}
if: ${{ steps.cache_deps.outputs.cache-hit != 'true' || steps.node_modules_base.outputs.cache-hit != 'true' }}
Expand All @@ -104,7 +104,7 @@ jobs:
- name: Lerna bootstrap for ${{ github.event.pull_request.base.ref }}
run: |
cd baseline
npx lerna bootstrap --scope=@salutejs/plasma-{core,hope,new-hope,web,b2c,asdk,ui,icons} --scope=@salutejs/perftest-helpers
npx lerna bootstrap --scope=@salutejs/plasma-{core,hope,new-hope,themes,web,b2c,asdk,ui,icons} --scope=@salutejs/perftest-helpers
- name: Restore perftool cache
run: >
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ packages/sdds-serv/api/
packages/sdds-dfa/api/
packages/sdds-cs/api/
packages/sdds-finportal/api/
packages/sdds-insol/api/

utils/plasma-cy-utils/lib

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9ff3e6b

Please sign in to comment.