Skip to content

Commit 57b13da

Browse files
authored
New core repository (#6950)
This PR introduces the following major changes: remove old middleware (nuxt-based) package and copy https://github.com/vuestorefront/middleware in its place (vuestorefront/middleware repo should be archived in the future) copy https://github.com/vuestorefront/sdk to the repo (sdk repo should be archived) remove all other packages except packages/cli (the removed packages are backed up on the legacy branch due to support reasons) Minor/secondary changes: start using unified ci/cd for all packages; align containing code with the integrations team eslint config etc. setup sonarcloud for all 3 packages internal ticket: IN-3345
1 parent 0d1c526 commit 57b13da

File tree

474 files changed

+20973
-29204
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

474 files changed

+20973
-29204
lines changed

.editorconfig

Lines changed: 0 additions & 17 deletions
This file was deleted.

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
packages/cache/nuxt/plugin.js
55
packages/nuxt-module/plugins/i18n-cookies.js
66
packages/nuxt-module/plugins/logger.js
7-
packages/cli/dist
7+
packages/cli/dist
8+
packages/middleware/__tests__/unit/test-data/*

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: "@vue-storefront/eslint-config-integrations",
3+
};

.eslintrc.json

Lines changed: 0 additions & 138 deletions
This file was deleted.

.github/labeler.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/semantic.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/stale.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: VSF Continuous Delivery
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
release-packages:
11+
name: "Release NPM Packages"
12+
uses: vuestorefront/integrations-github-workflows/.github/workflows/continuous-delivery.yml@main
13+
secrets: inherit
14+
with:
15+
enterprise: false
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
on:
2+
pull_request:
3+
types: ['opened', 'edited', 'reopened', 'synchronize']
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
continous-integration:
11+
name: 'Continuous Integration'
12+
uses: vuestorefront/integrations-github-workflows/.github/workflows/continuous-integration.yml@main
13+
secrets: inherit
14+
with:
15+
enterprise: false
16+
17+
sonarcloud-sdk:
18+
name: 'SonarCloud SDK'
19+
needs: [continous-integration]
20+
uses: vuestorefront/integrations-github-workflows/.github/workflows/sonarcloud.yml@main
21+
secrets:
22+
SONARCLOUD_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
23+
with:
24+
project_key: 'vuestorefront_vue-storefront_sdk'
25+
package_name: 'sdk'
26+
exclusions: '*.config.js,src/index.ts,src/api-extractor-data.ts,**/types/**'
27+
28+
sonarcloud-cli:
29+
name: 'SonarCloud CLI'
30+
needs: [continous-integration]
31+
uses: vuestorefront/integrations-github-workflows/.github/workflows/sonarcloud.yml@main
32+
secrets:
33+
SONARCLOUD_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
34+
with:
35+
project_key: 'vuestorefront_vue-storefront_cli'
36+
package_name: 'cli'
37+
exclusions: '*.config.js,*.config.*.ts,src/index.ts,src/connector.ts,src/api-extractor-data.ts,**/types/**,'
38+
39+
sonarcloud-middleware:
40+
name: 'SonarCloud Middleware'
41+
needs: [continous-integration]
42+
uses: vuestorefront/integrations-github-workflows/.github/workflows/sonarcloud.yml@main
43+
secrets:
44+
SONARCLOUD_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
45+
with:
46+
project_key: 'vuestorefront_vue-storefront_middleware'
47+
package_name: 'middleware'
48+
exclusions: '*.config.js,*.config.*.ts,src/index.ts,src/connector.ts,src/api-extractor-data.ts,**/types/**,'

.github/workflows/conventional-pr-name.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)