-
Notifications
You must be signed in to change notification settings - Fork 0
Create app #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create app #1
Changes from 1 commit
d71c4ba
7df4cec
4181a43
ad12780
50a1829
8684766
90b5005
0d05102
d2ef717
db0f222
5d7e367
9c347b5
404442e
1b2f159
3a5ceb0
2cfc254
cf48a44
2e52986
dd27f5b
6246101
8e1bdde
5f7bf03
79faed0
fb77557
5286c45
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| node_modules | ||
|
|
||
| # Output | ||
| .output | ||
| .vercel | ||
| .netlify | ||
| .wrangler | ||
| /.svelte-kit | ||
| /build | ||
|
|
||
| # OS | ||
| .DS_Store | ||
| Thumbs.db | ||
|
|
||
| # Env | ||
| .env | ||
| .env.* | ||
| !.env.example | ||
| !.env.test | ||
|
|
||
| # Vite | ||
| vite.config.js.timestamp-* | ||
| vite.config.ts.timestamp-* |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| engine-strict=true |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Package Managers | ||
| package-lock.json | ||
| pnpm-lock.yaml | ||
| yarn.lock | ||
| bun.lock | ||
| bun.lockb | ||
|
|
||
| # Miscellaneous | ||
| /static/ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| { | ||
| "useTabs": true, | ||
| "singleQuote": true, | ||
| "trailingComma": "none", | ||
| "printWidth": 100, | ||
| "plugins": [ | ||
| "prettier-plugin-svelte" | ||
| ], | ||
| "overrides": [ | ||
| { | ||
| "files": "*.svelte", | ||
| "options": { | ||
| "parser": "svelte" | ||
| } | ||
| } | ||
| ] | ||
| } |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # sv | ||
|
|
||
| Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli). | ||
|
|
||
| ## Creating a project | ||
|
|
||
| If you're seeing this, you've probably already done this step. Congrats! | ||
|
|
||
| ```sh | ||
| # create a new project in the current directory | ||
| npx sv create | ||
|
|
||
| # create a new project in my-app | ||
| npx sv create my-app | ||
| ``` | ||
|
|
||
| ## Developing | ||
|
|
||
| Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: | ||
|
|
||
| ```sh | ||
| npm run dev | ||
|
|
||
| # or start the server and open the app in a new browser tab | ||
| npm run dev -- --open | ||
| ``` | ||
|
Comment on lines
+87
to
+104
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Align
Consider updating the example to include - "availableFeatures": ["auth", "database", "storage", "functions", "messaging", "sites", "realtime"]
+ "availableFeatures": ["auth", "database", "storage", "functions", "messaging", "sites", "realtime", "all"]🤖 Prompt for AI Agents |
||
|
|
||
| ## Building | ||
|
|
||
| To create a production version of your app: | ||
|
|
||
| ```sh | ||
| npm run build | ||
| ``` | ||
|
|
||
| You can preview the production build with `npm run preview`. | ||
|
|
||
| > To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| import { fileURLToPath } from 'node:url'; | ||
| import { includeIgnoreFile } from '@eslint/compat'; | ||
| import js from '@eslint/js'; | ||
| import svelte from 'eslint-plugin-svelte'; | ||
| import { defineConfig } from 'eslint/config'; | ||
| import globals from 'globals'; | ||
| import ts from 'typescript-eslint'; | ||
| import svelteConfig from './svelte.config.js'; | ||
|
|
||
| const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url)); | ||
|
|
||
| export default defineConfig( | ||
| includeIgnoreFile(gitignorePath), | ||
| js.configs.recommended, | ||
| ...ts.configs.recommended, | ||
| ...svelte.configs.recommended, | ||
| { | ||
| languageOptions: { | ||
| globals: { ...globals.browser, ...globals.node } | ||
| }, | ||
| rules: { // typescript-eslint strongly recommend that you do not use the no-undef lint rule on TypeScript projects. | ||
| // see: https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors | ||
| "no-undef": 'off' } | ||
| }, | ||
| { | ||
| files: [ | ||
| '**/*.svelte', | ||
| '**/*.svelte.ts', | ||
| '**/*.svelte.js' | ||
| ], | ||
| languageOptions: { | ||
| parserOptions: { | ||
| projectService: true, | ||
| extraFileExtensions: ['.svelte'], | ||
| parser: ts.parser, | ||
| svelteConfig | ||
| } | ||
| } | ||
| } | ||
| ); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| { | ||
| "name": "appwrite-cursor-rules", | ||
| "private": true, | ||
| "version": "0.0.1", | ||
| "type": "module", | ||
| "scripts": { | ||
| "dev": "vite dev", | ||
| "build": "vite build", | ||
| "preview": "vite preview", | ||
| "prepare": "svelte-kit sync || echo ''", | ||
| "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||
| "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||
| "format": "prettier --write .", | ||
| "lint": "prettier --check . && eslint ." | ||
| }, | ||
| "devDependencies": { | ||
| "@eslint/compat": "^1.4.0", | ||
| "@eslint/js": "^9.39.1", | ||
| "@sveltejs/adapter-auto": "^7.0.0", | ||
| "@sveltejs/kit": "^2.48.5", | ||
| "@sveltejs/vite-plugin-svelte": "^6.2.1", | ||
| "@types/node": "^22", | ||
| "eslint": "^9.39.1", | ||
| "eslint-plugin-svelte": "^3.13.0", | ||
| "globals": "^16.5.0", | ||
| "prettier": "^3.6.2", | ||
| "prettier-plugin-svelte": "^3.4.0", | ||
| "svelte": "^5.43.8", | ||
| "svelte-check": "^4.3.4", | ||
| "typescript": "^5.9.3", | ||
| "typescript-eslint": "^8.47.0", | ||
| "vite": "^7.2.2" | ||
| }, | ||
| "dependencies": { | ||
| "@appwrite.io/pink": "^1.0.0" | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specify a language for the fenced code block.
The project structure code block at line 89 should include a language identifier for proper markdown linting compliance.
Apply this diff to add a language specifier:
Since the content is a directory tree rather than executable code, you may alternatively use a backtick fence without a language identifier if your markdown configuration permits it, or use
txtas the language.🧰 Tools
🪛 markdownlint-cli2 (0.18.1)
89-89: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🤖 Prompt for AI Agents