From ccde5c6bcc09aba19b6e13a9d17aa71f93289628 Mon Sep 17 00:00:00 2001 From: Dev-CasperTheGhost <53900565+Dev-CasperTheGhost@users.noreply.github.com> Date: Wed, 4 May 2022 17:18:38 +0200 Subject: [PATCH] :rocket: Release 1.0.0-beta.94 --- package.json | 2 +- packages/api/package.json | 12 +++--- .../admin/values/ValuesController.ts | 6 +-- packages/client/package.json | 12 +++--- packages/config/package.json | 4 +- packages/permissions/package.json | 2 +- packages/schemas/package.json | 2 +- packages/telemetry/package.json | 4 +- packages/types/package.json | 4 +- packages/utils/package.json | 4 +- yarn.lock | 38 +++++++++---------- 11 files changed, 43 insertions(+), 47 deletions(-) diff --git a/package.json b/package.json index b567e5341..dc1045146 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "snailycad", - "version": "1.0.0-beta.93", + "version": "1.0.0-beta.94", "packageManager": "yarn@3.2.0", "workspaces": [ "packages/**" diff --git a/packages/api/package.json b/packages/api/package.json index 027548f8b..df6e8e20b 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@snailycad/api", - "version": "1.0.0-beta.93", + "version": "1.0.0-beta.94", "scripts": { "dev": "yarn prisma migrate dev && yarn prisma generate && yarn nodemon --watch \"src/**/*.ts\" --ignore \"node_modules/**/*\" --exec yarn ts-node -r tsconfig-paths/register src/main.ts", "start": "yarn prisma migrate deploy && yarn prisma generate && yarn ts-node -r tsconfig-paths/register src/main.ts", @@ -36,11 +36,11 @@ "dependencies": { "@discordjs/rest": "^0.4.1", "@prisma/client": "^3.13.0", - "@snailycad/config": "1.0.0-beta.93", - "@snailycad/permissions": "1.0.0-beta.93", - "@snailycad/schemas": "1.0.0-beta.93", - "@snailycad/types": "1.0.0-beta.93", - "@snailycad/utils": "1.0.0-beta.93", + "@snailycad/config": "1.0.0-beta.94", + "@snailycad/permissions": "1.0.0-beta.94", + "@snailycad/schemas": "1.0.0-beta.94", + "@snailycad/types": "1.0.0-beta.94", + "@snailycad/utils": "1.0.0-beta.94", "@tsed/common": "^6.114.3", "@tsed/core": "^6.114.3", "@tsed/di": "^6.114.3", diff --git a/packages/api/src/controllers/admin/values/ValuesController.ts b/packages/api/src/controllers/admin/values/ValuesController.ts index 3829e8ef9..f21401f9d 100644 --- a/packages/api/src/controllers/admin/values/ValuesController.ts +++ b/packages/api/src/controllers/admin/values/ValuesController.ts @@ -210,11 +210,7 @@ export class ValuesController { const type = getTypeFromPath(path); const ids = body as string[]; - const arr = await Promise.all( - ids.map(async (id) => { - return this.deleteById(type, id); - }), - ); + const arr = await Promise.all(ids.map(async (id) => this.deleteById(type, id))); return arr.every((v) => v); } diff --git a/packages/client/package.json b/packages/client/package.json index d83ae118c..fe6dac895 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@snailycad/client", - "version": "1.0.0-beta.93", + "version": "1.0.0-beta.94", "scripts": { "dev": "yarn rimraf .env && yarn next dev", "build": "yarn validate && yarn next-build", @@ -30,11 +30,11 @@ "@react-aria/interactions": "^3.8.3", "@react-aria/label": "^3.2.4", "@react-aria/ssr": "^3.1.2", - "@snailycad/config": "1.0.0-beta.93", - "@snailycad/permissions": "1.0.0-beta.93", - "@snailycad/schemas": "1.0.0-beta.93", - "@snailycad/types": "1.0.0-beta.93", - "@snailycad/utils": "1.0.0-beta.93", + "@snailycad/config": "1.0.0-beta.94", + "@snailycad/permissions": "1.0.0-beta.94", + "@snailycad/schemas": "1.0.0-beta.94", + "@snailycad/types": "1.0.0-beta.94", + "@snailycad/utils": "1.0.0-beta.94", "axios": "^0.27.2", "date-fns": "^2.28.0", "formik": "^2.2.9", diff --git a/packages/config/package.json b/packages/config/package.json index e095564ce..e7be8c673 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@snailycad/config", - "version": "1.0.0-beta.93", + "version": "1.0.0-beta.94", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", @@ -21,7 +21,7 @@ "test": "yarn vitest run" }, "devDependencies": { - "@snailycad/types": "1.0.0-beta.93", + "@snailycad/types": "1.0.0-beta.94", "tsup": "^5.12.6", "typescript": "^4.6.4", "vite": "^2.9.6", diff --git a/packages/permissions/package.json b/packages/permissions/package.json index 5b420dd4e..878b01027 100644 --- a/packages/permissions/package.json +++ b/packages/permissions/package.json @@ -1,6 +1,6 @@ { "name": "@snailycad/permissions", - "version": "1.0.0-beta.93", + "version": "1.0.0-beta.94", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", diff --git a/packages/schemas/package.json b/packages/schemas/package.json index 260178634..1f3a90759 100644 --- a/packages/schemas/package.json +++ b/packages/schemas/package.json @@ -1,6 +1,6 @@ { "name": "@snailycad/schemas", - "version": "1.0.0-beta.93", + "version": "1.0.0-beta.94", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index 2df4e6664..759ca2da3 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -1,6 +1,6 @@ { "name": "@snailycad/telemetry", - "version": "1.0.0-beta.93", + "version": "1.0.0-beta.94", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", @@ -10,7 +10,7 @@ "typecheck": "yarn tsc --noEmit" }, "dependencies": { - "@snailycad/utils": "1.0.0-beta.93", + "@snailycad/utils": "1.0.0-beta.94", "axios": "^0.26.1" }, "devDependencies": { diff --git a/packages/types/package.json b/packages/types/package.json index fa40b5152..eb646dce2 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@snailycad/types", - "version": "1.0.0-beta.93", + "version": "1.0.0-beta.94", "exports": { ".": { "require": "./dist/index.js", @@ -23,7 +23,7 @@ "zod": "^3.14.4" }, "devDependencies": { - "@snailycad/permissions": "1.0.0-beta.93", + "@snailycad/permissions": "1.0.0-beta.94", "tsup": "^5.12.6", "typescript": "^4.6.4" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index 5cd9fdf2c..112fa0494 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@snailycad/utils", - "version": "1.0.0-beta.93", + "version": "1.0.0-beta.94", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", @@ -46,7 +46,7 @@ "test": "yarn vitest run" }, "devDependencies": { - "@snailycad/types": "1.0.0-beta.93", + "@snailycad/types": "1.0.0-beta.94", "c8": "^7.11.2", "tslib": "^2.4.0", "tsup": "^5.12.6", diff --git a/yarn.lock b/yarn.lock index 880199167..4bbf30df2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1436,11 +1436,11 @@ __metadata: dependencies: "@discordjs/rest": ^0.4.1 "@prisma/client": ^3.13.0 - "@snailycad/config": 1.0.0-beta.93 - "@snailycad/permissions": 1.0.0-beta.93 - "@snailycad/schemas": 1.0.0-beta.93 - "@snailycad/types": 1.0.0-beta.93 - "@snailycad/utils": 1.0.0-beta.93 + "@snailycad/config": 1.0.0-beta.94 + "@snailycad/permissions": 1.0.0-beta.94 + "@snailycad/schemas": 1.0.0-beta.94 + "@snailycad/types": 1.0.0-beta.94 + "@snailycad/utils": 1.0.0-beta.94 "@swc/core": ^1.2.174 "@swc/helpers": ^0.3.9 "@tsed/common": ^6.114.3 @@ -1508,11 +1508,11 @@ __metadata: "@react-aria/interactions": ^3.8.3 "@react-aria/label": ^3.2.4 "@react-aria/ssr": ^3.1.2 - "@snailycad/config": 1.0.0-beta.93 - "@snailycad/permissions": 1.0.0-beta.93 - "@snailycad/schemas": 1.0.0-beta.93 - "@snailycad/types": 1.0.0-beta.93 - "@snailycad/utils": 1.0.0-beta.93 + "@snailycad/config": 1.0.0-beta.94 + "@snailycad/permissions": 1.0.0-beta.94 + "@snailycad/schemas": 1.0.0-beta.94 + "@snailycad/types": 1.0.0-beta.94 + "@snailycad/utils": 1.0.0-beta.94 "@types/leaflet": ^1.7.9 "@types/react": ^17.0.43 "@types/react-dom": ^17.0.14 @@ -1564,11 +1564,11 @@ __metadata: languageName: unknown linkType: soft -"@snailycad/config@1.0.0-beta.93, @snailycad/config@workspace:packages/config": +"@snailycad/config@1.0.0-beta.94, @snailycad/config@workspace:packages/config": version: 0.0.0-use.local resolution: "@snailycad/config@workspace:packages/config" dependencies: - "@snailycad/types": 1.0.0-beta.93 + "@snailycad/types": 1.0.0-beta.94 tsup: ^5.12.6 typescript: ^4.6.4 vite: ^2.9.6 @@ -1576,7 +1576,7 @@ __metadata: languageName: unknown linkType: soft -"@snailycad/permissions@1.0.0-beta.93, @snailycad/permissions@workspace:packages/permissions": +"@snailycad/permissions@1.0.0-beta.94, @snailycad/permissions@workspace:packages/permissions": version: 0.0.0-use.local resolution: "@snailycad/permissions@workspace:packages/permissions" dependencies: @@ -1589,7 +1589,7 @@ __metadata: languageName: unknown linkType: soft -"@snailycad/schemas@1.0.0-beta.93, @snailycad/schemas@workspace:packages/schemas": +"@snailycad/schemas@1.0.0-beta.94, @snailycad/schemas@workspace:packages/schemas": version: 0.0.0-use.local resolution: "@snailycad/schemas@workspace:packages/schemas" dependencies: @@ -1604,7 +1604,7 @@ __metadata: version: 0.0.0-use.local resolution: "@snailycad/telemetry@workspace:packages/telemetry" dependencies: - "@snailycad/utils": 1.0.0-beta.93 + "@snailycad/utils": 1.0.0-beta.94 "@types/node": ^17.0.23 axios: ^0.26.1 tslib: ^2.3.1 @@ -1613,11 +1613,11 @@ __metadata: languageName: unknown linkType: soft -"@snailycad/types@1.0.0-beta.93, @snailycad/types@workspace:packages/types": +"@snailycad/types@1.0.0-beta.94, @snailycad/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@snailycad/types@workspace:packages/types" dependencies: - "@snailycad/permissions": 1.0.0-beta.93 + "@snailycad/permissions": 1.0.0-beta.94 tsup: ^5.12.6 type-fest: ^2.12.2 typescript: ^4.6.4 @@ -1625,11 +1625,11 @@ __metadata: languageName: unknown linkType: soft -"@snailycad/utils@1.0.0-beta.93, @snailycad/utils@workspace:packages/utils": +"@snailycad/utils@1.0.0-beta.94, @snailycad/utils@workspace:packages/utils": version: 0.0.0-use.local resolution: "@snailycad/utils@workspace:packages/utils" dependencies: - "@snailycad/types": 1.0.0-beta.93 + "@snailycad/types": 1.0.0-beta.94 c8: ^7.11.2 tslib: ^2.4.0 tsup: ^5.12.6