From 3692f02e96b6684163ed3db45971c532ce84bdf3 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 10:15:46 +0100 Subject: [PATCH 01/19] NEXT-33446 - get rid of developer portal pipelines --- .github/workflows/deploy-developer-portal.yml | 26 ------------- .../developer-portal-healthckeck.yml | 19 ---------- .github/workflows/update-healthcheck.yml | 38 ------------------- 3 files changed, 83 deletions(-) delete mode 100644 .github/workflows/deploy-developer-portal.yml delete mode 100644 .github/workflows/developer-portal-healthckeck.yml delete mode 100644 .github/workflows/update-healthcheck.yml diff --git a/.github/workflows/deploy-developer-portal.yml b/.github/workflows/deploy-developer-portal.yml deleted file mode 100644 index e9e91155b..000000000 --- a/.github/workflows/deploy-developer-portal.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This workflow is triggered whenever the main branch is updated -name: Deploy to DevHub - -# on: -# push: -# branches: -# - main - -on: workflow_dispatch - -jobs: - trigger-deployment: - name: Trigger deployment - runs-on: ubuntu-latest - steps: - - - uses: octokit/request-action@v2.x - name: Trigger deployment - with: - route: POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches - owner: shopware - repo: developer-portal - ref: main - workflow_id: checkout-test-build-deploy.yml - env: - GITHUB_TOKEN: ${{ secrets.DEV_HUB_PERSONAL_ACCESS_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/developer-portal-healthckeck.yml b/.github/workflows/developer-portal-healthckeck.yml deleted file mode 100644 index eb24a97ad..000000000 --- a/.github/workflows/developer-portal-healthckeck.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Healthcheck - -on: - pull_request: - branches: - - main - -jobs: - - create-healthcheck: - uses: shopware/developer-portal/.github/workflows/healthcheck.yml@main - with: - owner: ${{ github.repository_owner }} - repo: ${{ github.event.repository.name }} - branch: ${{ github.event.pull_request.head.ref }} - sha: ${{ github.event.pull_request.head.sha }} - secrets: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PERSONAL_TOKEN: ${{ secrets.DEV_HUB_PERSONAL_ACCESS_TOKEN }} diff --git a/.github/workflows/update-healthcheck.yml b/.github/workflows/update-healthcheck.yml deleted file mode 100644 index ee2e75d6c..000000000 --- a/.github/workflows/update-healthcheck.yml +++ /dev/null @@ -1,38 +0,0 @@ -# This workflow is triggered from developer-portal -name: Update healthcheck - -on: - workflow_dispatch: - inputs: - owner: - description: "Owner to checkout" - required: true - type: string - repo: - description: "Repo to checkout" - required: true - type: string - check: - description: "Check ID" - required: true - type: string - conclusion: - description: "Healthcheck conclusion" - required: true - type: string - run_id: - description: "Workflow run ID" - required: true - type: string - -jobs: - update-healthcheck: - uses: shopware/developer-portal/.github/workflows/update-healthcheck.yml@main - with: - owner: ${{ inputs.owner }} - repo: ${{ inputs.repo }} - check: ${{ inputs.check }} - conclusion: ${{ inputs.conclusion }} - run_id: ${{ inputs.run_id }} - secrets: - TOKEN: ${{ secrets.GITHUB_TOKEN }} From e4590349fadeb8b5796b33eaf832dc2e4a835c2e Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 10:53:41 +0100 Subject: [PATCH 02/19] NEXT-33446 - delete chromatic workflow --- .github/workflows/chromatic.yml | 34 --------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/workflows/chromatic.yml diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml deleted file mode 100644 index 459e7a836..000000000 --- a/.github/workflows/chromatic.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: 'Chromatic' - -on: - push: - branches: - - main - -jobs: - chromatic-deployment: - runs-on: ubuntu-latest - steps: - - name: Checkout the repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 # Required for the chromatic CLI to work - - - uses: pnpm/action-setup@v2 - with: - version: 8 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - - - name: Install main dependencies - run: pnpm ci - - - name: Publish to Chromatic - uses: chromaui/action@v1 - with: - projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} - zip: true - allowConsoleErrors: true From 3136fb33e019e485d78fca4f58add439bd18ffcb Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 10:58:48 +0100 Subject: [PATCH 03/19] test --- packages/admin-sdk/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/admin-sdk/README.md b/packages/admin-sdk/README.md index fb6dbd9c5..e17a5e572 100644 --- a/packages/admin-sdk/README.md +++ b/packages/admin-sdk/README.md @@ -1,4 +1,4 @@ -# meteor-admin-sdk + # meteor-admin-sdk [![Tests](https://github.com/shopware/meteor-admin-sdk/actions/workflows/tests.yml/badge.svg)](https://github.com/shopware/meteor-admin-sdk/actions/workflows/tests.yml) [![NPM Package](https://img.shields.io/npm/v/@shopware-ag/meteor-admin-sdk)](https://www.npmjs.com/package/@shopware-ag/meteor-admin-sdk) From 932d67c9b7154c7c5c0bdb79070cada0833fd3bd Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 11:02:55 +0100 Subject: [PATCH 04/19] NEXT-33446 - add node_modules caching between jobs --- .github/workflows/deployment.yml | 2 ++ .github/workflows/docs.yml | 2 ++ .github/workflows/preview.yml | 2 ++ .github/workflows/release.yml | 2 ++ .github/workflows/tests.yml | 8 ++++++++ .github/workflows/update-icons.yml | 2 ++ .github/workflows/visual-tests.yml | 2 ++ 7 files changed, 20 insertions(+) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 92ffdb38c..db1cd8c61 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -20,6 +20,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'pnpm' + cache-dependency-path: '**/pnpm-lock.yaml' - name: Install dependencies run: pnpm install --frozen-lockfile --prefer-offline diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d9f585b7e..58cc6627a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -31,6 +31,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'pnpm' + cache-dependency-path: '**/pnpm-lock.yaml' - name: Install dependencies run: pnpm install --frozen-lockfile --prefer-offline diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 5d1cf04f0..259e3f526 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -25,6 +25,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'pnpm' + cache-dependency-path: '**/pnpm-lock.yaml' - name: Install main dependencies run: pnpm install --frozen-lockfile --prefer-offline diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60fcbff90..e5ea20ef2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'pnpm' + cache-dependency-path: '**/pnpm-lock.yaml' - name: Install dependencies run: pnpm i diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fd4675405..59635dce8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,6 +28,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'pnpm' + cache-dependency-path: '**/pnpm-lock.yaml' - name: Install dependencies run: pnpm i @@ -59,6 +61,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'pnpm' + cache-dependency-path: '**/pnpm-lock.yaml' - name: Install dependencies run: pnpm install --frozen-lockfile --prefer-offline @@ -84,6 +88,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'pnpm' + cache-dependency-path: '**/pnpm-lock.yaml' - name: Install dependencies run: pnpm install --frozen-lockfile --prefer-offline @@ -111,6 +117,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'pnpm' + cache-dependency-path: '**/pnpm-lock.yaml' - name: Install dependencies run: pnpm install --frozen-lockfile --prefer-offline diff --git a/.github/workflows/update-icons.yml b/.github/workflows/update-icons.yml index 5d6fc906e..d4447bce5 100644 --- a/.github/workflows/update-icons.yml +++ b/.github/workflows/update-icons.yml @@ -23,6 +23,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'pnpm' + cache-dependency-path: '**/pnpm-lock.yaml' - name: Install dependencies run: pnpm install --frozen-lockfile --prefer-offline diff --git a/.github/workflows/visual-tests.yml b/.github/workflows/visual-tests.yml index 47fee067d..525d12700 100644 --- a/.github/workflows/visual-tests.yml +++ b/.github/workflows/visual-tests.yml @@ -27,6 +27,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'pnpm' + cache-dependency-path: '**/pnpm-lock.yaml' - name: Install dependencies run: pnpm install --frozen-lockfile --prefer-offline From 6089506f8258d275b53a8452824cd40e4f610a02 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 11:12:46 +0100 Subject: [PATCH 05/19] NEXT-33446 - only run jobs when needed --- .github/workflows/deployment.yml | 2 ++ .github/workflows/docs.yml | 7 ++++--- .github/workflows/preview.yml | 11 +++++------ .github/workflows/visual-tests.yml | 2 ++ 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index db1cd8c61..15a7c7d39 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -4,6 +4,8 @@ on: push: branches: - main + paths: + - 'packages/component-library/**' jobs: create-storybook-pages: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 58cc6627a..2522f0570 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,6 +1,9 @@ name: Docs -on: push +on: + push: + branches: + - main jobs: create-docs-icon-kit: @@ -10,7 +13,6 @@ jobs: uses: actions/checkout@v4 - name: Deploy redirect - if: github.ref == 'refs/heads/main' uses: JamesIves/github-pages-deploy-action@4.1.4 with: branch: gh-pages @@ -47,7 +49,6 @@ jobs: pnpm run doc - name: Deploy 🚀 - if: github.ref == 'refs/heads/trunk' uses: JamesIves/github-pages-deploy-action@4.1.4 with: branch: gh-pages diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 259e3f526..0e010c178 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -1,12 +1,11 @@ name: Deploy PR previews -on: +on: pull_request: - types: - - opened - - reopened - - synchronize - - closed + branches: + - main + paths: + - 'packages/component-library/**' concurrency: preview-${{ github.ref }} diff --git a/.github/workflows/visual-tests.yml b/.github/workflows/visual-tests.yml index 525d12700..a32740af3 100644 --- a/.github/workflows/visual-tests.yml +++ b/.github/workflows/visual-tests.yml @@ -4,6 +4,8 @@ on: push: branches: - main + paths: + - 'packages/component-library/**' workflow_dispatch: From fd013cfbcb0067473c5d72eb411db1e9cc241218 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 13:55:33 +0100 Subject: [PATCH 06/19] NEXT-33446 - remove scripts in root of repository --- .github/workflows/tests.yml | 8 ++++---- package.json | 11 +---------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 59635dce8..51b9454c7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,13 +35,13 @@ jobs: run: pnpm i - name: Check formatting - run: pnpm run format:check + run: pnpx turbo run format:check - name: Perform typecheck - run: pnpm run lint:types + run: pnpx turbo run lint:types - name: Lint code - run: pnpm run lint:eslint + run: pnpx turbo run lint:eslint unit-tests: name: Unit tests @@ -68,7 +68,7 @@ jobs: run: pnpm install --frozen-lockfile --prefer-offline - name: unit - run: pnpm run test:unit + run: pnpx turbo run test:unit circular-dependencies: name: Check for circular dependencies (Madge) diff --git a/package.json b/package.json index 04e707f68..1af7683d6 100644 --- a/package.json +++ b/package.json @@ -3,16 +3,7 @@ "version": "0.0.0", "private": true, "description": "The monorepo that contains all Meteor related projects", - "scripts": { - "build": "turbo run build", - "lint:all": "turbo run lint:all", - "lint:types": "turbo run lint:types", - "lint:eslint": "turbo run lint:eslint", - "format": "turbo run format", - "format:check": "turbo run format:check", - "test:unit": "turbo run test:unit", - "test:e2e": "turbo run test:e2e" - }, + "scripts": {}, "keywords": [], "license": "MIT", "devDependencies": { From df94d2dcc10dca823e592ab0c28b39f8f7f3bd31 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 13:57:35 +0100 Subject: [PATCH 07/19] NEXT-33446 - use --filter instead of --prefix in CI --- .github/workflows/deployment.yml | 2 +- .github/workflows/preview.yml | 2 +- .github/workflows/update-icons.yml | 4 ++-- .github/workflows/visual-tests.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 15a7c7d39..d7d0cf344 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -29,7 +29,7 @@ jobs: run: pnpm install --frozen-lockfile --prefer-offline - name: Create the static pages directory locally in CI - run: pnpm --prefix ./packages/component-library run build-storybook + run: pnpm --filter @shopware-ag/meteor-component-library run build-storybook - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@4.1.4 diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 0e010c178..8922ad92d 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -31,7 +31,7 @@ jobs: run: pnpm install --frozen-lockfile --prefer-offline - name: Create the static pages directory locally in CI - run: pnpm --prefix ./packages/component-library run build-storybook + run: pnpm --filter @shopware-ag/meteor-component-library run build-storybook - name: Deploy preview uses: rossjrw/pr-preview-action@v1 diff --git a/.github/workflows/update-icons.yml b/.github/workflows/update-icons.yml index d4447bce5..459e0d3a7 100644 --- a/.github/workflows/update-icons.yml +++ b/.github/workflows/update-icons.yml @@ -30,10 +30,10 @@ jobs: run: pnpm install --frozen-lockfile --prefer-offline - name: Build - run: pnpm --prefix ./packages/icon-kit run build + run: pnpm --filter @shopware-ag/meteor-component-library run build - name: Update icons - run: pnpm --prefix ./packages/icon-kit run start + run: pnpm --filter @shopware-ag/meteor-component-library run start - name: Create Pull Request uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/visual-tests.yml b/.github/workflows/visual-tests.yml index a32740af3..b7fe727d1 100644 --- a/.github/workflows/visual-tests.yml +++ b/.github/workflows/visual-tests.yml @@ -39,7 +39,7 @@ jobs: run: pnpm dlx playwright install - name: Create the static pages directory locally in CI - run: pnpm --prefix ./packages/component-library run build-storybook + run: pnpm --filter @shopware-ag/meteor-component-library run build-storybook - name: Run Tests id: storybookTests From cd4639f71e673f61d55bcff48f38bfdd1a8e71ae Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 13:58:25 +0100 Subject: [PATCH 08/19] NEXT-33446 - remove root format command --- turbo.json | 1 - 1 file changed, 1 deletion(-) diff --git a/turbo.json b/turbo.json index 8ba5da6ca..3958a9cfc 100644 --- a/turbo.json +++ b/turbo.json @@ -8,7 +8,6 @@ "lint:all": {}, "lint:types": {}, "lint:eslint": {}, - "format": {}, "format:check": {}, "test:unit": {}, "test:e2e": {} From 037170e9f5555fbc9d3f24475db7f41fbf725d8e Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 14:01:31 +0100 Subject: [PATCH 09/19] NEXT-33446 - define outputs for turbo tasks --- turbo.json | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/turbo.json b/turbo.json index 3958a9cfc..f57ab4025 100644 --- a/turbo.json +++ b/turbo.json @@ -5,11 +5,21 @@ "dependsOn": ["^build"], "env": ["API_KEY"] }, - "lint:all": {}, - "lint:types": {}, - "lint:eslint": {}, + "lint:all": { + "outputs": [] + }, + "lint:types": { + "outputs": [] + }, + "lint:eslint": { + "outputs": [] + }, "format:check": {}, - "test:unit": {}, - "test:e2e": {} + "test:unit": { + "outputs": [] + }, + "test:e2e": { + "outputs": [] + } } } From 1f81eb3e23c09d5c532eaa0751d7ed3a386f73f9 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 14:04:37 +0100 Subject: [PATCH 10/19] NEXT-33446 - rename build command of design-tokens to start --- packages/tokens/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tokens/package.json b/packages/tokens/package.json index 5a8c5acf9..9a8c5bca9 100644 --- a/packages/tokens/package.json +++ b/packages/tokens/package.json @@ -5,7 +5,7 @@ "main": "index.js", "type": "module", "scripts": { - "build": "tsx ./src/scripts/index.ts", + "start": "tsx ./src/scripts/index.ts", "test:unit": "vitest --run", "test:unit:watch": "vitest", "format": "prettier --write .", From 93fd4c0c16fa67d6c45cb1f4919e281120cb7347 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 14:09:10 +0100 Subject: [PATCH 11/19] NEXT-33446 - define outputs directories for build tasks --- turbo.json | 1 + 1 file changed, 1 insertion(+) diff --git a/turbo.json b/turbo.json index f57ab4025..ccee04c3c 100644 --- a/turbo.json +++ b/turbo.json @@ -3,6 +3,7 @@ "pipeline": { "build": { "dependsOn": ["^build"], + "outputs": ["dist/**", "es/**", "umd/**"], "env": ["API_KEY"] }, "lint:all": { From c19f82ac7a3fd521aaa0547c7339b7c91719924b Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 16:06:22 +0100 Subject: [PATCH 12/19] NEXT-33446 - cache visual test --- .github/workflows/visual-tests.yml | 9 +- packages/component-library/package.json | 8 +- pnpm-lock.yaml | 218 +++++++++++++++++++----- turbo.json | 7 + 4 files changed, 189 insertions(+), 53 deletions(-) diff --git a/.github/workflows/visual-tests.yml b/.github/workflows/visual-tests.yml index b7fe727d1..11f9e11d6 100644 --- a/.github/workflows/visual-tests.yml +++ b/.github/workflows/visual-tests.yml @@ -40,14 +40,15 @@ jobs: - name: Create the static pages directory locally in CI run: pnpm --filter @shopware-ag/meteor-component-library run build-storybook + + - name: Build storybook + run: pnpx turbo run build:storybook --filter=@shopware-ag/meteor-component-library - name: Run Tests - id: storybookTests run: | - cd ./packages/component-library && npx concurrently --kill-others --success first --names "SB,TEST" --prefix-colors "magenta,blue" \ - "http-server storybook-static -a 127.0.0.1 --port 6006" \ - "wait-on http://127.0.0.1:6006 && pnpm run test-storybook" + "pnpm --filter @shopware-ag/meteor-component-library run start:storybook" \ + "wait-on http://127.0.0.1:6006 && pnpx turbo run test:storybook --filter=@shopware-ag/meteor-component-library" - name: Archive visual test diffs uses: actions/upload-artifact@v3 diff --git a/packages/component-library/package.json b/packages/component-library/package.json index 5abe5253f..4aeaa498d 100644 --- a/packages/component-library/package.json +++ b/packages/component-library/package.json @@ -9,9 +9,9 @@ "lint:eslint": "eslint --ext .js,.ts,.vue src", "storybook": "SHOW_INTERACTIONS=true storybook dev -p 6006", "build": "vite build", - "build-storybook": "storybook build", - "test-storybook": "test-storybook --url http://127.0.0.1:6006", - "test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"http-server storybook-static -a 127.0.0.1 --port 6006 --silent\" \"wait-on tcp:6006 && npm run test-storybook\"", + "build:storybook": "storybook build", + "start:storybook": "serve ./storybook-static -p 6006 --no-request-logging", + "test:storybook": "test-storybook --url http://127.0.0.1:6006", "docker": "docker run -v $PWD/../../:/tests:delegated -w /tests -it --rm --ipc=host mcr.microsoft.com/playwright:v1.20.0-focal /bin/bash" }, "main": "dist/common/index.js", @@ -32,6 +32,7 @@ "inter-ui": "^3.19.3", "lodash-es": "^4.17.21", "punycode": "^2.1.1", + "serve": "^14.2.1", "v-click-outside": "^3.2.0", "vue-demi": "^0.13.11", "vue-smooth-reflow": "^0.1.12" @@ -73,7 +74,6 @@ "eslint-plugin-storybook": "^0.6.13", "eslint-plugin-vue": "^9.5.1", "flush-promises": "^1.0.2", - "http-server": "^14.1.1", "jest": "^27.5.1", "jest-image-snapshot": "6.1.0", "mini-css-extract-plugin": "^2.6.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 71f640c40..bf6871449 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -124,6 +124,9 @@ importers: punycode: specifier: ^2.1.1 version: 2.3.1 + serve: + specifier: ^14.2.1 + version: 14.2.1 v-click-outside: specifier: ^3.2.0 version: 3.2.0 @@ -242,9 +245,6 @@ importers: flush-promises: specifier: ^1.0.2 version: 1.0.2 - http-server: - specifier: ^14.1.1 - version: 14.1.1 jest: specifier: ^27.5.1 version: 27.5.1 @@ -7363,6 +7363,10 @@ packages: /@yr/monotone-cubic-spline@1.0.3: resolution: {integrity: sha512-FQXkOta0XBSUPHndIKON2Y9JeQz5ZeMqLYZVVK93FliNBFm7LNMIZmY6FrMEB9XPcDbE2bekMbZD6kzDkxwYjA==} + /@zeit/schemas@2.29.0: + resolution: {integrity: sha512-g5QiLIfbg3pLuYUJPlisNKY+epQJTcMDsOnVNkscrDP1oi7vmJnzOANYJI/1pZcVJ6umUkBv3aFtlg1UvUHGzA==} + dev: false + /abab@2.0.6: resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} deprecated: Use your platform's native atob() and btoa() methods instead @@ -7379,7 +7383,6 @@ packages: dependencies: mime-types: 2.1.35 negotiator: 0.6.3 - dev: true /ace-builds@1.32.5: resolution: {integrity: sha512-Mrh+qTitOomv1kANaRHO6jpxq6j8BzN9Duwb6pmpuB2sAsfv7MHH9j3LpRHS388uid2GisauC682bemmkdNXKg==} @@ -7509,6 +7512,15 @@ packages: uri-js: 4.4.1 dev: true + /ajv@8.11.0: + resolution: {integrity: sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==} + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + dev: false + /ajv@8.12.0: resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} dependencies: @@ -7518,6 +7530,12 @@ packages: uri-js: 4.4.1 dev: true + /ansi-align@3.0.1: + resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} + dependencies: + string-width: 4.2.3 + dev: false + /ansi-colors@4.1.3: resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} engines: {node: '>=6'} @@ -7584,7 +7602,6 @@ packages: /ansi-styles@6.2.1: resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} engines: {node: '>=12'} - dev: true /any-base@1.1.0: resolution: {integrity: sha512-uMgjozySS8adZZYePpaWs8cxB9/kdzmpX6SgJZ+wbz1K5eYk5QMYDVJaZKhxyIHUdnnJkfR7SVgStgH7LkGUyg==} @@ -7630,7 +7647,6 @@ packages: /arch@2.2.0: resolution: {integrity: sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==} - dev: true /archy@1.0.0: resolution: {integrity: sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==} @@ -7640,6 +7656,10 @@ packages: resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} dev: true + /arg@5.0.2: + resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} + dev: false + /argparse@1.0.10: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} dependencies: @@ -8124,7 +8144,6 @@ packages: /balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - dev: true /base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} @@ -8234,6 +8253,20 @@ packages: resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} dev: true + /boxen@7.0.0: + resolution: {integrity: sha512-j//dBVuyacJbvW+tvZ9HuH03fZ46QcaKvvhZickZqtB271DxJ7SNRSNxrV/dZX0085m7hISRZWbzWlJvx/rHSg==} + engines: {node: '>=14.16'} + dependencies: + ansi-align: 3.0.1 + camelcase: 7.0.1 + chalk: 5.3.0 + cli-boxes: 3.0.0 + string-width: 5.1.2 + type-fest: 2.19.0 + widest-line: 4.0.1 + wrap-ansi: 8.1.0 + dev: false + /bplist-parser@0.2.0: resolution: {integrity: sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==} engines: {node: '>= 5.10.0'} @@ -8246,7 +8279,6 @@ packages: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 - dev: true /brace-expansion@2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} @@ -8345,7 +8377,6 @@ packages: /bytes@3.0.0: resolution: {integrity: sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==} engines: {node: '>= 0.8'} - dev: true /bytes@3.1.2: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} @@ -8420,6 +8451,11 @@ packages: engines: {node: '>=10'} dev: true + /camelcase@7.0.1: + resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==} + engines: {node: '>=14.16'} + dev: false + /can-bind-to-host@1.1.2: resolution: {integrity: sha512-CqsgmaqiyFRNtP17Ihqa/uHbZxRirntNVNl/kJz31DLKuNRfzvzionkLoUSkElQ6Cz+cpXKA3mhHq4tjbieujA==} hasBin: true @@ -8463,6 +8499,13 @@ packages: pathval: 1.1.1 type-detect: 4.0.8 + /chalk-template@0.4.0: + resolution: {integrity: sha512-/ghrgmhfY8RaSdeo43hNXxpoHAtxdbskUHjPpfqUWGttFgycUhYPGx3YZBCnUCvOa7Doivn1IZec3DEGFoMgLg==} + engines: {node: '>=12'} + dependencies: + chalk: 4.1.2 + dev: false + /chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -8486,6 +8529,11 @@ packages: ansi-styles: 4.3.0 supports-color: 7.2.0 + /chalk@5.0.1: + resolution: {integrity: sha512-Fo07WOYGqMfCWHOzSXOt2CxDbC6skS/jO9ynEcmpANMoPrD+W1r1K6Vx7iNm+AQmETU1Xr2t+n8nzkV9t6xh3w==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + dev: false + /chalk@5.3.0: resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} @@ -8621,6 +8669,11 @@ packages: engines: {node: '>=6'} dev: true + /cli-boxes@3.0.0: + resolution: {integrity: sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==} + engines: {node: '>=10'} + dev: false + /cli-cursor@2.1.0: resolution: {integrity: sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==} engines: {node: '>=4'} @@ -8689,6 +8742,15 @@ packages: is-wsl: 2.2.0 dev: true + /clipboardy@3.0.0: + resolution: {integrity: sha512-Su+uU5sr1jkUy1sGRpLKjKrvEOVXgSgiSInwa/qeID6aJ07yh+5NWc3h2QfjHjBnfX4LhtFcuAWKUsJ3r+fjbg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + arch: 2.2.0 + execa: 5.1.1 + is-wsl: 2.2.0 + dev: false + /cliui@5.0.0: resolution: {integrity: sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==} dependencies: @@ -8856,7 +8918,6 @@ packages: engines: {node: '>= 0.6'} dependencies: mime-db: 1.52.0 - dev: true /compression@1.7.4: resolution: {integrity: sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==} @@ -8871,7 +8932,6 @@ packages: vary: 1.1.2 transitivePeerDependencies: - supports-color - dev: true /computeds@0.0.1: resolution: {integrity: sha512-7CEBgcMjVmitjYo5q8JTJVra6X5mQ20uTThdK+0kR7UEaDrAWEQcRiBtWJzga4eRpP6afNwwLsX2SET2JhVB1Q==} @@ -8879,7 +8939,6 @@ packages: /concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - dev: true /concat-stream@1.6.2: resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==} @@ -9127,6 +9186,11 @@ packages: resolution: {integrity: sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ==} dev: true + /content-disposition@0.5.2: + resolution: {integrity: sha512-kRGRZw3bLlFISDBgwTSA1TMBFN6J6GWDeubmDE3AF+3+yXL8hTWv8r5rkLbqYXY4RjPk/EzHnClI3zQf1cFmHA==} + engines: {node: '>= 0.6'} + dev: false + /content-disposition@0.5.4: resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==} engines: {node: '>= 0.6'} @@ -9544,7 +9608,6 @@ packages: optional: true dependencies: ms: 2.0.0 - dev: true /debug@3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} @@ -9626,7 +9689,6 @@ packages: /deep-extend@0.6.0: resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} engines: {node: '>=4.0.0'} - dev: true /deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} @@ -10080,7 +10142,6 @@ packages: /eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - dev: true /easy-stack@1.0.1: resolution: {integrity: sha512-wK2sCs4feiiJeFXn3zvY0p41mdU5VUgbgs1rNsc/y5ngFUijdWd+iIN8eoyuZHKB8xN6BL4PdWmzqFmxNg6V2w==} @@ -10142,7 +10203,6 @@ packages: /emoji-regex@9.2.2: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} - dev: true /emojis-list@3.0.0: resolution: {integrity: sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==} @@ -11133,7 +11193,6 @@ packages: onetime: 5.1.2 signal-exit: 3.0.7 strip-final-newline: 2.0.0 - dev: true /execa@8.0.1: resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} @@ -11319,7 +11378,6 @@ packages: /fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - dev: true /fast-fifo@1.3.2: resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==} @@ -11343,6 +11401,12 @@ packages: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} dev: true + /fast-url-parser@1.1.3: + resolution: {integrity: sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ==} + dependencies: + punycode: 1.4.1 + dev: false + /fastq@1.17.1: resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} dependencies: @@ -11929,7 +11993,6 @@ packages: /get-stream@6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} - dev: true /get-stream@8.0.1: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} @@ -12521,7 +12584,6 @@ packages: /human-signals@2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} - dev: true /human-signals@5.0.0: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} @@ -12628,7 +12690,6 @@ packages: /ini@1.3.8: resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} - dev: true /inquirer@8.2.6: resolution: {integrity: sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==} @@ -12798,7 +12859,6 @@ packages: resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} engines: {node: '>=8'} hasBin: true - dev: true /is-expression@4.0.0: resolution: {integrity: sha512-zMIXX63sxzG3XrkHkrAPvm/OVZVSCPNkwMHU8oTX7/U3AL78I0QXCEICXUM13BIa8TYGZ68PiTKfQz3yaTNr4A==} @@ -12949,6 +13009,11 @@ packages: engines: {node: '>=0.10.0'} dev: true + /is-port-reachable@4.0.0: + resolution: {integrity: sha512-9UoipoxYmSk6Xy7QFgRv2HDyaysmgSG75TFQs6S+3pDM7ZhKTF/bskZV+0UlABHzKjNVhPjYCLfeZUEg1wXxig==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: false + /is-potential-custom-element-name@1.0.1: resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} dev: true @@ -12990,7 +13055,6 @@ packages: /is-stream@2.0.1: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} - dev: true /is-stream@3.0.0: resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} @@ -13084,7 +13148,6 @@ packages: engines: {node: '>=8'} dependencies: is-docker: 2.2.1 - dev: true /isarray@1.0.0: resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} @@ -14521,7 +14584,6 @@ packages: /json-schema-traverse@1.0.0: resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} - dev: true /json-stable-stringify-without-jsonify@1.0.1: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} @@ -15092,17 +15154,27 @@ packages: braces: 3.0.2 picomatch: 2.3.1 + /mime-db@1.33.0: + resolution: {integrity: sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==} + engines: {node: '>= 0.6'} + dev: false + /mime-db@1.52.0: resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} engines: {node: '>= 0.6'} - dev: true + + /mime-types@2.1.18: + resolution: {integrity: sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==} + engines: {node: '>= 0.6'} + dependencies: + mime-db: 1.33.0 + dev: false /mime-types@2.1.35: resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} engines: {node: '>= 0.6'} dependencies: mime-db: 1.52.0 - dev: true /mime@1.6.0: resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} @@ -15158,7 +15230,6 @@ packages: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} dependencies: brace-expansion: 1.1.11 - dev: true /minimatch@5.1.6: resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} @@ -15192,7 +15263,6 @@ packages: /minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - dev: true /minipass@3.3.6: resolution: {integrity: sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==} @@ -15295,7 +15365,6 @@ packages: /ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} - dev: true /ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} @@ -15395,7 +15464,6 @@ packages: /negotiator@0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} - dev: true /neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} @@ -15519,7 +15587,6 @@ packages: engines: {node: '>=8'} dependencies: path-key: 3.1.1 - dev: true /npm-run-path@5.2.0: resolution: {integrity: sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==} @@ -15695,7 +15762,6 @@ packages: /on-headers@1.0.2: resolution: {integrity: sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==} engines: {node: '>= 0.8'} - dev: true /once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} @@ -16045,6 +16111,10 @@ packages: engines: {node: '>=0.10.0'} dev: true + /path-is-inside@1.0.2: + resolution: {integrity: sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w==} + dev: false + /path-key@2.0.1: resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} engines: {node: '>=4'} @@ -16073,6 +16143,10 @@ packages: resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} dev: true + /path-to-regexp@2.2.1: + resolution: {integrity: sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==} + dev: false + /path-to-regexp@6.2.1: resolution: {integrity: sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==} dev: true @@ -16920,7 +16994,6 @@ packages: /punycode@1.4.1: resolution: {integrity: sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==} - dev: true /punycode@2.3.1: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} @@ -17030,6 +17103,11 @@ packages: safe-buffer: 5.2.1 dev: true + /range-parser@1.2.0: + resolution: {integrity: sha512-kA5WQoNVo4t9lNx2kQNFCxKeBl5IbbSNBl1M/tLkw9WCn+hxNBAW5Qh8gdhs63CJnhjJ2zQWFoqPJP2sK1AV5A==} + engines: {node: '>= 0.6'} + dev: false + /range-parser@1.2.1: resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} engines: {node: '>= 0.6'} @@ -17053,7 +17131,6 @@ packages: ini: 1.3.8 minimist: 1.2.8 strip-json-comments: 2.0.1 - dev: true /react-colorful@5.6.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-1exovf0uGTGyq5mXQT0zgQ80uvj2PCwvF8zY1RN9/vbJVSjSo3fsB/4L3ObbF7u70NduSiK4xu4Y6q1MHoUGEw==} @@ -17295,6 +17372,20 @@ packages: unicode-match-property-value-ecmascript: 2.1.0 dev: true + /registry-auth-token@3.3.2: + resolution: {integrity: sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==} + dependencies: + rc: 1.2.8 + safe-buffer: 5.2.1 + dev: false + + /registry-url@3.1.0: + resolution: {integrity: sha512-ZbgR5aZEdf4UKZVBPYIgaglBmSF2Hi94s2PcIHhRGFjKYu+chjJdYfHn4rt3hB6eCKLJ8giVIIfgMa1ehDfZKA==} + engines: {node: '>=0.10.0'} + dependencies: + rc: 1.2.8 + dev: false + /regjsparser@0.9.1: resolution: {integrity: sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==} hasBin: true @@ -17359,7 +17450,6 @@ packages: /require-from-string@2.0.2: resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} engines: {node: '>=0.10.0'} - dev: true /require-main-filename@2.0.0: resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} @@ -17585,11 +17675,9 @@ packages: /safe-buffer@5.1.2: resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} - dev: true /safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - dev: true /safe-regex-test@1.0.2: resolution: {integrity: sha512-83S9w6eFq12BBIJYvjMux6/dkirb8+4zJRA9cxNBVb7Wq5fJBW+Xze48WqR8pxua7bDuAaaAxtVVd4Idjp1dBQ==} @@ -17780,6 +17868,19 @@ packages: randombytes: 2.1.0 dev: true + /serve-handler@6.1.5: + resolution: {integrity: sha512-ijPFle6Hwe8zfmBxJdE+5fta53fdIY0lHISJvuikXB3VYFafRjMRpOffSPvCYsbKyBA7pvy9oYr/BT1O3EArlg==} + dependencies: + bytes: 3.0.0 + content-disposition: 0.5.2 + fast-url-parser: 1.1.3 + mime-types: 2.1.18 + minimatch: 3.1.2 + path-is-inside: 1.0.2 + path-to-regexp: 2.2.1 + range-parser: 1.2.0 + dev: false + /serve-index@1.9.1: resolution: {integrity: sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw==} engines: {node: '>= 0.8.0'} @@ -17807,6 +17908,26 @@ packages: - supports-color dev: true + /serve@14.2.1: + resolution: {integrity: sha512-48er5fzHh7GCShLnNyPBRPEjs2I6QBozeGr02gaacROiyS/8ARADlj595j39iZXAqBbJHH/ivJJyPRWY9sQWZA==} + engines: {node: '>= 14'} + hasBin: true + dependencies: + '@zeit/schemas': 2.29.0 + ajv: 8.11.0 + arg: 5.0.2 + boxen: 7.0.0 + chalk: 5.0.1 + chalk-template: 0.4.0 + clipboardy: 3.0.0 + compression: 1.7.4 + is-port-reachable: 4.0.0 + serve-handler: 6.1.5 + update-check: 1.5.4 + transitivePeerDependencies: + - supports-color + dev: false + /set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} @@ -18342,7 +18463,6 @@ packages: eastasianwidth: 0.2.0 emoji-regex: 9.2.2 strip-ansi: 7.1.0 - dev: true /string-width@7.1.0: resolution: {integrity: sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==} @@ -18439,7 +18559,6 @@ packages: /strip-final-newline@2.0.0: resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} engines: {node: '>=6'} - dev: true /strip-final-newline@3.0.0: resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} @@ -18459,7 +18578,6 @@ packages: /strip-json-comments@2.0.1: resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} engines: {node: '>=0.10.0'} - dev: true /strip-json-comments@3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} @@ -19311,7 +19429,6 @@ packages: /type-fest@2.19.0: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} - dev: true /type-fest@3.13.1: resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} @@ -19544,6 +19661,13 @@ packages: picocolors: 1.0.0 dev: true + /update-check@1.5.4: + resolution: {integrity: sha512-5YHsflzHP4t1G+8WGPlvKbJEbAJGCgw+Em+dGR1KmBUbr1J36SJBqlHLjR7oob7sco5hWHGQVcr9B2poIVDDTQ==} + dependencies: + registry-auth-token: 3.3.2 + registry-url: 3.1.0 + dev: false + /upper-case-first@2.0.2: resolution: {integrity: sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==} dependencies: @@ -19560,7 +19684,6 @@ packages: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} dependencies: punycode: 2.3.1 - dev: true /urix@0.1.0: resolution: {integrity: sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==} @@ -19718,7 +19841,6 @@ packages: /vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} - dev: true /vite-node@1.2.2(@types/node@20.11.16): resolution: {integrity: sha512-1as4rDTgVWJO3n1uHmUYqq7nsFgINQ9u+mRcXpjeOMJUmviqNKjcZB7UfRZrlM7MjYXMKpuWp5oGkjaFLnjawg==} @@ -20671,6 +20793,13 @@ packages: siginfo: 2.0.0 stackback: 0.0.2 + /widest-line@4.0.1: + resolution: {integrity: sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig==} + engines: {node: '>=12'} + dependencies: + string-width: 5.1.2 + dev: false + /wildcard@2.0.1: resolution: {integrity: sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==} dev: true @@ -20729,7 +20858,6 @@ packages: ansi-styles: 6.2.1 string-width: 5.1.2 strip-ansi: 7.1.0 - dev: true /wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} diff --git a/turbo.json b/turbo.json index ccee04c3c..6379128f5 100644 --- a/turbo.json +++ b/turbo.json @@ -6,6 +6,10 @@ "outputs": ["dist/**", "es/**", "umd/**"], "env": ["API_KEY"] }, + "@shopware-ag/meteor-component-library#build:storybook": { + "outputs": ["storybook-static/**"], + "env": ["SHOW_INTERACTIONS"] + }, "lint:all": { "outputs": [] }, @@ -21,6 +25,9 @@ }, "test:e2e": { "outputs": [] + }, + "@shopware-ag/meteor-component-library#test:storybook": { + "outputs": [] } } } From 71692fbc28a0cb80190baeea24d31780f866c686 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 13 Feb 2024 16:27:14 +0100 Subject: [PATCH 13/19] NEXT-33446 - use build caching in CI --- .github/workflows/deployment.yml | 4 ++-- .github/workflows/preview.yml | 4 ++-- .github/workflows/visual-tests.yml | 3 --- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index d7d0cf344..240b8fc85 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -28,8 +28,8 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile --prefer-offline - - name: Create the static pages directory locally in CI - run: pnpm --filter @shopware-ag/meteor-component-library run build-storybook + - name: Build storybook + run: pnpx turbo run build:storybook --filter=@shopware-ag/meteor-component-library - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@4.1.4 diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 8922ad92d..eb6599165 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -30,8 +30,8 @@ jobs: - name: Install main dependencies run: pnpm install --frozen-lockfile --prefer-offline - - name: Create the static pages directory locally in CI - run: pnpm --filter @shopware-ag/meteor-component-library run build-storybook + - name: Build storybook + run: pnpx turbo run build:storybook --filter=@shopware-ag/meteor-component-library - name: Deploy preview uses: rossjrw/pr-preview-action@v1 diff --git a/.github/workflows/visual-tests.yml b/.github/workflows/visual-tests.yml index 11f9e11d6..9fea1c248 100644 --- a/.github/workflows/visual-tests.yml +++ b/.github/workflows/visual-tests.yml @@ -37,9 +37,6 @@ jobs: - name: Install Playwright run: pnpm dlx playwright install - - - name: Create the static pages directory locally in CI - run: pnpm --filter @shopware-ag/meteor-component-library run build-storybook - name: Build storybook run: pnpx turbo run build:storybook --filter=@shopware-ag/meteor-component-library From 9bfe65611db3eff3fb63bc94b9244dbf9b0088c1 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Wed, 14 Feb 2024 08:56:07 +0100 Subject: [PATCH 14/19] NEXT-33446 - enable caching for meteor admin sdk e2e tests --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 51b9454c7..1967804fd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -127,7 +127,7 @@ jobs: run: npx playwright install - name: Run Playwright tests - run: pnpm --filter @shopware-ag/meteor-admin-sdk run test:e2e + run: pnpx turbo run test:e2e --filter @shopware-ag/meteor-admin-sdk - uses: actions/upload-artifact@v2 if: always() From 9779ffdb3a7c19916324691c264b8bfb35de7a8d Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Wed, 14 Feb 2024 08:59:55 +0100 Subject: [PATCH 15/19] NEXT-33446 - supply turborepo env variables to e2e test job --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1967804fd..b5e3b0830 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -105,6 +105,9 @@ jobs: - circular-dependencies - unit-tests - static-analysis + env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} steps: - name: Checkout uses: actions/checkout@v4 From be318421ffc9b8334f175c5457309317399e2211 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Wed, 14 Feb 2024 16:35:21 +0100 Subject: [PATCH 16/19] NEXT-33446 - bump up playwright to v1.41.0 in admin sdk --- packages/admin-sdk/package.json | 2 +- pnpm-lock.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/admin-sdk/package.json b/packages/admin-sdk/package.json index a609c7639..591e72e37 100644 --- a/packages/admin-sdk/package.json +++ b/packages/admin-sdk/package.json @@ -86,7 +86,7 @@ "circular-dependencies:image": "madge --circular --warning --image ./dependency-graph.png src" }, "devDependencies": { - "@playwright/test": "^1.20.0", + "@playwright/test": "^1.41.2", "@types/jest": "^27.4.1", "@types/lodash": "^4.14.191", "@types/node": "^18.11.17", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bf6871449..e03413907 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,7 +26,7 @@ importers: version: 4.17.21 devDependencies: '@playwright/test': - specifier: ^1.20.0 + specifier: ^1.41.2 version: 1.41.2 '@types/jest': specifier: ^27.4.1 From 36e5ebbe89fc9fbc7c4a0cbb3ec022fbccddbfb6 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Wed, 14 Feb 2024 16:35:57 +0100 Subject: [PATCH 17/19] NEXT-33446 - fix waiting to load for the full page in admin sdk e2e tests --- packages/admin-sdk/e2e/test.utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/admin-sdk/e2e/test.utils.ts b/packages/admin-sdk/e2e/test.utils.ts index 4ec5e8f9a..90f5e1045 100644 --- a/packages/admin-sdk/e2e/test.utils.ts +++ b/packages/admin-sdk/e2e/test.utils.ts @@ -21,7 +21,7 @@ export async function setup({ page }: { page: Page }) { document.body.appendChild(iframe); }) - await page.waitForEvent('load'); + await page.waitForLoadState('networkidle'); const subFrame = page.frame({ name: 'subFrame' }); From a8ae5a868825ca6101ced232294b175bed0eba85 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Wed, 14 Feb 2024 16:38:00 +0100 Subject: [PATCH 18/19] NEXT-33446 - fix scripts in admin sdk package.json file --- packages/admin-sdk/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/admin-sdk/package.json b/packages/admin-sdk/package.json index 591e72e37..ac546db00 100644 --- a/packages/admin-sdk/package.json +++ b/packages/admin-sdk/package.json @@ -79,8 +79,8 @@ "test:unit:watch": "jest --watch", "test:e2e": "concurrently --handle-input --kill-others --success first \"npm run dev\" \"wait-on http://127.0.0.1:8181 && wait-on http://127.0.0.1:8182 && playwright test\"", "test:e2e:dev": "playwright test --project=chromium --reporter=list", - "test:e2e:dev-watch": "chokidar \"{e2e,src}/**/*.{js,ts}\" -c 'clear && npm run e2e:dev' --initial", - "test:e2e:dev-debug": "PWDEBUG=1 npm run e2e:dev", + "test:e2e:dev-watch": "chokidar \"{e2e,src}/**/*.{js,ts}\" -c 'clear && npm run test:e2e:dev' --initial", + "test:e2e:dev-debug": "PWDEBUG=1 npm run test:e2e:dev", "prepublish": "npm run build", "circular-dependencies": "madge --circular --warning src", "circular-dependencies:image": "madge --circular --warning --image ./dependency-graph.png src" From 7d3a73fb306f05982bf1a18ccb0da43fb7710ae8 Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Wed, 14 Feb 2024 16:40:45 +0100 Subject: [PATCH 19/19] NEXT-33446 - supply env variables to deploy preview command --- .github/workflows/preview.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index eb6599165..0d02544a3 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -12,6 +12,9 @@ concurrency: preview-${{ github.ref }} jobs: deploy-preview: runs-on: ubuntu-latest + env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} steps: - name: Checkout the repository uses: actions/checkout@v4