Update web deps

This commit is contained in:
orosmatthew 2023-08-23 22:06:53 -04:00
parent 3a1edd7717
commit c10eb8cc87
12 changed files with 880 additions and 1520 deletions

View File

@ -1,20 +1,30 @@
module.exports = {
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:svelte/recommended',
'prettier'
],
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['svelte3', '@typescript-eslint'],
ignorePatterns: ['*.cjs'],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
settings: {
'svelte3/typescript': () => require('typescript')
},
plugins: ['@typescript-eslint'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020
ecmaVersion: 2020,
extraFileExtensions: ['.svelte']
},
env: {
browser: true,
es2017: true,
node: true
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser'
}
}
]
};

View File

@ -5,6 +5,5 @@
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}

2300
web/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,46 +8,45 @@
"preview": "vite preview",
"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": "prettier --plugin-search-dir . --write ."
"lint": "prettier --plugin prettier-plugin-svelte --check . && eslint .",
"format": "prettier --plugin prettier-plugin-svelte --write ."
},
"devDependencies": {
"@sveltejs/adapter-auto": "^2.0.1",
"@sveltejs/kit": "^1.15.10",
"@sveltejs/adapter-auto": "^2.1.0",
"@sveltejs/kit": "^1.23.0",
"@types/bootstrap": "^5.2.6",
"@types/diff": "^5.0.3",
"@types/node": "^18.16.3",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-svelte3": "^4.0.0",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.0",
"prisma-erd-generator": "^1.7.0",
"svelte": "^3.58.0",
"svelte-check": "^3.2.0",
"tslib": "^2.5.0",
"typescript": "^5.0.4",
"vite": "^4.3.9"
"@types/node": "^20.5.4",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"prettier": "^3.0.2",
"prettier-plugin-svelte": "^3.0.3",
"svelte": "^4.2.0",
"svelte-check": "^3.5.0",
"tslib": "^2.6.2",
"typescript": "^5.1.6",
"vite": "^4.4.9"
},
"type": "module",
"dependencies": {
"@prisma/client": "^4.13.0",
"@sveltejs/adapter-node": "^1.2.4",
"@prisma/client": "^5.2.0",
"@sveltejs/adapter-node": "^1.3.1",
"@types/fs-extra": "^11.0.1",
"axios": "^1.4.0",
"bootstrap": "^5.2.3",
"bootstrap": "^5.3.1",
"diff": "^5.1.0",
"diff2html": "^3.4.35",
"diff2html": "^3.4.40",
"eslint-plugin-svelte": "^2.33.0",
"fs-extra": "^11.1.1",
"highlight.js": "^11.8.0",
"memfs": "^3.5.1",
"memfs": "^4.2.1",
"node-git-server": "^1.0.0",
"prisma": "^4.13.0",
"simple-git": "^3.18.0",
"prisma": "^5.2.0",
"simple-git": "^3.19.1",
"uuid": "^9.0.0",
"zod": "^3.21.4"
"zod": "^3.22.2"
}
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 48 KiB

View File

@ -2,10 +2,6 @@ generator client {
provider = "prisma-client-js"
}
generator erd {
provider = "prisma-erd-generator"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")

View File

@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />

View File

@ -1,4 +1,3 @@
import { error } from 'console';
import { Git } from 'node-git-server';
import { join } from 'path';

View File

@ -1,5 +1,5 @@
import type { RequestHandler } from './$types';
import { error, json } from '@sveltejs/kit';
import { json } from '@sveltejs/kit';
import { db } from '$lib/server/prisma';
export const GET = (async ({ params }) => {

View File

@ -6,7 +6,7 @@ const config = {
preprocess: vitePreprocess(),
kit: {
adapter: adapter(),
adapter: adapter()
}
};