Skip to content

Commit

Permalink
svelete baby
Browse files Browse the repository at this point in the history
  • Loading branch information
YannicEl committed May 8, 2024
1 parent dba08c5 commit cff572f
Show file tree
Hide file tree
Showing 43 changed files with 2,829 additions and 7,491 deletions.
3 changes: 0 additions & 3 deletions .env.example

This file was deleted.

6 changes: 0 additions & 6 deletions .firebaserc

This file was deleted.

34 changes: 9 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

.env
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
8 changes: 0 additions & 8 deletions .prettierrc

This file was deleted.

15 changes: 0 additions & 15 deletions firebase.json

This file was deleted.

4 changes: 0 additions & 4 deletions firestore.indexes.json

This file was deleted.

8 changes: 0 additions & 8 deletions firestore.rules

This file was deleted.

26 changes: 0 additions & 26 deletions index.html

This file was deleted.

File renamed without changes.
File renamed without changes
File renamed without changes.
1 change: 0 additions & 1 deletion src/components.d.ts → old/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ declare module '@vue/runtime-core' {
export interface GlobalComponents {
Download: typeof import('./pages/download.vue')['default']
DownloadFilePreview: typeof import('./components/DownloadFilePreview.vue')['default']
FilePreview: typeof import('./components/UploadFilePreview.vue')['default']
ProgressBar: typeof import('./components/ProgressBar.vue')['default']
RouterLink: typeof import('./components/RouterLink.vue')['default']
Upload: typeof import('./pages/upload.vue')['default']
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
55 changes: 27 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
{
"name": "frontend",
"name": "myapp",
"version": "0.0.1",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite --host",
"build": "vue-tsc --noEmit && vite build",
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"deploy:dev": "pnpm run build && firebase deploy --only hosting --project dev",
"deploy:prod": "pnpm run build && firebase deploy --only hosting --project prod"
},
"dependencies": {
"@splitbee/web": "^0.3.0",
"@unocss/reset": "^0.42.0",
"@vueuse/core": "^8.7.5",
"firebase": "^9.8.4",
"nanoid": "^4.0.0",
"vue": "^3.2.37"
"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",
"test:integration": "playwright test",
"test:unit": "vitest",
"lint": "prettier --check .",
"format": "prettier --write ."
},
"devDependencies": {
"@iconify-json/material-symbols": "^1.1.8",
"@types/wicg-file-system-access": "^2020.9.5",
"@vitejs/plugin-vue": "^2.3.3",
"firebase-tools": "^11.2.0",
"prettier": "^2.7.1",
"typescript": "^4.7.4",
"unocss": "^0.42.0",
"unocss-preset-scrollbar": "^0.2.1",
"unplugin-auto-import": "^0.9.2",
"unplugin-vue-components": "^0.21.0",
"vite": "^2.9.13",
"vite-plugin-pwa": "^0.12.2",
"vue-tsc": "^0.38.2"
}
"@playwright/test": "1.44.0",
"@sveltejs/adapter-auto": "3.2.0",
"@sveltejs/adapter-cloudflare": "4.4.0",
"@sveltejs/kit": "2.5.7",
"@sveltejs/vite-plugin-svelte": "3.1.0",
"prettier": "3.2.5",
"prettier-plugin-svelte": "3.2.3",
"svelte": "5.0.0-next.123",
"svelte-check": "3.7.1",
"tslib": "2.6.2",
"typescript": "5.4.5",
"unocss": "^0.59.4",
"vite": "5.2.11",
"vitest": "1.6.0"
},
"type": "module"
}
12 changes: 12 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import type { PlaywrightTestConfig } from '@playwright/test';

const config: PlaywrightTestConfig = {
webServer: {
command: 'npm run build && npm run preview',
port: 4173
},
testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/
};

export default config;

0 comments on commit cff572f

Please sign in to comment.