Skip to content

Commit

Permalink
Merge branch 'main' into scroll-to-top-on-navigate
Browse files Browse the repository at this point in the history
  • Loading branch information
cmintey committed Nov 29, 2023
2 parents 55c2ea3 + b2d14f8 commit 57bfca0
Show file tree
Hide file tree
Showing 136 changed files with 5,948 additions and 5,999 deletions.
85 changes: 40 additions & 45 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,47 +1,42 @@
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
extends: [
"eslint:recommended",
"plugin:svelte/prettier",
"plugin:@typescript-eslint/recommended",
"prettier"
],
plugins: ["@typescript-eslint"],
ignorePatterns: ["*.cjs"],
rules: {
"svelte/sort-attributes": "warn",
"svelte/shorthand-directive": [
"warn",
{
prefer: "always"
}
]
},
overrides: [
{
files: ["*.svelte"],
parser: "svelte-eslint-parser",
// Parse the `<script>` in `.svelte` as TypeScript by adding the following configuration.
parserOptions: {
parser: "@typescript-eslint/parser"
}
},
{
files: ["*.ts", "*.mts", "*.cts", "*.tsx", "*.svelte"],
rules: {
"no-undef": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
],
parserOptions: {
sourceType: "module",
ecmaVersion: 2020
},
env: {
browser: true,
es2017: true,
node: true
}
root: true,
parser: "@typescript-eslint/parser",
extends: ["eslint:recommended", "plugin:svelte/prettier", "plugin:@typescript-eslint/recommended", "prettier"],
plugins: ["@typescript-eslint"],
ignorePatterns: ["*.cjs"],
rules: {
"svelte/sort-attributes": "warn",
"svelte/shorthand-directive": [
"warn",
{
prefer: "always"
}
]
},
overrides: [
{
files: ["*.svelte"],
parser: "svelte-eslint-parser",
// Parse the `<script>` in `.svelte` as TypeScript by adding the following configuration.
parserOptions: {
parser: "@typescript-eslint/parser"
}
},
{
files: ["*.ts", "*.mts", "*.cts", "*.tsx", "*.svelte"],
rules: {
"no-undef": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
],
parserOptions: {
sourceType: "module",
ecmaVersion: 2020
},
env: {
browser: true,
es2017: true,
node: true
}
};
13 changes: 6 additions & 7 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"useTabs": true,
"singleQuote": false,
"trailingComma": "none",
"printWidth": 100,
"htmlWhitespaceSensitivity": "ignore",
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
"tabWidth": 4,
"trailingComma": "none",
"printWidth": 120,
"htmlWhitespaceSensitivity": "ignore",
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}
10 changes: 1 addition & 9 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"markdown",
"svelte"
]
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact", "html", "markdown", "svelte"]
}
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ Wishlist is a self-hosted wishlist application that you can share with your frie

## Features

