Update dependencies
This commit is contained in:
parent
5d1fc30601
commit
0151a6c713
4 changed files with 2589 additions and 4189 deletions
6756
package-lock.json
generated
6756
package-lock.json
generated
File diff suppressed because it is too large
Load diff
11
package.json
11
package.json
|
@ -16,15 +16,14 @@
|
||||||
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
||||||
"@typescript-eslint/parser": "^6.9.1",
|
"@typescript-eslint/parser": "^6.9.1",
|
||||||
"eslint": "^8.39.0",
|
"eslint": "^8.39.0",
|
||||||
"nuxt": "3.8.1",
|
"nuxt": "3.8.2",
|
||||||
"prisma": "5.5.2",
|
"prisma": "5.7.0",
|
||||||
"sass": "^1.62.0",
|
"sass": "^1.62.0",
|
||||||
"vite-plugin-vuetify": "^1.0.2",
|
"vite-plugin-vuetify": "^2.0.1",
|
||||||
"vuetify": "^3.1.15"
|
"vuetify": "^3.1.15"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@prisma/client": "5.5.2",
|
"@prisma/client": "5.7.0",
|
||||||
"@prisma/migrate": "^5.5.2",
|
"@prisma/migrate": "5.7.0"
|
||||||
"mysql2": "^3.2.3"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import url from "node:url";
|
import url from "node:url";
|
||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import { defineEventHandler, setResponseStatus, readBody } from "h3";
|
import { defineEventHandler, setResponseStatus, readBody } from "h3";
|
||||||
// @ts-expect-error
|
// eslint-disable-next-line import/default
|
||||||
import { DbPush } from "@prisma/migrate";
|
import PrismaMigrate from "@prisma/migrate";
|
||||||
|
|
||||||
import { database } from "../utils/database";
|
import { database } from "../utils/database";
|
||||||
import { isFirstRun } from "./firstRun.get";
|
import { isFirstRun } from "./firstRun.get";
|
||||||
|
@ -39,7 +39,7 @@ export default defineEventHandler(async (e) => {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
await DbPush.new().parse(dbPushParam);
|
await (new PrismaMigrate.DbPush()).parse(dbPushParam);
|
||||||
await database.user.create({
|
await database.user.create({
|
||||||
data: {
|
data: {
|
||||||
id: new Snowflake().state,
|
id: new Snowflake().state,
|
||||||
|
|
|
@ -4,12 +4,12 @@ let
|
||||||
# Updating this package will force an update for nodePackages.prisma. The
|
# Updating this package will force an update for nodePackages.prisma. The
|
||||||
# version of prisma-engines and nodePackages.prisma must be the same for them to
|
# version of prisma-engines and nodePackages.prisma must be the same for them to
|
||||||
# function correctly.
|
# function correctly.
|
||||||
prisma-version = "5.5.2";
|
prisma-version = "5.7.0";
|
||||||
prisma-src = pkgs.fetchFromGitHub {
|
prisma-src = pkgs.fetchFromGitHub {
|
||||||
owner = "prisma";
|
owner = "prisma";
|
||||||
repo = "prisma-engines";
|
repo = "prisma-engines";
|
||||||
rev = prisma-version;
|
rev = prisma-version;
|
||||||
hash = "sha256-d24b+Jobt5+vH7SGYOnDIR9DOtM0Y2XSfHZGkr7EidA=";
|
hash = "sha256-gZEz0UtgNwumsZbweAyx3TOVHJshpBigc9pzWN7Gb/A=";
|
||||||
};
|
};
|
||||||
new-prisma-engines = pkgs.rustPlatform.buildRustPackage {
|
new-prisma-engines = pkgs.rustPlatform.buildRustPackage {
|
||||||
pname = "prisma-engines";
|
pname = "prisma-engines";
|
||||||
|
@ -30,6 +30,7 @@ let
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = "${prisma-src}/Cargo.lock";
|
lockFile = "${prisma-src}/Cargo.lock";
|
||||||
outputHashes = {
|
outputHashes = {
|
||||||
|
"cuid-1.3.2" = "sha256-ZihFrLerEIOdbJggaBbByRbC1sZRvF4M0LN2albB7vA=";
|
||||||
"barrel-0.6.6-alpha.0" = "sha256-USh0lQ1z+3Spgc69bRFySUzhuY79qprLlEExTmYWFN8=";
|
"barrel-0.6.6-alpha.0" = "sha256-USh0lQ1z+3Spgc69bRFySUzhuY79qprLlEExTmYWFN8=";
|
||||||
"graphql-parser-0.3.0" = "sha256-0ZAsj2mW6fCLhwTETucjbu4rPNzfbNiHu2wVTBlTNe4=";
|
"graphql-parser-0.3.0" = "sha256-0ZAsj2mW6fCLhwTETucjbu4rPNzfbNiHu2wVTBlTNe4=";
|
||||||
"mysql_async-0.31.3" = "sha256-QIO9s0Upc0/1W7ux1RNJNGKqzO4gB4gMV3NoakAbxkQ=";
|
"mysql_async-0.31.3" = "sha256-QIO9s0Upc0/1W7ux1RNJNGKqzO4gB4gMV3NoakAbxkQ=";
|
||||||
|
|
Loading…
Reference in a new issue