From 20015c21059bfc12089997e94d3e045f8b6c19a1 Mon Sep 17 00:00:00 2001 From: David Cramer Date: Wed, 22 Nov 2023 12:09:18 -0800 Subject: [PATCH] Move playground into demos namespace (#120) --- .../astro-playground}/.gitignore | 0 .../astro-playground}/.vscode/extensions.json | 0 .../astro-playground}/.vscode/launch.json | 0 .../astro-playground}/LICENSE | 0 .../astro-playground}/README.md | 0 .../astro-playground}/astro.config.mjs | 0 .../astro-playground}/package.json | 0 .../astro-playground}/sentry.client.config.ts | 0 .../src/components/Card.astro | 0 .../src/components/react/ReactIsland.tsx | 0 .../src/components/svelte/SvelteIsland.svelte | 0 .../astro-playground}/src/env.d.ts | 0 .../src/layouts/Layout.astro | 0 .../astro-playground}/src/middleware.ts | 0 .../astro-playground}/src/pages/api/hello.ts | 0 .../astro-playground}/src/pages/index.astro | 0 .../src/pages/islands/index.astro | 0 .../src/pages/ssr-error/index.astro | 0 .../astro-playground}/svelte.config.js | 0 .../astro-playground}/tsconfig.json | 0 pnpm-lock.yaml | 137 ++++++------------ pnpm-workspace.yaml | 1 + 22 files changed, 46 insertions(+), 92 deletions(-) rename {packages/playground => demos/astro-playground}/.gitignore (100%) rename {packages/playground => demos/astro-playground}/.vscode/extensions.json (100%) rename {packages/playground => demos/astro-playground}/.vscode/launch.json (100%) rename {packages/playground => demos/astro-playground}/LICENSE (100%) rename {packages/playground => demos/astro-playground}/README.md (100%) rename {packages/playground => demos/astro-playground}/astro.config.mjs (100%) rename {packages/playground => demos/astro-playground}/package.json (100%) rename {packages/playground => demos/astro-playground}/sentry.client.config.ts (100%) rename {packages/playground => demos/astro-playground}/src/components/Card.astro (100%) rename {packages/playground => demos/astro-playground}/src/components/react/ReactIsland.tsx (100%) rename {packages/playground => demos/astro-playground}/src/components/svelte/SvelteIsland.svelte (100%) rename {packages/playground => demos/astro-playground}/src/env.d.ts (100%) rename {packages/playground => demos/astro-playground}/src/layouts/Layout.astro (100%) rename {packages/playground => demos/astro-playground}/src/middleware.ts (100%) rename {packages/playground => demos/astro-playground}/src/pages/api/hello.ts (100%) rename {packages/playground => demos/astro-playground}/src/pages/index.astro (100%) rename {packages/playground => demos/astro-playground}/src/pages/islands/index.astro (100%) rename {packages/playground => demos/astro-playground}/src/pages/ssr-error/index.astro (100%) rename {packages/playground => demos/astro-playground}/svelte.config.js (100%) rename {packages/playground => demos/astro-playground}/tsconfig.json (100%) diff --git a/packages/playground/.gitignore b/demos/astro-playground/.gitignore similarity index 100% rename from packages/playground/.gitignore rename to demos/astro-playground/.gitignore diff --git a/packages/playground/.vscode/extensions.json b/demos/astro-playground/.vscode/extensions.json similarity index 100% rename from packages/playground/.vscode/extensions.json rename to demos/astro-playground/.vscode/extensions.json diff --git a/packages/playground/.vscode/launch.json b/demos/astro-playground/.vscode/launch.json similarity index 100% rename from packages/playground/.vscode/launch.json rename to demos/astro-playground/.vscode/launch.json diff --git a/packages/playground/LICENSE b/demos/astro-playground/LICENSE similarity index 100% rename from packages/playground/LICENSE rename to demos/astro-playground/LICENSE diff --git a/packages/playground/README.md b/demos/astro-playground/README.md similarity index 100% rename from packages/playground/README.md rename to demos/astro-playground/README.md diff --git a/packages/playground/astro.config.mjs b/demos/astro-playground/astro.config.mjs similarity index 100% rename from packages/playground/astro.config.mjs rename to demos/astro-playground/astro.config.mjs diff --git a/packages/playground/package.json b/demos/astro-playground/package.json similarity index 100% rename from packages/playground/package.json rename to demos/astro-playground/package.json diff --git a/packages/playground/sentry.client.config.ts b/demos/astro-playground/sentry.client.config.ts similarity index 100% rename from packages/playground/sentry.client.config.ts rename to demos/astro-playground/sentry.client.config.ts diff --git a/packages/playground/src/components/Card.astro b/demos/astro-playground/src/components/Card.astro similarity index 100% rename from packages/playground/src/components/Card.astro rename to demos/astro-playground/src/components/Card.astro diff --git a/packages/playground/src/components/react/ReactIsland.tsx b/demos/astro-playground/src/components/react/ReactIsland.tsx similarity index 100% rename from packages/playground/src/components/react/ReactIsland.tsx rename to demos/astro-playground/src/components/react/ReactIsland.tsx diff --git a/packages/playground/src/components/svelte/SvelteIsland.svelte b/demos/astro-playground/src/components/svelte/SvelteIsland.svelte similarity index 100% rename from packages/playground/src/components/svelte/SvelteIsland.svelte rename to demos/astro-playground/src/components/svelte/SvelteIsland.svelte diff --git a/packages/playground/src/env.d.ts b/demos/astro-playground/src/env.d.ts similarity index 100% rename from packages/playground/src/env.d.ts rename to demos/astro-playground/src/env.d.ts diff --git a/packages/playground/src/layouts/Layout.astro b/demos/astro-playground/src/layouts/Layout.astro similarity index 100% rename from packages/playground/src/layouts/Layout.astro rename to demos/astro-playground/src/layouts/Layout.astro diff --git a/packages/playground/src/middleware.ts b/demos/astro-playground/src/middleware.ts similarity index 100% rename from packages/playground/src/middleware.ts rename to demos/astro-playground/src/middleware.ts diff --git a/packages/playground/src/pages/api/hello.ts b/demos/astro-playground/src/pages/api/hello.ts similarity index 100% rename from packages/playground/src/pages/api/hello.ts rename to demos/astro-playground/src/pages/api/hello.ts diff --git a/packages/playground/src/pages/index.astro b/demos/astro-playground/src/pages/index.astro similarity index 100% rename from packages/playground/src/pages/index.astro rename to demos/astro-playground/src/pages/index.astro diff --git a/packages/playground/src/pages/islands/index.astro b/demos/astro-playground/src/pages/islands/index.astro similarity index 100% rename from packages/playground/src/pages/islands/index.astro rename to demos/astro-playground/src/pages/islands/index.astro diff --git a/packages/playground/src/pages/ssr-error/index.astro b/demos/astro-playground/src/pages/ssr-error/index.astro similarity index 100% rename from packages/playground/src/pages/ssr-error/index.astro rename to demos/astro-playground/src/pages/ssr-error/index.astro diff --git a/packages/playground/svelte.config.js b/demos/astro-playground/svelte.config.js similarity index 100% rename from packages/playground/svelte.config.js rename to demos/astro-playground/svelte.config.js diff --git a/packages/playground/tsconfig.json b/demos/astro-playground/tsconfig.json similarity index 100% rename from packages/playground/tsconfig.json rename to demos/astro-playground/tsconfig.json diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2c0fbf3e..b6f8637c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -53,6 +53,48 @@ importers: specifier: ^5.0.2 version: 5.2.2 + demos/astro-playground: + dependencies: + '@astrojs/check': + specifier: ^0.3.1 + version: 0.3.1(prettier@3.0.3)(typescript@5.2.2) + '@astrojs/node': + specifier: ^6.0.4 + version: 6.0.4(astro@3.5.5) + '@astrojs/react': + specifier: ^3.0.5 + version: 3.0.5(@types/react-dom@18.2.15)(@types/react@18.2.37)(react-dom@18.2.0)(react@18.2.0)(vite@4.5.0) + '@astrojs/svelte': + specifier: ^4.0.4 + version: 4.0.4(astro@3.5.5)(svelte@5.0.0-next.4)(typescript@5.2.2)(vite@4.5.0) + '@sentry/astro': + specifier: ^7.80.1 + version: 7.80.1(astro@3.5.5) + '@spotlightjs/astro': + specifier: workspace:* + version: link:../../packages/astro + '@types/react': + specifier: ^18.2.37 + version: 18.2.37 + '@types/react-dom': + specifier: ^18.2.15 + version: 18.2.15 + astro: + specifier: ^3.5.5 + version: 3.5.5(typescript@5.2.2) + react: + specifier: ^18.2.0 + version: 18.2.0 + react-dom: + specifier: ^18.2.0 + version: 18.2.0(react@18.2.0) + svelte: + specifier: ^5.0.0-next.1 + version: 5.0.0-next.4 + typescript: + specifier: ^5.2.2 + version: 5.2.2 + packages/astro: dependencies: '@spotlightjs/core': @@ -166,48 +208,6 @@ importers: specifier: ^0.34.6 version: 0.34.6 - packages/playground: - dependencies: - '@astrojs/check': - specifier: ^0.3.1 - version: 0.3.1(prettier@3.0.3)(typescript@5.2.2) - '@astrojs/node': - specifier: ^6.0.4 - version: 6.0.4(astro@3.5.5) - '@astrojs/react': - specifier: ^3.0.5 - version: 3.0.5(@types/react-dom@18.2.15)(@types/react@18.2.37)(react-dom@18.2.0)(react@18.2.0)(vite@4.5.0) - '@astrojs/svelte': - specifier: ^4.0.4 - version: 4.0.4(astro@3.5.5)(svelte@5.0.0-next.4)(typescript@5.2.2)(vite@4.5.0) - '@sentry/astro': - specifier: ^7.80.1 - version: 7.80.1(astro@3.5.5) - '@spotlightjs/astro': - specifier: workspace:* - version: link:../astro - '@types/react': - specifier: ^18.2.37 - version: 18.2.37 - '@types/react-dom': - specifier: ^18.2.15 - version: 18.2.15 - astro: - specifier: ^3.5.5 - version: 3.5.5(typescript@5.2.2) - react: - specifier: ^18.2.0 - version: 18.2.0 - react-dom: - specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) - svelte: - specifier: ^5.0.0-next.1 - version: 5.0.0-next.4 - typescript: - specifier: ^5.2.2 - version: 5.2.2 - packages/sidecar: dependencies: kleur: @@ -1986,16 +1986,6 @@ packages: string-argv: 0.3.2 dev: true - /@sentry-internal/tracing@7.80.0: - resolution: - { integrity: sha512-P1Ab9gamHLsbH9D82i1HY8xfq9dP8runvc4g50AAd6OXRKaJ45f2KGRZUmnMEVqBQ7YoPYp2LFMkrhNYbcZEoQ== } - engines: { node: '>=8' } - dependencies: - '@sentry/core': 7.80.0 - '@sentry/types': 7.80.0 - '@sentry/utils': 7.80.0 - dev: false - /@sentry-internal/tracing@7.80.1: resolution: { integrity: sha512-5gZ4LPIj2vpQl2/dHBM4uXMi9OI5E0VlOhJQt0foiuN6JJeiOjdpJFcfVqJk69wrc0deVENTtgKKktxqMwVeWQ== } @@ -2062,8 +2052,8 @@ packages: engines: { node: '>= 14' } dependencies: '@sentry/cli': 2.21.2 - '@sentry/node': 7.80.0 - '@sentry/utils': 7.80.0 + '@sentry/node': 7.80.1 + '@sentry/utils': 7.80.1 dotenv: 16.3.1 find-up: 5.0.0 glob: 9.3.2 @@ -2091,15 +2081,6 @@ packages: - supports-color dev: false - /@sentry/core@7.80.0: - resolution: - { integrity: sha512-nJiiymdTSEyI035/rdD3VOq6FlOZ2wWLR5bit9LK8a3rzHU3UXkwScvEo6zYgs0Xp1sC0yu1S9+0BEiYkmi29A== } - engines: { node: '>=8' } - dependencies: - '@sentry/types': 7.80.0 - '@sentry/utils': 7.80.0 - dev: false - /@sentry/core@7.80.1: resolution: { integrity: sha512-3Yh+O9Q86MxwIuJFYtuSSoUCpdx99P1xDAqL0FIPTJ+ekaVMiUJq9NmyaNh9uN2myPSmxvEXW6q3z37zta9ZHg== } @@ -2109,20 +2090,6 @@ packages: '@sentry/utils': 7.80.1 dev: false - /@sentry/node@7.80.0: - resolution: - { integrity: sha512-J35fqe8J5ac/17ZXT0ML3opYGTOclqYNE9Sybs1y9n6BqacHyzH8By72YrdI03F7JJDHwrcGw+/H8hGpkCwi0Q== } - engines: { node: '>=8' } - dependencies: - '@sentry-internal/tracing': 7.80.0 - '@sentry/core': 7.80.0 - '@sentry/types': 7.80.0 - '@sentry/utils': 7.80.0 - https-proxy-agent: 5.0.1 - transitivePeerDependencies: - - supports-color - dev: false - /@sentry/node@7.80.1: resolution: { integrity: sha512-0NWfcZMlyQphKWsvyzfhGm2dCBk5DUPqOGW/vGx18G4tCCYtFcAIj/mCp/4XOEcZRPQgb9vkm+sidGD6DnwWlA== } @@ -2153,12 +2120,6 @@ packages: { integrity: sha512-nfb00XRJVi0QpDHg+JkqrmEBHsqBnxJu191Ded+Cs1OJ5oPXEW6F59LVcBScGvMqe+WEk1a73eH8XezwfgrTsA== } engines: { node: '>=8' } - /@sentry/types@7.80.0: - resolution: - { integrity: sha512-4bpMO+2jWiWLDa8zbTASWWNLWe6yhjfPsa7/6VH5y9x1NGtL8oRbqUsTgsvjF3nmeHEMkHQsC8NHPaQ/ibFmZQ== } - engines: { node: '>=8' } - dev: false - /@sentry/types@7.80.1: resolution: { integrity: sha512-CVu4uPVTOI3U9kYiOdA085R7jX5H1oVODbs9y+A8opJ0dtJTMueCXgZyE8oXQ0NjGVs6HEeaLkOuiV0mj8X3yw== } @@ -2173,14 +2134,6 @@ packages: '@sentry/types': 7.77.0 dev: false - /@sentry/utils@7.80.0: - resolution: - { integrity: sha512-XbBCEl6uLvE50ftKwrEo6XWdDaZXHXu+kkHXTPWQEcnbvfZKLuG9V0Hxtxxq3xQgyWmuF05OH1GcqYqiO+v5Yg== } - engines: { node: '>=8' } - dependencies: - '@sentry/types': 7.80.0 - dev: false - /@sentry/utils@7.80.1: resolution: { integrity: sha512-bfFm2e/nEn+b9++QwjNEYCbS7EqmteT8uf0XUs7PljusSimIqqxDtK1pfD9zjynPgC8kW/fVBKv0pe2LufomeA== } @@ -4262,7 +4215,7 @@ packages: supports-color: optional: true dependencies: - ms: 2.1.2 + ms: 2.1.3 dev: false /debug@4.3.4: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 18ec407e..d229850d 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,2 +1,3 @@ packages: - 'packages/*' + - 'demos/*'