From dffbe4c874d3715a3badab7c0468d5e93b375dd3 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Wed, 18 Sep 2024 17:17:26 +0200 Subject: [PATCH] chore: playgrounds folder --- .github/workflows/test.yml | 2 +- packages/app/.env.playground | 2 +- .../factories/Message/SimpleMessageFactory.ts | 0 .../.moquerie/snapshots/vitest/Query.res.json | 0 .../.moquerie/snapshots/vitest/snapshot.json | 0 .../playground}/.moquerie/types/queryManager.ts | 0 .../playground}/.moquerie/types/resources.ts | 0 {playground => playgrounds/playground}/codegen.ts | 0 .../playground}/graphql.schema.json | 0 .../playground}/moquerie.config.ts | 0 {playground => playgrounds/playground}/mq-api.ts | 0 {playground => playgrounds/playground}/package.json | 0 {playground => playgrounds/playground}/src/auth.ts | 0 {playground => playgrounds/playground}/src/context.ts | 0 .../playground}/src/extend/message.ts | 0 .../playground}/src/extend/types.ts | 0 .../playground}/src/fetch.test.ts | 0 .../playground}/src/generated/graphql.ts | 0 {playground => playgrounds/playground}/src/index.ts | 0 .../playground}/src/rest/other.ts | 0 .../playground}/src/rest/rest.moq.ts | 0 .../playground}/src/rest/types.ts | 0 .../playground}/src/schema.moq.ts | 0 {playground => playgrounds/playground}/src/schema.ts | 0 {playground => playgrounds/playground}/tsconfig.json | 0 .../playground}/vitest.config.ts | 0 pnpm-lock.yaml | 10 +++++----- pnpm-workspace.yaml | 2 +- 28 files changed, 8 insertions(+), 8 deletions(-) rename {playground => playgrounds/playground}/.moquerie/factories/Message/SimpleMessageFactory.ts (100%) rename {playground => playgrounds/playground}/.moquerie/snapshots/vitest/Query.res.json (100%) rename {playground => playgrounds/playground}/.moquerie/snapshots/vitest/snapshot.json (100%) rename {playground => playgrounds/playground}/.moquerie/types/queryManager.ts (100%) rename {playground => playgrounds/playground}/.moquerie/types/resources.ts (100%) rename {playground => playgrounds/playground}/codegen.ts (100%) rename {playground => playgrounds/playground}/graphql.schema.json (100%) rename {playground => playgrounds/playground}/moquerie.config.ts (100%) rename {playground => playgrounds/playground}/mq-api.ts (100%) rename {playground => playgrounds/playground}/package.json (100%) rename {playground => playgrounds/playground}/src/auth.ts (100%) rename {playground => playgrounds/playground}/src/context.ts (100%) rename {playground => playgrounds/playground}/src/extend/message.ts (100%) rename {playground => playgrounds/playground}/src/extend/types.ts (100%) rename {playground => playgrounds/playground}/src/fetch.test.ts (100%) rename {playground => playgrounds/playground}/src/generated/graphql.ts (100%) rename {playground => playgrounds/playground}/src/index.ts (100%) rename {playground => playgrounds/playground}/src/rest/other.ts (100%) rename {playground => playgrounds/playground}/src/rest/rest.moq.ts (100%) rename {playground => playgrounds/playground}/src/rest/types.ts (100%) rename {playground => playgrounds/playground}/src/schema.moq.ts (100%) rename {playground => playgrounds/playground}/src/schema.ts (100%) rename {playground => playgrounds/playground}/tsconfig.json (100%) rename {playground => playgrounds/playground}/vitest.config.ts (100%) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bfb54bd..a3e6ab2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,7 +52,7 @@ jobs: - name: Playground tests run: pnpm run test - working-directory: ./playground + working-directory: ./playgrounds/playground # - name: Run tests # run: pnpm run test diff --git a/packages/app/.env.playground b/packages/app/.env.playground index d136e5d..98958e8 100644 --- a/packages/app/.env.playground +++ b/packages/app/.env.playground @@ -1 +1 @@ -MOQUERIE_OVERRIDE_CWD=../../playground +MOQUERIE_OVERRIDE_CWD=../../playgrounds/playground diff --git a/playground/.moquerie/factories/Message/SimpleMessageFactory.ts b/playgrounds/playground/.moquerie/factories/Message/SimpleMessageFactory.ts similarity index 100% rename from playground/.moquerie/factories/Message/SimpleMessageFactory.ts rename to playgrounds/playground/.moquerie/factories/Message/SimpleMessageFactory.ts diff --git a/playground/.moquerie/snapshots/vitest/Query.res.json b/playgrounds/playground/.moquerie/snapshots/vitest/Query.res.json similarity index 100% rename from playground/.moquerie/snapshots/vitest/Query.res.json rename to playgrounds/playground/.moquerie/snapshots/vitest/Query.res.json diff --git a/playground/.moquerie/snapshots/vitest/snapshot.json b/playgrounds/playground/.moquerie/snapshots/vitest/snapshot.json similarity index 100% rename from playground/.moquerie/snapshots/vitest/snapshot.json rename to playgrounds/playground/.moquerie/snapshots/vitest/snapshot.json diff --git a/playground/.moquerie/types/queryManager.ts b/playgrounds/playground/.moquerie/types/queryManager.ts similarity index 100% rename from playground/.moquerie/types/queryManager.ts rename to playgrounds/playground/.moquerie/types/queryManager.ts diff --git a/playground/.moquerie/types/resources.ts b/playgrounds/playground/.moquerie/types/resources.ts similarity index 100% rename from playground/.moquerie/types/resources.ts rename to playgrounds/playground/.moquerie/types/resources.ts diff --git a/playground/codegen.ts b/playgrounds/playground/codegen.ts similarity index 100% rename from playground/codegen.ts rename to playgrounds/playground/codegen.ts diff --git a/playground/graphql.schema.json b/playgrounds/playground/graphql.schema.json similarity index 100% rename from playground/graphql.schema.json rename to playgrounds/playground/graphql.schema.json diff --git a/playground/moquerie.config.ts b/playgrounds/playground/moquerie.config.ts similarity index 100% rename from playground/moquerie.config.ts rename to playgrounds/playground/moquerie.config.ts diff --git a/playground/mq-api.ts b/playgrounds/playground/mq-api.ts similarity index 100% rename from playground/mq-api.ts rename to playgrounds/playground/mq-api.ts diff --git a/playground/package.json b/playgrounds/playground/package.json similarity index 100% rename from playground/package.json rename to playgrounds/playground/package.json diff --git a/playground/src/auth.ts b/playgrounds/playground/src/auth.ts similarity index 100% rename from playground/src/auth.ts rename to playgrounds/playground/src/auth.ts diff --git a/playground/src/context.ts b/playgrounds/playground/src/context.ts similarity index 100% rename from playground/src/context.ts rename to playgrounds/playground/src/context.ts diff --git a/playground/src/extend/message.ts b/playgrounds/playground/src/extend/message.ts similarity index 100% rename from playground/src/extend/message.ts rename to playgrounds/playground/src/extend/message.ts diff --git a/playground/src/extend/types.ts b/playgrounds/playground/src/extend/types.ts similarity index 100% rename from playground/src/extend/types.ts rename to playgrounds/playground/src/extend/types.ts diff --git a/playground/src/fetch.test.ts b/playgrounds/playground/src/fetch.test.ts similarity index 100% rename from playground/src/fetch.test.ts rename to playgrounds/playground/src/fetch.test.ts diff --git a/playground/src/generated/graphql.ts b/playgrounds/playground/src/generated/graphql.ts similarity index 100% rename from playground/src/generated/graphql.ts rename to playgrounds/playground/src/generated/graphql.ts diff --git a/playground/src/index.ts b/playgrounds/playground/src/index.ts similarity index 100% rename from playground/src/index.ts rename to playgrounds/playground/src/index.ts diff --git a/playground/src/rest/other.ts b/playgrounds/playground/src/rest/other.ts similarity index 100% rename from playground/src/rest/other.ts rename to playgrounds/playground/src/rest/other.ts diff --git a/playground/src/rest/rest.moq.ts b/playgrounds/playground/src/rest/rest.moq.ts similarity index 100% rename from playground/src/rest/rest.moq.ts rename to playgrounds/playground/src/rest/rest.moq.ts diff --git a/playground/src/rest/types.ts b/playgrounds/playground/src/rest/types.ts similarity index 100% rename from playground/src/rest/types.ts rename to playgrounds/playground/src/rest/types.ts diff --git a/playground/src/schema.moq.ts b/playgrounds/playground/src/schema.moq.ts similarity index 100% rename from playground/src/schema.moq.ts rename to playgrounds/playground/src/schema.moq.ts diff --git a/playground/src/schema.ts b/playgrounds/playground/src/schema.ts similarity index 100% rename from playground/src/schema.ts rename to playgrounds/playground/src/schema.ts diff --git a/playground/tsconfig.json b/playgrounds/playground/tsconfig.json similarity index 100% rename from playground/tsconfig.json rename to playgrounds/playground/tsconfig.json diff --git a/playground/vitest.config.ts b/playgrounds/playground/vitest.config.ts similarity index 100% rename from playground/vitest.config.ts rename to playgrounds/playground/vitest.config.ts diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 90cca1b..f752622 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -229,7 +229,7 @@ importers: specifier: ^1.0.0 version: 1.1.0 - playground: + playgrounds/playground: dependencies: '@graphql-tools/schema': specifier: ^10.0.0 @@ -264,7 +264,7 @@ importers: version: 8.57.1 moquerie: specifier: workspace:* - version: link:../packages/moquerie + version: link:../../packages/moquerie typescript: specifier: ^5.2.2 version: 5.6.2 @@ -7298,7 +7298,7 @@ snapshots: '@graphql-tools/optimize@2.0.0(graphql@16.9.0)': dependencies: graphql: 16.9.0 - tslib: 2.6.3 + tslib: 2.7.0 '@graphql-tools/prisma-loader@8.0.4(@types/node@20.16.5)(graphql@16.9.0)': dependencies: @@ -7331,7 +7331,7 @@ snapshots: '@ardatan/relay-compiler': 12.0.0(graphql@16.9.0) '@graphql-tools/utils': 10.5.4(graphql@16.9.0) graphql: 16.9.0 - tslib: 2.6.3 + tslib: 2.7.0 transitivePeerDependencies: - encoding - supports-color @@ -10390,7 +10390,7 @@ snapshots: graphql-tag@2.12.6(graphql@16.9.0): dependencies: graphql: 16.9.0 - tslib: 2.6.3 + tslib: 2.7.0 graphql-ws@5.16.0(graphql@16.9.0): dependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 0e90cf8..796ed58 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,3 @@ packages: - packages/* - - playground + - playgrounds/*