From 57382a7ae57fec129c5c27b4bc43a131a93da139 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Sun, 7 Aug 2022 23:07:41 +0200 Subject: [PATCH 01/32] ci: add main workflow --- .github/workflows/build.yml | 52 ------------------- .github/workflows/lint.yml | 38 -------------- .github/workflows/main.yml | 94 +++++++++++++++++++++++++++++++++++ .github/workflows/test-be.yml | 47 ------------------ 4 files changed, 94 insertions(+), 137 deletions(-) delete mode 100644 .github/workflows/build.yml delete mode 100644 .github/workflows/lint.yml create mode 100644 .github/workflows/main.yml delete mode 100644 .github/workflows/test-be.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 242ee37b9..000000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: Build - -on: - pull_request: - paths: - - 'packages/**' - - 'apps/**' - - 'package.json' - - 'tsconfig*' - branches: - - main - - develop - - '!release/**' - push: - branches: - - main - - develop - - '!release/**' - -env: - IS_MAIN_BRANCH: ${{ github.ref == 'refs/heads/main' }} - -jobs: - build: - runs-on: ubuntu-20.04 - strategy: - matrix: - node-version: [ 16.13.2 ] - steps: - - uses: actions/checkout@v2 - - uses: pnpm/action-setup@v2.0.1 - with: - version: 7 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - - name: Install dependencies - run: pnpm install - - - name: Build - run: | - pnpm build:prod - - - name: Type checking - run: | - pnpm typecheck - -concurrency: - group: build-${{ github.head_ref }} - cancel-in-progress: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index debaf8fac..000000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Lint - -on: - pull_request: - branches: - - main - - develop - push: - branches: - - main - - '!release/**' - -env: - IS_FORK: ${{ github.event.pull_request.head.repo.full_name != github.repository }} - IS_DEPENDABOT: ${{ github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' }} - IS_MAIN_BRANCH: ${{ github.ref == 'refs/heads/main' }} - -jobs: - build: - runs-on: ubuntu-20.04 - strategy: - matrix: - node-version: [ 16.13.2 ] - steps: - - uses: actions/checkout@v2 - - uses: pnpm/action-setup@v2.0.1 - with: - version: 7 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - - name: Install dependencies - run: pnpm install - - - name: Lint - run: pnpm lint diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..f5af1c825 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,94 @@ +name: Main + +on: + pull_request: + push: + +jobs: + install: + runs-on: ubuntu-20.04 + strategy: + matrix: + node-version: [ 16.13.2 ] + steps: + - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + + lint: + name: Lint + needs: install + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + + - name: Lint + run: pnpm lint + + build: + name: Build + needs: install + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + + - name: Build + run: | + pnpm build:prod + + typecheck: + name: Typecheck + needs: build + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + + - name: Typecheck + run: | + pnpm typecheck + + +concurrency: + group: main-${{ github.head_ref }} + cancel-in-progress: true diff --git a/.github/workflows/test-be.yml b/.github/workflows/test-be.yml deleted file mode 100644 index dc531d948..000000000 --- a/.github/workflows/test-be.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Api backend test - -on: - pull_request: - paths: - - 'apps/api**' - branches: - - main - - develop - - '!release/**' - push: - paths: - - 'apps/api**' - branches: - - main - - develop - - '!release/**' - -env: - IS_MAIN_BRANCH: ${{ github.ref == 'refs/heads/main' }} - -jobs: - build: - runs-on: ubuntu-20.04 - strategy: - matrix: - node-version: [ 16.13.2 ] - steps: - - uses: actions/checkout@v2 - - uses: pnpm/action-setup@v2.0.1 - with: - version: 7 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - - name: Install dependencies - run: pnpm install - - - name: Test - run: | - pnpm test --filter=@codeimage/api - -concurrency: - group: be-test-${{ github.head_ref }} - cancel-in-progress: true From b8ed6ae10345793de516059d3184bb13f77b5d3e Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Sun, 7 Aug 2022 23:34:22 +0200 Subject: [PATCH 02/32] ci: add container workflow --- .github/workflows/build-container.yml | 46 +++++++++++++++++++++++++++ .github/workflows/main.yml | 31 +++++++++++++++++- 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build-container.yml diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml new file mode 100644 index 000000000..8223b5a73 --- /dev/null +++ b/.github/workflows/build-container.yml @@ -0,0 +1,46 @@ +name: Build container + +on: + workflow_call + +jobs: + build-container: + runs-on: ubuntu-latest + services: + postgres: + # Docker Hub image + image: postgres + # Provide the password for postgres + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + # Maps TCP port 5432 on service container to the host + - 5432:5432 + + env: + DATABASE_URL: postgresql://postgres:postgres@localhost:5432/ga_codeimage?schema=${{env.REF_NAME}} + + steps: + - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + + - name: Build prisma + run: | + cd apps/api + pnpm exec prisma migrate deploy + pnpm --filter=@codeimage/prisma-models build diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f5af1c825..e39aeecfb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,10 @@ name: Main on: pull_request: - push: + +env: + REF_NAME: ${{ github.ref_name }} + jobs: install: @@ -28,6 +31,26 @@ jobs: needs: install runs-on: ubuntu-latest + services: + postgres: + # Docker Hub image + image: postgres + # Provide the password for postgres + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + # Maps TCP port 5432 on service container to the host + - 5432:5432 + + env: + DATABASE_URL: postgresql://postgres:postgres@localhost:5432/ga_codeimage?schema=${{ github.ref_name }} + steps: - uses: actions/checkout@v2 - uses: pnpm/action-setup@v2.2.2 @@ -41,6 +64,12 @@ jobs: - name: Install dependencies run: pnpm install + - name: Prisma migrate + run: | + cd apps/api + pnpm exec prisma migrate deploy + pnpm --filter=@codeimage/prisma-models build + - name: Lint run: pnpm lint From 61e2648db1d403a6895f3fea4725a1b2effca3f6 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Sun, 7 Aug 2022 23:44:32 +0200 Subject: [PATCH 03/32] ci: fix prisma migration --- .github/workflows/main.yml | 77 ++++++++----- .../20220807214414_init/migration.sql | 106 ++++++++++++++++++ 2 files changed, 153 insertions(+), 30 deletions(-) create mode 100644 apps/api/prisma/migrations/20220807214414_init/migration.sql diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e39aeecfb..22832c87f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,10 +3,6 @@ name: Main on: pull_request: -env: - REF_NAME: ${{ github.ref_name }} - - jobs: install: runs-on: ubuntu-20.04 @@ -31,26 +27,6 @@ jobs: needs: install runs-on: ubuntu-latest - services: - postgres: - # Docker Hub image - image: postgres - # Provide the password for postgres - env: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: postgres - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - # Maps TCP port 5432 on service container to the host - - 5432:5432 - - env: - DATABASE_URL: postgresql://postgres:postgres@localhost:5432/ga_codeimage?schema=${{ github.ref_name }} - steps: - uses: actions/checkout@v2 - uses: pnpm/action-setup@v2.2.2 @@ -67,7 +43,7 @@ jobs: - name: Prisma migrate run: | cd apps/api - pnpm exec prisma migrate deploy + pnpm exec prisma generate pnpm --filter=@codeimage/prisma-models build - name: Lint @@ -91,15 +67,46 @@ jobs: - name: Install dependencies run: pnpm install + - name: Prisma migrate + run: | + cd apps/api + pnpm exec prisma generate + pnpm --filter=@codeimage/prisma-models build + - name: Build run: | pnpm build:prod - typecheck: - name: Typecheck - needs: build + # TODO: fix + # - name: Typecheck + # run: | + # pnpm typecheck + + be-test: + name: Test + needs: install runs-on: ubuntu-latest + services: + postgres: + # Docker Hub image + image: postgres + # Provide the password for postgres + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + # Maps TCP port 5432 on service container to the host + - 5432:5432 + + env: + DATABASE_URL: postgresql://postgres:postgres@localhost:5432/ga_codeimage?schema=${{ github.ref_name }} + steps: - uses: actions/checkout@v2 - uses: pnpm/action-setup@v2.2.2 @@ -113,9 +120,19 @@ jobs: - name: Install dependencies run: pnpm install - - name: Typecheck + - name: Prisma migrate run: | - pnpm typecheck + cd apps/api + pnpm exec prisma migrate deploy + pnpm exec prisma generate + pnpm --filter=@codeimage/prisma-models build + + - name: Typescript + run: pnpm --filter=@codeimage/api build:ts + + - name: Test + run: pnpm --filter=@codeimage/api test + concurrency: diff --git a/apps/api/prisma/migrations/20220807214414_init/migration.sql b/apps/api/prisma/migrations/20220807214414_init/migration.sql new file mode 100644 index 000000000..2d375237a --- /dev/null +++ b/apps/api/prisma/migrations/20220807214414_init/migration.sql @@ -0,0 +1,106 @@ +-- CreateTable +CREATE TABLE "User" ( + "id" TEXT NOT NULL, + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "provider" TEXT NOT NULL, + + CONSTRAINT "User_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "Project" ( + "id" TEXT NOT NULL, + "name" TEXT NOT NULL, + "frameId" TEXT NOT NULL, + "terminalId" TEXT NOT NULL, + "editorOptionsId" TEXT NOT NULL, + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "updatedAt" TIMESTAMP(3) NOT NULL, + "userId" TEXT NOT NULL, + + CONSTRAINT "Project_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "SnippetFrame" ( + "id" TEXT NOT NULL, + "background" TEXT, + "padding" INTEGER NOT NULL DEFAULT 32, + "radius" INTEGER, + "visible" BOOLEAN NOT NULL DEFAULT true, + "opacity" DOUBLE PRECISION NOT NULL DEFAULT 100, + + CONSTRAINT "SnippetFrame_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "SnippetTerminal" ( + "id" TEXT NOT NULL, + "showHeader" BOOLEAN NOT NULL DEFAULT true, + "type" TEXT NOT NULL, + "accentVisible" BOOLEAN NOT NULL DEFAULT false, + "shadow" TEXT, + "background" TEXT, + "textColor" TEXT, + "showWatermark" BOOLEAN NOT NULL DEFAULT true, + "showGlassReflection" BOOLEAN NOT NULL DEFAULT false, + "opacity" DOUBLE PRECISION NOT NULL DEFAULT 100, + "alternativeTheme" BOOLEAN NOT NULL DEFAULT false, + + CONSTRAINT "SnippetTerminal_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "SnippetEditorOptions" ( + "id" TEXT NOT NULL, + "fontId" TEXT NOT NULL, + "fontWeight" INTEGER NOT NULL DEFAULT 400, + "showLineNumbers" BOOLEAN NOT NULL DEFAULT false, + "themeId" TEXT NOT NULL, + + CONSTRAINT "SnippetEditorOptions_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "SnippetEditorTab" ( + "id" TEXT NOT NULL, + "projectId" TEXT NOT NULL, + "code" TEXT NOT NULL DEFAULT '', + "languageId" TEXT NOT NULL, + "tabName" TEXT NOT NULL DEFAULT '', + + CONSTRAINT "SnippetEditorTab_pkey" PRIMARY KEY ("id") +); + +-- CreateIndex +CREATE UNIQUE INDEX "Project_frameId_key" ON "Project"("frameId"); + +-- CreateIndex +CREATE UNIQUE INDEX "Project_terminalId_key" ON "Project"("terminalId"); + +-- CreateIndex +CREATE UNIQUE INDEX "Project_editorOptionsId_key" ON "Project"("editorOptionsId"); + +-- CreateIndex +CREATE INDEX "Project_name_userId_idx" ON "Project"("name", "userId"); + +-- CreateIndex +CREATE UNIQUE INDEX "Project_id_userId_key" ON "Project"("id", "userId"); + +-- CreateIndex +CREATE UNIQUE INDEX "SnippetEditorTab_id_projectId_key" ON "SnippetEditorTab"("id", "projectId"); + +-- AddForeignKey +ALTER TABLE "Project" ADD CONSTRAINT "Project_frameId_fkey" FOREIGN KEY ("frameId") REFERENCES "SnippetFrame"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "Project" ADD CONSTRAINT "Project_terminalId_fkey" FOREIGN KEY ("terminalId") REFERENCES "SnippetTerminal"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "Project" ADD CONSTRAINT "Project_editorOptionsId_fkey" FOREIGN KEY ("editorOptionsId") REFERENCES "SnippetEditorOptions"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "Project" ADD CONSTRAINT "Project_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "SnippetEditorTab" ADD CONSTRAINT "SnippetEditorTab_projectId_fkey" FOREIGN KEY ("projectId") REFERENCES "Project"("id") ON DELETE CASCADE ON UPDATE CASCADE; From 6f7b4935decc26701b66e104af3e8079ab974bb4 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Mon, 8 Aug 2022 00:06:25 +0200 Subject: [PATCH 04/32] ci: improvements --- .github/workflows/build-container.yml | 46 ------- .github/workflows/main.yml | 174 ++++++++++++++++++++++++-- 2 files changed, 164 insertions(+), 56 deletions(-) delete mode 100644 .github/workflows/build-container.yml diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml deleted file mode 100644 index 8223b5a73..000000000 --- a/.github/workflows/build-container.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Build container - -on: - workflow_call - -jobs: - build-container: - runs-on: ubuntu-latest - services: - postgres: - # Docker Hub image - image: postgres - # Provide the password for postgres - env: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: postgres - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - # Maps TCP port 5432 on service container to the host - - 5432:5432 - - env: - DATABASE_URL: postgresql://postgres:postgres@localhost:5432/ga_codeimage?schema=${{env.REF_NAME}} - - steps: - - uses: actions/checkout@v2 - - uses: pnpm/action-setup@v2.2.2 - with: - version: 7 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - - name: Install dependencies - run: pnpm install - - - name: Build prisma - run: | - cd apps/api - pnpm exec prisma migrate deploy - pnpm --filter=@codeimage/prisma-models build diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 22832c87f..233d7c1bd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,8 +49,85 @@ jobs: - name: Lint run: pnpm lint - build: - name: Build + build-packages: + name: Build packages + needs: install + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + + - name: Prisma migrate + run: | + cd apps/api + pnpm exec prisma generate + pnpm --filter=@codeimage/prisma-models build + + - name: Build packages + run: | + pnpm libs:build + + - name: Cache packages + uses: actions/cache@v3 + with: + path: | + packages/highlight/dist + packages/locale/dist + packages/prisma-models/ + packages/atomic-state/dist + packages/config/dist + packages/dom-export/dist + packages/ui/dist + key: packages-${{ github.run_id }} + + build-app: + name: Build App + needs: build-packages + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + + - name: Restore dist + uses: actions/cache@v3 + with: + path: | + packages/highlight/dist + packages/locale/dist + packages/prisma-models + packages/atomic-state/dist + packages/config/dist + packages/dom-export/dist + packages/ui/dist + key: packages-${{ github.run_id }} + + - name: Build app + run: | + pnpm --filter=@codeimage/app build + + + build-api: + name: Build Api needs: install runs-on: ubuntu-latest @@ -75,17 +152,84 @@ jobs: - name: Build run: | - pnpm build:prod + pnpm --filter=@codeimage/api build:ts + + typecheck-app: + name: Typecheck app + needs: build-packages + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + + - name: Restore dist + uses: actions/cache@v3 + with: + path: | + packages/highlight/dist + packages/locale/dist + packages/prisma-models + packages/atomic-state/dist + packages/config/dist + packages/dom-export/dist + packages/ui/dist + key: packages-${{ github.run_id }} + + - name: Typecheck packages + run: | + pnpm --filter='@codeimage/app' typecheck - # TODO: fix - # - name: Typecheck - # run: | - # pnpm typecheck + typecheck-packages: + name: Typecheck packages + needs: build-packages + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + + - name: Restore dist + uses: actions/cache@v3 + with: + path: | + packages/highlight/dist + packages/locale/dist + packages/prisma-models + packages/atomic-state/dist + packages/config/dist + packages/dom-export/dist + packages/ui/dist + key: packages-${{ github.run_id }} + + - name: Typecheck packages + run: | + pnpm --filter='./packages/**' --recursive --parallel typecheck be-test: - name: Test + name: Api test needs: install runs-on: ubuntu-latest + strategy: + fail-fast: false services: postgres: @@ -127,8 +271,18 @@ jobs: pnpm exec prisma generate pnpm --filter=@codeimage/prisma-models build - - name: Typescript - run: pnpm --filter=@codeimage/api build:ts + - name: Restore dist + uses: actions/cache@v3 + with: + path: | + packages/highlight/dist + packages/locale/dist + packages/prisma-models + packages/atomic-state/dist + packages/config/dist + packages/dom-export/dist + packages/ui/dist + key: packages-${{ github.run_id }} - name: Test run: pnpm --filter=@codeimage/api test From 023b85d55e716d0f66a34cb6353f4dd8e84650a1 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Mon, 8 Aug 2022 00:28:04 +0200 Subject: [PATCH 05/32] ci: improvements --- .github/workflows/main.yml | 79 +++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 43 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 233d7c1bd..ce44f0ff9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -80,15 +80,9 @@ jobs: - name: Cache packages uses: actions/cache@v3 with: - path: | - packages/highlight/dist - packages/locale/dist - packages/prisma-models/ - packages/atomic-state/dist - packages/config/dist - packages/dom-export/dist - packages/ui/dist + path: packages key: packages-${{ github.run_id }} + restore-keys: packages- build-app: name: Build App @@ -105,22 +99,21 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'pnpm' - - name: Install dependencies - run: pnpm install - name: Restore dist uses: actions/cache@v3 with: - path: | - packages/highlight/dist - packages/locale/dist - packages/prisma-models - packages/atomic-state/dist - packages/config/dist - packages/dom-export/dist - packages/ui/dist + path: packages key: packages-${{ github.run_id }} + - name: ls test + run: | + cd packages/ui + ls + + - name: Install dependencies + run: pnpm install + - name: Build app run: | pnpm --filter=@codeimage/app build @@ -176,13 +169,7 @@ jobs: uses: actions/cache@v3 with: path: | - packages/highlight/dist - packages/locale/dist - packages/prisma-models - packages/atomic-state/dist - packages/config/dist - packages/dom-export/dist - packages/ui/dist + packages key: packages-${{ github.run_id }} - name: Typecheck packages @@ -211,13 +198,7 @@ jobs: uses: actions/cache@v3 with: path: | - packages/highlight/dist - packages/locale/dist - packages/prisma-models - packages/atomic-state/dist - packages/config/dist - packages/dom-export/dist - packages/ui/dist + packages key: packages-${{ github.run_id }} - name: Typecheck packages @@ -228,13 +209,11 @@ jobs: name: Api test needs: install runs-on: ubuntu-latest - strategy: - fail-fast: false services: postgres: # Docker Hub image - image: postgres + image: postgres:13-alpine # Provide the password for postgres env: POSTGRES_USER: postgres @@ -275,19 +254,33 @@ jobs: uses: actions/cache@v3 with: path: | - packages/highlight/dist - packages/locale/dist - packages/prisma-models - packages/atomic-state/dist - packages/config/dist - packages/dom-export/dist - packages/ui/dist + packages key: packages-${{ github.run_id }} - name: Test run: pnpm --filter=@codeimage/api test - + deploy-next: + # Next branch only + if: github.ref == 'refs/heads/next' + name: Deploy next + needs: [ build-app, build-api, typecheck-packages, typecheck-app, be-test ] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Execute tests + run: exit 0 + + deploy-prod: + # Next branch only + if: github.ref == 'refs/heads/main' + name: Deploy prod + needs: [ lint, build-app, build-api, typecheck-packages, typecheck-app, be-test ] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Execute tests + run: exit 0 concurrency: group: main-${{ github.head_ref }} From e8373390216afcbf9ca8d2aad0f3eeb7b6d81bb7 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Mon, 8 Aug 2022 19:37:54 +0200 Subject: [PATCH 06/32] ci: fix lint --- packages/atomic-state/src/createStoreSetters.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/atomic-state/src/createStoreSetters.ts b/packages/atomic-state/src/createStoreSetters.ts index 7b2e70088..6b0ceb85f 100644 --- a/packages/atomic-state/src/createStoreSetters.ts +++ b/packages/atomic-state/src/createStoreSetters.ts @@ -1,22 +1,26 @@ import {SetStoreFunction} from 'solid-js/store'; import {getStoreInternals} from './getStoreInternals'; +// eslint-disable-next-line @typescript-eslint/ban-types type StoreKeys = keyof S extends infer U ? U extends string ? U : never : never; +// eslint-disable-next-line @typescript-eslint/ban-types export type SetterPropUpdater = ( ...args: Parameters> ) => void; +// eslint-disable-next-line @typescript-eslint/ban-types type AutoPropsFactory = { [K in `set${Capitalize>}`]: K extends `set${infer OriginalProp}` ? SetterPropUpdater & keyof S> : never; }; +// eslint-disable-next-line @typescript-eslint/ban-types export function createStoreAutoSetters( store: T, ): AutoPropsFactory { From e77e4b3db466205a4742a27d6f8c0652295e1267 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Mon, 8 Aug 2022 19:45:29 +0200 Subject: [PATCH 07/32] ci: filter be jobs --- .github/workflows/main.yml | 41 +++++++++++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce44f0ff9..98f44c3bb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -126,6 +126,16 @@ jobs: steps: - uses: actions/checkout@v2 + - uses: dorny/paths-filter@v2 + id: changes + with: + filters: | + src: + - 'packages/prisma-models/**' + - 'apps/api/**' + - package.json + - pnpm-lock.json + - uses: pnpm/action-setup@v2.2.2 with: version: 7 @@ -135,15 +145,18 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'pnpm' - name: Install dependencies + if: steps.filter.outputs.src == 'true' run: pnpm install - name: Prisma migrate + if: steps.filter.outputs.src == 'true' run: | cd apps/api pnpm exec prisma generate pnpm --filter=@codeimage/prisma-models build - name: Build + if: steps.filter.outputs.src == 'true' run: | pnpm --filter=@codeimage/api build:ts @@ -232,6 +245,15 @@ jobs: steps: - uses: actions/checkout@v2 + - uses: dorny/paths-filter@v2 + id: changes + with: + filters: | + src: + - 'packages/prisma-models/**' + - 'apps/api/**' + - package.json + - pnpm-lock.json - uses: pnpm/action-setup@v2.2.2 with: version: 7 @@ -240,24 +262,29 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'pnpm' + + - name: Restore dist + if: steps.filter.outputs.src == 'true' + uses: actions/cache@v3 + with: + path: | + packages + key: packages-${{ github.run_id }} + - name: Install dependencies + if: steps.filter.outputs.src == 'true' run: pnpm install - name: Prisma migrate + if: steps.filter.outputs.src == 'true' run: | cd apps/api pnpm exec prisma migrate deploy pnpm exec prisma generate pnpm --filter=@codeimage/prisma-models build - - name: Restore dist - uses: actions/cache@v3 - with: - path: | - packages - key: packages-${{ github.run_id }} - - name: Test + if: steps.filter.outputs.src == 'true' run: pnpm --filter=@codeimage/api test deploy-next: From 1bd5e33478145b20fa1838dd9deeea27c47aacda Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Mon, 8 Aug 2022 19:55:49 +0200 Subject: [PATCH 08/32] ci: filter be jobs with main job --- .github/workflows/main.yml | 59 +++++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 26 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 98f44c3bb..ece8ed1d6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,34 @@ on: pull_request: jobs: + prepare-diff: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - uses: dorny/paths-filter@v2 + id: diff-changes + with: + filters: | + app: + - apps/codeimage/** + - package.json + - pnpm-lock.json + libs: + - packages/** + - package.json + - pnpm-lock.json + backend: + - 'packages/prisma-models/**' + - 'apps/api/**' + - package.json + - pnpm-lock.json + outputs: + backend-change: ${{steps.filter.outputs.backend}} + app-change: ${{steps.filter.outputs.app}} + libs-change: ${{steps.filter.outputs.libs}} + install: + needs: prepare-diff runs-on: ubuntu-20.04 strategy: matrix: @@ -85,6 +112,7 @@ jobs: restore-keys: packages- build-app: + if: ${{ jobs.prepare-diff.outputs.app == 'true' }} name: Build App needs: build-packages runs-on: ubuntu-latest @@ -119,23 +147,15 @@ jobs: pnpm --filter=@codeimage/app build + build-api: + if: ${{ jobs.prepare-diff.outputs.backend == 'true' }} name: Build Api needs: install runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: dorny/paths-filter@v2 - id: changes - with: - filters: | - src: - - 'packages/prisma-models/**' - - 'apps/api/**' - - package.json - - pnpm-lock.json - - uses: pnpm/action-setup@v2.2.2 with: version: 7 @@ -145,22 +165,20 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'pnpm' - name: Install dependencies - if: steps.filter.outputs.src == 'true' run: pnpm install - name: Prisma migrate - if: steps.filter.outputs.src == 'true' run: | cd apps/api pnpm exec prisma generate pnpm --filter=@codeimage/prisma-models build - name: Build - if: steps.filter.outputs.src == 'true' run: | pnpm --filter=@codeimage/api build:ts typecheck-app: + if: ${{ jobs.prepare-diff.outputs.app == 'true' }} name: Typecheck app needs: build-packages runs-on: ubuntu-latest @@ -190,6 +208,7 @@ jobs: pnpm --filter='@codeimage/app' typecheck typecheck-packages: + if: ${{ jobs.prepare-diff.outputs.libs == 'true' }} name: Typecheck packages needs: build-packages runs-on: ubuntu-latest @@ -219,6 +238,7 @@ jobs: pnpm --filter='./packages/**' --recursive --parallel typecheck be-test: + if: ${{ jobs.prepare-diff.outputs.backend == 'true' }} name: Api test needs: install runs-on: ubuntu-latest @@ -245,15 +265,6 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: dorny/paths-filter@v2 - id: changes - with: - filters: | - src: - - 'packages/prisma-models/**' - - 'apps/api/**' - - package.json - - pnpm-lock.json - uses: pnpm/action-setup@v2.2.2 with: version: 7 @@ -264,7 +275,6 @@ jobs: cache: 'pnpm' - name: Restore dist - if: steps.filter.outputs.src == 'true' uses: actions/cache@v3 with: path: | @@ -272,11 +282,9 @@ jobs: key: packages-${{ github.run_id }} - name: Install dependencies - if: steps.filter.outputs.src == 'true' run: pnpm install - name: Prisma migrate - if: steps.filter.outputs.src == 'true' run: | cd apps/api pnpm exec prisma migrate deploy @@ -284,7 +292,6 @@ jobs: pnpm --filter=@codeimage/prisma-models build - name: Test - if: steps.filter.outputs.src == 'true' run: pnpm --filter=@codeimage/api test deploy-next: From 867dc09e5d5fdf65df00c6da1ceb0ec2b592cf75 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Mon, 8 Aug 2022 20:00:45 +0200 Subject: [PATCH 09/32] ci: filter be jobs with main job --- .github/workflows/main.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ece8ed1d6..9c1714476 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -78,7 +78,7 @@ jobs: build-packages: name: Build packages - needs: install + needs: [install, prepare-diff] runs-on: ubuntu-latest steps: @@ -112,9 +112,9 @@ jobs: restore-keys: packages- build-app: - if: ${{ jobs.prepare-diff.outputs.app == 'true' }} name: Build App - needs: build-packages + needs: [build-packages, prepare-diff] + if: ${{ needs.prepare-diff.outputs.app == 'true' }} runs-on: ubuntu-latest steps: @@ -148,10 +148,11 @@ jobs: + build-api: - if: ${{ jobs.prepare-diff.outputs.backend == 'true' }} + if: ${{ needs.prepare-diff.outputs.backend == 'true' }} name: Build Api - needs: install + needs: [install, prepare-diff] runs-on: ubuntu-latest steps: @@ -177,10 +178,11 @@ jobs: run: | pnpm --filter=@codeimage/api build:ts + typecheck-app: - if: ${{ jobs.prepare-diff.outputs.app == 'true' }} + if: ${{ needs.prepare-diff.outputs.app == 'true' }} name: Typecheck app - needs: build-packages + needs: [build-packages, prepare-diff] runs-on: ubuntu-latest steps: @@ -207,10 +209,11 @@ jobs: run: | pnpm --filter='@codeimage/app' typecheck + typecheck-packages: - if: ${{ jobs.prepare-diff.outputs.libs == 'true' }} + if: ${{ needs.prepare-diff.outputs.libs == 'true' }} name: Typecheck packages - needs: build-packages + needs: [build-packages, prepare-diff] runs-on: ubuntu-latest steps: @@ -237,10 +240,11 @@ jobs: run: | pnpm --filter='./packages/**' --recursive --parallel typecheck + be-test: - if: ${{ jobs.prepare-diff.outputs.backend == 'true' }} + if: ${{ needs.prepare-diff.outputs.backend == 'true' }} name: Api test - needs: install + needs: [install, prepare-diff] runs-on: ubuntu-latest services: From 3f1a0f090fe4a4429e067c549b00ed81b01b116d Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Mon, 8 Aug 2022 20:10:00 +0200 Subject: [PATCH 10/32] ci: filter be jobs with main job --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9c1714476..3fdcd48a1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,7 @@ jobs: outputs: backend-change: ${{steps.filter.outputs.backend}} app-change: ${{steps.filter.outputs.app}} - libs-change: ${{steps.filter.outputs.libs}} + libs-change: ${{steps.filter.outputs.libs-change}} install: needs: prepare-diff @@ -114,7 +114,7 @@ jobs: build-app: name: Build App needs: [build-packages, prepare-diff] - if: ${{ needs.prepare-diff.outputs.app == 'true' }} + if: (${{ needs.prepare-diff.outputs.app-change == 'true' }} || ${{ needs.prepare-diff.outputs.libs-change == 'true' }}) runs-on: ubuntu-latest steps: @@ -150,7 +150,7 @@ jobs: build-api: - if: ${{ needs.prepare-diff.outputs.backend == 'true' }} + if: ${{ needs.prepare-diff.outputs.backend-change == 'true' }} name: Build Api needs: [install, prepare-diff] runs-on: ubuntu-latest @@ -180,7 +180,7 @@ jobs: typecheck-app: - if: ${{ needs.prepare-diff.outputs.app == 'true' }} + if: (${{ needs.prepare-diff.outputs.app-change == 'true' }} || ${{ needs.prepare-diff.outputs.libs-change == 'true' }}) name: Typecheck app needs: [build-packages, prepare-diff] runs-on: ubuntu-latest @@ -211,7 +211,7 @@ jobs: typecheck-packages: - if: ${{ needs.prepare-diff.outputs.libs == 'true' }} + if: ${{ needs.prepare-diff.outputs.libs-change == 'true' }} name: Typecheck packages needs: [build-packages, prepare-diff] runs-on: ubuntu-latest @@ -242,7 +242,7 @@ jobs: be-test: - if: ${{ needs.prepare-diff.outputs.backend == 'true' }} + if: ${{ needs.prepare-diff.outputs.backend-change == 'true' }} name: Api test needs: [install, prepare-diff] runs-on: ubuntu-latest From 141cc26ee5bd08dafcfde8f2bc25f15d429377b0 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Mon, 8 Aug 2022 20:17:30 +0200 Subject: [PATCH 11/32] ci: filter be jobs with main job --- .github/workflows/main.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3fdcd48a1..1aee9d956 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,6 +5,7 @@ on: jobs: prepare-diff: + name: Export change folders variables runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 @@ -26,9 +27,9 @@ jobs: - package.json - pnpm-lock.json outputs: - backend-change: ${{steps.filter.outputs.backend}} - app-change: ${{steps.filter.outputs.app}} - libs-change: ${{steps.filter.outputs.libs-change}} + backend-change: ${{ steps.filter.outputs.backend }} + app-change: ${{ steps.filter.outputs.app }} + libs-change: ${{ steps.filter.outputs.libs }} install: needs: prepare-diff @@ -78,7 +79,7 @@ jobs: build-packages: name: Build packages - needs: [install, prepare-diff] + needs: [ install, prepare-diff ] runs-on: ubuntu-latest steps: @@ -113,7 +114,7 @@ jobs: build-app: name: Build App - needs: [build-packages, prepare-diff] + needs: [ build-packages, prepare-diff ] if: (${{ needs.prepare-diff.outputs.app-change == 'true' }} || ${{ needs.prepare-diff.outputs.libs-change == 'true' }}) runs-on: ubuntu-latest @@ -152,7 +153,7 @@ jobs: build-api: if: ${{ needs.prepare-diff.outputs.backend-change == 'true' }} name: Build Api - needs: [install, prepare-diff] + needs: [ install, prepare-diff ] runs-on: ubuntu-latest steps: @@ -182,7 +183,7 @@ jobs: typecheck-app: if: (${{ needs.prepare-diff.outputs.app-change == 'true' }} || ${{ needs.prepare-diff.outputs.libs-change == 'true' }}) name: Typecheck app - needs: [build-packages, prepare-diff] + needs: [ build-packages, prepare-diff ] runs-on: ubuntu-latest steps: @@ -213,9 +214,8 @@ jobs: typecheck-packages: if: ${{ needs.prepare-diff.outputs.libs-change == 'true' }} name: Typecheck packages - needs: [build-packages, prepare-diff] + needs: [ build-packages, prepare-diff ] runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 - uses: pnpm/action-setup@v2.2.2 @@ -244,7 +244,7 @@ jobs: be-test: if: ${{ needs.prepare-diff.outputs.backend-change == 'true' }} name: Api test - needs: [install, prepare-diff] + needs: [ install, prepare-diff ] runs-on: ubuntu-latest services: From eb47350f15a53d24aed76d9b6a0a1f82cb04f6d9 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Mon, 8 Aug 2022 20:26:41 +0200 Subject: [PATCH 12/32] ci: add environments jobs --- .github/workflows/main.yml | 59 ++++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1aee9d956..2fac5341b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,13 +3,20 @@ name: Main on: pull_request: +env: + IS_MAIN_BRANCH: ${{ github.ref == 'refs/heads/main' }} + IS_NEXT_BRANCH: ${{ github.ref == 'refs/heads/next' }} + jobs: - prepare-diff: - name: Export change folders variables + install: runs-on: ubuntu-20.04 + strategy: + matrix: + node-version: [ 16.13.2 ] steps: - uses: actions/checkout@v2 - uses: dorny/paths-filter@v2 + if: (${{ env.IS_MAIN_BRANCH == 'false' }} || ${{ env.IS_NEXT_BRANCH == 'false' }}) id: diff-changes with: filters: | @@ -26,19 +33,6 @@ jobs: - 'apps/api/**' - package.json - pnpm-lock.json - outputs: - backend-change: ${{ steps.filter.outputs.backend }} - app-change: ${{ steps.filter.outputs.app }} - libs-change: ${{ steps.filter.outputs.libs }} - - install: - needs: prepare-diff - runs-on: ubuntu-20.04 - strategy: - matrix: - node-version: [ 16.13.2 ] - steps: - - uses: actions/checkout@v2 - uses: pnpm/action-setup@v2.2.2 with: version: 7 @@ -49,6 +43,13 @@ jobs: cache: 'pnpm' - name: Install dependencies run: pnpm install + outputs: + backend-change: 'true' + app-change: 'true' + libs-change: 'true' +# backend-change: ${{ steps.filter.outputs.backend }} +# app-change: ${{ steps.filter.outputs.app }} +# libs-change: ${{ steps.filter.outputs.libs }} lint: name: Lint @@ -79,7 +80,7 @@ jobs: build-packages: name: Build packages - needs: [ install, prepare-diff ] + needs: [ install ] runs-on: ubuntu-latest steps: @@ -114,8 +115,8 @@ jobs: build-app: name: Build App - needs: [ build-packages, prepare-diff ] - if: (${{ needs.prepare-diff.outputs.app-change == 'true' }} || ${{ needs.prepare-diff.outputs.libs-change == 'true' }}) + needs: [ build-packages ] + if: (${{ needs.install.outputs.app-change == 'true' }} || ${{ needs.install.outputs.libs-change == 'true' }}) runs-on: ubuntu-latest steps: @@ -151,9 +152,9 @@ jobs: build-api: - if: ${{ needs.prepare-diff.outputs.backend-change == 'true' }} + if: ${{ needs.install.outputs.backend-change == 'true' }} name: Build Api - needs: [ install, prepare-diff ] + needs: [ install ] runs-on: ubuntu-latest steps: @@ -181,9 +182,9 @@ jobs: typecheck-app: - if: (${{ needs.prepare-diff.outputs.app-change == 'true' }} || ${{ needs.prepare-diff.outputs.libs-change == 'true' }}) + if: (${{ needs.install.outputs.app-change == 'true' }} || ${{ needs.install.outputs.libs-change == 'true' }}) name: Typecheck app - needs: [ build-packages, prepare-diff ] + needs: [ build-packages ] runs-on: ubuntu-latest steps: @@ -212,9 +213,9 @@ jobs: typecheck-packages: - if: ${{ needs.prepare-diff.outputs.libs-change == 'true' }} + if: ${{ needs.install.outputs.libs-change == 'true' }} name: Typecheck packages - needs: [ build-packages, prepare-diff ] + needs: [ build-packages ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -242,9 +243,9 @@ jobs: be-test: - if: ${{ needs.prepare-diff.outputs.backend-change == 'true' }} + if: ${{ needs.install.outputs.backend-change == 'true' }} name: Api test - needs: [ install, prepare-diff ] + needs: [ install ] runs-on: ubuntu-latest services: @@ -300,9 +301,10 @@ jobs: deploy-next: # Next branch only - if: github.ref == 'refs/heads/next' + # if: github.ref == 'refs/heads/next' + environment: Next name: Deploy next - needs: [ build-app, build-api, typecheck-packages, typecheck-app, be-test ] + needs: [ build-app, build-api, be-test ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -312,6 +314,7 @@ jobs: deploy-prod: # Next branch only if: github.ref == 'refs/heads/main' + environment: Production name: Deploy prod needs: [ lint, build-app, build-api, typecheck-packages, typecheck-app, be-test ] runs-on: ubuntu-latest From 8d21b2b9c1bbac080f0c528a928d715d70a07c40 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Mon, 8 Aug 2022 21:07:35 +0200 Subject: [PATCH 13/32] ci: add environments jobs --- .github/workflows/main.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2fac5341b..e2cb884f4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,9 +47,9 @@ jobs: backend-change: 'true' app-change: 'true' libs-change: 'true' -# backend-change: ${{ steps.filter.outputs.backend }} -# app-change: ${{ steps.filter.outputs.app }} -# libs-change: ${{ steps.filter.outputs.libs }} + # backend-change: ${{ steps.filter.outputs.backend }} + # app-change: ${{ steps.filter.outputs.app }} + # libs-change: ${{ steps.filter.outputs.libs }} lint: name: Lint @@ -250,9 +250,7 @@ jobs: services: postgres: - # Docker Hub image image: postgres:13-alpine - # Provide the password for postgres env: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres @@ -262,7 +260,6 @@ jobs: --health-timeout 5s --health-retries 5 ports: - # Maps TCP port 5432 on service container to the host - 5432:5432 env: @@ -301,10 +298,10 @@ jobs: deploy-next: # Next branch only - # if: github.ref == 'refs/heads/next' + if: github.ref == 'refs/heads/next' environment: Next name: Deploy next - needs: [ build-app, build-api, be-test ] + needs: [ lint, build-app, build-api, typecheck-packages, typecheck-app, be-test ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -312,7 +309,7 @@ jobs: run: exit 0 deploy-prod: - # Next branch only + # Production branch only if: github.ref == 'refs/heads/main' environment: Production name: Deploy prod From 2747f15a2314db87c001f2cbb0b794c7f17fb7f8 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Mon, 8 Aug 2022 23:01:25 +0200 Subject: [PATCH 14/32] feat(api): eject server ts --- apps/api/package.json | 1 + apps/api/src/server.ts | 37 +++++++++++++++++++++++++++++++++++++ pnpm-lock.yaml | 2 ++ 3 files changed, 40 insertions(+) create mode 100644 apps/api/src/server.ts diff --git a/apps/api/package.json b/apps/api/package.json index a4f49d954..9bfa5adbc 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -34,6 +34,7 @@ "@fastify/type-provider-typebox": "^2.2.0", "@prisma/client": "^4.1.1", "@sinclair/typebox": "^0.24.26", + "close-with-grace": "1.1.0", "dotenv-cli": "^6.0.0", "fastify": "^4.3.0", "fastify-cli": "^4.4.0", diff --git a/apps/api/src/server.ts b/apps/api/src/server.ts new file mode 100644 index 000000000..5dcf34e5b --- /dev/null +++ b/apps/api/src/server.ts @@ -0,0 +1,37 @@ +// Read the .env file. +// Require library to exit fastify process, gracefully (if possible) +import * as closeWithGrace from 'close-with-grace'; +import * as dotenv from 'dotenv'; +// Require the framework +import Fastify from 'fastify'; + +dotenv.config(); + +// Instantiate Fastify with some config +const app = Fastify({ + logger: true, +}); + +// Register your application as a normal plugin. +app.register(import('./app')); + +// delay is the number of milliseconds for the graceful close to finish +const closeListeners = closeWithGrace({delay: 500}, async function ({err}) { + if (err) { + app.log.error(err); + } + await app.close(); +} as closeWithGrace.CloseWithGraceAsyncCallback); + +app.addHook('onClose', async (instance, done) => { + closeListeners.uninstall(); + done(); +}); + +// Start listening. +app.listen({port: parseInt(process.env.PORT as string) || 3000}, (err: any) => { + if (err) { + app.log.error(err); + process.exit(1); + } +}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 987ce3327..3cce70775 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -65,6 +65,7 @@ importers: '@types/node': ^18.0.0 '@types/sinon': 10.0.13 '@types/tap': ^15.0.5 + close-with-grace: 1.1.0 concurrently: ^7.0.0 dotenv: 16.0.1 dotenv-cli: ^6.0.0 @@ -91,6 +92,7 @@ importers: '@fastify/type-provider-typebox': 2.2.0_a75yjc2tfv5mts5ixrv6fsbfre '@prisma/client': 4.1.1_prisma@4.1.1 '@sinclair/typebox': 0.24.26 + close-with-grace: 1.1.0 dotenv-cli: 6.0.0 fastify: 4.3.0 fastify-cli: 4.4.0 From 25053d1a7a89eb942ac24ccee83b7eb705974517 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Tue, 9 Aug 2022 21:30:25 +0200 Subject: [PATCH 15/32] ci: add railway next deploy step --- .github/workflows/main.yml | 84 ++++- apps/api/Dockerfile.next | 16 + apps/api/prisma/schema.prisma | 1 + package.json | 6 +- pnpm-lock.yaml | 583 +++++++++++++++++++++++++++++++++- 5 files changed, 678 insertions(+), 12 deletions(-) create mode 100644 apps/api/Dockerfile.next diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e2cb884f4..b22b04248 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -136,11 +136,6 @@ jobs: path: packages key: packages-${{ github.run_id }} - - name: ls test - run: | - cd packages/ui - ls - - name: Install dependencies run: pnpm install @@ -180,6 +175,18 @@ jobs: run: | pnpm --filter=@codeimage/api build:ts + - name: Prepare deployable build + run: | + pnpm prepare:api:deploy + + + - name: Cache build + uses: actions/cache@v3 + with: + path: dist/api-bundle + key: api-bundle-${{ github.run_id }} + restore-keys: api- + typecheck-app: if: (${{ needs.install.outputs.app-change == 'true' }} || ${{ needs.install.outputs.libs-change == 'true' }}) @@ -298,15 +305,74 @@ jobs: deploy-next: # Next branch only - if: github.ref == 'refs/heads/next' +# if: (github.ref == 'refs/heads/next' || github.ref == 'refs/heads/feat/workspace-ci') environment: Next name: Deploy next - needs: [ lint, build-app, build-api, typecheck-packages, typecheck-app, be-test ] + needs: [ + # lint, + build-app, + build-api, + # typecheck-packages, + # typecheck-app, + be-test + ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Execute tests - run: exit 0 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + + - name: Restore api build + uses: actions/cache@v3 + with: + path: dist/api-bundle + key: api-bundle-${{ github.run_id }} + + - name: Install Railway + run: pnpm i -g @railway/cli + + - name: Deploy + run: | + cd dist/api-bundle + railway up + env: + RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} + # - name: Build and Publish to Github Packages Registry + # uses: elgohr/Publish-Docker-Github-Action@master + # env: + # DATABASE_URL: ${{ secrets.DATABASE_URL }} + # with: + # name: riccardoperra/codeimage/api-next + # registry: ghcr.io + # username: ${{ secrets.USERNAME }} + # password: ${{ secrets.GITHUB_TOKEN }} + # dockerfile: Dockerfile + # buildargs: DATABASE_URL + # tags: latest + # + # - name: Deploy package + # uses: appleboy/ssh-action@master + # env: + # GITHUB_USERNAME: ${{ secrets.USERNAME }} + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # with: + # host: ${{ secrets.DEPLOY_HOST }} + # port: ${{ secrets.DEPLOY_PORT }} + # username: ${{ secrets.DEPLOY_USER }} + # key: ${{ secrets.SSH_PRIVATE_KEY }} + # envs: GITHUB_USERNAME, GITHUB_TOKEN + # script: | + # docker login ghcr.io -u $GITHUB_USERNAME -p $GITHUB_TOKEN + # docker pull ghcr.io/riccardoperra/codeimage/api-next:latest + # docker stop codeimage-api + # docker system prune -f + # docker run --name codeimage-api -dit -p 3000:3000 ghcr.io/riccardoperra/codeimage/api-next:latest deploy-prod: # Production branch only diff --git a/apps/api/Dockerfile.next b/apps/api/Dockerfile.next new file mode 100644 index 000000000..14ba0b8b6 --- /dev/null +++ b/apps/api/Dockerfile.next @@ -0,0 +1,16 @@ +FROM node:18-alpine +WORKDIR /app + +RUN ls + +ENV NODE_ENV=production + +COPY . /app + +RUN npm install -g pnpm + +RUN pnpm install + +EXPOSE 3000 + +ENTRYPOINT ["node", "dist/server.js"] diff --git a/apps/api/prisma/schema.prisma b/apps/api/prisma/schema.prisma index e88468f6b..e414db98b 100644 --- a/apps/api/prisma/schema.prisma +++ b/apps/api/prisma/schema.prisma @@ -4,6 +4,7 @@ generator client { provider = "prisma-client-js" output = "../../../packages/prisma-models/generated/client" + binaryTargets = ["native", "debian-openssl-1.1.x", "linux-musl"] } datasource db { diff --git a/package.json b/package.json index 428bc341e..0310678b4 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,8 @@ "pre-commit-eslint": "eslint --ext .js,.jsx,.mjs,.ts,.tsx -c .eslintrc.js --fix", "postinstall": "pnpm patch-solid-exports", "patch-solid-exports": "cross-env APPLY_PATCH=true ts-node scripts/patch-solid-exports.ts", - "unpatch-solid-exports": "cross-env APPLY_PATCH=false ts-node scripts/patch-solid-exports.ts" + "unpatch-solid-exports": "cross-env APPLY_PATCH=false ts-node scripts/patch-solid-exports.ts", + "prepare:api:deploy": "pnpm-bundle-workspace-package @codeimage/api --outDir=dist/api-bundle" }, "devDependencies": { "@changesets/assemble-release-plan": "^5.1.2", @@ -75,7 +76,8 @@ "lint-staged": "^12.5.0", "prettier": "^2.6.2", "ts-node": "^10.8.1", - "typescript": "^4.7.3" + "typescript": "^4.7.3", + "pnpm-bundle-workspace-package": "^1.0.2" }, "engines": { "pnpm": ">=7" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3cce70775..ce34dd9a6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,6 +24,7 @@ importers: eslint-plugin-solid: ^0.4.7 husky: 7.0.4 lint-staged: ^12.5.0 + pnpm-bundle-workspace-package: ^1.0.2 prettier: ^2.6.2 ts-node: ^10.8.1 typescript: ^4.7.3 @@ -48,6 +49,7 @@ importers: eslint-plugin-solid: 0.4.7_ud6rd4xtew5bv4yhvkvu24pzm4 husky: 7.0.4 lint-staged: 12.5.0 + pnpm-bundle-workspace-package: 1.0.2 prettier: 2.6.2 ts-node: 10.8.1_fvkldoeufjjq5mlpfdkzhuqzdy typescript: 4.7.3 @@ -3782,6 +3784,285 @@ packages: engines: {node: '>=14'} dev: true + /@pnpm/cli-meta/3.0.6: + resolution: {integrity: sha512-YD+RMDczTT5+u6oIUlm3JWKSCsLqoqoyk3qU8OkM+b7GPGAMnTpCrLyEjPwaz1hnhbuBvv3A+jnuQcGQOXeIEg==} + engines: {node: '>=14.6'} + dependencies: + '@pnpm/types': 8.5.0 + load-json-file: 6.2.0 + dev: true + + /@pnpm/cli-utils/0.7.26_@pnpm+logger@4.0.0: + resolution: {integrity: sha512-wuf/xBIw53uq1VIqalvrPs1nBD2l7MRL4vOd/lnujKU4aSH6qQIFT9sVhuoil3RdrPfyhWtj4RDJPpSdD6T0aA==} + engines: {node: '>=14.6'} + peerDependencies: + '@pnpm/logger': ^4.0.0 + dependencies: + '@pnpm/cli-meta': 3.0.6 + '@pnpm/config': 15.9.0_@pnpm+logger@4.0.0 + '@pnpm/default-reporter': 9.1.15_@pnpm+logger@4.0.0 + '@pnpm/error': 3.0.1 + '@pnpm/logger': 4.0.0 + '@pnpm/manifest-utils': 3.1.2_@pnpm+logger@4.0.0 + '@pnpm/package-is-installable': 6.0.8_@pnpm+logger@4.0.0 + '@pnpm/read-project-manifest': 3.0.9 + '@pnpm/types': 8.5.0 + chalk: 4.1.2 + load-json-file: 6.2.0 + dev: true + + /@pnpm/config/15.9.0_@pnpm+logger@4.0.0: + resolution: {integrity: sha512-vCMoGvXZG1OUmxGYQTm/LMlSoJUy/1/SEr/yIm+ju5l/hDRUAbH6QEcs8FBv9vbwHD7S47h3R+wulpkNVubvVA==} + engines: {node: '>=14.6'} + dependencies: + '@pnpm/constants': 6.1.0 + '@pnpm/error': 3.0.1 + '@pnpm/git-utils': 0.1.0 + '@pnpm/matcher': 3.0.0 + '@pnpm/npm-conf': 2.0.0 + '@pnpm/pnpmfile': 2.1.0_@pnpm+logger@4.0.0 + '@pnpm/read-project-manifest': 3.0.9 + '@pnpm/types': 8.5.0 + camelcase: 6.3.0 + can-write-to-dir: 1.1.1 + is-subdir: 1.2.0 + normalize-registry-url: 2.0.0 + path-name: 1.0.0 + ramda: /@pnpm/ramda/0.28.1 + realpath-missing: 1.1.0 + which: 2.0.2 + transitivePeerDependencies: + - '@pnpm/logger' + dev: true + + /@pnpm/constants/6.1.0: + resolution: {integrity: sha512-L6AiU3OXv9kjKGTJN9j8n1TeJGDcLX9atQlZvAkthlvbXjvKc5SKNWESc/eXhr5nEfuMWhQhiKHDJCpYejmeCQ==} + engines: {node: '>=14.19'} + dev: true + + /@pnpm/core-loggers/7.0.6_@pnpm+logger@4.0.0: + resolution: {integrity: sha512-68r3T7gPi+Je/tMA7m8TAOjv/TTSCjjGI0nGUwsuK+aXIGn7eqCyknX1jk/kTrCWo+vsPMX26Pw0P5A0d1iYBA==} + engines: {node: '>=14.6'} + peerDependencies: + '@pnpm/logger': ^4.0.0 + dependencies: + '@pnpm/logger': 4.0.0 + '@pnpm/types': 8.5.0 + dev: true + + /@pnpm/default-reporter/9.1.15_@pnpm+logger@4.0.0: + resolution: {integrity: sha512-wcdicIEqSQdlW+zeWXT9VjdV2uO17H01/jnaqJhD4Zu6GMhmbBVyCFFCOhVEZ3koEhDO0h3HQR8zlMwRebfykg==} + engines: {node: '>=14.6'} + peerDependencies: + '@pnpm/logger': ^4.0.0 + dependencies: + '@pnpm/config': 15.9.0_@pnpm+logger@4.0.0 + '@pnpm/core-loggers': 7.0.6_@pnpm+logger@4.0.0 + '@pnpm/error': 3.0.1 + '@pnpm/logger': 4.0.0 + '@pnpm/render-peer-issues': 2.1.0 + '@pnpm/types': 8.5.0 + ansi-diff: 1.1.1 + boxen: 5.1.2 + chalk: 4.1.2 + normalize-path: 3.0.0 + pretty-bytes: 5.6.0 + pretty-ms: 7.0.1 + ramda: /@pnpm/ramda/0.28.1 + right-pad: 1.0.1 + rxjs: 7.5.6 + semver: 7.3.7 + stacktracey: 2.1.8 + string-length: 4.0.2 + strip-ansi: 6.0.1 + dev: true + + /@pnpm/error/3.0.1: + resolution: {integrity: sha512-hMlbWbFcfcfolNfSjKjpeaZFow71kNg438LZ8rAd01swiVIYRUf/sRv8gGySru6AijYfz5UqslpIJRDbYBkgQA==} + engines: {node: '>=14.19'} + dependencies: + '@pnpm/constants': 6.1.0 + dev: true + + /@pnpm/fetcher-base/13.0.2: + resolution: {integrity: sha512-CSTyRirmbsvkiamOxvi50QbFrJ8/CS/rAeVQIvUDeZQQmniO1oa/lAsQ3bzmBRhEl5VuReyzFHOqDMT2o/q7Cg==} + engines: {node: '>=14.6'} + dependencies: + '@pnpm/resolver-base': 9.0.6 + '@pnpm/types': 8.5.0 + '@types/ssri': 7.1.1 + dev: true + + /@pnpm/find-workspace-packages/4.0.26_@pnpm+logger@4.0.0: + resolution: {integrity: sha512-opGfLHeIoFjgSgMbzLA24ioIm/3cOBOkHrWPIsotTJE7+RKAhom46G2hN9prN4pmmwcZifle63o5WwISHOpDyw==} + engines: {node: '>=14.6'} + dependencies: + '@pnpm/cli-utils': 0.7.26_@pnpm+logger@4.0.0 + '@pnpm/constants': 6.1.0 + '@pnpm/types': 8.5.0 + find-packages: 9.0.9 + read-yaml-file: 2.1.0 + transitivePeerDependencies: + - '@pnpm/logger' + dev: true + + /@pnpm/git-utils/0.1.0: + resolution: {integrity: sha512-W3zsG9585cKL+FqgcT+IfTgZX5C+CbNkFjOnJN+qbysT1N30+BbvEByCcDMsTy7QDrAk6oS7WU1Rym3U2xlh2Q==} + engines: {node: '>=14.6'} + dependencies: + execa: /safe-execa/0.1.2 + dev: true + + /@pnpm/graceful-fs/2.0.0: + resolution: {integrity: sha512-ogUZCGf0/UILZt6d8PsO4gA4pXh7f0BumXeFkcCe4AQ65PXPKfAkHC0C30Lheh2EgFOpLZm3twDP1Eiww18gew==} + engines: {node: '>=14.19'} + dependencies: + graceful-fs: 4.2.10 + dev: true + + /@pnpm/lockfile-types/4.3.1: + resolution: {integrity: sha512-xoorF+CuuUvpjfi8Uw/xkf8LI9VDzs9W1gjSxkKS8UwK60zU5fu4agILJfVVGlHO1tnjJeGRuspBjp7UZ8ufMA==} + engines: {node: '>=14.6'} + dependencies: + '@pnpm/types': 8.5.0 + dev: true + + /@pnpm/logger/4.0.0: + resolution: {integrity: sha512-SIShw+k556e7S7tLZFVSIHjCdiVog1qWzcKW2RbLEHPItdisAFVNIe34kYd9fMSswTlSRLS/qRjw3ZblzWmJ9Q==} + engines: {node: '>=12.17'} + dependencies: + bole: 4.0.0 + ndjson: 2.0.0 + dev: true + + /@pnpm/manifest-utils/3.1.2_@pnpm+logger@4.0.0: + resolution: {integrity: sha512-ituyeV8krdIUQIhfqjBaUs0WnBR1/QP+o8mknNumQAFKur2nta4EzxR3TUIFS5SGCQtUfQNfF7v6WpsI89r2xQ==} + engines: {node: '>=14.6'} + dependencies: + '@pnpm/core-loggers': 7.0.6_@pnpm+logger@4.0.0 + '@pnpm/error': 3.0.1 + '@pnpm/types': 8.5.0 + transitivePeerDependencies: + - '@pnpm/logger' + dev: true + + /@pnpm/matcher/3.0.0: + resolution: {integrity: sha512-EXbwjVoiX6PPYkMTJu/1V4wlqR3cY7Z4UpIdpoCEBurZgiD4MfxChLiKzcbiSC/DTMewjcwVhNT0BL+EAEj3yA==} + engines: {node: '>=14.19'} + dependencies: + escape-string-regexp: 4.0.0 + dev: true + + /@pnpm/network.ca-file/1.0.1: + resolution: {integrity: sha512-gkINruT2KUhZLTaiHxwCOh1O4NVnFT0wLjWFBHmTz9vpKag/C/noIMJXBxFe4F0mYpUVX2puLwAieLYFg2NvoA==} + engines: {node: '>=12.22.0'} + dependencies: + graceful-fs: 4.2.10 + dev: true + + /@pnpm/npm-conf/2.0.0: + resolution: {integrity: sha512-Ot3xJvdbRQ3fwtDeRYMik/97BbCKij9ZupSgY1tJLCzPPgYRTIIjwdOBHQX2qGbwqNeKd6EneMyKAAsUMO09Bw==} + engines: {node: '>=12'} + dependencies: + '@pnpm/network.ca-file': 1.0.1 + config-chain: 1.1.13 + dev: true + + /@pnpm/package-is-installable/6.0.8_@pnpm+logger@4.0.0: + resolution: {integrity: sha512-ITUkR8ceZmZhBwQn+GbV/Bt5Csr2GW5fDkN/czGNW1j2fWdPKExSn5iUr6h5EnOF5wGDIel3aFwgRBO2i2Lk4A==} + engines: {node: '>=14.6'} + peerDependencies: + '@pnpm/logger': ^4.0.0 + dependencies: + '@pnpm/core-loggers': 7.0.6_@pnpm+logger@4.0.0 + '@pnpm/error': 3.0.1 + '@pnpm/logger': 4.0.0 + '@pnpm/types': 8.5.0 + detect-libc: 2.0.1 + execa: /safe-execa/0.1.2 + mem: 8.1.1 + semver: 7.3.7 + dev: true + + /@pnpm/pnpmfile/2.1.0_@pnpm+logger@4.0.0: + resolution: {integrity: sha512-nwbSyKDFZ0qD73EZQNpvmFOLnWlNkG3C5JGoBoo+P4J8CydiNVkh1F9M9wJl0aK+oHOu6Ex+nrFbplHQr0Q8wg==} + engines: {node: '>=14.6'} + peerDependencies: + '@pnpm/logger': ^4.0.0 + dependencies: + '@pnpm/core-loggers': 7.0.6_@pnpm+logger@4.0.0 + '@pnpm/error': 3.0.1 + '@pnpm/lockfile-types': 4.3.1 + '@pnpm/logger': 4.0.0 + '@pnpm/store-controller-types': 14.1.0 + '@pnpm/types': 8.5.0 + chalk: 4.1.2 + path-absolute: 1.0.1 + dev: true + + /@pnpm/ramda/0.28.1: + resolution: {integrity: sha512-zcAG+lvU0fMziNeGXpPyCyCJYp5ZVrPElEE4t14jAmViaihohocZ+dDkcRIyAomox8pQsuZnv1EyHR+pOhmUWw==} + dev: true + + /@pnpm/read-project-manifest/3.0.9: + resolution: {integrity: sha512-27j40C48hA/tqsCiqk9ApJxp2g6WGrrj2RSs0NKhsSHynxAuA1tIvwatNISQbAiMjZiu1lfhzhq8m1QdblyNmA==} + engines: {node: '>=14.6'} + dependencies: + '@pnpm/error': 3.0.1 + '@pnpm/graceful-fs': 2.0.0 + '@pnpm/types': 8.5.0 + '@pnpm/write-project-manifest': 3.0.7 + detect-indent: 6.1.0 + fast-deep-equal: 3.1.3 + is-windows: 1.0.2 + json5: 2.2.1 + parse-json: 5.2.0 + read-yaml-file: 2.1.0 + sort-keys: 4.2.0 + strip-bom: 4.0.0 + dev: true + + /@pnpm/render-peer-issues/2.1.0: + resolution: {integrity: sha512-hY/pdOJN9bocwwj5KjzRpb7YBmbQ+W8TwaCSszIrTzCIVqw229aIbu5R5Y0mrLoDoPm4vbCoMbAplPBgQOr52w==} + engines: {node: '>=14.6'} + dependencies: + '@pnpm/types': 8.5.0 + archy: 1.0.0 + chalk: 4.1.2 + cli-columns: 4.0.0 + dev: true + + /@pnpm/resolver-base/9.0.6: + resolution: {integrity: sha512-CF9LdRdgK9pXjoC79Z0tw40pf6TYP6MiYGLA6/ZredPywU8zJ90Jp9Td3Z8ovN/qDjFyn0Tq4qJFjPMFPviV8w==} + engines: {node: '>=14.6'} + dependencies: + '@pnpm/types': 8.5.0 + dev: true + + /@pnpm/store-controller-types/14.1.0: + resolution: {integrity: sha512-PW/Ehx6mZD8rvhMRY4GXUSAl4I4pf3ByIagIlCf4+YW6cLDXyN2OKZLTyCtqlB76rgWG17HKNYF1o/+ydnZ0lA==} + engines: {node: '>=14.6'} + dependencies: + '@pnpm/fetcher-base': 13.0.2 + '@pnpm/resolver-base': 9.0.6 + '@pnpm/types': 8.5.0 + dev: true + + /@pnpm/types/8.5.0: + resolution: {integrity: sha512-PSKnhkwgiZtp9dcWZR9mPz2W9UopmADr9o8FTqazo5kjUSh2xQmDUSJOJ/ZWcfNziO64Ix/VbcxKIZeplhog1Q==} + engines: {node: '>=14.6'} + dev: true + + /@pnpm/write-project-manifest/3.0.7: + resolution: {integrity: sha512-rMgIWR52asESg1D7Cp/vBi3dBsv18iUWPvvtYNynrcOjRdE3NsH5CAdfZP/XN6HJF6CSY8rS9W4YC5Q3JGtxiw==} + engines: {node: '>=14.6'} + dependencies: + '@pnpm/types': 8.5.0 + json5: 2.2.1 + write-file-atomic: 3.0.3 + write-yaml-file: 4.2.0 + dev: true + /@popperjs/core/2.11.5: resolution: {integrity: sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw==} dev: false @@ -4683,6 +4964,12 @@ packages: resolution: {integrity: sha512-9GcLXF0/v3t80caGs5p2rRfkB+a8VBGLJZVih6CNFkx8IZ994wiKKLSRs9nuFwk1HevWs/1mnUmkApGrSGsShA==} dev: true + /@types/ssri/7.1.1: + resolution: {integrity: sha512-DPP/jkDaqGiyU75MyMURxLWyYLwKSjnAuGe9ZCsLp9QZOpXmDfuevk769F0BS86TmRuD5krnp06qw9nSoNO+0g==} + dependencies: + '@types/node': 18.6.3 + dev: true + /@types/tap/15.0.7: resolution: {integrity: sha512-TTMajw4gxQfFgYbhXhy/Tb2OiNcwS+4oP/9yp1/GdU0pFJo3wtnkYhRgmQy39ksh+rnoa0VrPHJ4Tuv2cLNQ5A==} dependencies: @@ -4891,6 +5178,14 @@ packages: engines: {node: '>=10.0.0'} dev: true + /@zkochan/which/2.0.3: + resolution: {integrity: sha512-C1ReN7vt2/2O0fyTsx5xnbQuxBrmG5NMSbcIkPKCCfCTJgpZBsuRYzFXHj3nVq8vTfK7vxHUmzfCpSHgO7j4rg==} + engines: {node: '>= 8'} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: true + /JSONStream/1.3.5: resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==} hasBin: true @@ -4978,10 +5273,22 @@ packages: require-from-string: 2.0.2 uri-js: 4.4.1 + /ansi-align/3.0.1: + resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} + dependencies: + string-width: 4.2.3 + dev: true + /ansi-colors/4.1.3: resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} engines: {node: '>=6'} + /ansi-diff/1.1.1: + resolution: {integrity: sha512-XnTdFDQzbEewrDx8epWXdw7oqHMvv315vEtfqDiEhhWghIf4++h26c3/FMz7iTLhNrnj56DNIXpbxHZq+3s6qw==} + dependencies: + ansi-split: 1.0.1 + dev: true + /ansi-escapes/4.3.2: resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} engines: {node: '>=8'} @@ -4994,6 +5301,11 @@ packages: engines: {node: '>=0.10.0'} dev: true + /ansi-regex/3.0.1: + resolution: {integrity: sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==} + engines: {node: '>=4'} + dev: true + /ansi-regex/5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} @@ -5003,6 +5315,12 @@ packages: engines: {node: '>=12'} dev: true + /ansi-split/1.0.1: + resolution: {integrity: sha512-RRxQym4DFtDNmHIkW6aeFVvrXURb11lGAEPXNiryjCe8bK8RsANjzJ0M2aGOkvBYwP4Bl/xZ8ijtr6D3j1x/eg==} + dependencies: + ansi-regex: 3.0.1 + dev: true + /ansi-styles/3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} engines: {node: '>=4'} @@ -5123,6 +5441,12 @@ packages: resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} engines: {node: '>=0.10.0'} + /as-table/1.0.55: + resolution: {integrity: sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ==} + dependencies: + printable-characters: 1.0.42 + dev: true + /asap/2.0.6: resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} dev: false @@ -5342,6 +5666,27 @@ packages: - supports-color dev: true + /bole/4.0.0: + resolution: {integrity: sha512-Bk/2qoyOSlwU1dnDFk/oPM2FCNKAlYlBHfpAgwGX+K9HUtxSvmIAQCmMWMOvE6BlHHRCwsH1MxJe/r1ieodxqQ==} + dependencies: + fast-safe-stringify: 2.1.1 + individual: 3.0.0 + dev: true + + /boxen/5.1.2: + resolution: {integrity: sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==} + engines: {node: '>=10'} + dependencies: + ansi-align: 3.0.1 + camelcase: 6.3.0 + chalk: 4.1.2 + cli-boxes: 2.2.1 + string-width: 4.2.3 + type-fest: 0.20.2 + widest-line: 3.1.0 + wrap-ansi: 7.0.0 + dev: true + /brace-expansion/1.1.11: resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} dependencies: @@ -5459,6 +5804,18 @@ packages: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} + /camelcase/6.3.0: + resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} + engines: {node: '>=10'} + dev: true + + /can-write-to-dir/1.1.1: + resolution: {integrity: sha512-eOgiEWqjppB+3DN/5E82EQ8dTINus8d9GXMCbEsUnp2hcUIcXmBvzWmD3tXMk3CuBK0v+ddK9qw0EAF+JVRMjQ==} + engines: {node: '>=10.13'} + dependencies: + path-temp: 2.0.0 + dev: true + /caniuse-lite/1.0.30001346: resolution: {integrity: sha512-q6ibZUO2t88QCIPayP/euuDREq+aMAxFE5S70PkrLh0iTDj/zEhgvJRKC2+CvXY6EWc6oQwUR48lL5vCW6jiXQ==} @@ -5533,6 +5890,11 @@ packages: tslib: 2.4.0 dev: false + /char-regex/1.0.2: + resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} + engines: {node: '>=10'} + dev: true + /chardet/0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} @@ -5575,6 +5937,19 @@ packages: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} + /cli-boxes/2.2.1: + resolution: {integrity: sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==} + engines: {node: '>=6'} + dev: true + + /cli-columns/4.0.0: + resolution: {integrity: sha512-XW2Vg+w+L9on9wtwKpyzluIPCWXjaBahI7mTcYjx+BVIYD9c3yqcv/yKC7CmdCZat4rq2yiE1UMSJC5ivKfMtQ==} + engines: {node: '>= 10'} + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + dev: true + /cli-cursor/3.1.0: resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} engines: {node: '>=8'} @@ -5754,6 +6129,13 @@ packages: yargs: 17.5.1 dev: true + /config-chain/1.1.13: + resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==} + dependencies: + ini: 1.3.8 + proto-list: 1.2.4 + dev: true + /constant-case/3.0.4: resolution: {integrity: sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==} dependencies: @@ -5970,6 +6352,10 @@ packages: engines: {node: '>=8'} dev: true + /data-uri-to-buffer/2.0.2: + resolution: {integrity: sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA==} + dev: true + /dataloader/1.4.0: resolution: {integrity: sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw==} dev: true @@ -6090,6 +6476,11 @@ packages: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} engines: {node: '>=8'} + /detect-libc/2.0.1: + resolution: {integrity: sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==} + engines: {node: '>=8'} + dev: true + /detect-node/2.1.0: resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==} dev: true @@ -7048,7 +7439,6 @@ packages: /fast-safe-stringify/2.1.1: resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} - dev: false /fast-uri/2.1.0: resolution: {integrity: sha512-qKRta6N7BWEFVlyonVY/V+BMLgFqktCUV0QjT259ekAIlbVrMaFnFLxJ4s/JPl4tou56S1BzPufI60bLe29fHA==} @@ -7210,6 +7600,16 @@ packages: safe-regex2: 2.0.0 dev: false + /find-packages/9.0.9: + resolution: {integrity: sha512-XkzVZSz5YTBYdDvUEQrTTRa5PSrYde7AU/ax0ic/USy+IEoHI6RqQQQxZxq6KFfsJngbDfIf5MM2gyrQ9Ztzjg==} + engines: {node: '>=14.6'} + dependencies: + '@pnpm/read-project-manifest': 3.0.9 + '@pnpm/types': 8.5.0 + fast-glob: 3.2.11 + p-filter: 2.1.0 + dev: true + /find-up/3.0.0: resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==} engines: {node: '>=6'} @@ -7407,6 +7807,13 @@ packages: engines: {node: '>=8.0.0'} dev: true + /get-source/2.0.12: + resolution: {integrity: sha512-X5+4+iD+HoSeEED+uwrQ07BOQr0kEDFMVqqpBuI+RaZBpBpHCuXxo70bjar6f0b0u/DQJsJ7ssurpP0V60Az+w==} + dependencies: + data-uri-to-buffer: 2.0.2 + source-map: 0.6.1 + dev: true + /get-stream/6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} @@ -7789,6 +8196,10 @@ packages: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} engines: {node: '>=8'} + /individual/3.0.0: + resolution: {integrity: sha512-rUY5vtT748NMRbEMrTNiFfy29BgGZwGXUi2NFUVMWQrogSLzlJvQV9eeMWi+g1aVaQ53tpyLAQtd5x/JH0Nh1g==} + dev: true + /inflight/1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} dependencies: @@ -7999,6 +8410,11 @@ packages: resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} engines: {node: '>=0.10.0'} + /is-plain-obj/2.1.0: + resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} + engines: {node: '>=8'} + dev: true + /is-property/1.0.2: resolution: {integrity: sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==} dev: false @@ -8282,6 +8698,10 @@ packages: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} dev: true + /json-stringify-safe/5.0.1: + resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} + dev: true + /json5/2.2.1: resolution: {integrity: sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==} engines: {node: '>=6'} @@ -8483,6 +8903,16 @@ packages: lit-html: 2.2.3 dev: false + /load-json-file/6.2.0: + resolution: {integrity: sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ==} + engines: {node: '>=8'} + dependencies: + graceful-fs: 4.2.10 + parse-json: 5.2.0 + strip-bom: 4.0.0 + type-fest: 0.6.0 + dev: true + /load-yaml-file/0.2.0: resolution: {integrity: sha512-OfCBkGEw4nN6JLtgRidPX6QxjBQGQf72q3si2uvqyFEMbycSFFHwAZeXx6cJgFM9wmLrf9zBwCP3Ivqa+LLZPw==} engines: {node: '>=6'} @@ -8652,6 +9082,13 @@ packages: tmpl: 1.0.5 dev: false + /map-age-cleaner/0.1.3: + resolution: {integrity: sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==} + engines: {node: '>=6'} + dependencies: + p-defer: 1.0.0 + dev: true + /map-cache/0.2.2: resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} engines: {node: '>=0.10.0'} @@ -8682,6 +9119,14 @@ packages: resolution: {integrity: sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=} engines: {node: '>= 0.6'} + /mem/8.1.1: + resolution: {integrity: sha512-qFCFUDs7U3b8mBDPyz5EToEKoAkgCzqquIgi9nkkR9bixxOVOre+09lbuH7+9Kn2NFpm56M3GUWVbU2hQgdACA==} + engines: {node: '>=10'} + dependencies: + map-age-cleaner: 0.1.3 + mimic-fn: 3.1.0 + dev: true + /meow/6.1.1: resolution: {integrity: sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg==} engines: {node: '>=8'} @@ -8820,6 +9265,11 @@ packages: engines: {node: '>=6'} dev: true + /mimic-fn/3.1.0: + resolution: {integrity: sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ==} + engines: {node: '>=8'} + dev: true + /mimic-fn/4.0.0: resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} engines: {node: '>=12'} @@ -8943,6 +9393,18 @@ packages: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true + /ndjson/2.0.0: + resolution: {integrity: sha512-nGl7LRGrzugTtaFcJMhLbpzJM6XdivmbkdlaGcrk/LXg2KL/YBC6z1g70xh0/al+oFuVFP8N8kiWRucmeEH/qQ==} + engines: {node: '>=10'} + hasBin: true + dependencies: + json-stringify-safe: 5.0.1 + minimist: 1.2.6 + readable-stream: 3.6.0 + split2: 3.2.2 + through2: 4.0.2 + dev: true + /negotiator/0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} @@ -9033,6 +9495,10 @@ packages: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} + /normalize-registry-url/2.0.0: + resolution: {integrity: sha512-3e9FwDyRAhbxXw4slm4Tjv40u78yPwMc/WZkACpqNQOs5sM7wic853AeTLkMFEVhivZkclGYlse8iYsklz0Yvg==} + dev: true + /npm-run-path/4.0.1: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} @@ -9218,6 +9684,11 @@ packages: resolution: {integrity: sha512-NfZr5+Tdf6MB8UI9GLvKRs4cXY8/yB0w3xtt84xFdWy8hkGjn+JFc60VhzS/hFRfbyxFcGYMTjnF4Me+RbbqrA==} dev: true + /p-defer/1.0.0: + resolution: {integrity: sha512-wB3wfAxZpk2AzOfUMJNL+d36xothRSyj8EXOa4f6GMqYDN9BJaaSISbsk+wS9abmnebVw95C2Kb5t85UmpCxuw==} + engines: {node: '>=4'} + dev: true + /p-filter/2.1.0: resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==} engines: {node: '>=8'} @@ -9326,6 +9797,11 @@ packages: json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 + /parse-ms/2.1.0: + resolution: {integrity: sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==} + engines: {node: '>=6'} + dev: true + /parseurl/1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} @@ -9338,6 +9814,11 @@ packages: tslib: 2.4.0 dev: false + /path-absolute/1.0.1: + resolution: {integrity: sha512-gds5iRhSeOcDtj8gfWkRHLtZKTPsFVuh7utbjYtvnclw4XM+ffRzJrwqMhOD1PVqef7nBLmgsu1vIujjvAJrAw==} + engines: {node: '>=4'} + dev: true + /path-browserify/1.0.1: resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} dev: true @@ -9371,6 +9852,10 @@ packages: engines: {node: '>=12'} dev: true + /path-name/1.0.0: + resolution: {integrity: sha512-/dcAb5vMXH0f51yvMuSUqFpxUcA8JelbRmE5mW/p4CUJxrNgK24IkstnV7ENtg2IDGBOu6izKTG6eilbnbNKWQ==} + dev: true + /path-parse/1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} @@ -9386,6 +9871,13 @@ packages: path-root-regex: 0.1.2 dev: false + /path-temp/2.0.0: + resolution: {integrity: sha512-92olbatybjsHTGB2CUnAM7s0mU/27gcMfLNA7t09UftndUdxywlQKur3fzXEPpfLrgZD3I2Bt8+UmiL7YDEgXQ==} + engines: {node: '>=8.15'} + dependencies: + unique-string: 2.0.0 + dev: true + /path-to-regexp/0.1.7: resolution: {integrity: sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=} dev: true @@ -9482,6 +9974,16 @@ packages: find-up: 3.0.0 dev: false + /pnpm-bundle-workspace-package/1.0.2: + resolution: {integrity: sha512-tWnzQouHNDzy4t+pgb//9cFc5dPIk9gJ1iz353c9OK1TdcjcITasPRg7WADvNF8KyIHIG0aJ9Jz2Jgh5O1E7xQ==} + hasBin: true + dependencies: + '@pnpm/find-workspace-packages': 4.0.26_@pnpm+logger@4.0.0 + '@pnpm/logger': 4.0.0 + fs-extra: 10.1.0 + yargs: 17.5.1 + dev: true + /polished/4.2.2: resolution: {integrity: sha512-Sz2Lkdxz6F2Pgnpi9U5Ng/WdWAUZxmHrNPoVlm3aAemxoy2Qy7LGjQg4uf8qKelDAUW94F4np3iH2YPf2qefcQ==} engines: {node: '>=10'} @@ -9564,6 +10066,17 @@ packages: engines: {node: ^14.13.1 || >=16.0.0} dev: true + /pretty-ms/7.0.1: + resolution: {integrity: sha512-973driJZvxiGOQ5ONsFhOF/DtzPMOMtgC11kCpUrPGMTgqp2q/1gwzCquocrN33is0VZ5GFHXZYMM9l6h67v2Q==} + engines: {node: '>=10'} + dependencies: + parse-ms: 2.1.0 + dev: true + + /printable-characters/1.0.42: + resolution: {integrity: sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ==} + dev: true + /prisma-json-schema-generator/3.0.1: resolution: {integrity: sha512-ru8MGjwm/ZtFCfrjzXud7th0XZIN6AMZKlVXU/4CTvM3i5lKUpTc04kTXPCd5dFBuVnnnnHDAEZiAQQAwLG9Mw==} hasBin: true @@ -9618,6 +10131,10 @@ packages: sisteransi: 1.0.5 dev: true + /proto-list/1.2.4: + resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==} + dev: true + /proxy-addr/2.0.7: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} engines: {node: '>= 0.10'} @@ -9713,6 +10230,14 @@ packages: pify: 4.0.1 strip-bom: 3.0.0 + /read-yaml-file/2.1.0: + resolution: {integrity: sha512-UkRNRIwnhG+y7hpqnycCL/xbTk7+ia9VuVTC0S+zVbwd65DI9eUpRMfsWIGrCWxTU/mi+JW8cHQCrv+zfCbEPQ==} + engines: {node: '>=10.13'} + dependencies: + js-yaml: 4.1.0 + strip-bom: 4.0.0 + dev: true + /readable-stream/2.3.7: resolution: {integrity: sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==} dependencies: @@ -9762,6 +10287,11 @@ packages: engines: {node: '>= 12.13.0'} dev: false + /realpath-missing/1.1.0: + resolution: {integrity: sha512-wnWtnywepjg/eHIgWR97R7UuM5i+qHLA195qdN9UPKvcMqfn60+67S8sPPW3vDlSEfYHoFkKU8IvpCNty3zQvQ==} + engines: {node: '>=10'} + dev: true + /recrawl-sync/2.2.2: resolution: {integrity: sha512-E2sI4F25Fu2nrfV+KsnC7/qfk/spQIYXlonfQoS4rwxeNK5BjxnLPbWiRXHVXPwYBOTWtPX5765kTm/zJiL+LQ==} dependencies: @@ -9946,6 +10476,11 @@ packages: /rfdc/1.3.0: resolution: {integrity: sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==} + /right-pad/1.0.1: + resolution: {integrity: sha512-bYBjgxmkvTAfgIYy328fmkwhp39v8lwVgWhhrzxPV3yHtcSqyYKe9/XOhvW48UFjATg3VuJbpsp5822ACNvkmw==} + engines: {node: '>= 0.10'} + dev: true + /rimraf/2.7.1: resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} hasBin: true @@ -10060,6 +10595,15 @@ packages: /safe-buffer/5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + /safe-execa/0.1.2: + resolution: {integrity: sha512-vdTshSQ2JsRCgT8eKZWNJIL26C6bVqy1SOmuCMlKHegVeo8KYRobRrefOdUq9OozSPUUiSxrylteeRmLOMFfWg==} + engines: {node: '>=12'} + dependencies: + '@zkochan/which': 2.0.3 + execa: 5.1.1 + path-name: 1.0.0 + dev: true + /safe-regex2/2.0.0: resolution: {integrity: sha512-PaUSFsUaNNuKwkBijoAPHAK6/eM6VirvyPWlZ7BAQy4D+hCvh4B6lIG+nPdhbFfIbP+gTGBcrdsOaUs0F+ZBOQ==} dependencies: @@ -10372,6 +10916,13 @@ packages: atomic-sleep: 1.0.0 dev: false + /sort-keys/4.2.0: + resolution: {integrity: sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg==} + engines: {node: '>=8'} + dependencies: + is-plain-obj: 2.1.0 + dev: true + /source-map-js/1.0.2: resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} engines: {node: '>=0.10.0'} @@ -10491,6 +11042,13 @@ packages: escape-string-regexp: 2.0.0 dev: true + /stacktracey/2.1.8: + resolution: {integrity: sha512-Kpij9riA+UNg7TnphqjH7/CzctQ/owJGNbFkfEeve4Z4uxT5+JapVLFXcsurIfN34gnTWZNJ/f7NMG0E8JDzTw==} + dependencies: + as-table: 1.0.55 + get-source: 2.0.12 + dev: true + /statuses/2.0.1: resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} engines: {node: '>= 0.8'} @@ -10511,6 +11069,14 @@ packages: engines: {node: '>=0.6.19'} dev: true + /string-length/4.0.2: + resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} + engines: {node: '>=10'} + dependencies: + char-regex: 1.0.2 + strip-ansi: 6.0.1 + dev: true + /string-similarity/4.0.4: resolution: {integrity: sha512-/q/8Q4Bl4ZKAPjj8WerIBJWALKkaPRfrvhfF8k/B23i4nzrlRj2/go1m90In7nG/3XDSbOo0+pu6RvCTM9RGMQ==} dev: false @@ -11681,6 +12247,13 @@ packages: dependencies: isexe: 2.0.0 + /widest-line/3.1.0: + resolution: {integrity: sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==} + engines: {node: '>=8'} + dependencies: + string-width: 4.2.3 + dev: true + /word-wrap/1.2.3: resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} engines: {node: '>=0.10.0'} @@ -11867,6 +12440,14 @@ packages: typedarray-to-buffer: 3.1.5 dev: true + /write-yaml-file/4.2.0: + resolution: {integrity: sha512-LwyucHy0uhWqbrOkh9cBluZBeNVxzHjDaE9mwepZG3n3ZlbM4v3ndrFw51zW/NXYFFqP+QWZ72ihtLWTh05e4Q==} + engines: {node: '>=10.13'} + dependencies: + js-yaml: 4.1.0 + write-file-atomic: 3.0.3 + dev: true + /ws/8.8.1: resolution: {integrity: sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==} engines: {node: '>=10.0.0'} From f497644021e2c271cc932b1bf2e1679213ddec96 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Tue, 9 Aug 2022 21:49:26 +0200 Subject: [PATCH 16/32] fix: fix api deps for ci --- apps/api/package.json | 3 - pnpm-lock.yaml | 1185 +++-------------------------------------- 2 files changed, 75 insertions(+), 1113 deletions(-) diff --git a/apps/api/package.json b/apps/api/package.json index 9bfa5adbc..ea2699830 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -40,9 +40,6 @@ "fastify-cli": "^4.4.0", "fastify-plugin": "^4.0.0", "fluent-json-schema": "^3.1.0", - "graphql": "^16.5.0", - "mercurius": "^10.1.0", - "mercurius-codegen": "^4.0.1", "prisma": "4.1.1" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ce34dd9a6..df9944b18 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -76,9 +76,6 @@ importers: fastify-plugin: ^4.0.0 fastify-tsconfig: ^1.0.1 fluent-json-schema: ^3.1.0 - graphql: ^16.5.0 - mercurius: ^10.1.0 - mercurius-codegen: ^4.0.1 prisma: 4.1.1 prisma-json-schema-generator: 3.0.1 sinon: 14.0.0 @@ -100,9 +97,6 @@ importers: fastify-cli: 4.4.0 fastify-plugin: 4.0.0 fluent-json-schema: 3.1.0 - graphql: 16.5.0 - mercurius: 10.1.0 - mercurius-codegen: 4.0.1_xf7v3rvlbcuc32owjvtoakzei4 prisma: 4.1.1 devDependencies: '@types/node': 18.6.3 @@ -539,6 +533,7 @@ packages: dependencies: '@jridgewell/gen-mapping': 0.1.1 '@jridgewell/trace-mapping': 0.3.13 + dev: true /@apideck/better-ajv-errors/0.3.3_ajv@8.11.0: resolution: {integrity: sha512-9o+HO2MbJhJHjDYZaDxJmSDckvDpiuItEsrIShV0DXeCshXWRHhqYyU/PKHMkuClOmFnZhRd6wzv4vpDu/dRKg==} @@ -552,41 +547,13 @@ packages: leven: 3.1.0 dev: true - /@ardatan/relay-compiler/12.0.0_graphql@16.5.0: - resolution: {integrity: sha512-9anThAaj1dQr6IGmzBMcfzOQKTa5artjuPmw8NYK/fiGEMjADbSguBY2FMDykt+QhilR3wc9VA/3yVju7JHg7Q==} - hasBin: true - peerDependencies: - graphql: '*' - dependencies: - '@babel/core': 7.18.9 - '@babel/generator': 7.18.9 - '@babel/parser': 7.18.9 - '@babel/runtime': 7.18.3 - '@babel/traverse': 7.18.9 - '@babel/types': 7.18.9 - babel-preset-fbjs: 3.4.0_@babel+core@7.18.9 - chalk: 4.1.2 - fb-watchman: 2.0.1 - fbjs: 3.0.4 - glob: 7.2.3 - graphql: 16.5.0 - immutable: 3.7.6 - invariant: 2.2.4 - nullthrows: 1.1.1 - relay-runtime: 12.0.0 - signedsource: 1.0.0 - yargs: 15.4.1 - transitivePeerDependencies: - - encoding - - supports-color - dev: false - /@babel/code-frame/7.16.7: resolution: {integrity: sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==} engines: {node: '>=6.9.0'} requiresBuild: true dependencies: '@babel/highlight': 7.17.12 + dev: true /@babel/code-frame/7.18.6: resolution: {integrity: sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==} @@ -598,10 +565,12 @@ packages: /@babel/compat-data/7.17.10: resolution: {integrity: sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==} engines: {node: '>=6.9.0'} + dev: true /@babel/compat-data/7.18.8: resolution: {integrity: sha512-HSmX4WZPPK3FUxYp7g2T6EyO8j96HlZJlxmKPSh6KAcqwyDrfx7hKjXpAW/0FhFfTJsR0Yt4lAjLI2coMptIHQ==} engines: {node: '>=6.9.0'} + dev: true /@babel/core/7.18.0: resolution: {integrity: sha512-Xyw74OlJwDijToNi0+6BBI5mLLR5+5R3bcSH80LXzjzEGEUlvNzujEE71BaD/ApEZHAvFI/Mlmp4M5lIkdeeWw==} @@ -647,6 +616,7 @@ packages: semver: 6.3.0 transitivePeerDependencies: - supports-color + dev: true /@babel/generator/7.18.2: resolution: {integrity: sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw==} @@ -655,6 +625,7 @@ packages: '@babel/types': 7.18.9 '@jridgewell/gen-mapping': 0.3.1 jsesc: 2.5.2 + dev: true /@babel/generator/7.18.9: resolution: {integrity: sha512-wt5Naw6lJrL1/SGkipMiFxJjtyczUWTP38deiP1PO60HsBjDeKk08CGC3S8iVuvf0FmTdgKwU1KIXzSKL1G0Ug==} @@ -663,18 +634,21 @@ packages: '@babel/types': 7.18.9 '@jridgewell/gen-mapping': 0.3.2 jsesc: 2.5.2 + dev: true /@babel/helper-annotate-as-pure/7.16.7: resolution: {integrity: sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.4 + dev: true /@babel/helper-annotate-as-pure/7.18.6: resolution: {integrity: sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.9 + dev: true /@babel/helper-builder-binary-assignment-operator-visitor/7.16.7: resolution: {integrity: sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==} @@ -697,19 +671,6 @@ packages: semver: 6.3.0 dev: true - /@babel/helper-compilation-targets/7.17.10_@babel+core@7.18.9: - resolution: {integrity: sha512-gh3RxjWbauw/dFiU/7whjd0qN9K6nPJMqe6+Er7rOavFh0CQUSwhAE3IcTho2rywPJFxej6TUUHDkWcYI6gGqQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/compat-data': 7.17.10 - '@babel/core': 7.18.9 - '@babel/helper-validator-option': 7.16.7 - browserslist: 4.20.3 - semver: 6.3.0 - dev: false - /@babel/helper-compilation-targets/7.18.9_@babel+core@7.18.9: resolution: {integrity: sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg==} engines: {node: '>=6.9.0'} @@ -721,6 +682,7 @@ packages: '@babel/helper-validator-option': 7.18.6 browserslist: 4.20.3 semver: 6.3.0 + dev: true /@babel/helper-create-class-features-plugin/7.18.0_@babel+core@7.18.0: resolution: {integrity: sha512-Kh8zTGR9de3J63e5nS0rQUdRs/kbtwoeQQ0sriS0lItjC96u8XXZN6lKpuyWd2coKSU13py/y+LTmThLuVX0Pg==} @@ -740,24 +702,6 @@ packages: - supports-color dev: true - /@babel/helper-create-class-features-plugin/7.18.0_@babel+core@7.18.9: - resolution: {integrity: sha512-Kh8zTGR9de3J63e5nS0rQUdRs/kbtwoeQQ0sriS0lItjC96u8XXZN6lKpuyWd2coKSU13py/y+LTmThLuVX0Pg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-annotate-as-pure': 7.16.7 - '@babel/helper-environment-visitor': 7.18.2 - '@babel/helper-function-name': 7.17.9 - '@babel/helper-member-expression-to-functions': 7.17.7 - '@babel/helper-optimise-call-expression': 7.16.7 - '@babel/helper-replace-supers': 7.16.7 - '@babel/helper-split-export-declaration': 7.16.7 - transitivePeerDependencies: - - supports-color - dev: false - /@babel/helper-create-class-features-plugin/7.18.9_@babel+core@7.18.9: resolution: {integrity: sha512-WvypNAYaVh23QcjpMR24CwZY2Nz6hqdOcFdPbNpV56hL5H6KiFheO7Xm1aPdlLQ7d5emYZX7VZwPp9x3z+2opw==} engines: {node: '>=6.9.0'} @@ -808,10 +752,12 @@ packages: /@babel/helper-environment-visitor/7.18.2: resolution: {integrity: sha512-14GQKWkX9oJzPiQQ7/J36FTXcD4kSp8egKjO9nINlSKiHITRA9q/R74qu8S9xlc/b/yjsJItQUeeh3xnGN0voQ==} engines: {node: '>=6.9.0'} + dev: true /@babel/helper-environment-visitor/7.18.9: resolution: {integrity: sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==} engines: {node: '>=6.9.0'} + dev: true /@babel/helper-explode-assignable-expression/7.16.7: resolution: {integrity: sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==} @@ -826,6 +772,7 @@ packages: dependencies: '@babel/template': 7.16.7 '@babel/types': 7.18.4 + dev: true /@babel/helper-function-name/7.18.9: resolution: {integrity: sha512-fJgWlZt7nxGksJS9a0XdSaI4XvpExnNIgRP+rVefWh5U7BL8pPuir6SJUmFKRfjWQ51OtWSzwOxhaH/EBWWc0A==} @@ -833,24 +780,28 @@ packages: dependencies: '@babel/template': 7.18.6 '@babel/types': 7.18.9 + dev: true /@babel/helper-hoist-variables/7.16.7: resolution: {integrity: sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.4 + dev: true /@babel/helper-hoist-variables/7.18.6: resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.9 + dev: true /@babel/helper-member-expression-to-functions/7.17.7: resolution: {integrity: sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.4 + dev: true /@babel/helper-member-expression-to-functions/7.18.9: resolution: {integrity: sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg==} @@ -871,12 +822,14 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.9 + dev: true /@babel/helper-module-imports/7.18.6: resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.9 + dev: true /@babel/helper-module-transforms/7.18.0: resolution: {integrity: sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==} @@ -892,6 +845,7 @@ packages: '@babel/types': 7.18.4 transitivePeerDependencies: - supports-color + dev: true /@babel/helper-module-transforms/7.18.9: resolution: {integrity: sha512-KYNqY0ICwfv19b31XzvmI/mfcylOzbLtowkw+mfvGPAQ3kfCnMLYbED3YecL5tPd8nAYFQFAd6JHp2LxZk/J1g==} @@ -907,12 +861,14 @@ packages: '@babel/types': 7.18.9 transitivePeerDependencies: - supports-color + dev: true /@babel/helper-optimise-call-expression/7.16.7: resolution: {integrity: sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.4 + dev: true /@babel/helper-optimise-call-expression/7.18.6: resolution: {integrity: sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==} @@ -924,10 +880,12 @@ packages: /@babel/helper-plugin-utils/7.17.12: resolution: {integrity: sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA==} engines: {node: '>=6.9.0'} + dev: true /@babel/helper-plugin-utils/7.18.9: resolution: {integrity: sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w==} engines: {node: '>=6.9.0'} + dev: true /@babel/helper-remap-async-to-generator/7.16.8: resolution: {integrity: sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==} @@ -951,6 +909,7 @@ packages: '@babel/types': 7.18.4 transitivePeerDependencies: - supports-color + dev: true /@babel/helper-replace-supers/7.18.9: resolution: {integrity: sha512-dNsWibVI4lNT6HiuOIBr1oyxo40HvIVmbwPUm3XZ7wMh4k2WxrxTqZwSqw/eEmXDS9np0ey5M2bz9tBmO9c+YQ==} @@ -970,34 +929,40 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.4 + dev: true /@babel/helper-simple-access/7.18.6: resolution: {integrity: sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.9 + dev: true /@babel/helper-skip-transparent-expression-wrappers/7.16.0: resolution: {integrity: sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.9 + dev: true /@babel/helper-split-export-declaration/7.16.7: resolution: {integrity: sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.4 + dev: true /@babel/helper-split-export-declaration/7.18.6: resolution: {integrity: sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.9 + dev: true /@babel/helper-validator-identifier/7.16.7: resolution: {integrity: sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==} engines: {node: '>=6.9.0'} + dev: true /@babel/helper-validator-identifier/7.18.6: resolution: {integrity: sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==} @@ -1006,10 +971,12 @@ packages: /@babel/helper-validator-option/7.16.7: resolution: {integrity: sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==} engines: {node: '>=6.9.0'} + dev: true /@babel/helper-validator-option/7.18.6: resolution: {integrity: sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==} engines: {node: '>=6.9.0'} + dev: true /@babel/helper-wrap-function/7.16.8: resolution: {integrity: sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==} @@ -1043,6 +1010,7 @@ packages: '@babel/types': 7.18.9 transitivePeerDependencies: - supports-color + dev: true /@babel/highlight/7.17.12: resolution: {integrity: sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==} @@ -1051,6 +1019,7 @@ packages: '@babel/helper-validator-identifier': 7.16.7 chalk: 2.4.2 js-tokens: 4.0.0 + dev: true /@babel/highlight/7.18.6: resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} @@ -1066,6 +1035,7 @@ packages: hasBin: true dependencies: '@babel/types': 7.18.4 + dev: true /@babel/parser/7.18.9: resolution: {integrity: sha512-9uJveS9eY9DJ0t64YbIBZICtJy8a5QrDEVdiLCG97fVLpDTpGX7t8mMSb6OWw6Lrnjqj4O8zwjELX3dhoMgiBg==} @@ -1073,6 +1043,7 @@ packages: hasBin: true dependencies: '@babel/types': 7.18.9 + dev: true /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-anv/DObl7waiGEnC24O9zqL0pSuI9hljihqiDuFHC8d7/bjr/4RLGPWuc8rYOff/QPzbEPSkzG8wGG9aDuhHRg==} @@ -1123,19 +1094,6 @@ packages: - supports-color dev: true - /@babel/plugin-proposal-class-properties/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-IobU0Xme31ewjYOShSIqd/ZGM/r/cuOz2z0MDbNrhF5FW+ZVgi0f2lyeoj9KFPDOAqsYxmLWZte1WOwlvY9aww==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-create-class-features-plugin': 7.18.0_@babel+core@7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - transitivePeerDependencies: - - supports-color - dev: false - /@babel/plugin-proposal-class-static-block/7.17.6_@babel+core@7.18.0: resolution: {integrity: sha512-X/tididvL2zbs7jZCeeRJ8167U/+Ac135AM6jCAx6gYXDUviZV5Ku9UDvWS2NCuWlFjIRXklYhwo6HhAC7ETnA==} engines: {node: '>=6.9.0'} @@ -1230,20 +1188,6 @@ packages: '@babel/plugin-transform-parameters': 7.16.7_@babel+core@7.18.0 dev: true - /@babel/plugin-proposal-object-rest-spread/7.17.3_@babel+core@7.18.9: - resolution: {integrity: sha512-yuL5iQA/TbZn+RGAfxQXfi7CNLmKi1f8zInn4IgobuCWcAb7i+zj4TYzQ9l8cEzVyJ89PDGuqxK1xZpUDISesw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/compat-data': 7.17.10 - '@babel/core': 7.18.9 - '@babel/helper-compilation-targets': 7.17.10_@babel+core@7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.18.9 - '@babel/plugin-transform-parameters': 7.16.7_@babel+core@7.18.9 - dev: false - /@babel/plugin-proposal-optional-catch-binding/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==} engines: {node: '>=6.9.0'} @@ -1324,15 +1268,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.18.9: - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-syntax-class-static-block/7.14.5_@babel+core@7.18.0: resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} engines: {node: '>=6.9.0'} @@ -1361,16 +1296,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-syntax-flow/7.18.6_@babel+core@7.18.9: - resolution: {integrity: sha512-LUbR+KNTBWCUAqRG9ex5Gnzu2IOkt8jRJbHHXFT9q+L9zm7M/QQbEqXyw1n1pohYvOyWC8CjeyjrSaIwiYjK7A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.18.9 - dev: false - /@babel/plugin-syntax-json-strings/7.8.3_@babel+core@7.18.0: resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} peerDependencies: @@ -1400,16 +1325,6 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-jsx/7.18.6_@babel+core@7.18.9: - resolution: {integrity: sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.18.9 - dev: false - /@babel/plugin-syntax-logical-assignment-operators/7.10.4_@babel+core@7.18.0: resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} peerDependencies: @@ -1446,15 +1361,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.18.9: - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.18.0: resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} peerDependencies: @@ -1523,16 +1429,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-arrow-functions/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-9ffkFFMbvzTvv+7dTp/66xvZAWASuPD5Tl9LK3Z9vhOmANo6j94rik+5YMBt4CwHVMWLWpMsriIc2zsa3WW3xQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-transform-async-to-generator/7.16.8_@babel+core@7.18.0: resolution: {integrity: sha512-MtmUmTJQHCnyJVrScNzNlofQJ3dLFuobYn3mwOTKHnSCMtbNsqvF71GQmJfFjdrXSsAA7iysFmYWw4bXZ20hOg==} engines: {node: '>=6.9.0'} @@ -1557,16 +1453,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-block-scoped-functions/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-transform-block-scoping/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-ObZev2nxVAYA4bhyusELdo9hb3H+A56bxH3FZMbEImZFiEDYVHXQSJ1hQKFlDnlt8G9bBrCZ5ZpURZUrV4G5qQ==} engines: {node: '>=6.9.0'} @@ -1577,16 +1463,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-block-scoping/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-ObZev2nxVAYA4bhyusELdo9hb3H+A56bxH3FZMbEImZFiEDYVHXQSJ1hQKFlDnlt8G9bBrCZ5ZpURZUrV4G5qQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-transform-classes/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-WY7og38SFAGYRe64BrjKf8OrE6ulEHtr5jEYaZMwox9KebgqPi67Zqz8K53EKk1fFEJgm96r32rkKZ3qA2nCWQ==} engines: {node: '>=6.9.0'} @@ -1606,25 +1482,6 @@ packages: - supports-color dev: true - /@babel/plugin-transform-classes/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-WY7og38SFAGYRe64BrjKf8OrE6ulEHtr5jEYaZMwox9KebgqPi67Zqz8K53EKk1fFEJgm96r32rkKZ3qA2nCWQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-annotate-as-pure': 7.16.7 - '@babel/helper-environment-visitor': 7.18.2 - '@babel/helper-function-name': 7.17.9 - '@babel/helper-optimise-call-expression': 7.16.7 - '@babel/helper-plugin-utils': 7.17.12 - '@babel/helper-replace-supers': 7.16.7 - '@babel/helper-split-export-declaration': 7.16.7 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - dev: false - /@babel/plugin-transform-computed-properties/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-gN72G9bcmenVILj//sv1zLNaPyYcOzUho2lIJBMh/iakJ9ygCo/hEF9cpGb61SCMEDxbbyBoVQxrt+bWKu5KGw==} engines: {node: '>=6.9.0'} @@ -1635,16 +1492,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-computed-properties/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-gN72G9bcmenVILj//sv1zLNaPyYcOzUho2lIJBMh/iakJ9ygCo/hEF9cpGb61SCMEDxbbyBoVQxrt+bWKu5KGw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-transform-destructuring/7.17.7_@babel+core@7.18.0: resolution: {integrity: sha512-XVh0r5yq9sLR4vZ6eVZe8FKfIcSgaTBxVBRSYokRj2qksf6QerYnTxz9/GTuKTH/n/HwLP7t6gtlybHetJ/6hQ==} engines: {node: '>=6.9.0'} @@ -1655,16 +1502,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-destructuring/7.17.7_@babel+core@7.18.9: - resolution: {integrity: sha512-XVh0r5yq9sLR4vZ6eVZe8FKfIcSgaTBxVBRSYokRj2qksf6QerYnTxz9/GTuKTH/n/HwLP7t6gtlybHetJ/6hQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-transform-dotall-regex/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==} engines: {node: '>=6.9.0'} @@ -1697,17 +1534,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-flow-strip-types/7.18.9_@babel+core@7.18.9: - resolution: {integrity: sha512-+G6rp2zRuOAInY5wcggsx4+QVao1qPM0osC9fTUVlAV3zOrzTCnrMAFVnR6+a3T8wz1wFIH7KhYMcMB3u1n80A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.18.9 - '@babel/plugin-syntax-flow': 7.18.6_@babel+core@7.18.9 - dev: false - /@babel/plugin-transform-for-of/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-/QZm9W92Ptpw7sjI9Nx1mbcsWz33+l8kuMIQnDwgQBG5s3fAfQvkRjQ7NqXhtNcKOnPkdICmUHyCaWW06HCsqg==} engines: {node: '>=6.9.0'} @@ -1718,16 +1544,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-for-of/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-/QZm9W92Ptpw7sjI9Nx1mbcsWz33+l8kuMIQnDwgQBG5s3fAfQvkRjQ7NqXhtNcKOnPkdICmUHyCaWW06HCsqg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-transform-function-name/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==} engines: {node: '>=6.9.0'} @@ -1740,18 +1556,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-function-name/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-compilation-targets': 7.17.10_@babel+core@7.18.9 - '@babel/helper-function-name': 7.17.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-transform-literals/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-6tH8RTpTWI0s2sV6uq3e/C9wPo4PTqqZps4uF0kzQ9/xPLFQtipynvmT1g/dOfEJ+0EQsHhkQ/zyRId8J2b8zQ==} engines: {node: '>=6.9.0'} @@ -1762,16 +1566,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-literals/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-6tH8RTpTWI0s2sV6uq3e/C9wPo4PTqqZps4uF0kzQ9/xPLFQtipynvmT1g/dOfEJ+0EQsHhkQ/zyRId8J2b8zQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-transform-member-expression-literals/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==} engines: {node: '>=6.9.0'} @@ -1782,16 +1576,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-member-expression-literals/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-transform-modules-amd/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-KaaEtgBL7FKYwjJ/teH63oAmE3lP34N3kshz8mm4VMAw7U3PxjVwwUmxEFksbgsNUaO3wId9R2AVQYSEGRa2+g==} engines: {node: '>=6.9.0'} @@ -1821,21 +1605,6 @@ packages: - supports-color dev: true - /@babel/plugin-transform-modules-commonjs/7.17.9_@babel+core@7.18.9: - resolution: {integrity: sha512-2TBFd/r2I6VlYn0YRTz2JdazS+FoUuQ2rIFHoAxtyP/0G3D82SBLaRq9rnUkpqlLg03Byfl/+M32mpxjO6KaPw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-module-transforms': 7.18.0 - '@babel/helper-plugin-utils': 7.17.12 - '@babel/helper-simple-access': 7.18.2 - babel-plugin-dynamic-import-node: 2.3.3 - transitivePeerDependencies: - - supports-color - dev: false - /@babel/plugin-transform-modules-systemjs/7.17.8_@babel+core@7.18.0: resolution: {integrity: sha512-39reIkMTUVagzgA5x88zDYXPCMT6lcaRKs1+S9K6NKBPErbgO/w/kP8GlNQTC87b412ZTlmNgr3k2JrWgHH+Bw==} engines: {node: '>=6.9.0'} @@ -1898,19 +1667,6 @@ packages: - supports-color dev: true - /@babel/plugin-transform-object-super/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - '@babel/helper-replace-supers': 7.16.7 - transitivePeerDependencies: - - supports-color - dev: false - /@babel/plugin-transform-parameters/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-AT3MufQ7zZEhU2hwOA11axBnExW0Lszu4RL/tAlUJBuNoRak+wehQW8h6KcXOcgjY42fHtDxswuMhMjFEuv/aw==} engines: {node: '>=6.9.0'} @@ -1921,16 +1677,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-parameters/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-AT3MufQ7zZEhU2hwOA11axBnExW0Lszu4RL/tAlUJBuNoRak+wehQW8h6KcXOcgjY42fHtDxswuMhMjFEuv/aw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-transform-property-literals/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==} engines: {node: '>=6.9.0'} @@ -1941,40 +1687,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-property-literals/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - - /@babel/plugin-transform-react-display-name/7.18.6_@babel+core@7.18.9: - resolution: {integrity: sha512-TV4sQ+T013n61uMoygyMRm+xf04Bd5oqFpv2jAEQwSZ8NwQA7zeRPg1LMVg2PWi3zWBz+CLKD+v5bcpZ/BS0aA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.18.9 - dev: false - - /@babel/plugin-transform-react-jsx/7.18.6_@babel+core@7.18.9: - resolution: {integrity: sha512-Mz7xMPxoy9kPS/JScj6fJs03TZ/fZ1dJPlMjRAgTaxaS0fUBk8FV/A2rRgfPsVCZqALNwMexD+0Uaf5zlcKPpw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-module-imports': 7.18.6 - '@babel/helper-plugin-utils': 7.18.9 - '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.18.9 - '@babel/types': 7.18.9 - dev: false - /@babel/plugin-transform-regenerator/7.17.9_@babel+core@7.18.0: resolution: {integrity: sha512-Lc2TfbxR1HOyn/c6b4Y/b6NHoTb67n/IoWLxTu4kC7h4KQnWlhCq2S8Tx0t2SVvv5Uu87Hs+6JEJ5kt2tYGylQ==} engines: {node: '>=6.9.0'} @@ -2005,16 +1717,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-shorthand-properties/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-transform-spread/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-+pjJpgAngb53L0iaA5gU/1MLXJIfXcYepLgXB3esVRf4fqmj8f2cxM3/FKaHsZms08hFQJkFccEWuIpm429TXg==} engines: {node: '>=6.9.0'} @@ -2026,17 +1728,6 @@ packages: '@babel/helper-skip-transparent-expression-wrappers': 7.16.0 dev: true - /@babel/plugin-transform-spread/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-+pjJpgAngb53L0iaA5gU/1MLXJIfXcYepLgXB3esVRf4fqmj8f2cxM3/FKaHsZms08hFQJkFccEWuIpm429TXg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - '@babel/helper-skip-transparent-expression-wrappers': 7.16.0 - dev: false - /@babel/plugin-transform-sticky-regex/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==} engines: {node: '>=6.9.0'} @@ -2057,16 +1748,6 @@ packages: '@babel/helper-plugin-utils': 7.17.12 dev: true - /@babel/plugin-transform-template-literals/7.16.7_@babel+core@7.18.9: - resolution: {integrity: sha512-VwbkDDUeenlIjmfNeDX/V0aWrQH2QiVyJtwymVQSzItFDTpxfyJh3EVaQiS0rIN/CqbLGr0VcGmuwyTdZtdIsA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.9 - '@babel/helper-plugin-utils': 7.17.12 - dev: false - /@babel/plugin-transform-typeof-symbol/7.16.7_@babel+core@7.18.0: resolution: {integrity: sha512-p2rOixCKRJzpg9JB4gjnG4gjWkWa89ZoYUnl9snJ1cWIcTH/hvxZqfO+WjG6T8DRBpctEol5jw1O5rA8gkCokQ==} engines: {node: '>=6.9.0'} @@ -2265,6 +1946,7 @@ packages: '@babel/code-frame': 7.16.7 '@babel/parser': 7.18.4 '@babel/types': 7.18.4 + dev: true /@babel/template/7.18.6: resolution: {integrity: sha512-JoDWzPe+wgBsTTgdnIma3iHNFC7YVJoPssVBDjiHfNlyt4YcunDtcDOUmfVDfCK5MfdsaIoX9PkijPhjH3nYUw==} @@ -2273,6 +1955,7 @@ packages: '@babel/code-frame': 7.18.6 '@babel/parser': 7.18.9 '@babel/types': 7.18.9 + dev: true /@babel/traverse/7.18.2: resolution: {integrity: sha512-9eNwoeovJ6KH9zcCNnENY7DMFwTU9JdGCFtqNLfUAqtUHRCOsTOqWoffosP8vKmNYeSBUv3yVJXjfd8ucwOjUA==} @@ -2290,6 +1973,7 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color + dev: true /@babel/traverse/7.18.9: resolution: {integrity: sha512-LcPAnujXGwBgv3/WHv01pHtb2tihcyW1XuL9wd7jqh1Z8AQkTd+QVjMrMijrln0T7ED3UXLIy36P9Ao7W75rYg==} @@ -2307,6 +1991,7 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color + dev: true /@babel/types/7.18.4: resolution: {integrity: sha512-ThN1mBcMq5pG/Vm2IcBmPPfyPXbd8S02rS+OBIDENdufvqC7Z/jHPCv9IcP01277aKtDI8g/2XysBN4hA8niiw==} @@ -2314,6 +1999,7 @@ packages: dependencies: '@babel/helper-validator-identifier': 7.18.6 to-fast-properties: 2.0.0 + dev: true /@babel/types/7.18.9: resolution: {integrity: sha512-WwMLAg2MvJmt/rKEVQBBhIVffMmnilX4oe0sRe7iPOHIGsqpruFHHdrfj4O1CMMtgMtCU4oPafZjDPCRgO57Wg==} @@ -2321,6 +2007,7 @@ packages: dependencies: '@babel/helper-validator-identifier': 7.18.6 to-fast-properties: 2.0.0 + dev: true /@bundled-es-modules/message-format/6.0.4: resolution: {integrity: sha512-NGUoPxqsBzDwvRhY3A3L/AhS1hzS9OWappfyDOyCwE7G3W4ua28gau7QwvJz7QzA6ArbAdeb8c1mLjvd1WUFAA==} @@ -3106,16 +2793,6 @@ packages: fastify: 4.3.0 dev: false - /@fastify/websocket/6.0.1: - resolution: {integrity: sha512-RdrPMpD/gjm7ocqFZN2TVHRAjDNG483dvH7cbMXJPTvIei2xz/sqa5TwtqGPrupU91GZjlUYQqUjQb/cQHA7kw==} - dependencies: - fastify-plugin: 3.0.1 - ws: 8.8.1 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - dev: false - /@floating-ui/core/0.7.3: resolution: {integrity: sha512-buc8BXHmG9l82+OQXOFU3Kr2XQx9ys01U/Q9HMIrZ300iLc8HLMgh7dcCqgYzAzf4BkoQvDcXf5Y+CuEZ5JBYg==} dev: false @@ -3147,202 +2824,6 @@ packages: tslib: 2.4.0 dev: false - /@graphql-codegen/core/2.6.0_graphql@16.5.0: - resolution: {integrity: sha512-7uZGnLCMR/pnh/5CsyI4y5bBvRndNHFs+AWpMUUjDBcjMRrMaavu37VyyYDz4/ob0BnQJt8RTBN9eArS9PLYAQ==} - peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - dependencies: - '@graphql-codegen/plugin-helpers': 2.6.1_graphql@16.5.0 - '@graphql-tools/schema': 8.5.1_graphql@16.5.0 - '@graphql-tools/utils': 8.9.0_graphql@16.5.0 - graphql: 16.5.0 - tslib: 2.4.0 - dev: false - - /@graphql-codegen/plugin-helpers/2.6.1_graphql@16.5.0: - resolution: {integrity: sha512-RbkCPu8rZo+d3tWPUzqnZhgGutp15GVcs9UhaOcenKpCDDQxNxqGGTn76LuAAymT9y7BSnXdY20k1CW59z4nTw==} - peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - dependencies: - '@graphql-tools/utils': 8.9.0_graphql@16.5.0 - change-case-all: 1.0.14 - common-tags: 1.8.2 - graphql: 16.5.0 - import-from: 4.0.0 - lodash: 4.17.21 - tslib: 2.4.0 - dev: false - - /@graphql-codegen/schema-ast/2.5.0_graphql@16.5.0: - resolution: {integrity: sha512-nlF4Yc7h90nmogG2E11TeFJ3/hCkb4SDMSdbJX68b1mhvVEji/kq3zWYKAQ+lAzjZ7HF94Eylm3MrZAjjpCKIA==} - peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - dependencies: - '@graphql-codegen/plugin-helpers': 2.6.1_graphql@16.5.0 - '@graphql-tools/utils': 8.9.0_graphql@16.5.0 - graphql: 16.5.0 - tslib: 2.4.0 - dev: false - - /@graphql-codegen/typed-document-node/2.3.2_graphql@16.5.0: - resolution: {integrity: sha512-QJtSXEFMx5Ze5vqGXOphhuOAIbWfTPjTAMoNFXtaLsbrihooDNq2/BIujAxHc/Cw0pS2JjMRjbur118v0yXbSQ==} - peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - dependencies: - '@graphql-codegen/plugin-helpers': 2.6.1_graphql@16.5.0 - '@graphql-codegen/visitor-plugin-common': 2.12.0_graphql@16.5.0 - auto-bind: 4.0.0 - change-case-all: 1.0.14 - graphql: 16.5.0 - tslib: 2.4.0 - transitivePeerDependencies: - - encoding - - supports-color - dev: false - - /@graphql-codegen/typescript-operations/2.5.2_graphql@16.5.0: - resolution: {integrity: sha512-iFZsdsF4380WrN2UQHfgLjrjyo9VFIsZuCaHe1OoC4fQQ+P3t/GfJ0aj0hc5hNwTNJZ3BzBLHSRgE6wqO4591A==} - peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - dependencies: - '@graphql-codegen/plugin-helpers': 2.6.1_graphql@16.5.0 - '@graphql-codegen/typescript': 2.7.2_graphql@16.5.0 - '@graphql-codegen/visitor-plugin-common': 2.12.0_graphql@16.5.0 - auto-bind: 4.0.0 - graphql: 16.5.0 - tslib: 2.4.0 - transitivePeerDependencies: - - encoding - - supports-color - dev: false - - /@graphql-codegen/typescript-resolvers/2.7.2_graphql@16.5.0: - resolution: {integrity: sha512-Yo0ab37mG438z8xcdtApDyTECqfdH2CeamKTjTQiOxeUBCWZt0MgIjt6jIz2ZTQJVsL7AO5aFjPDoS+00dkLQA==} - peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - dependencies: - '@graphql-codegen/plugin-helpers': 2.6.1_graphql@16.5.0 - '@graphql-codegen/typescript': 2.7.2_graphql@16.5.0 - '@graphql-codegen/visitor-plugin-common': 2.12.0_graphql@16.5.0 - '@graphql-tools/utils': 8.9.0_graphql@16.5.0 - auto-bind: 4.0.0 - graphql: 16.5.0 - tslib: 2.4.0 - transitivePeerDependencies: - - encoding - - supports-color - dev: false - - /@graphql-codegen/typescript/2.7.2_graphql@16.5.0: - resolution: {integrity: sha512-lFqvLgw4oAChA9+ifC2K7Ie+mE+XvHcZqwXsm45bpF7jbmqfgjS0gvQNfu2egi6u4hdg+xL+olNxwnyhayrikw==} - peerDependencies: - graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - dependencies: - '@graphql-codegen/plugin-helpers': 2.6.1_graphql@16.5.0 - '@graphql-codegen/schema-ast': 2.5.0_graphql@16.5.0 - '@graphql-codegen/visitor-plugin-common': 2.12.0_graphql@16.5.0 - auto-bind: 4.0.0 - graphql: 16.5.0 - tslib: 2.4.0 - transitivePeerDependencies: - - encoding - - supports-color - dev: false - - /@graphql-codegen/visitor-plugin-common/2.12.0_graphql@16.5.0: - resolution: {integrity: sha512-ULhFgOY05U+dlPsXkPT2wSBaAZMtEuHPL5Q1u8xwBdHWHi/uT4L5zEcBx+If/f6UWrOw7ufjEM0L7XSupe1iCA==} - peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - dependencies: - '@graphql-codegen/plugin-helpers': 2.6.1_graphql@16.5.0 - '@graphql-tools/optimize': 1.3.0_graphql@16.5.0 - '@graphql-tools/relay-operation-optimizer': 6.5.1_graphql@16.5.0 - '@graphql-tools/utils': 8.9.0_graphql@16.5.0 - auto-bind: 4.0.0 - change-case-all: 1.0.14 - dependency-graph: 0.11.0 - graphql: 16.5.0 - graphql-tag: 2.12.6_graphql@16.5.0 - parse-filepath: 1.0.2 - tslib: 2.4.0 - transitivePeerDependencies: - - encoding - - supports-color - dev: false - - /@graphql-tools/load-files/6.6.0_graphql@16.5.0: - resolution: {integrity: sha512-p1ZQnKuMrjlucxVVksAoHMDBQiHZUdIuAqamX1v7N6FbSlTmUeALm3NlGFhwGFWJ6xK6Jt7yzZH07NQJop7Frg==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - globby: 11.1.0 - graphql: 16.5.0 - tslib: 2.4.0 - unixify: 1.0.0 - dev: false - - /@graphql-tools/merge/8.3.1_graphql@16.5.0: - resolution: {integrity: sha512-BMm99mqdNZbEYeTPK3it9r9S6rsZsQKtlqJsSBknAclXq2pGEfOxjcIZi+kBSkHZKPKCRrYDd5vY0+rUmIHVLg==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-tools/utils': 8.9.0_graphql@16.5.0 - graphql: 16.5.0 - tslib: 2.4.0 - dev: false - - /@graphql-tools/optimize/1.3.0_graphql@16.5.0: - resolution: {integrity: sha512-30QOWJoMJEt1De7tAFtWJ6VPrP6SLq+tSQrA3x+WMvCW3q2exq5wPDpvAXOakVKu0y8L2E+YkipC0hcQPBQdLg==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - graphql: 16.5.0 - tslib: 2.4.0 - dev: false - - /@graphql-tools/relay-operation-optimizer/6.5.1_graphql@16.5.0: - resolution: {integrity: sha512-YhJWspP1TazW6iCJtdoN20Z/Og0kw4Gnx5uFeIviNP17G4tf2LJPttd1ePkCcNZ3pgAIVjbInh9i/0NRJLAJAQ==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@ardatan/relay-compiler': 12.0.0_graphql@16.5.0 - '@graphql-tools/utils': 8.9.0_graphql@16.5.0 - graphql: 16.5.0 - tslib: 2.4.0 - transitivePeerDependencies: - - encoding - - supports-color - dev: false - - /@graphql-tools/schema/8.5.1_graphql@16.5.0: - resolution: {integrity: sha512-0Esilsh0P/qYcB5DKQpiKeQs/jevzIadNTaT0jeWklPMwNbT7yMX4EqZany7mbeRRlSRwMzNzL5olyFdffHBZg==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-tools/merge': 8.3.1_graphql@16.5.0 - '@graphql-tools/utils': 8.9.0_graphql@16.5.0 - graphql: 16.5.0 - tslib: 2.4.0 - value-or-promise: 1.0.11 - dev: false - - /@graphql-tools/utils/8.9.0_graphql@16.5.0: - resolution: {integrity: sha512-pjJIWH0XOVnYGXCqej8g/u/tsfV4LvLlj0eATKQu5zwnxd/TiTHq7Cg313qUPTFFHZ3PP5wJ15chYVtLDwaymg==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - graphql: 16.5.0 - tslib: 2.4.0 - dev: false - - /@graphql-typed-document-node/core/3.1.1_graphql@16.5.0: - resolution: {integrity: sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==} - peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - dependencies: - graphql: 16.5.0 - dev: false - /@humanwhocodes/config-array/0.9.5: resolution: {integrity: sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==} engines: {node: '>=10.10.0'} @@ -3386,6 +2867,7 @@ packages: dependencies: '@jridgewell/set-array': 1.1.1 '@jridgewell/sourcemap-codec': 1.4.13 + dev: true /@jridgewell/gen-mapping/0.3.1: resolution: {integrity: sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==} @@ -3394,6 +2876,7 @@ packages: '@jridgewell/set-array': 1.1.1 '@jridgewell/sourcemap-codec': 1.4.13 '@jridgewell/trace-mapping': 0.3.13 + dev: true /@jridgewell/gen-mapping/0.3.2: resolution: {integrity: sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==} @@ -3402,14 +2885,17 @@ packages: '@jridgewell/set-array': 1.1.1 '@jridgewell/sourcemap-codec': 1.4.13 '@jridgewell/trace-mapping': 0.3.13 + dev: true /@jridgewell/resolve-uri/3.0.7: resolution: {integrity: sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==} engines: {node: '>=6.0.0'} + dev: true /@jridgewell/set-array/1.1.1: resolution: {integrity: sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==} engines: {node: '>=6.0.0'} + dev: true /@jridgewell/source-map/0.3.2: resolution: {integrity: sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==} @@ -3420,12 +2906,14 @@ packages: /@jridgewell/sourcemap-codec/1.4.13: resolution: {integrity: sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==} + dev: true /@jridgewell/trace-mapping/0.3.13: resolution: {integrity: sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==} dependencies: '@jridgewell/resolve-uri': 3.0.7 '@jridgewell/sourcemap-codec': 1.4.13 + dev: true /@jridgewell/trace-mapping/0.3.9: resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} @@ -5247,6 +4735,7 @@ packages: dependencies: clean-stack: 2.2.0 indent-string: 4.0.0 + dev: true /ajv-formats/2.1.1: resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} @@ -5264,6 +4753,7 @@ packages: fast-json-stable-stringify: 2.1.0 json-schema-traverse: 0.4.1 uri-js: 4.4.1 + dev: true /ajv/8.11.0: resolution: {integrity: sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==} @@ -5447,10 +4937,6 @@ packages: printable-characters: 1.0.42 dev: true - /asap/2.0.6: - resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} - dev: false - /astral-regex/2.0.0: resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} engines: {node: '>=8'} @@ -5475,11 +4961,6 @@ packages: engines: {node: '>=8.0.0'} dev: false - /auto-bind/4.0.0: - resolution: {integrity: sha512-Hdw8qdNiqdJ8LqT0iK0sVzkFbzg6fhnQqqfWhBDxcHZvU75+B+ayzTy8x+k5Ix0Y92XOhOUlx74ps+bA6BeYMQ==} - engines: {node: '>=8'} - dev: false - /avvio/8.2.0: resolution: {integrity: sha512-bbCQdg7bpEv6kGH41RO/3B2/GMMmJSo2iBK+X8AWN9mujtfUipMDfIjsgHCfpnKqoGEQrrmCDKSa5OQ19+fDmg==} dependencies: @@ -5494,6 +4975,7 @@ packages: resolution: {integrity: sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==} dependencies: object.assign: 4.1.2 + dev: true /babel-plugin-jsx-dom-expressions/0.33.14_@babel+core@7.18.9: resolution: {integrity: sha512-91T8uEz6Wb42bUm5vxRBawY05fBHiwUxah/xWBimuWpH3nf7E0KJ0Wm/s8R7lxRIZzwGCILv1IBlUCqA50WOVw==} @@ -5554,47 +5036,6 @@ packages: - supports-color dev: true - /babel-plugin-syntax-trailing-function-commas/7.0.0-beta.0: - resolution: {integrity: sha512-Xj9XuRuz3nTSbaTXWv3itLOcxyF4oPD8douBBmj7U9BBC6nEBYfyOJYQMf/8PJAFotC62UY5dFfIGEPr7WswzQ==} - dev: false - - /babel-preset-fbjs/3.4.0_@babel+core@7.18.9: - resolution: {integrity: sha512-9ywCsCvo1ojrw0b+XYk7aFvTH6D9064t0RIL1rtMf3nsa02Xw41MS7sZw216Im35xj/UY0PDBQsa1brUDDF1Ow==} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.18.9 - '@babel/plugin-proposal-class-properties': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-proposal-object-rest-spread': 7.17.3_@babel+core@7.18.9 - '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.18.9 - '@babel/plugin-syntax-flow': 7.18.6_@babel+core@7.18.9 - '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.18.9 - '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.18.9 - '@babel/plugin-transform-arrow-functions': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-block-scoped-functions': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-block-scoping': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-classes': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-computed-properties': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-destructuring': 7.17.7_@babel+core@7.18.9 - '@babel/plugin-transform-flow-strip-types': 7.18.9_@babel+core@7.18.9 - '@babel/plugin-transform-for-of': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-function-name': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-literals': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-member-expression-literals': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-modules-commonjs': 7.17.9_@babel+core@7.18.9 - '@babel/plugin-transform-object-super': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-parameters': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-property-literals': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-react-display-name': 7.18.6_@babel+core@7.18.9 - '@babel/plugin-transform-react-jsx': 7.18.6_@babel+core@7.18.9 - '@babel/plugin-transform-shorthand-properties': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-spread': 7.16.7_@babel+core@7.18.9 - '@babel/plugin-transform-template-literals': 7.16.7_@babel+core@7.18.9 - babel-plugin-syntax-trailing-function-commas: 7.0.0-beta.0 - transitivePeerDependencies: - - supports-color - dev: false - /babel-preset-solid/1.4.2_@babel+core@7.18.0: resolution: {integrity: sha512-dDAYTT4UcBvUjdnlf1SOBNTospI/L1wWyzrMxEie3B4Auofo0lSFaCc95Pn5AZY8sdAew13Rp4a1ImByIsZlsQ==} dependencies: @@ -5719,12 +5160,7 @@ packages: escalade: 3.1.1 node-releases: 2.0.5 picocolors: 1.0.0 - - /bser/2.1.1: - resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} - dependencies: - node-int64: 0.4.0 - dev: false + dev: true /buffer-crc32/0.2.13: resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} @@ -5785,13 +5221,6 @@ packages: engines: {node: '>=6'} dev: true - /camel-case/4.1.2: - resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==} - dependencies: - pascal-case: 3.1.2 - tslib: 2.4.0 - dev: false - /camelcase-keys/6.2.2: resolution: {integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==} engines: {node: '>=8'} @@ -5818,14 +5247,7 @@ packages: /caniuse-lite/1.0.30001346: resolution: {integrity: sha512-q6ibZUO2t88QCIPayP/euuDREq+aMAxFE5S70PkrLh0iTDj/zEhgvJRKC2+CvXY6EWc6oQwUR48lL5vCW6jiXQ==} - - /capital-case/1.0.4: - resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==} - dependencies: - no-case: 3.0.4 - tslib: 2.4.0 - upper-case-first: 2.0.2 - dev: false + dev: true /chalk/2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} @@ -5858,38 +5280,6 @@ packages: ansi-styles: 4.3.0 supports-color: 7.2.0 - /change-case-all/1.0.14: - resolution: {integrity: sha512-CWVm2uT7dmSHdO/z1CXT/n47mWonyypzBbuCy5tN7uMg22BsfkhwT6oHmFCAk+gL1LOOxhdbB9SZz3J1KTY3gA==} - dependencies: - change-case: 4.1.2 - is-lower-case: 2.0.2 - is-upper-case: 2.0.2 - lower-case: 2.0.2 - lower-case-first: 2.0.2 - sponge-case: 1.0.1 - swap-case: 2.0.2 - title-case: 3.0.3 - upper-case: 2.0.2 - upper-case-first: 2.0.2 - dev: false - - /change-case/4.1.2: - resolution: {integrity: sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A==} - dependencies: - camel-case: 4.1.2 - capital-case: 1.0.4 - constant-case: 3.0.4 - dot-case: 3.0.4 - header-case: 2.0.4 - no-case: 3.0.4 - param-case: 3.0.4 - pascal-case: 3.1.2 - path-case: 3.0.4 - sentence-case: 3.0.4 - snake-case: 3.0.4 - tslib: 2.4.0 - dev: false - /char-regex/1.0.2: resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} engines: {node: '>=10'} @@ -5936,6 +5326,7 @@ packages: /clean-stack/2.2.0: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} + dev: true /cli-boxes/2.2.1: resolution: {integrity: sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==} @@ -6066,6 +5457,7 @@ packages: /common-tags/1.8.2: resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==} engines: {node: '>=4.0.0'} + dev: true /commondir/1.0.1: resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} @@ -6136,14 +5528,6 @@ packages: proto-list: 1.2.4 dev: true - /constant-case/3.0.4: - resolution: {integrity: sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==} - dependencies: - no-case: 3.0.4 - tslib: 2.4.0 - upper-case: 2.0.2 - dev: false - /content-disposition/0.5.4: resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==} engines: {node: '>= 0.6'} @@ -6189,6 +5573,7 @@ packages: resolution: {integrity: sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==} dependencies: safe-buffer: 5.1.2 + dev: true /cookie-signature/1.0.6: resolution: {integrity: sha1-4wOogrNCzD7oylE6eZmXNNqzriw=} @@ -6461,12 +5846,7 @@ packages: /depd/2.0.0: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} - engines: {node: '>= 0.8'} - - /dependency-graph/0.11.0: - resolution: {integrity: sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==} - engines: {node: '>= 0.6.0'} - dev: false + engines: {node: '>= 0.8'} /destroy/1.2.0: resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} @@ -6508,13 +5888,6 @@ packages: esutils: 2.0.3 dev: true - /dot-case/3.0.4: - resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} - dependencies: - no-case: 3.0.4 - tslib: 2.4.0 - dev: false - /dot-prop/5.3.0: resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==} engines: {node: '>=8'} @@ -6567,6 +5940,7 @@ packages: /electron-to-chromium/1.4.146: resolution: {integrity: sha512-4eWebzDLd+hYLm4csbyMU2EbBnqhwl8Oe9eF/7CBDPWcRxFmqzx4izxvHH+lofQxzieg8UbB8ZuzNTxeukzfTg==} + dev: true /emoji-regex/8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -7291,10 +6665,6 @@ packages: resolution: {integrity: sha512-inRWzRY7nG+aXZxBzEqYKB3HPgwflZRopAjDCHv0whhRx+MTUr1ei0ICZUypdyE0HRm4L2d5VEcIqLD6yl+BFA==} dev: true - /events.on/1.0.1: - resolution: {integrity: sha512-yT4htzImIQAf7mFV3heqTRNVwysZIgQjrribiCYQk152gcG6shz/WU/6xVGr0oDzkzcDPhMcCYy4lEKBiadSRA==} - dev: false - /events/3.3.0: resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} engines: {node: '>=0.8.x'} @@ -7409,14 +6779,7 @@ packages: /fast-json-stable-stringify/2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} - - /fast-json-stringify/1.21.0: - resolution: {integrity: sha512-xY6gyjmHN3AK1Y15BCbMpeO9+dea5ePVsp3BouHCdukcx0hOHbXwFhRodhcI0NpZIgDChSeAKkHW9YjKvhwKBA==} - dependencies: - ajv: 6.12.6 - deepmerge: 4.2.2 - string-similarity: 4.0.4 - dev: false + dev: true /fast-json-stringify/5.1.0: resolution: {integrity: sha512-IybGfbUc1DQgyrp9Myhwlr1Z5vjV37mBkdgcbuvsvUxv5fayG+cHlTQQpXH9nMwUPgp+5Y3RT7QDgx5zJ9NS3A==} @@ -7506,42 +6869,11 @@ packages: - supports-color dev: false - /fastparallel/2.4.1: - resolution: {integrity: sha512-qUmhxPgNHmvRjZKBFUNI0oZuuH9OlSIOXmJ98lhKPxMZZ7zS/Fi0wRHOihDSz0R1YiIOjxzOY4bq65YTcdBi2Q==} - dependencies: - reusify: 1.0.4 - xtend: 4.0.2 - dev: false - /fastq/1.13.0: resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==} dependencies: reusify: 1.0.4 - /fb-watchman/2.0.1: - resolution: {integrity: sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==} - dependencies: - bser: 2.1.1 - dev: false - - /fbjs-css-vars/1.0.2: - resolution: {integrity: sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==} - dev: false - - /fbjs/3.0.4: - resolution: {integrity: sha512-ucV0tDODnGV3JCnnkmoszb5lf4bNpzjv80K41wd4k798Etq+UYD0y0TIfalLjZoKgjive6/adkRnszwapiDgBQ==} - dependencies: - cross-fetch: 3.1.5 - fbjs-css-vars: 1.0.2 - loose-envify: 1.4.0 - object-assign: 4.1.1 - promise: 7.3.1 - setimmediate: 1.0.5 - ua-parser-js: 0.7.31 - transitivePeerDependencies: - - encoding - dev: false - /figures/3.2.0: resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} engines: {node: '>=8'} @@ -7767,12 +7099,6 @@ packages: /functions-have-names/1.2.3: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} - /generate-function/2.3.1: - resolution: {integrity: sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==} - dependencies: - is-property: 1.0.2 - dev: false - /generify/4.2.0: resolution: {integrity: sha512-b4cVhbPfbgbCZtK0dcUc1lASitXGEAIqukV5DDAyWm25fomWnV+C+a1yXvqikcRZXHN2j0pSDyj3cTfzq8pC7Q==} hasBin: true @@ -7786,6 +7112,7 @@ packages: /gensync/1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} + dev: true /get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} @@ -7893,6 +7220,7 @@ packages: /globals/11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} + dev: true /globals/13.15.0: resolution: {integrity: sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==} @@ -7926,34 +7254,10 @@ packages: /grapheme-splitter/1.0.4: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} - /graphql-jit/0.7.4_graphql@16.5.0: - resolution: {integrity: sha512-kWyHmsQtKMD6xcKDgf4dgPLyIZhviqA6IWGdnA0ElL9wgrIOTxf3eI4c0/U3tnoAU3t09zliVCfDkfIptzYjIA==} - peerDependencies: - graphql: '>=15' - dependencies: - '@graphql-typed-document-node/core': 3.1.1_graphql@16.5.0 - fast-json-stringify: 1.21.0 - generate-function: 2.3.1 - graphql: 16.5.0 - json-schema: 0.4.0 - lodash.memoize: 4.1.2 - lodash.merge: 4.6.2 - lodash.mergewith: 4.6.2 - dev: false - - /graphql-tag/2.12.6_graphql@16.5.0: - resolution: {integrity: sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==} - engines: {node: '>=10'} - peerDependencies: - graphql: ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - dependencies: - graphql: 16.5.0 - tslib: 2.4.0 - dev: false - /graphql/16.5.0: resolution: {integrity: sha512-qbHgh8Ix+j/qY+a/ZcJnFQ+j8ezakqPiHwPiZhV/3PgGlgf96QMBB5/f2rkiC9sgLoy/xvT6TSiaf2nTHJh5iA==} engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} + dev: true /handle-thing/2.0.1: resolution: {integrity: sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==} @@ -8008,13 +7312,6 @@ packages: type-fest: 0.8.1 dev: true - /header-case/2.0.4: - resolution: {integrity: sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q==} - dependencies: - capital-case: 1.0.4 - tslib: 2.4.0 - dev: false - /headers-polyfill/3.0.9: resolution: {integrity: sha512-FFIXpxbA9HZJXofXqS4IBRa7Z8F1Y+/DwxHSEOOTswZxym8Kz+f6DNhrtnCRcjWcTN7LjjbE5stz0UnoUPNprQ==} dev: true @@ -8161,11 +7458,6 @@ packages: resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==} engines: {node: '>= 4'} - /immutable/3.7.6: - resolution: {integrity: sha512-AizQPcaofEtO11RZhPPHBOJRdo/20MKQF9mBLnVkBoyHi1/zXK8fzVdnEpSV9gxqtnh6Qomfp3F0xT5qP/vThw==} - engines: {node: '>=0.8.0'} - dev: false - /immutable/4.0.0: resolution: {integrity: sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==} @@ -8177,11 +7469,6 @@ packages: resolve-from: 4.0.0 dev: true - /import-from/4.0.0: - resolution: {integrity: sha512-P9J71vT5nLlDeV8FHs5nNxaLbrpfAV5cF5srvbZfpwpcJoM/xZR3hiv+q+SAnuSmuGbXMWud063iIMx/V/EWZQ==} - engines: {node: '>=12.2'} - dev: false - /import-lazy/4.0.0: resolution: {integrity: sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==} engines: {node: '>=8'} @@ -8255,24 +7542,10 @@ packages: has: 1.0.3 side-channel: 1.0.4 - /invariant/2.2.4: - resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==} - dependencies: - loose-envify: 1.4.0 - dev: false - /ipaddr.js/1.9.1: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} engines: {node: '>= 0.10'} - /is-absolute/1.0.0: - resolution: {integrity: sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==} - engines: {node: '>=0.10.0'} - dependencies: - is-relative: 1.0.0 - is-windows: 1.0.2 - dev: false - /is-arrayish/0.2.1: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} @@ -8358,12 +7631,6 @@ packages: engines: {node: '>=8'} dev: true - /is-lower-case/2.0.2: - resolution: {integrity: sha512-bVcMJy4X5Og6VZfdOZstSexlEy20Sr0k/p/b2IlQJlfdKAQuMpiv5w2Ccxb8sKdRUNAG1PnHVHjFSdRDVS6NlQ==} - dependencies: - tslib: 2.4.0 - dev: false - /is-module/1.0.0: resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} dev: true @@ -8415,10 +7682,6 @@ packages: engines: {node: '>=8'} dev: true - /is-property/1.0.2: - resolution: {integrity: sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==} - dev: false - /is-regex/1.1.4: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} engines: {node: '>= 0.4'} @@ -8431,13 +7694,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /is-relative/1.0.0: - resolution: {integrity: sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==} - engines: {node: '>=0.10.0'} - dependencies: - is-unc-path: 1.0.0 - dev: false - /is-shared-array-buffer/1.0.2: resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} dependencies: @@ -8481,24 +7737,11 @@ packages: /is-typedarray/1.0.0: resolution: {integrity: sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==} - /is-unc-path/1.0.0: - resolution: {integrity: sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==} - engines: {node: '>=0.10.0'} - dependencies: - unc-path-regex: 0.1.2 - dev: false - /is-unicode-supported/0.1.0: resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} engines: {node: '>=10'} dev: true - /is-upper-case/2.0.2: - resolution: {integrity: sha512-44pxmxAvnnAOwBg4tHPnkfvgjPwbc5QIsSstNU+YcJ1ovxVzCWpSGosPJOZh/a1tdl81fbgnLc9LLv+x2ywbPQ==} - dependencies: - tslib: 2.4.0 - dev: false - /is-weakref/1.0.2: resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} dependencies: @@ -8670,6 +7913,7 @@ packages: resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} engines: {node: '>=4'} hasBin: true + dev: true /json-parse-even-better-errors/2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} @@ -8687,12 +7931,14 @@ packages: /json-schema-traverse/0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + dev: true /json-schema-traverse/1.0.0: resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} /json-schema/0.4.0: resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==} + dev: true /json-stable-stringify-without-jsonify/1.0.1: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} @@ -8706,6 +7952,7 @@ packages: resolution: {integrity: sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==} engines: {node: '>=6'} hasBin: true + dev: true /jsonfile/4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} @@ -8974,17 +8221,9 @@ packages: resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==} dev: true - /lodash.memoize/4.1.2: - resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} - dev: false - /lodash.merge/4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - /lodash.mergewith/4.6.2: - resolution: {integrity: sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==} - dev: false - /lodash.sortby/4.7.0: resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} dev: true @@ -9017,25 +8256,6 @@ packages: wrap-ansi: 6.2.0 dev: true - /loose-envify/1.4.0: - resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} - hasBin: true - dependencies: - js-tokens: 4.0.0 - dev: false - - /lower-case-first/2.0.2: - resolution: {integrity: sha512-EVm/rR94FJTZi3zefZ82fLWab+GX14LJN4HrWBcuo6Evmsl9hEfnqxgcHCKb9q+mNf6EVdsjx/qucYFIIB84pg==} - dependencies: - tslib: 2.4.0 - dev: false - - /lower-case/2.0.2: - resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} - dependencies: - tslib: 2.4.0 - dev: false - /lru-cache/4.1.5: resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} dependencies: @@ -9089,11 +8309,6 @@ packages: p-defer: 1.0.0 dev: true - /map-cache/0.2.2: - resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} - engines: {node: '>=0.10.0'} - dev: false - /map-obj/1.0.1: resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} engines: {node: '>=0.10.0'} @@ -9160,59 +8375,6 @@ packages: yargs-parser: 20.2.9 dev: true - /mercurius-codegen/4.0.1_xf7v3rvlbcuc32owjvtoakzei4: - resolution: {integrity: sha512-35qVnCwcSQRYIjKXVWZbY+iKpsSM15pifAgjaJm4Efov2dwuW7tgbYbP9Dx2n8wSyxc3vaSOFG7jNNsrffu7Zg==} - peerDependencies: - fastify: ^4.3.0 - graphql: '*' - mercurius: ^10.1.0 - prettier: ^2.7.1 - dependencies: - '@graphql-codegen/core': 2.6.0_graphql@16.5.0 - '@graphql-codegen/plugin-helpers': 2.6.1_graphql@16.5.0 - '@graphql-codegen/typed-document-node': 2.3.2_graphql@16.5.0 - '@graphql-codegen/typescript': 2.7.2_graphql@16.5.0 - '@graphql-codegen/typescript-operations': 2.5.2_graphql@16.5.0 - '@graphql-codegen/typescript-resolvers': 2.7.2_graphql@16.5.0 - '@graphql-tools/load-files': 6.6.0_graphql@16.5.0 - '@graphql-tools/utils': 8.9.0_graphql@16.5.0 - '@graphql-typed-document-node/core': 3.1.1_graphql@16.5.0 - chokidar: 3.5.3 - fastify: 4.3.0 - graphql: 16.5.0 - mercurius: 10.1.0 - mkdirp: 1.0.4 - transitivePeerDependencies: - - encoding - - supports-color - dev: false - - /mercurius/10.1.0: - resolution: {integrity: sha512-7CBxRcxRELyGDz2FernU2dogyJ2b7Vp4JBUx68Pn082xNH97Oel/Mt4yPpn7V2V1bY7MyuxSF+oZLzFlG+5jCw==} - engines: {node: '>=14.19.3'} - dependencies: - '@fastify/error': 3.0.0 - '@fastify/static': 6.4.1 - '@fastify/websocket': 6.0.1 - events.on: 1.0.1 - fastify-plugin: 3.0.1 - graphql: 16.5.0 - graphql-jit: 0.7.4_graphql@16.5.0 - mqemitter: 5.0.0 - p-map: 4.0.0 - readable-stream: 4.1.0 - safe-stable-stringify: 2.3.1 - secure-json-parse: 2.5.0 - single-user-cache: 0.6.0 - tiny-lru: 8.0.2 - undici: 5.8.0 - ws: 8.8.1 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - dev: false - /merge-anything/5.0.2: resolution: {integrity: sha512-POPQBWkBC0vxdgzRJ2Mkj4+2NTKbvkHo93ih+jGDhNMLzIw+rYKjO7949hOQM2X7DxMHH1uoUkwWFLIzImw7gA==} engines: {node: '>=12.13'} @@ -9320,20 +8482,13 @@ packages: resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} engines: {node: '>=10'} hasBin: true + dev: true /modern-normalize/1.1.0: resolution: {integrity: sha512-2lMlY1Yc1+CUy0gw4H95uNN7vjbpoED7NNRSBHE25nWfLBdmMzFCsPshlzbxHz+gYMcBEUN8V4pU16prcdPSgA==} engines: {node: '>=6'} dev: false - /mqemitter/5.0.0: - resolution: {integrity: sha512-rqNRQhGgl0W/NV+Zrx0rpAUTZcSlAtivCVUmXBUPcFYt+AeDEpoJgy5eKlFWJP6xnatONL59WIFdV0W6niOMhw==} - engines: {node: '>=10'} - dependencies: - fastparallel: 2.4.1 - qlobber: 7.0.1 - dev: false - /ms/2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} @@ -9429,13 +8584,6 @@ packages: path-to-regexp: 1.8.0 dev: true - /no-case/3.0.4: - resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} - dependencies: - lower-case: 2.0.2 - tslib: 2.4.0 - dev: false - /node-fetch/2.6.7: resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} engines: {node: 4.x || >=6.0.0} @@ -9452,10 +8600,6 @@ packages: hasBin: true dev: false - /node-int64/0.4.0: - resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} - dev: false - /node-preload/0.2.1: resolution: {integrity: sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==} engines: {node: '>=8'} @@ -9465,6 +8609,7 @@ packages: /node-releases/2.0.5: resolution: {integrity: sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==} + dev: true /normalize-package-data/2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} @@ -9484,13 +8629,6 @@ packages: validate-npm-package-license: 3.0.4 dev: true - /normalize-path/2.1.1: - resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} - engines: {node: '>=0.10.0'} - dependencies: - remove-trailing-separator: 1.1.0 - dev: false - /normalize-path/3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -9513,10 +8651,6 @@ packages: path-key: 4.0.0 dev: true - /nullthrows/1.1.1: - resolution: {integrity: sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==} - dev: false - /nyc/15.1.0: resolution: {integrity: sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A==} engines: {node: '>=8.9'} @@ -9556,6 +8690,7 @@ packages: /object-assign/4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} + dev: true /object-inspect/1.12.2: resolution: {integrity: sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==} @@ -9742,6 +8877,7 @@ packages: engines: {node: '>=10'} dependencies: aggregate-error: 3.1.0 + dev: true /p-retry/4.6.2: resolution: {integrity: sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==} @@ -9765,13 +8901,6 @@ packages: release-zalgo: 1.0.0 dev: true - /param-case/3.0.4: - resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==} - dependencies: - dot-case: 3.0.4 - tslib: 2.4.0 - dev: false - /parent-module/1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} @@ -9779,15 +8908,6 @@ packages: callsites: 3.1.0 dev: true - /parse-filepath/1.0.2: - resolution: {integrity: sha512-FwdRXKCohSVeXqwtYonZTXtbGJKrn+HNyWDYVcp5yuJlesTwNH4rsmRZ+GrKAPJ5bLpRxESMeS+Rl0VCHRvB2Q==} - engines: {node: '>=0.8'} - dependencies: - is-absolute: 1.0.0 - map-cache: 0.2.2 - path-root: 0.1.1 - dev: false - /parse-json/5.2.0: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} @@ -9807,13 +8927,6 @@ packages: engines: {node: '>= 0.8'} dev: true - /pascal-case/3.1.2: - resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} - dependencies: - no-case: 3.0.4 - tslib: 2.4.0 - dev: false - /path-absolute/1.0.1: resolution: {integrity: sha512-gds5iRhSeOcDtj8gfWkRHLtZKTPsFVuh7utbjYtvnclw4XM+ffRzJrwqMhOD1PVqef7nBLmgsu1vIujjvAJrAw==} engines: {node: '>=4'} @@ -9823,13 +8936,6 @@ packages: resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} dev: true - /path-case/3.0.4: - resolution: {integrity: sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==} - dependencies: - dot-case: 3.0.4 - tslib: 2.4.0 - dev: false - /path-exists/3.0.0: resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==} engines: {node: '>=4'} @@ -9859,18 +8965,6 @@ packages: /path-parse/1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - /path-root-regex/0.1.2: - resolution: {integrity: sha512-4GlJ6rZDhQZFE0DPVKh0e9jmZ5egZfxTkp7bcRDuPlJXbAwhxcl2dINPUAsjLdejqaLsCeg8axcLjIbvBjN4pQ==} - engines: {node: '>=0.10.0'} - dev: false - - /path-root/0.1.1: - resolution: {integrity: sha512-QLcPegTHF11axjfojBIoDygmS2E3Lf+8+jI6wOVmNVenrKSo3mFdSGiIgdSHenczw3wPtlVMQaFVwGmM7BJdtg==} - engines: {node: '>=0.10.0'} - dependencies: - path-root-regex: 0.1.2 - dev: false - /path-temp/2.0.0: resolution: {integrity: sha512-92olbatybjsHTGB2CUnAM7s0mU/27gcMfLNA7t09UftndUdxywlQKur3fzXEPpfLrgZD3I2Bt8+UmiL7YDEgXQ==} engines: {node: '>=8.15'} @@ -10117,12 +9211,6 @@ packages: engines: {node: '>=0.4.0'} dev: true - /promise/7.3.1: - resolution: {integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==} - dependencies: - asap: 2.0.6 - dev: false - /prompts/2.4.2: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} @@ -10161,11 +9249,6 @@ packages: engines: {node: '>=0.6.0', teleport: '>=0.2.0'} dev: true - /qlobber/7.0.1: - resolution: {integrity: sha512-FsFg9lMuMEFNKmTO9nV7tlyPhx8BmskPPjH2akWycuYVTtWaVwhW5yCHLJQ6Q+3mvw5cFX2vMfW2l9z2SiYAbg==} - engines: {node: '>= 14'} - dev: false - /qs/6.10.3: resolution: {integrity: sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==} engines: {node: '>=0.6'} @@ -10364,16 +9447,6 @@ packages: jsesc: 0.5.0 dev: true - /relay-runtime/12.0.0: - resolution: {integrity: sha512-QU6JKr1tMsry22DXNy9Whsq5rmvwr3LSZiiWV/9+DFpuTWvp+WFhobWMc8TC4OjKFfNhEZy7mOiqUAn5atQtug==} - dependencies: - '@babel/runtime': 7.18.3 - fbjs: 3.0.4 - invariant: 2.2.4 - transitivePeerDependencies: - - encoding - dev: false - /release-zalgo/1.0.0: resolution: {integrity: sha512-gUAyHVHPPC5wdqX/LG4LWtRYtgjxyX78oanFNTMMyFEfOqdC54s3eE82imuWKbOeqYht2CrNf64Qb8vgmmtZGA==} engines: {node: '>=4'} @@ -10381,10 +9454,6 @@ packages: es6-error: 4.1.1 dev: true - /remove-trailing-separator/1.1.0: - resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==} - dev: false - /replace-string/3.1.0: resolution: {integrity: sha512-yPpxc4ZR2makceA9hy/jHNqc7QVkd4Je/N0WRHm6bs3PtivPuPynxE5ejU/mp5EhnCv8+uZL7vhz8rkluSlx+Q==} engines: {node: '>=8'} @@ -10591,6 +9660,7 @@ 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==} @@ -10642,6 +9712,7 @@ packages: /semver/6.3.0: resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} hasBin: true + dev: true /semver/7.0.0: resolution: {integrity: sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==} @@ -10675,14 +9746,6 @@ packages: transitivePeerDependencies: - supports-color - /sentence-case/3.0.4: - resolution: {integrity: sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==} - dependencies: - no-case: 3.0.4 - tslib: 2.4.0 - upper-case-first: 2.0.2 - dev: false - /serialize-javascript/4.0.0: resolution: {integrity: sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==} dependencies: @@ -10707,10 +9770,6 @@ packages: /set-cookie-parser/2.5.0: resolution: {integrity: sha512-cHMAtSXilfyBePduZEBVPTCftTQWz6ehWJD5YNUg4mqvRosrrjKbo4WS8JkB0/RxonMoohHm7cOGH60mDkRQ9w==} - /setimmediate/1.0.5: - resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} - dev: false - /setprototypeof/1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} @@ -10748,16 +9807,6 @@ packages: /signal-exit/3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} - /signedsource/1.0.0: - resolution: {integrity: sha512-6+eerH9fEnNmi/hyM1DXcRK3pWdoMQtlkQ+ns0ntzunjKqp5i3sKCc80ym8Fib3iaYhdJUOPdhlJWj1tvge2Ww==} - dev: false - - /single-user-cache/0.6.0: - resolution: {integrity: sha512-uMrANoiybpbsrVDbZ2M7GPzxeqZiirwkVnsDAre1zGhXAAw+2dImTxu7h0l1sIVtwGeJnVsRxgG4I5rZrUX0rw==} - dependencies: - safe-stable-stringify: 2.3.1 - dev: false - /singleton-manager/1.5.0: resolution: {integrity: sha512-38sWGgQlhX4TM9xLHNTdp/qVmD3kGKty8j/d4/xZUL2FLycyCPhYjctWK1gO4FZQa4mc2orPxLmzS5I1QwFMhw==} dev: false @@ -10832,13 +9881,6 @@ packages: yargs: 15.4.1 dev: false - /snake-case/3.0.4: - resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} - dependencies: - dot-case: 3.0.4 - tslib: 2.4.0 - dev: false - /solid-app-router/0.4.1_solid-js@1.4.8: resolution: {integrity: sha512-RKHyFQ+J5lXyE/SoyJVHgTBeBck2etYVJn1/9F7ehlzyD2pIOMqLpNXD1GfWQljHqNdXZBSyE+xB/Cck5l9Q/g==} peerDependencies: @@ -11026,12 +10068,6 @@ packages: engines: {node: '>= 10.x'} dev: false - /sponge-case/1.0.1: - resolution: {integrity: sha512-dblb9Et4DAtiZ5YSUZHLl4XhH4uK80GhAZrVXdN4O2P4gQ40Wa5UIOPUHlA/nFd2PLblBZWUioLMMAVrgpoYcA==} - dependencies: - tslib: 2.4.0 - dev: false - /sprintf-js/1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} @@ -11077,10 +10113,6 @@ packages: strip-ansi: 6.0.1 dev: true - /string-similarity/4.0.4: - resolution: {integrity: sha512-/q/8Q4Bl4ZKAPjj8WerIBJWALKkaPRfrvhfF8k/B23i4nzrlRj2/go1m90In7nG/3XDSbOo0+pu6RvCTM9RGMQ==} - dev: false - /string-width/4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -11245,12 +10277,6 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - /swap-case/2.0.2: - resolution: {integrity: sha512-kc6S2YS/2yXbtkSMunBtKdah4VFETZ8Oh6ONSmSd9bRxhqTrtARUCBUiWXH3xVPpvR7tz2CSnkuXVE42EcGnMw==} - dependencies: - tslib: 2.4.0 - dev: false - /tap-mocha-reporter/5.0.3: resolution: {integrity: sha512-6zlGkaV4J+XMRFkN0X+yuw6xHbE9jyCZ3WUKfw4KxMyRGOpYSRuuQTRJyWX88WWuLdVTuFbxzwXhXuS2XE6o0g==} engines: {node: '>= 8'} @@ -11473,12 +10499,6 @@ packages: resolution: {integrity: sha512-ysnVd2E4nWbNXIbHaUidcKGLTmNimqP0hdpsD0Ph5hPJ84ntCF6PHj+Jg3im9nZt9/hNsBg/E6m1psHc2KaPnQ==} dev: false - /title-case/3.0.3: - resolution: {integrity: sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA==} - dependencies: - tslib: 2.4.0 - dev: false - /tmp/0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} @@ -11499,6 +10519,7 @@ packages: /to-fast-properties/2.0.0: resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} engines: {node: '>=4'} + dev: true /to-regex-range/5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} @@ -11752,10 +10773,6 @@ packages: hasBin: true dev: true - /ua-parser-js/0.7.31: - resolution: {integrity: sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==} - dev: false - /uglify-js/3.15.4: resolution: {integrity: sha512-vMOPGDuvXecPs34V74qDKk4iJ/SN4vL3Ow/23ixafENYvtrNvtbcgUeugTcUGRGsOF/5fU8/NYSL5Hyb3l1OJA==} engines: {node: '>=0.8.0'} @@ -11770,21 +10787,11 @@ packages: has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 - /unc-path-regex/0.1.2: - resolution: {integrity: sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==} - engines: {node: '>=0.10.0'} - dev: false - /undici/5.7.0: resolution: {integrity: sha512-ORgxwDkiPS+gK2VxE7iyVeR7JliVn5DqhZ4LgQqYLBXsuK+lwOEmnJ66dhvlpLM0tC3fC7eYF1Bti2frbw2eAA==} engines: {node: '>=12.18'} dev: true - /undici/5.8.0: - resolution: {integrity: sha512-1F7Vtcez5w/LwH2G2tGnFIihuWUlc58YidwLiCv+jR2Z50x0tNXpRRw7eOIJ+GvqCqIkg9SB7NWAJ/T9TLfv8Q==} - engines: {node: '>=12.18'} - dev: false - /unicode-canonical-property-names-ecmascript/2.0.0: resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} engines: {node: '>=4'} @@ -11831,13 +10838,6 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unixify/1.0.0: - resolution: {integrity: sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg==} - engines: {node: '>=0.10.0'} - dependencies: - normalize-path: 2.1.1 - dev: false - /unpipe/1.0.0: resolution: {integrity: sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=} engines: {node: '>= 0.8'} @@ -11848,18 +10848,6 @@ packages: engines: {node: '>=4'} dev: true - /upper-case-first/2.0.2: - resolution: {integrity: sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==} - dependencies: - tslib: 2.4.0 - dev: false - - /upper-case/2.0.2: - resolution: {integrity: sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg==} - dependencies: - tslib: 2.4.0 - dev: false - /uri-js/4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} dependencies: @@ -11911,11 +10899,6 @@ packages: engines: {node: '>= 0.10'} dev: true - /value-or-promise/1.0.11: - resolution: {integrity: sha512-41BrgH+dIbCFXClcSapVs5M6GkENd3gQOJpEfPDNa71LsUGMXDL0jMWpI/Rh7WhX+Aalfz2TTS3Zt5pUsbnhLg==} - engines: {node: '>=12'} - dev: false - /vary/1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -12448,24 +11431,6 @@ packages: write-file-atomic: 3.0.3 dev: true - /ws/8.8.1: - resolution: {integrity: sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dev: false - - /xtend/4.0.2: - resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} - engines: {node: '>=0.4'} - dev: false - /y18n/4.0.3: resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} From 221b3566ffd9fba9484656886bc24b7baa035c80 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Tue, 9 Aug 2022 21:58:45 +0200 Subject: [PATCH 17/32] fix: fix ci --- .github/workflows/main.yml | 44 +++++++++++++++++++------------------- apps/api/Dockerfile.next | 6 +++--- apps/api/package.json | 4 ++-- docker-compose.yml | 13 +++++++++++ package.json | 2 +- pnpm-lock.yaml | 2 +- 6 files changed, 42 insertions(+), 29 deletions(-) create mode 100644 docker-compose.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b22b04248..aba8d3cb5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -174,18 +174,16 @@ jobs: - name: Build run: | pnpm --filter=@codeimage/api build:ts - - - name: Prepare deployable build - run: | pnpm prepare:api:deploy - name: Cache build uses: actions/cache@v3 with: - path: dist/api-bundle - key: api-bundle-${{ github.run_id }} - restore-keys: api- + path: | + dist/api-bundle/** + key: rest-api-bundle-${{ github.run_id }} + restore-keys: rest-api-bundle-${{ github.run_id }} typecheck-app: @@ -305,16 +303,16 @@ jobs: deploy-next: # Next branch only -# if: (github.ref == 'refs/heads/next' || github.ref == 'refs/heads/feat/workspace-ci') + # if: (github.ref == 'refs/heads/next' || github.ref == 'refs/heads/feat/workspace-ci') environment: Next name: Deploy next needs: [ # lint, - build-app, + # build-app, build-api, # typecheck-packages, # typecheck-app, - be-test + # be-test ] runs-on: ubuntu-latest steps: @@ -331,8 +329,9 @@ jobs: - name: Restore api build uses: actions/cache@v3 with: - path: dist/api-bundle - key: api-bundle-${{ github.run_id }} + path: | + dist/api-bundle/** + key: rest-api-bundle-${{ github.run_id }} - name: Install Railway run: pnpm i -g @railway/cli @@ -340,6 +339,7 @@ jobs: - name: Deploy run: | cd dist/api-bundle + ls railway up env: RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} @@ -374,17 +374,17 @@ jobs: # docker system prune -f # docker run --name codeimage-api -dit -p 3000:3000 ghcr.io/riccardoperra/codeimage/api-next:latest - deploy-prod: - # Production branch only - if: github.ref == 'refs/heads/main' - environment: Production - name: Deploy prod - needs: [ lint, build-app, build-api, typecheck-packages, typecheck-app, be-test ] - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Execute tests - run: exit 0 + # deploy-prod: + # # Production branch only + # if: github.ref == 'refs/heads/main' + # environment: Production + # name: Deploy prod + # needs: [ lint, build-app, build-api, typecheck-packages, typecheck-app, be-test ] + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # - name: Execute tests + # run: exit 0 concurrency: group: main-${{ github.head_ref }} diff --git a/apps/api/Dockerfile.next b/apps/api/Dockerfile.next index 14ba0b8b6..c4a26ea15 100644 --- a/apps/api/Dockerfile.next +++ b/apps/api/Dockerfile.next @@ -1,10 +1,10 @@ FROM node:18-alpine WORKDIR /app -RUN ls - ENV NODE_ENV=production +ARG CACHEBUST=0 + COPY . /app RUN npm install -g pnpm @@ -13,4 +13,4 @@ RUN pnpm install EXPOSE 3000 -ENTRYPOINT ["node", "dist/server.js"] +ENTRYPOINT ["node", "build/server.js"] diff --git a/apps/api/package.json b/apps/api/package.json index ea2699830..2bcc4ba85 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -1,7 +1,7 @@ { "name": "@codeimage/api", "version": "0.0.1", - "description": "This project was bootstrapped with Fastify-CLI.", + "description": "CodeImage api rest server", "main": "app.ts", "directories": { "test": "test" @@ -36,6 +36,7 @@ "@sinclair/typebox": "^0.24.26", "close-with-grace": "1.1.0", "dotenv-cli": "^6.0.0", + "dotenv": "16.0.1", "fastify": "^4.3.0", "fastify-cli": "^4.4.0", "fastify-plugin": "^4.0.0", @@ -47,7 +48,6 @@ "@types/sinon": "10.0.13", "@types/tap": "^15.0.5", "concurrently": "^7.0.0", - "dotenv": "16.0.1", "fastify-tsconfig": "^1.0.1", "prisma-json-schema-generator": "3.0.1", "sinon": "14.0.0", diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..be24791d2 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +# docker-compose -f docker-compose.yml -p codeimage2 up -d + +version: '3.8' + +services: + api: + build: + context: . + dockerfile: . + environment: + DATABASE_URL: postgres://postgres:postgres@codeimage_db_1:5432/codeimage?schema=prod + ports: + - '3000:3000' diff --git a/package.json b/package.json index 0310678b4..61f12038a 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "postinstall": "pnpm patch-solid-exports", "patch-solid-exports": "cross-env APPLY_PATCH=true ts-node scripts/patch-solid-exports.ts", "unpatch-solid-exports": "cross-env APPLY_PATCH=false ts-node scripts/patch-solid-exports.ts", - "prepare:api:deploy": "pnpm-bundle-workspace-package @codeimage/api --outDir=dist/api-bundle" + "prepare:api:deploy": "pnpm-bundle-workspace-package @codeimage/api --outDir=dist/api-bundle && mv dist/api-bundle/dist dist/api-bundle/build" }, "devDependencies": { "@changesets/assemble-release-plan": "^5.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index df9944b18..28e8b6e98 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -92,6 +92,7 @@ importers: '@prisma/client': 4.1.1_prisma@4.1.1 '@sinclair/typebox': 0.24.26 close-with-grace: 1.1.0 + dotenv: 16.0.1 dotenv-cli: 6.0.0 fastify: 4.3.0 fastify-cli: 4.4.0 @@ -103,7 +104,6 @@ importers: '@types/sinon': 10.0.13 '@types/tap': 15.0.7 concurrently: 7.3.0 - dotenv: 16.0.1 fastify-tsconfig: 1.0.1 prisma-json-schema-generator: 3.0.1 sinon: 14.0.0 From 66531929b7a9c03fbd7dc742db64114bb5388b39 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Tue, 9 Aug 2022 23:42:37 +0200 Subject: [PATCH 18/32] fix: fix ci --- apps/api/Dockerfile.next | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/api/Dockerfile.next b/apps/api/Dockerfile.next index c4a26ea15..859458dc7 100644 --- a/apps/api/Dockerfile.next +++ b/apps/api/Dockerfile.next @@ -7,9 +7,7 @@ ARG CACHEBUST=0 COPY . /app -RUN npm install -g pnpm - -RUN pnpm install +RUN npm install EXPOSE 3000 From 0db89d03446b5d448e1af1f02fc2dd66573ac128 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Tue, 9 Aug 2022 23:51:10 +0200 Subject: [PATCH 19/32] fix: fix ci --- apps/api/Dockerfile.next | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/api/Dockerfile.next b/apps/api/Dockerfile.next index 859458dc7..e7e9fdd83 100644 --- a/apps/api/Dockerfile.next +++ b/apps/api/Dockerfile.next @@ -7,8 +7,6 @@ ARG CACHEBUST=0 COPY . /app -RUN npm install - EXPOSE 3000 ENTRYPOINT ["node", "build/server.js"] From 8f38d14a90962c1d2574f6b7b42b0fd7237eae24 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 00:02:18 +0200 Subject: [PATCH 20/32] fix: fix ci --- apps/api/Dockerfile.next | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 apps/api/Dockerfile.next diff --git a/apps/api/Dockerfile.next b/apps/api/Dockerfile.next deleted file mode 100644 index e7e9fdd83..000000000 --- a/apps/api/Dockerfile.next +++ /dev/null @@ -1,12 +0,0 @@ -FROM node:18-alpine -WORKDIR /app - -ENV NODE_ENV=production - -ARG CACHEBUST=0 - -COPY . /app - -EXPOSE 3000 - -ENTRYPOINT ["node", "build/server.js"] From 1807def7dbdfd66b759b1bebed688ebde8a5a04f Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 08:30:23 +0200 Subject: [PATCH 21/32] fix: fix ci --- apps/api/.railwayignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 apps/api/.railwayignore diff --git a/apps/api/.railwayignore b/apps/api/.railwayignore new file mode 100644 index 000000000..2d2ecd68d --- /dev/null +++ b/apps/api/.railwayignore @@ -0,0 +1 @@ +.git/ From f8735ee4b08237de5263faf6fecdb968acb555d0 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 08:41:05 +0200 Subject: [PATCH 22/32] fix: fix ci --- apps/api/Dockerfile.next | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 apps/api/Dockerfile.next diff --git a/apps/api/Dockerfile.next b/apps/api/Dockerfile.next new file mode 100644 index 000000000..11c6f5f64 --- /dev/null +++ b/apps/api/Dockerfile.next @@ -0,0 +1,16 @@ +FROM node:18-alpine +WORKDIR /app + +ENV NODE_ENV=production + +ARG CACHEBUST=0 + +COPY . /app + +RUN npm install + +ARG CACHEBUST=1 + +RUN ls + +EXPOSE 3000 From ce65b553986ca64defb4697f0f212b46b1e99ae3 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 20:11:43 +0200 Subject: [PATCH 23/32] ci: improve typecheck without bundle phase --- .github/workflows/main.yml | 117 +++++++++++------------- apps/api/Dockerfile.next | 6 +- dist/api-bundle/Dockerfile.next | 9 ++ packages/atomic-state/package.json | 1 + packages/atomic-state/tsconfig.dts.json | 2 - packages/config/package.json | 3 +- packages/config/tsconfig.dts.json | 4 +- packages/dom-export/package.json | 3 +- packages/dom-export/src/lib/util.ts | 2 + packages/dom-export/tsconfig.dts.json | 3 +- packages/highlight/package.json | 1 + packages/highlight/tsconfig.dts.json | 5 +- packages/locale/package.json | 1 + packages/locale/tsconfig.dts.json | 3 +- packages/ui/package.json | 3 +- 15 files changed, 80 insertions(+), 83 deletions(-) create mode 100644 dist/api-bundle/Dockerfile.next diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aba8d3cb5..9bb8530eb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -78,6 +78,53 @@ jobs: - name: Lint run: pnpm lint + typecheck-packages: + if: ${{ needs.install.outputs.libs-change == 'true' }} + name: Typecheck packages + needs: [ install ] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + + - name: Typecheck packages + run: | + pnpm --filter='./packages/**' --recursive typecheck:ci + + + typecheck-app: + if: (${{ needs.install.outputs.app-change == 'true' }} || ${{ needs.install.outputs.libs-change == 'true' }}) + name: Typecheck app + needs: [ typecheck-packages ] + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + + - name: Typecheck packages + run: | + pnpm --filter='@codeimage/app' typecheck + + build-packages: name: Build packages needs: [ install ] @@ -186,67 +233,6 @@ jobs: restore-keys: rest-api-bundle-${{ github.run_id }} - typecheck-app: - if: (${{ needs.install.outputs.app-change == 'true' }} || ${{ needs.install.outputs.libs-change == 'true' }}) - name: Typecheck app - needs: [ build-packages ] - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: pnpm/action-setup@v2.2.2 - with: - version: 7 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - - name: Install dependencies - run: pnpm install - - - name: Restore dist - uses: actions/cache@v3 - with: - path: | - packages - key: packages-${{ github.run_id }} - - - name: Typecheck packages - run: | - pnpm --filter='@codeimage/app' typecheck - - - typecheck-packages: - if: ${{ needs.install.outputs.libs-change == 'true' }} - name: Typecheck packages - needs: [ build-packages ] - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: pnpm/action-setup@v2.2.2 - with: - version: 7 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - - name: Install dependencies - run: pnpm install - - - name: Restore dist - uses: actions/cache@v3 - with: - path: | - packages - key: packages-${{ github.run_id }} - - - name: Typecheck packages - run: | - pnpm --filter='./packages/**' --recursive --parallel typecheck - - be-test: if: ${{ needs.install.outputs.backend-change == 'true' }} name: Api test @@ -310,8 +296,8 @@ jobs: # lint, # build-app, build-api, - # typecheck-packages, - # typecheck-app, + typecheck-packages, +# typecheck-app, # be-test ] runs-on: ubuntu-latest @@ -339,7 +325,10 @@ jobs: - name: Deploy run: | cd dist/api-bundle - ls + rm -rf .gitignore + touch .gitignore + npm i + ls -al railway up env: RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} diff --git a/apps/api/Dockerfile.next b/apps/api/Dockerfile.next index 11c6f5f64..1eb156559 100644 --- a/apps/api/Dockerfile.next +++ b/apps/api/Dockerfile.next @@ -5,11 +5,9 @@ ENV NODE_ENV=production ARG CACHEBUST=0 -COPY . /app - -RUN npm install +RUN ls -ARG CACHEBUST=1 +COPY . /app RUN ls diff --git a/dist/api-bundle/Dockerfile.next b/dist/api-bundle/Dockerfile.next new file mode 100644 index 000000000..7eb0e29a5 --- /dev/null +++ b/dist/api-bundle/Dockerfile.next @@ -0,0 +1,9 @@ +FROM node:18-alpine + +ENV NODE_ENV=production + +COPY . . + +RUN ls + +EXPOSE 3000 diff --git a/packages/atomic-state/package.json b/packages/atomic-state/package.json index ed22d3aa2..26ef18704 100644 --- a/packages/atomic-state/package.json +++ b/packages/atomic-state/package.json @@ -28,6 +28,7 @@ "build-esm": "tsc -p tsconfig.esm.json", "build-dts": "tsc -p tsconfig.dts.json", "typecheck": "tsc --noEmit --skipLibCheck --project tsconfig.json", + "typecheck:ci": "tsc --skipLibCheck --project tsconfig.dts.json", "dev": "chokidar \"src/**/*.{ts,tsx}\" -c \"pnpm build\"" }, "peerDependencies": { diff --git a/packages/atomic-state/tsconfig.dts.json b/packages/atomic-state/tsconfig.dts.json index bbdd2fe03..7037adb51 100644 --- a/packages/atomic-state/tsconfig.dts.json +++ b/packages/atomic-state/tsconfig.dts.json @@ -3,8 +3,6 @@ "compilerOptions": { "declaration": true, "declarationMap": true, - "emitDeclarationOnly": true, "outDir": "./dist/types" } } - \ No newline at end of file diff --git a/packages/config/package.json b/packages/config/package.json index d43d48ddb..ac26f0804 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -21,7 +21,8 @@ "clean": "rimraf dist", "build-esm": "tsc -p tsconfig.esm.json", "build-dts": "tsc -p tsconfig.dts.json", - "typecheck": "tsc --noEmit --skipLibCheck --project tsconfig.json", + "typecheck": "tsc --noEmit --skipLibCheck --project tsconfig.dts.json", + "typecheck:ci": "tsc --skipLibCheck --project tsconfig.dts.json", "dev": "chokidar \"src/**/*.{ts,tsx}\" -c \"pnpm build\"" }, "dependencies": { diff --git a/packages/config/tsconfig.dts.json b/packages/config/tsconfig.dts.json index bbdd2fe03..a62dfa229 100644 --- a/packages/config/tsconfig.dts.json +++ b/packages/config/tsconfig.dts.json @@ -2,9 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "declaration": true, - "declarationMap": true, - "emitDeclarationOnly": true, + "declarationMap": false, "outDir": "./dist/types" } } - \ No newline at end of file diff --git a/packages/dom-export/package.json b/packages/dom-export/package.json index 933bd5446..e4e13c1df 100644 --- a/packages/dom-export/package.json +++ b/packages/dom-export/package.json @@ -26,7 +26,8 @@ ], "scripts": { "lint": "eslint . --ext .js,.jsx,.mjs,.ts,.tsx -c ../../.eslintrc.js", - "build": "vite build" + "build": "vite build", + "typecheck:ci": "tsc --skipLibCheck --project tsconfig.dts.json" }, "lint-staged": { "**/*.{js,jsx,tsx,ts,less,md,json}": [ diff --git a/packages/dom-export/src/lib/util.ts b/packages/dom-export/src/lib/util.ts index 1b36060ed..4fe516fc4 100644 --- a/packages/dom-export/src/lib/util.ts +++ b/packages/dom-export/src/lib/util.ts @@ -1,3 +1,5 @@ +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-ignore import * as process from 'process'; import {Options} from './options'; diff --git a/packages/dom-export/tsconfig.dts.json b/packages/dom-export/tsconfig.dts.json index bbdd2fe03..f3417ae03 100644 --- a/packages/dom-export/tsconfig.dts.json +++ b/packages/dom-export/tsconfig.dts.json @@ -4,7 +4,6 @@ "declaration": true, "declarationMap": true, "emitDeclarationOnly": true, - "outDir": "./dist/types" + "outDir": "./dist" } } - \ No newline at end of file diff --git a/packages/highlight/package.json b/packages/highlight/package.json index da4bf46ab..361cf4643 100644 --- a/packages/highlight/package.json +++ b/packages/highlight/package.json @@ -14,6 +14,7 @@ "build-esm": "tsc -p tsconfig.esm.json", "build-dts": "tsc -p tsconfig.dts.json", "typecheck": "tsc --noEmit --skipLibCheck --project tsconfig.json", + "typecheck:ci": "tsc --skipLibCheck --project tsconfig.dts.json", "dev": "chokidar \"src/**/*.{ts,tsx}\" -c \"pnpm build\"" }, "dependencies": { diff --git a/packages/highlight/tsconfig.dts.json b/packages/highlight/tsconfig.dts.json index bbdd2fe03..1525d8949 100644 --- a/packages/highlight/tsconfig.dts.json +++ b/packages/highlight/tsconfig.dts.json @@ -2,9 +2,8 @@ "extends": "./tsconfig.json", "compilerOptions": { "declaration": true, - "declarationMap": true, + "declarationMap": false, "emitDeclarationOnly": true, - "outDir": "./dist/types" + "outDir": "./dist" } } - \ No newline at end of file diff --git a/packages/locale/package.json b/packages/locale/package.json index 35a4b0c6d..4bc782b5e 100644 --- a/packages/locale/package.json +++ b/packages/locale/package.json @@ -22,6 +22,7 @@ "build-esm": "tsc -p tsconfig.esm.json", "build-dts": "tsc -p tsconfig.dts.json", "typecheck": "tsc --noEmit --skipLibCheck --project tsconfig.json", + "typecheck:ci": "tsc --skipLibCheck --project tsconfig.dts.json", "dev": "chokidar \"src/**/*.{ts,tsx}\" -c \"pnpm build\"" }, "dependencies": { diff --git a/packages/locale/tsconfig.dts.json b/packages/locale/tsconfig.dts.json index bbdd2fe03..f3417ae03 100644 --- a/packages/locale/tsconfig.dts.json +++ b/packages/locale/tsconfig.dts.json @@ -4,7 +4,6 @@ "declaration": true, "declarationMap": true, "emitDeclarationOnly": true, - "outDir": "./dist/types" + "outDir": "./dist" } } - \ No newline at end of file diff --git a/packages/ui/package.json b/packages/ui/package.json index 78a45dec8..3eb343af7 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -24,7 +24,8 @@ "pre-commit-eslint": "eslint --ext .js,.jsx,.mjs,.ts,.tsx -c ../../.eslintrc.js --fix", "lint": "eslint . --ext .js,.jsx,.mjs,.ts,.tsx -c ../../.eslintrc.js", "clean": "rimraf dist", - "typecheck": "tsc --noEmit --skipLibCheck --project tsconfig.json" + "typecheck": "tsc --noEmit --skipLibCheck --project tsconfig.json", + "typecheck:ci": "tsc --skipLibCheck --project tsconfig.dts.json" }, "peerDependencies": { "@floating-ui/core": "^0.7.3", From cc8b1270e478d81689b91b19b98025913dd49f32 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 21:05:43 +0200 Subject: [PATCH 24/32] ci: improve typecheck without bundle phase --- .github/workflows/main.yml | 1 + apps/api/Dockerfile.next | 7 +------ package.json | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9bb8530eb..375ccbd08 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -327,6 +327,7 @@ jobs: cd dist/api-bundle rm -rf .gitignore touch .gitignore + touch .dockerignore npm i ls -al railway up diff --git a/apps/api/Dockerfile.next b/apps/api/Dockerfile.next index 1eb156559..7eb0e29a5 100644 --- a/apps/api/Dockerfile.next +++ b/apps/api/Dockerfile.next @@ -1,13 +1,8 @@ FROM node:18-alpine -WORKDIR /app ENV NODE_ENV=production -ARG CACHEBUST=0 - -RUN ls - -COPY . /app +COPY . . RUN ls diff --git a/package.json b/package.json index 61f12038a..0310678b4 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "postinstall": "pnpm patch-solid-exports", "patch-solid-exports": "cross-env APPLY_PATCH=true ts-node scripts/patch-solid-exports.ts", "unpatch-solid-exports": "cross-env APPLY_PATCH=false ts-node scripts/patch-solid-exports.ts", - "prepare:api:deploy": "pnpm-bundle-workspace-package @codeimage/api --outDir=dist/api-bundle && mv dist/api-bundle/dist dist/api-bundle/build" + "prepare:api:deploy": "pnpm-bundle-workspace-package @codeimage/api --outDir=dist/api-bundle" }, "devDependencies": { "@changesets/assemble-release-plan": "^5.1.2", From 5373137cb67b03a0ac2c7703ad3a0b2bdfd58830 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 21:10:42 +0200 Subject: [PATCH 25/32] ci: improve typecheck without bundle phase --- apps/api/Dockerfile.next | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/api/Dockerfile.next b/apps/api/Dockerfile.next index 7eb0e29a5..55913b729 100644 --- a/apps/api/Dockerfile.next +++ b/apps/api/Dockerfile.next @@ -1,9 +1,13 @@ FROM node:18-alpine +WORKDIR /app ENV NODE_ENV=production -COPY . . +COPY . /app RUN ls +RUN npm install + + EXPOSE 3000 From 7c8b18cdd229bc2d44df4da24785dfc229fb6672 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 21:18:44 +0200 Subject: [PATCH 26/32] ci: fix ci next deploy --- apps/api/Dockerfile.next | 5 ++--- apps/api/src/server.ts | 15 +++++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/apps/api/Dockerfile.next b/apps/api/Dockerfile.next index 55913b729..0e0d696cd 100644 --- a/apps/api/Dockerfile.next +++ b/apps/api/Dockerfile.next @@ -5,9 +5,8 @@ ENV NODE_ENV=production COPY . /app -RUN ls - -RUN npm install +RUN npm i -g pnpm +RUN pnpm i EXPOSE 3000 diff --git a/apps/api/src/server.ts b/apps/api/src/server.ts index 5dcf34e5b..c8c95ad68 100644 --- a/apps/api/src/server.ts +++ b/apps/api/src/server.ts @@ -29,9 +29,12 @@ app.addHook('onClose', async (instance, done) => { }); // Start listening. -app.listen({port: parseInt(process.env.PORT as string) || 3000}, (err: any) => { - if (err) { - app.log.error(err); - process.exit(1); - } -}); +app.listen( + {host: '0.0.0.0', port: parseInt(process.env.PORT as string) || 3000}, + (err: any) => { + if (err) { + app.log.error(err); + process.exit(1); + } + }, +); From 02337c5cd2889facf1717e55346cd4c518bd9dd3 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 21:20:06 +0200 Subject: [PATCH 27/32] ci: fix ci next deploy --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 375ccbd08..6ecccfc78 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -294,10 +294,11 @@ jobs: name: Deploy next needs: [ # lint, - # build-app, + build-app, + build-packages, build-api, typecheck-packages, -# typecheck-app, + # typecheck-app, # be-test ] runs-on: ubuntu-latest From a0f5867afa9786569ff1b7210ef2762ed0d50118 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 21:32:03 +0200 Subject: [PATCH 28/32] ci: fix ci next deploy --- .github/workflows/main.yml | 8 +++++--- apps/api/.railwayignore | 1 - 2 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 apps/api/.railwayignore diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ecccfc78..d20a8d253 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -100,6 +100,10 @@ jobs: run: | pnpm --filter='./packages/**' --recursive typecheck:ci + - name: Build Prisma typings + run: | + pnpm --filter='./packages/prisma-models build + typecheck-app: if: (${{ needs.install.outputs.app-change == 'true' }} || ${{ needs.install.outputs.libs-change == 'true' }}) @@ -196,7 +200,7 @@ jobs: build-api: if: ${{ needs.install.outputs.backend-change == 'true' }} name: Build Api - needs: [ install ] + needs: [ install, typecheck-packages] runs-on: ubuntu-latest steps: @@ -294,7 +298,6 @@ jobs: name: Deploy next needs: [ # lint, - build-app, build-packages, build-api, typecheck-packages, @@ -329,7 +332,6 @@ jobs: rm -rf .gitignore touch .gitignore touch .dockerignore - npm i ls -al railway up env: diff --git a/apps/api/.railwayignore b/apps/api/.railwayignore deleted file mode 100644 index 2d2ecd68d..000000000 --- a/apps/api/.railwayignore +++ /dev/null @@ -1 +0,0 @@ -.git/ From 952dde69b97f090efa652c1033b16e1a823bd42f Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 21:37:26 +0200 Subject: [PATCH 29/32] ci: fix ci next deploy --- .github/workflows/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d20a8d253..233d780a3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -102,7 +102,7 @@ jobs: - name: Build Prisma typings run: | - pnpm --filter='./packages/prisma-models build + pnpm --filter='./packages/prisma-models' build typecheck-app: @@ -200,7 +200,7 @@ jobs: build-api: if: ${{ needs.install.outputs.backend-change == 'true' }} name: Build Api - needs: [ install, typecheck-packages] + needs: [ install, typecheck-packages ] runs-on: ubuntu-latest steps: @@ -227,7 +227,6 @@ jobs: pnpm --filter=@codeimage/api build:ts pnpm prepare:api:deploy - - name: Cache build uses: actions/cache@v3 with: @@ -301,8 +300,8 @@ jobs: build-packages, build-api, typecheck-packages, + be-test # typecheck-app, - # be-test ] runs-on: ubuntu-latest steps: From e3d1b461476debf9cec09b57c404ce177fc63545 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 21:41:35 +0200 Subject: [PATCH 30/32] ci: fix ci next deploy --- .github/workflows/main.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 233d780a3..1bba47f57 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -100,10 +100,6 @@ jobs: run: | pnpm --filter='./packages/**' --recursive typecheck:ci - - name: Build Prisma typings - run: | - pnpm --filter='./packages/prisma-models' build - typecheck-app: if: (${{ needs.install.outputs.app-change == 'true' }} || ${{ needs.install.outputs.libs-change == 'true' }}) @@ -200,7 +196,7 @@ jobs: build-api: if: ${{ needs.install.outputs.backend-change == 'true' }} name: Build Api - needs: [ install, typecheck-packages ] + needs: [ install, typecheck-packages, build-packages ] runs-on: ubuntu-latest steps: From 63d031b9dde745e35110ca33e333882eb6b3aa9e Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 21:53:40 +0200 Subject: [PATCH 31/32] ci: fix ci next deploy --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0310678b4..e3c44fc4c 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "postinstall": "pnpm patch-solid-exports", "patch-solid-exports": "cross-env APPLY_PATCH=true ts-node scripts/patch-solid-exports.ts", "unpatch-solid-exports": "cross-env APPLY_PATCH=false ts-node scripts/patch-solid-exports.ts", - "prepare:api:deploy": "pnpm-bundle-workspace-package @codeimage/api --outDir=dist/api-bundle" + "prepare:api:deploy": "pnpm-bundle-workspace-package @codeimage/api --outDir=dist/api-bundle && rm -rf dist/api-bundle/workspace-dependencies/prisma-models/.gitignore" }, "devDependencies": { "@changesets/assemble-release-plan": "^5.1.2", From 1cc95554a0d00feb59c3234250e0083466ca0682 Mon Sep 17 00:00:00 2001 From: riccardoperra Date: Wed, 10 Aug 2022 22:04:51 +0200 Subject: [PATCH 32/32] ci: add ci filters --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1bba47f57..2655800b1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -288,16 +288,16 @@ jobs: deploy-next: # Next branch only - # if: (github.ref == 'refs/heads/next' || github.ref == 'refs/heads/feat/workspace-ci') + if: github.ref == 'refs/heads/next' environment: Next name: Deploy next needs: [ - # lint, + lint, build-packages, build-api, typecheck-packages, + typecheck-app, be-test - # typecheck-app, ] runs-on: ubuntu-latest steps: