From 192a7613ad23b57b457c65c190da6048c2ab24dc Mon Sep 17 00:00:00 2001 From: Viktor Login Date: Mon, 2 Dec 2024 05:56:39 +0300 Subject: [PATCH] refactoring Signed-off-by: Viktor Login --- .github/dependabot.yml | 50 - .github/workflows/npm-publish.yaml | 10 +- .gitlab/ci/pipelines/ui/templates/nx.yml | 23 - .gitlab/ci/workflows/matrix_build_npm.yml | 2 +- .gitlab/dependabot.yml | 2 +- .run/ui-kit_ storybook.run.xml | 2 +- boundaries/platform/landscape/data.yml | 2 +- techstack.yml | 4449 --------------------- 8 files changed, 9 insertions(+), 4531 deletions(-) delete mode 100644 .gitlab/ci/pipelines/ui/templates/nx.yml delete mode 100644 techstack.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5253ba8f7fd..51ac42f03c9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -111,51 +111,6 @@ updates: schedule: interval: daily - - package-ecosystem: npm - directory: /boundaries/ui-monorepo - schedule: - interval: daily - - - package-ecosystem: npm - directory: /boundaries/ui-monorepo/packages/eslint/eslint-config-shortlink - schedule: - interval: daily - - - package-ecosystem: npm - directory: /boundaries/ui-monorepo/packages/eslint/eslint-plugin-shortlink - schedule: - interval: daily - - - package-ecosystem: npm - directory: /boundaries/ui-monorepo/packages/landing - schedule: - interval: daily - - - package-ecosystem: npm - directory: /boundaries/ui-monorepo/packages/next/components/Footer - schedule: - interval: daily - - - package-ecosystem: npm - directory: /boundaries/ui-monorepo/packages/next/components/Header - schedule: - interval: daily - - - package-ecosystem: npm - directory: /boundaries/ui-monorepo/packages/next/components/Testimonials - schedule: - interval: daily - - - package-ecosystem: npm - directory: /boundaries/ui-monorepo/packages/next - schedule: - interval: daily - - - package-ecosystem: npm - directory: /boundaries/ui-monorepo/packages/ui-kit - schedule: - interval: daily - - package-ecosystem: npm directory: /pkg/k8s/kube-secret-fetcher schedule: @@ -251,11 +206,6 @@ updates: schedule: interval: daily - - package-ecosystem: npm - directory: /boundaries/ui-monorepo/packages/shop - schedule: - interval: daily - - package-ecosystem: npm directory: /boundaries/shop/bff schedule: diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index 87d3c870433..685ef5a205e 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -3,7 +3,7 @@ name: Publish Package to npmjs on: push: paths: - - 'boundaries/ui-monorepo/packages/ui-kit/**' + - 'boundaries/platform/ui-kit/**' branches: - 'main' @@ -29,12 +29,12 @@ jobs: node-version: '20.x' registry-url: 'https://registry.npmjs.org' - run: pnpm install -g npm - working-directory: ./boundaries/ui-monorepo/packages/ui-kit + working-directory: ./boundaries/platform/ui-kit - run: pnpm ci - working-directory: ./boundaries/ui-monorepo/packages/ui-kit + working-directory: ./boundaries/platform/ui-kit - run: sed -i 's/@shortlink-org\/ui-kit/shortlink-ui-kit/g' package.json - working-directory: ./boundaries/ui-monorepo/packages/ui-kit + working-directory: ./boundaries/platform/ui-kit - run: pnpm publish --provenance --access public --registry https://registry.npmjs.org --scope=@batazor - working-directory: ./boundaries/ui-monorepo/packages/ui-kit + working-directory: ./boundaries/platform/ui-kit env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.gitlab/ci/pipelines/ui/templates/nx.yml b/.gitlab/ci/pipelines/ui/templates/nx.yml deleted file mode 100644 index 597b9a2772a..00000000000 --- a/.gitlab/ci/pipelines/ui/templates/nx.yml +++ /dev/null @@ -1,23 +0,0 @@ -include: - - local: .gitlab/ci/pipelines/ui/templates/cache.yml - -.nx: - extends: .cache - image: node:23.0.0-alpine - interruptible: true - variables: - GIT_DEPTH: 0 - NX_BATCH_MODE: "true" - NX_HEAD: $CI_COMMIT_SHA - NX_BASE: ${CI_MERGE_REQUEST_DIFF_BASE_SHA:-$CI_COMMIT_BEFORE_SHA} - before_script: - - corepack enable - - corepack prepare pnpm@latest-8 --activate - - - cd boundaries/ui-monorepo - - echo @shortlink-org:registry=https://gitlab.com/api/v4/packages/npm/ >> .npmrc - - echo @shortlink-org:registry=https://gitlab.com/api/v4/packages/npm/ >> ./packages/landing/.npmrc - - - apk add --no-cache git || apt-get install -y git - - pnpm config set store-dir .pnpm-store - - pnpm install diff --git a/.gitlab/ci/workflows/matrix_build_npm.yml b/.gitlab/ci/workflows/matrix_build_npm.yml index cd657111ca2..60a122b3bbf 100644 --- a/.gitlab/ci/workflows/matrix_build_npm.yml +++ b/.gitlab/ci/workflows/matrix_build_npm.yml @@ -5,4 +5,4 @@ parallel: matrix: - APPLICATION: ui-kit - PACKAGE_PATH: "boundaries/ui-monorepo/packages/ui-kit" + PACKAGE_PATH: "boundaries/platform/ui-kit" diff --git a/.gitlab/dependabot.yml b/.gitlab/dependabot.yml index 1292130c297..de877ee9f2e 100644 --- a/.gitlab/dependabot.yml +++ b/.gitlab/dependabot.yml @@ -152,7 +152,7 @@ updates: interval: daily - package-ecosystem: npm - directory: /boundaries/ui-monorepo/packages/ui-kit + directory: /boundaries/platform/ui-kit schedule: interval: daily diff --git a/.run/ui-kit_ storybook.run.xml b/.run/ui-kit_ storybook.run.xml index 7bcefe7f63f..64021214d1c 100644 --- a/.run/ui-kit_ storybook.run.xml +++ b/.run/ui-kit_ storybook.run.xml @@ -1,6 +1,6 @@ - +