Skip to content

Commit

Permalink
Merge pull request #11 from directormac/dev
Browse files Browse the repository at this point in the history
Add Todo and User Generator
@Manggigi  please takeover the UI for now
  • Loading branch information
directormac authored Aug 7, 2023
2 parents d05f63a + 47dbcb4 commit 22374d9
Show file tree
Hide file tree
Showing 15 changed files with 741 additions and 121 deletions.
16 changes: 8 additions & 8 deletions packages/svelte-todo/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"singleQuote": false,
"trailingComma": "all",
"tabWidth": 4,
"semi": true,
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}
39 changes: 4 additions & 35 deletions packages/svelte-todo/README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,7 @@
# create-svelte
# Requirements

Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
- Createa Todo List

## Creating a project
## Constraints

If you're seeing this, you've probably already done this step. Congrats!

```bash
# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

## Building

To create a production version of your app:

```bash
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://kit.svelte.dev/docs/adapters) for your target environment.
- Cannot Create a Todo without a User
80 changes: 44 additions & 36 deletions packages/svelte-todo/package.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,46 @@
{
"name": "svelte-todo",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"test": "npm run test:integration && npm run test:unit",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "",
"test:integration": "playwright test",
"test:unit": "vitest",
"prettier:format": "pnpm exec -- npx prettier --plugin-search-dir . --write .",
"prettier:check": "pnpm exec -- npx prettier --plugin-search-dir . --check .",
},
"devDependencies": {
"@playwright/test": "^1.28.1",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.20.4",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte": "^2.30.0",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.10.1",
"svelte": "^4.0.5",
"svelte-check": "^3.4.3",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^4.4.2",
"vitest": "^0.32.2"
},
"type": "module"
"name": "svelte-todo",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"test": "npm run test:integration && npm run test:unit",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "",
"test:integration": "playwright test",
"test:unit": "vitest --ui",
"prettier:format": "pnpm exec -- npx prettier --plugin-search-dir . --write .",
"prettier:check": "pnpm exec -- npx prettier --plugin-search-dir . --check ."
},
"devDependencies": {
"@faker-js/faker": "^8.0.2",
"@playwright/test": "^1.28.1",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.20.4",
"@tailwindcss/forms": "^0.5.4",
"@tailwindcss/typography": "^0.5.9",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"autoprefixer": "^10.4.14",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte": "^2.30.0",
"nanoid": "^4.0.2",
"postcss": "^8.4.24",
"postcss-load-config": "^4.0.1",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.10.1",
"svelte": "^4.0.5",
"svelte-check": "^3.4.3",
"tailwindcss": "^3.3.2",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^4.4.2",
"vitest": "^0.32.2"
},
"type": "module"
}
Loading

0 comments on commit 22374d9

Please sign in to comment.