Skip to content

Commit 33d60ba

Browse files
Merge branch 'main' into partners-catalog
2 parents 058aba9 + c866300 commit 33d60ba

File tree

567 files changed

+11252
-5944
lines changed

Some content is hidden

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

567 files changed

+11252
-5944
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PUBLIC_APPWRITE_COL_MESSAGES_ID=
22
PUBLIC_APPWRITE_COL_THREADS_ID=
33
PUBLIC_APPWRITE_DB_MAIN_ID=
44
PUBLIC_APPWRITE_FN_TLDR_ID=
5-
PUBLIC_APPWRITE_ENDPOINT=
5+
PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
66
PUBLIC_APPWRITE_PROJECT_ID=
77
PUBLIC_APPWRITE_DASHBOARD=https://cloud.appwrite.io
88
PUBLIC_APPWRITE_PROJECT_INIT_ID=
@@ -11,4 +11,4 @@ PUBLIC_POSTHOG_API_KEY=
1111
APPWRITE_DB_INIT_ID=
1212
APPWRITE_COL_INIT_ID=
1313
APPWRITE_API_KEY_INIT=
14-
SENTRY_AUTH_TOKEN=
14+
SENTRY_AUTH_TOKEN=

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The Appwrite Website has been built with the following frameworks:
1515

1616
## Development
1717

18-
_If this is your first time setting up the repository, please run `pnpm install` inside the repo's directory._
18+
_If this is your first time setting up the repository, please run `pnpm install` inside the repo's directory and create a `.env` file based on `.env.example`._
1919

2020
To get the repo up and running in your local environment, use the following command:
2121

eslint.config.js

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,51 @@
1-
import prettier from 'eslint-config-prettier';
1+
import { includeIgnoreFile } from '@eslint/compat';
22
import js from '@eslint/js';
3+
import prettier from 'eslint-config-prettier';
34
import svelte from 'eslint-plugin-svelte';
45
import globals from 'globals';
6+
import { fileURLToPath } from 'node:url';
57
import ts from 'typescript-eslint';
8+
import svelteConfig from './svelte.config.js';
9+
10+
const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));
611

712
export default ts.config(
13+
includeIgnoreFile(gitignorePath),
814
js.configs.recommended,
915
...ts.configs.recommended,
10-
...svelte.configs['flat/recommended'],
16+
...svelte.configs.recommended,
1117
prettier,
12-
...svelte.configs['flat/prettier'],
18+
...svelte.configs.prettier,
1319
{
1420
languageOptions: {
15-
globals: {
16-
...globals.browser,
17-
...globals.node
18-
}
21+
globals: { ...globals.browser, ...globals.node }
22+
},
23+
rules: {
24+
// TODO: remove them one by one
25+
'@typescript-eslint/no-unused-vars': 'off',
26+
'@typescript-eslint/no-duplicate-enum-values': 'off',
27+
'@typescript-eslint/no-empty-object-type': 'off',
28+
'@typescript-eslint/no-unused-expressions': 'off',
29+
'svelte/infinite-reactive-loop': 'off',
30+
'svelte/require-each-key': 'off',
31+
'svelte/no-immutable-reactive-statements': 'off',
32+
'svelte/no-at-html-tags': 'off',
33+
'svelte/no-useless-mustaches': 'off',
34+
'svelte/no-reactive-reassign': 'off',
35+
'svelte/no-reactive-literals': 'off'
1936
}
2037
},
2138
{
22-
files: ['**/*.svelte'],
23-
39+
files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
40+
ignores: ['eslint.config.js', 'svelte.config.js'],
2441
languageOptions: {
2542
parserOptions: {
26-
parser: ts.parser
43+
// Only uncomment this if you want it to take 3 minutes https://github.com/sveltejs/eslint-plugin-svelte/issues/1084
44+
// projectService: true,
45+
extraFileExtensions: ['.svelte'],
46+
parser: ts.parser,
47+
svelteConfig
2748
}
2849
}
29-
},
30-
{
31-
ignores: ['build/', '.svelte-kit/', 'dist/']
3250
}
3351
);