- [x] Claim items on a wishlist
- [x] Check off claimed items as purchased
- [x] Automatically fetch product data from URL
- [x] Invite users via email (SMTP configuration required)
- [x] Options for [suggestions](#suggestions)
- [x] PWA Support
- [x] Group support
- [ ] Draw names for a "secret santa" experience
- [x] Claim items on a wishlist
- [x] Check off claimed items as purchased
- [x] Automatically fetch product data from URL
- [x] Invite users via email (SMTP configuration required)
- [x] Options for [suggestions](#suggestions)
- [x] PWA Support
- [x] Group support
- [ ] Draw names for a "secret santa" experience

## Getting Started

Expand Down
22 changes: 11 additions & 11 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
version: "3"

services:
app:
container_name: wishlist-app
image: cmintey/wishlist
build: .
ports:
- 3280:3280
volumes:
- ./uploads:/usr/src/app/uploads
- ./data:/usr/src/app/data
env_file:
- .env
app:
container_name: wishlist-app
image: cmintey/wishlist
build: .
ports:
- 3280:3280
volumes:
- ./uploads:/usr/src/app/uploads
- ./data:/usr/src/app/data
env_file:
- .env
152 changes: 76 additions & 76 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,78 +1,78 @@
{
"name": "wishlist",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"start": "node build",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write ."
},
"prisma": {
"seed": "node prisma/seed.js"
},
"devDependencies": {
"@floating-ui/dom": "^1.5.3",
"@skeletonlabs/skeleton": "^2.5.1",
"@skeletonlabs/tw-plugin": "^0.2.4",
"@sveltejs/adapter-node": "^1.3.1",
"@sveltejs/kit": "^1.27.6",
"@tailwindcss/forms": "^0.5.7",
"@types/metascraper": "^5.14.3",
"@types/node": "^20.9.3",
"@types/nodemailer": "^6.4.14",
"@types/pulltorefreshjs": "^0.1.7",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"@vite-pwa/sveltekit": "^0.2.8",
"autoprefixer": "^10.4.16",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-svelte": "^2.35.0",
"fuzzysort": "^2.0.4",
"postcss": "^8.4.31",
"postcss-load-config": "^4.0.2",
"prettier": "^3.1.0",
"prettier-plugin-svelte": "^3.1.1",
"prettier-plugin-tailwindcss": "^0.5.7",
"pulltorefreshjs": "^0.1.22",
"svelte": "^4.2.7",
"svelte-check": "^3.6.0",
"svelte-preprocess": "^5.1.0",
"tailwindcss": "^3.3.5",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typescript": "^5.3.2",
"vite": "^4.5.0",
"vite-plugin-pwa": "^0.16.7",
"vite-plugin-tailwind-purgecss": "^0.1.3"
},
"type": "module",
"dependencies": {
"@lucia-auth/adapter-prisma": "^3.0.2",
"@metascraper/helpers": "^5.38.0",
"@prisma/client": "^5.6.0",
"@zxcvbn-ts/core": "^3.0.4",
"@zxcvbn-ts/language-common": "^3.0.4",
"@zxcvbn-ts/language-en": "^3.0.2",
"got-scraping": "^4.0.1",
"handlebars": "^4.7.8",
"lucia": "^2.7.4",
"metascraper": "^5.38.0",
"metascraper-amazon": "^5.38.0",
"metascraper-image": "^5.38.0",
"metascraper-title": "^5.38.0",
"metascraper-url": "^5.38.0",
"nodemailer": "^6.9.7",
"prisma": "^5.6.0",
"sharp": "^0.32.6",
"zod": "^3.22.4"
},
"engines": {
"node": "^20"
}
"name": "wishlist",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"start": "node build",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write ."
},
"prisma": {
"seed": "node prisma/seed.js"
},
"devDependencies": {
"@floating-ui/dom": "^1.5.3",
"@skeletonlabs/skeleton": "^2.5.1",
"@skeletonlabs/tw-plugin": "^0.2.4",
"@sveltejs/adapter-node": "^1.3.1",
"@sveltejs/kit": "^1.27.6",
"@tailwindcss/forms": "^0.5.7",
"@types/metascraper": "^5.14.3",
"@types/node": "^20.10.0",
"@types/nodemailer": "^6.4.14",
"@types/pulltorefreshjs": "^0.1.7",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"@vite-pwa/sveltekit": "^0.2.8",
"autoprefixer": "^10.4.16",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-svelte": "^2.35.1",
"fuzzysort": "^2.0.4",
"postcss": "^8.4.31",
"postcss-load-config": "^4.0.2",
"prettier": "^3.1.0",
"prettier-plugin-svelte": "^3.1.2",
"prettier-plugin-tailwindcss": "^0.5.7",
"pulltorefreshjs": "^0.1.22",
"svelte": "^4.2.7",
"svelte-check": "^3.6.2",
"svelte-preprocess": "^5.1.1",
"tailwindcss": "^3.3.5",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typescript": "^5.3.2",
"vite": "^4.5.0",
"vite-plugin-pwa": "^0.16.7",
"vite-plugin-tailwind-purgecss": "^0.1.4"
},
"type": "module",
"dependencies": {
"@lucia-auth/adapter-prisma": "^3.0.2",
"@metascraper/helpers": "^5.39.0",
"@prisma/client": "^5.6.0",
"@zxcvbn-ts/core": "^3.0.4",
"@zxcvbn-ts/language-common": "^3.0.4",
"@zxcvbn-ts/language-en": "^3.0.2",
"got-scraping": "^4.0.1",
"handlebars": "^4.7.8",
"lucia": "^2.7.4",
"metascraper": "^5.39.0",
"metascraper-amazon": "^5.39.0",
"metascraper-image": "^5.39.0",
"metascraper-title": "^5.39.0",
"metascraper-url": "^5.39.0",
"nodemailer": "^6.9.7",
"prisma": "^5.6.0",
"sharp": "^0.32.6",
"zod": "^3.22.4"
},
"engines": {
"node": "^20"
}
}
Loading

0 comments on commit 57bfca0

Please sign in to comment.