Skip to content

Commit 96b611a

Browse files
committed
Merge branch 'main' into 'e2e'.
2 parents 5a657d0 + a2667f8 commit 96b611a

161 files changed

Lines changed: 4246 additions & 1474 deletions

File tree

Some content is hidden

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

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
- name: Use Node.js
2222
uses: actions/setup-node@v6
2323
with:
24-
node-version: 20
24+
node-version: 22
25+
2526
- name: Install pnpm
2627
uses: pnpm/action-setup@v4
2728
- name: Install dependencies

.github/workflows/e2e.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,29 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16+
- name: Use Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: 22
20+
1621
- name: Install pnpm
1722
uses: pnpm/action-setup@v4
1823

19-
- name: Use Node.js
20-
uses: actions/setup-node@v4
21-
with:
22-
node-version: 20
23-
cache: 'pnpm'
24+
- name: Install dependencies
25+
run: pnpm install --frozen-lockfile
2426

2527
- name: Cache Playwright browsers
2628
uses: actions/cache@v4
29+
id: playwright-cache
2730
with:
2831
path: ~/.cache/ms-playwright
29-
key: playwright-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
32+
key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }}
3033
restore-keys: |
31-
playwright-${{ runner.os }}-
32-
33-
- name: Install dependencies
34-
run: pnpm install --frozen-lockfile
34+
${{ runner.os }}-playwright-
3535
3636
- name: Install Playwright Browsers
37-
run: pnpm exec playwright install chromium
37+
if: steps.playwright-cache.outputs.cache-hit != 'true'
38+
run: pnpm exec playwright install --with-deps chromium
3839

3940
- name: E2E Tests
4041
run: pnpm run e2e

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
"PUBLIC_CONSOLE_MODE=cloud"
8484
"PUBLIC_CONSOLE_FEATURE_FLAGS="
8585
"PUBLIC_APPWRITE_MULTI_REGION=true"
86-
"PUBLIC_CONSOLE_EMAIL_VERIFICATION=true"
86+
"PUBLIC_CONSOLE_EMAIL_VERIFICATION=false"
8787
"PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS=false"
8888
"PUBLIC_GROWTH_ENDPOINT=${{ secrets.PUBLIC_GROWTH_ENDPOINT }}"
8989
"PUBLIC_STRIPE_KEY=${{ secrets.PUBLIC_STRIPE_KEY_STAGE }}"
@@ -162,7 +162,7 @@ jobs:
162162
build-args: |
163163
"PUBLIC_CONSOLE_MODE=cloud"
164164
"PUBLIC_APPWRITE_MULTI_REGION=false"
165-
"PUBLIC_CONSOLE_EMAIL_VERIFICATION=true"
165+
"PUBLIC_CONSOLE_EMAIL_VERIFICATION=false"
166166
"PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS=false"
167167
"PUBLIC_CONSOLE_FEATURE_FLAGS="
168168
"PUBLIC_STRIPE_KEY=${{ secrets.PUBLIC_STRIPE_KEY_STAGE }}"

.github/workflows/tests.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19-
- name: Install pnpm
20-
uses: pnpm/action-setup@v4
21-
2219
- name: Use Node.js
23-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@v3
2421
with:
25-
node-version: 20
26-
cache: 'pnpm'
22+
node-version: 22
23+
24+
- name: Install pnpm
25+
uses: pnpm/action-setup@v4
2726

2827
- name: Audit dependencies
2928
run: pnpm audit --audit-level high

AGENTS.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,23 @@ src/
101101
5. Before commit: `pnpm run check && pnpm run format && pnpm run lint && pnpm run test && pnpm run build`
102102
6. **Take screenshots**: For any UI changes, capture screenshots and include them in the PR description or comments before finalizing
103103

104+
## Required Pre-Completion Checklist
105+
106+
**CRITICAL**: Before finishing any work or marking a task complete, agents MUST run the following commands in order and ensure all pass:
107+
108+
1. **`pnpm run format`** - Auto-fix all formatting issues
109+
2. **`pnpm run check`** - Verify TypeScript/Svelte types (must show 0 errors, 0 warnings)
110+
3. **`pnpm run lint`** - Check code style (ignore pre-existing issues in files you didn't modify)
111+
4. **`pnpm run test`** - Run all unit tests (all tests must pass)
112+
5. **`pnpm run build`** - Ensure production build succeeds
113+
114+
If any command fails:
115+
116+
- **Format/Lint**: Run `pnpm run format` to auto-fix, then re-check
117+
- **Type errors**: Fix all TypeScript errors in files you modified
118+
- **Test failures**: Fix failing tests or ensure failures are unrelated to your changes
119+
- **Build failures**: Debug and resolve build issues before proceeding
120+
121+
**Never skip these checks** - they are mandatory quality gates before any work is considered complete.
122+
104123
**Trust these instructions** - only search if incomplete/incorrect. See CONTRIBUTING.md for PR conventions. Use `--frozen-lockfile` always. Docker builds: multi-stage, final image is nginx serving static files from `/console` path.

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@appwrite/console",
33
"type": "module",
44
"engines": {
5-
"node": ">=20"
5+
"node": ">=22.0.0"
66
},
77
"scripts": {
88
"dev": "vite dev",
@@ -22,15 +22,17 @@
2222
},
2323
"dependencies": {
2424
"@ai-sdk/svelte": "^1.1.24",
25-
"@appwrite.io/console": "https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@2752",
25+
"@appwrite.io/console": "https://pkg.vc/-/@appwrite/@appwrite.io/console@9b32107",
2626
"@appwrite.io/pink-icons": "0.25.0",
27-
"@appwrite.io/pink-icons-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-icons-svelte@bd82d9a",
27+
"@appwrite.io/pink-icons-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-icons-svelte@865e2fc",
2828
"@appwrite.io/pink-legacy": "^1.0.3",
29-
"@appwrite.io/pink-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-svelte@bd82d9a",
29+
"@appwrite.io/pink-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-svelte@865e2fc",
3030
"@faker-js/faker": "^9.9.0",
3131
"@popperjs/core": "^2.11.8",
3232
"@sentry/sveltekit": "^8.38.0",
3333
"@stripe/stripe-js": "^3.5.0",
34+
"@threlte/core": "^8.3.1",
35+
"@threlte/extras": "^9.7.1",
3436
"ai": "^2.2.37",
3537
"analytics": "^0.8.16",
3638
"cron-parser": "^4.9.0",
@@ -45,6 +47,7 @@
4547
"prismjs": "^1.30.0",
4648
"remarkable": "^2.0.1",
4749
"svelte-confetti": "^1.4.0",
50+
"three": "^0.181.2",
4851
"tippy.js": "^6.3.7"
4952
},
5053
"devDependencies": {
@@ -64,6 +67,7 @@
6467
"@types/deep-equal": "^1.0.4",
6568
"@types/prismjs": "^1.26.5",
6669
"@types/remarkable": "^2.0.8",
70+
"@types/three": "^0.182.0",
6771
"@typescript-eslint/eslint-plugin": "^8.28.0",
6872
"@typescript-eslint/parser": "^8.28.0",
6973
"@vitest/ui": "^3.2.4",

0 commit comments

Comments
 (0)