package.json

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"download-contributors": "node ./scripts/download-contributor-data.js",
1313
"format": "prettier --write .",
1414
"format:check": "prettier --check .",
15+
"generate:icons": "node ./src/icons/optimize.js",
1516
"icons:build": "node ./src/icons/build.js",
1617
"icons:generate": "node ./src/icons/optimize.js && node ./src/icons/build.js",
1718
"icons:optimize": "node ./src/icons/optimize.js",
@@ -23,10 +24,9 @@
2324
"optimize": "node ./scripts/optimize-assets.js",
2425
"optimize:all": "node ./scripts/optimize-all.js"
2526
},
26-
"packageManager": "pnpm@10.6.2",
27+
"packageManager": "pnpm@10.8.1",
2728
"dependencies": {
2829
"@number-flow/svelte": "^0.3.3",
29-
"@sentry/sveltekit": "^8.51.0",
3030
"h3": "^1.14.0",
3131
"posthog-js": "^1.210.2",
3232
"sharp": "^0.33.5"
@@ -36,22 +36,24 @@
3636
"@appwrite.io/pink": "~0.26.0",
3737
"@appwrite.io/pink-icons": "~0.26.0",
3838
"@appwrite.io/repo": "github:appwrite/appwrite#1.6.x",
39+
"@eslint/compat": "^1.2.7",
3940
"@eslint/js": "^9.21.0",
4041
"@fingerprintjs/fingerprintjs": "^4.5.1",
4142
"@internationalized/date": "3.5.0",
4243
"@melt-ui/pp": "^0.3.2",
43-
"@melt-ui/svelte": "^0.86.2",
44+
"@melt-ui/svelte": "^0.86.5",
4445
"@playwright/test": "^1.50.0",
45-
"@sveltejs/adapter-node": "^4.0.1",
46-
"@sveltejs/enhanced-img": "^0.1.9",
47-
"@sveltejs/kit": "^2.16.1",
48-
"@sveltejs/vite-plugin-svelte": "^3.1.2",
49-
"@tailwindcss/postcss": "4.0.0-alpha.17",
46+
"@sveltejs/adapter-node": "^5.2.12",
47+
"@sveltejs/enhanced-img": "^0.4.4",
48+
"@sveltejs/kit": "^2.20.2",
49+
"@sveltejs/vite-plugin-svelte": "^5.0.3",
50+
"@tailwindcss/postcss": "^4.1.2",
5051
"@types/compression": "^1.7.5",
5152
"@types/glob": "^8.1.0",
5253
"@types/markdown-it": "^13.0.9",
5354
"@types/morgan": "^1.9.9",
5455
"analytics": "^0.8.16",
56+
"bits-ui": "^1.3.19",
5557
"clsx": "^2.1.1",
5658
"cva": "npm:class-variance-authority@^0.7.1",
5759
"date-fns": "^3.6.0",
@@ -68,6 +70,7 @@
6870
"highlight.js": "^11.11.1",
6971
"markdown-it": "^14.1.0",
7072
"meilisearch": "^0.37.0",
73+
"melt": "^0.29.2",
7174
"motion": "^10.18.0",
7275
"node-html-parser": "^6.1.13",
7376
"openapi-types": "^12.1.3",
@@ -80,27 +83,27 @@
8083
"prettier-plugin-svelte": "^3.3.3",
8184
"prettier-plugin-tailwindcss": "^0.6.11",
8285
"remeda": "^2.20.0",
86+
"reodotdev": "^1.0.0",
8387
"sass": "^1.83.4",
84-
"svelte": "^4.2.19",
85-
"svelte-check": "^3.8.6",
86-
"svelte-markdoc-preprocess": "^2.1.0",
88+
"svelte": "^5.25.6",
89+
"svelte-check": "^4.0.0",
90+
"svelte-markdoc-preprocess": "3.0.0",
8791
"svelte-markdown": "^0.4.1",
8892
"svgtofont": "^4.2.3",
89-
"tailwind-merge": "^2.6.0",
90-
"tailwindcss": "4.0.0-alpha.17",
93+
"tailwind-merge": "^3.0.2",
94+
"tailwindcss": "^4.1.2",
9195
"tslib": "^2.8.1",
92-
"typescript": "^5.7.3",
96+
"typescript": "^5.8.2",
9397
"typescript-eslint": "^8.21.0",
94-
"vite": "^5.4.14",
98+
"vite": "^6.2.4",
9599
"vite-plugin-dynamic-import": "^1.6.0",
96100
"vite-plugin-image-optimizer": "^1.1.8",
97101
"vite-plugin-manifest-sri": "^0.2.0",
98-
"vitest": "^1.6.0"
102+
"vitest": "^3.1.1"
99103
},
100104
"pnpm": {
101105
"onlyBuiltDependencies": [
102106
"@parcel/watcher",
103-
"@sentry/cli",
104107
"core-js",
105108
"esbuild",
106109
"sharp",

0 commit comments

Comments
 (0)