Skip to content

Commit 72e199c

Browse files
committed
chore: remove examples/playground altogether (#351)
1 parent e36a7e3 commit 72e199c

File tree

142 files changed

+15
-12825
lines changed

Some content is hidden

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

142 files changed

+15
-12825
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"access": "public",
88
"baseBranch": "main",
99
"updateInternalDependencies": "patch",
10-
"ignore": ["playground"]
10+
"ignore": []
1111
}

.github/actions/deployment-comment/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: 'Post deployment status comments on PRs for both preview and produc
33

44
inputs:
55
project-name:
6-
description: 'Name of the project being deployed (e.g., playground, website)'
6+
description: 'Name of the project being deployed (e.g., website)'
77
required: true
88
preview-url:
99
description: 'The preview deployment URL'

.github/workflows/ci.yml

Lines changed: 3 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
- name: Quality gate (lint + typecheck + test)
5151
run: pnpm nx affected -t lint typecheck test --parallel --configuration=production --base="$NX_BASE" --head="$NX_HEAD"
5252

53-
- name: Build all affected projects (except playground)
54-
run: pnpm nx affected -t build --configuration=production --parallel --exclude=playground --base="$NX_BASE" --head="$NX_HEAD"
53+
- name: Build all affected projects
54+
run: pnpm nx affected -t build --configuration=production --parallel --base="$NX_BASE" --head="$NX_HEAD"
5555

5656

5757
# ─────────────────────────────────────── 2. EDGE-WORKER E2E ──────────────────────────────────────
@@ -101,49 +101,7 @@ jobs:
101101
run: pnpm nx affected -t test:e2e --parallel --base="$NX_BASE" --head="$NX_HEAD"
102102

103103

104-
# ────────────────────────────────── 3. DEPLOY PLAYGROUND ───────────────────────────
105-
deploy-playground:
106-
needs: [build-and-test, edge-worker-e2e]
107-
if: false # Disabled
108-
# if: >-
109-
# ${{
110-
# (github.event_name == 'pull_request') ||
111-
# (github.ref == 'refs/heads/main' && github.event_name == 'push')
112-
# }}
113-
runs-on: ubuntu-latest
114-
environment: ${{ github.event_name == 'pull_request' && 'preview' || 'production' }}
115-
env:
116-
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
117-
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
118-
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_PLAYGROUND_SITE_ID }}
119-
NEXT_PUBLIC_SUPABASE_URL: ${{ github.event_name == 'pull_request' && secrets.DEMO_PREVIEW_SUPABASE_URL || secrets.DEMO_PRODUCTION_SUPABASE_URL }}
120-
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ github.event_name == 'pull_request' && secrets.DEMO_PREVIEW_SUPABASE_ANON_KEY || secrets.DEMO_PRODUCTION_SUPABASE_ANON_KEY }}
121-
steps:
122-
- uses: actions/checkout@v4
123-
with:
124-
fetch-depth: 0
125-
126-
- uses: ./.github/actions/setup
127-
128-
# Build the workspace libraries that the app imports
129-
- run: pnpm nx run-many -t build --projects client,dsl --configuration=production
130-
131-
- name: Build & deploy to Netlify
132-
id: deploy
133-
run: |
134-
pnpm netlify deploy --build --filter=playground \
135-
--context ${{ github.event_name == 'pull_request' && 'deploy-preview' || 'production' }} \
136-
${{ github.event_name == 'pull_request' && format('--alias=pr-{0}', github.event.pull_request.number) || '--prod' }}
137-
138-
- name: Post deployment comment
139-
if: always()
140-
uses: ./.github/actions/deployment-comment
141-
with:
142-
project-name: Playground
143-
preview-url: https://pr-${{ github.event.pull_request.number }}--pgflow-demo.netlify.app
144-
production-url: https://playground.pgflow.dev
145-
146-
# ────────────────────────────────── 4. DEPLOY WEBSITE ───────────────────────────
104+
# ────────────────────────────────── 3. DEPLOY WEBSITE ───────────────────────────
147105
deploy-website:
148106
needs: [build-and-test, edge-worker-e2e]
149107
runs-on: ubuntu-latest

.nxignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# Ignore Supabase Edge Functions from Nx dependency analysis
2-
# These are Deno runtime functions with their own import resolution
3-
examples/playground/supabase/functions/
2+
# These are Deno runtime functions with their own import resolution

RELEASES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ When the Version Packages PR is merged:
4848

4949
```bash
5050
# 1. Build all packages
51-
pnpm nx run-many -t build --exclude=playground
51+
pnpm nx run-many -t build
5252

5353
# 2. Publish to npm (all packages except edge-worker)
5454
pnpm publish --recursive --filter=!./pkgs/edge-worker

examples/playground/.env.example

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

examples/playground/.gitignore

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

examples/playground/.npmrc

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

examples/playground/.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/playground/CLAUDE.md

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

0 commit comments

Comments
 (0)