Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

정기 디펜던시 업그레이드 #2811

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions apps/bedrock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"private": true,
"type": "module",
"devDependencies": {
"@pulumi/aws": "^6.41.0",
"@pulumi/kubernetes": "^4.13.1",
"@pulumi/pulumi": "^3.120.0",
"@pulumi/random": "^4.16.2",
"@pulumi/tailscale": "^0.16.0",
"@pulumi/tls": "^5.0.3",
"@types/node": "^20.14.5",
"@pulumi/aws": "^6.45.0",
"@pulumi/kubernetes": "^4.15.0",
"@pulumi/pulumi": "^3.124.0",
"@pulumi/random": "^4.16.3",
"@pulumi/tailscale": "^0.16.1",
"@pulumi/tls": "^5.0.4",
"@types/node": "^20.14.11",
"@withglyph/pulumi": "workspace:^",
"@withglyph/tsconfig": "workspace:^",
"fast-glob": "^3.3.2",
"tsx": "^4.15.6"
"tsx": "^4.16.2"
}
}
20 changes: 10 additions & 10 deletions apps/company/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@
"lint:typecheck": "tsc"
},
"dependencies": {
"@sveltejs/kit": "^2.5.17",
"@sveltejs/kit": "^2.5.18",
"@withglyph/adapter-docker": "workspace:^",
"@withglyph/lib": "workspace:^",
"svelte": "^4.2.18"
},
"devDependencies": {
"@pandacss/dev": "^0.41.0",
"@pulumi/pulumi": "^3.120.0",
"@pandacss/dev": "^0.42.0",
"@pulumi/pulumi": "^3.124.0",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@types/node": "^20.14.5",
"@types/node": "^20.14.11",
"@withglyph/pulumi": "workspace:^",
"@withglyph/tsconfig": "workspace:^",
"postcss": "^8.4.38",
"postcss": "^8.4.39",
"postcss-load-config": "^5.1.0",
"svelte-check": "^3.8.1",
"svelte-preprocess": "^6.0.1",
"tsx": "^4.15.6",
"typescript": "^5.4.5",
"vite": "^5.3.1"
"svelte-check": "^3.8.4",
"svelte-preprocess": "^6.0.2",
"tsx": "^4.16.2",
"typescript": "^5.5.3",
"vite": "^5.3.4"
}
}
20 changes: 10 additions & 10 deletions apps/help/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@
"lint:typecheck": "tsc"
},
"dependencies": {
"@sveltejs/kit": "^2.5.17",
"@sveltejs/kit": "^2.5.18",
"@withglyph/adapter-docker": "workspace:^",
"@withglyph/lib": "workspace:^",
"mdsvex": "^0.11.2",
"remark-gfm": "^4.0.0",
"svelte": "^4.2.18"
},
"devDependencies": {
"@pandacss/dev": "^0.41.0",
"@pulumi/pulumi": "^3.120.0",
"@pandacss/dev": "^0.42.0",
"@pulumi/pulumi": "^3.124.0",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@types/node": "^20.14.5",
"@types/node": "^20.14.11",
"@withglyph/pulumi": "workspace:^",
"@withglyph/tsconfig": "workspace:^",
"postcss": "^8.4.38",
"postcss": "^8.4.39",
"postcss-load-config": "^5.1.0",
"svelte-check": "^3.8.1",
"svelte-preprocess": "^6.0.1",
"tsx": "^4.15.6",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"svelte-check": "^3.8.4",
"svelte-preprocess": "^6.0.2",
"tsx": "^4.16.2",
"typescript": "^5.5.3",
"vite": "^5.3.4",
"vite-plugin-dynamic-import": "^1.5.0"
}
}
18 changes: 9 additions & 9 deletions apps/literoom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
"lint:typecheck": "tsc"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.600.0",
"aws-lambda-ric": "^3.1.0",
"@aws-sdk/client-s3": "^3.614.0",
"aws-lambda-ric": "^3.2.0",
"sharp": "^0.33.4"
},
"devDependencies": {
"@pulumi/aws": "^6.41.0",
"@pulumi/aws-native": "^0.108.4",
"@pulumi/pulumi": "^3.120.0",
"@types/node": "^20.14.5",
"@pulumi/aws": "^6.45.0",
"@pulumi/aws-native": "^0.111.0",
"@pulumi/pulumi": "^3.124.0",
"@types/node": "^20.14.11",
"@withglyph/lib": "workspace:^",
"@withglyph/pulumi": "workspace:^",
"@withglyph/tsconfig": "workspace:^",
"tsup": "^8.1.0",
"tsx": "^4.15.6",
"typescript": "^5.4.5"
"tsup": "^8.1.2",
"tsx": "^4.16.2",
"typescript": "^5.5.3"
}
}
2 changes: 1 addition & 1 deletion apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"watch": "dart run build_runner watch --delete-conflicting-outputs"
},
"devDependencies": {
"@iconify/json": "^2.2.220",
"@iconify/json": "^2.2.228",
"@iconify/tools": "^4.0.4",
"change-case-all": "^2.1.0",
"emojibase-data": "^15.3.2",
Expand Down
88 changes: 44 additions & 44 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,36 +17,36 @@
"test": "playwright test"
},
"dependencies": {
"@apple/app-store-server-library": "^1.3.0",
"@aws-sdk/client-s3": "^3.600.0",
"@aws-sdk/client-ses": "^3.600.0",
"@aws-sdk/s3-request-presigner": "^3.600.0",
"@datadog/browser-rum": "^5.21.0",
"@apple/app-store-server-library": "^1.4.0",
"@aws-sdk/client-s3": "^3.614.0",
"@aws-sdk/client-ses": "^3.614.0",
"@aws-sdk/s3-request-presigner": "^3.614.0",
"@datadog/browser-rum": "^5.22.0",
"@elastic/elasticsearch": "^8.14.0",
"@emoji-mart/data": "^1.2.1",
"@envelop/core": "^5.0.1",
"@envelop/graphql-jit": "^8.0.3",
"@envelop/opentelemetry": "^6.3.1",
"@felte/core": "^1.4.3",
"@felte/validator-zod": "^1.0.17",
"@floating-ui/dom": "^1.6.5",
"@floating-ui/dom": "^1.6.7",
"@graphql-yoga/typed-event-target": "^3.0.0",
"@opentelemetry/api": "^1.9.0",
"@paralleldrive/cuid2": "^2.2.2",
"@pothos/core": "^3.41.1",
"@pothos/plugin-dataloader": "^3.18.1",
"@pothos/plugin-scope-auth": "^3.22.0",
"@pothos/plugin-simple-objects": "^3.7.0",
"@pothos/plugin-tracing": "^0.5.8",
"@pothos/plugin-validation": "^3.10.1",
"@pothos/tracing-opentelemetry": "^0.6.9",
"@pothos/core": "^4.0.2",
"@pothos/plugin-dataloader": "^4.0.2",
"@pothos/plugin-scope-auth": "^4.0.2",
"@pothos/plugin-simple-objects": "^4.0.3",
"@pothos/plugin-tracing": "^1.0.2",
"@pothos/plugin-zod": "^4.0.2",
"@pothos/tracing-opentelemetry": "^1.0.2",
"@resvg/resvg-js": "^2.6.2",
"@sentry/sveltekit": "^8.10.0",
"@sentry/sveltekit": "^8.18.0",
"@sindresorhus/string-hash": "^2.0.0",
"@sveltejs/kit": "^2.5.17",
"@tiptap/core": "^2.4.0",
"@tiptap/html": "^2.4.0",
"@tiptap/pm": "^2.4.0",
"@sveltejs/kit": "^2.5.18",
"@tiptap/core": "^2.5.4",
"@tiptap/html": "^2.5.4",
"@tiptap/pm": "^2.5.4",
"@types/sortablejs": "^1.15.8",
"@urql/core": "^5.0.4",
"@urql/exchange-graphcache": "^6.5.1",
Expand All @@ -63,46 +63,46 @@
"dataloader": "^2.2.2",
"dayjs": "^1.11.11",
"driver.js": "^1.3.1",
"drizzle-orm": "^0.31.2",
"drizzle-orm": "^0.32.0",
"emoji-mart": "^5.6.0",
"fast-json-stable-stringify": "^2.1.0",
"felte": "^1.2.14",
"firebase-admin": "^12.1.1",
"firebase-admin": "^12.2.0",
"google-auth-library": "^9.11.0",
"googleapis": "^140.0.0",
"googleapis": "^140.0.1",
"got": "^14.4.1",
"graphql": "^16.8.2",
"graphql": "^16.9.0",
"graphql-scalars": "^1.23.0",
"graphql-yoga": "^5.4.0",
"graphql-yoga": "^5.6.0",
"iconv-lite": "^0.6.3",
"ioredis": "^5.4.1",
"itty-router": "^5.0.17",
"jose": "^5.4.1",
"jose": "^5.6.3",
"js-base64": "^3.7.7",
"ky": "^1.3.0",
"ky": "^1.4.0",
"linkifyjs": "^4.1.3",
"mixpanel-browser": "^2.52.0",
"mixpanel-browser": "^2.53.0",
"mrmime": "^2.0.0",
"nanoid": "^5.0.7",
"numeral": "^2.0.6",
"object-traversal": "^1.0.1",
"open": "^10.1.0",
"pino": "^9.2.0",
"pino": "^9.3.1",
"postgres": "^3.4.4",
"query-string": "^9.0.0",
"rabbitmq-client": "^4.6.0",
"radash": "^12.1.0",
"randomcolor": "^0.6.2",
"satori": "^0.10.13",
"satori": "^0.10.14",
"sharp": "^0.33.4",
"shiki": "^1.7.0",
"shiki": "^1.10.3",
"sortablejs": "^1.15.2",
"svelte": "^4.2.18",
"swiper": "^11.1.4",
"swiper": "^11.1.5",
"thumbhash": "^0.1.1",
"ts-pattern": "^5.2.0",
"twemoji": "^14.0.2",
"twitter-api-v2": "^1.17.1",
"twitter-api-v2": "^1.17.2",
"uqr": "^0.1.2",
"xmlbuilder2": "^3.1.1",
"y-indexeddb": "^9.0.12",
Expand All @@ -112,29 +112,29 @@
"zod": "^3.23.8"
},
"devDependencies": {
"@iconify/json": "^2.2.220",
"@pandacss/dev": "^0.41.0",
"@playwright/test": "^1.44.1",
"@pulumi/pulumi": "^3.120.0",
"@iconify/json": "^2.2.228",
"@pandacss/dev": "^0.42.0",
"@playwright/test": "^1.45.2",
"@pulumi/pulumi": "^3.124.0",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@types/body-scroll-lock": "^3.1.2",
"@types/color": "^3.0.6",
"@types/mixpanel-browser": "^2.49.0",
"@types/node": "^20.14.5",
"@types/mixpanel-browser": "^2.49.1",
"@types/node": "^20.14.11",
"@types/numeral": "^2.0.5",
"@types/randomcolor": "^0.5.9",
"@withglyph/pulumi": "workspace:^",
"@withglyph/tsconfig": "workspace:^",
"arg": "^5.0.2",
"autoprefixer": "^10.4.19",
"drizzle-kit": "^0.22.7",
"postcss": "^8.4.38",
"drizzle-kit": "^0.23.0",
"postcss": "^8.4.39",
"postcss-load-config": "^5.1.0",
"svelte-check": "^3.8.1",
"svelte-preprocess": "^6.0.1",
"tsx": "^4.15.6",
"typescript": "^5.4.5",
"svelte-check": "^3.8.4",
"svelte-preprocess": "^6.0.2",
"tsx": "^4.16.2",
"typescript": "^5.5.3",
"unplugin-icons": "^0.19.0",
"vite": "^5.3.1"
"vite": "^5.3.4"
}
}
18 changes: 10 additions & 8 deletions apps/website/src/lib/server/graphql/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import SchemaBuilder from '@pothos/core';
import DataLoaderPlugin from '@pothos/plugin-dataloader';
import ScopeAuthPlugin from '@pothos/plugin-scope-auth';
import SimpleObjectsPlugin from '@pothos/plugin-simple-objects';
import ValidationPlugin from '@pothos/plugin-validation';
import ZodPlugin from '@pothos/plugin-zod';
import RACPlugin from '@withglyph/rac';
import dayjs from 'dayjs';
import { GraphQLJSON, GraphQLVoid } from 'graphql-scalars';
Expand All @@ -26,6 +26,7 @@ export const builder = new SchemaBuilder<{
};
Context: Context;
DefaultInputFieldRequiredness: true;
DefaultFieldNullability: false;
Scalars: {
DateTime: { Input: dayjs.Dayjs; Output: dayjs.Dayjs };
ID: { Input: string; Output: string };
Expand All @@ -35,17 +36,18 @@ export const builder = new SchemaBuilder<{
Void: { Input: never; Output: void };
};
}>({
authScopes: (context) => ({
admin: context.session?.role === 'ADMIN',
user: !!context.session,
}),
defaultInputFieldRequiredness: true,
plugins: [ScopeAuthPlugin, RACPlugin, DataLoaderPlugin, SimpleObjectsPlugin, ValidationPlugin],
scopeAuthOptions: {
defaultFieldNullability: false,
plugins: [ScopeAuthPlugin, RACPlugin, DataLoaderPlugin, SimpleObjectsPlugin, ZodPlugin],
scopeAuth: {
authScopes: (context) => ({
admin: context.session?.role === 'ADMIN',
user: !!context.session,
}),
treatErrorsAsUnauthorized: true,
unauthorizedError: (_, __, ___, result) => new PermissionDeniedError(result),
},
validationOptions: {
zod: {
validationError: (error) => new IntentionalError(error.issues[0].message),
},
racPluginOptions: {
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/lib/server/graphql/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type SchemaTypes = typeof builder extends PothosSchemaTypes.SchemaBuilder<infer

export const makeLoadableFields = <T extends TableConfig>(
table: TableWithIdColumn<T>,
): DataLoaderOptions<SchemaTypes, typeof table.$inferSelect, string, string> => ({
): DataLoaderOptions<SchemaTypes, typeof table.$inferSelect, string, string, typeof table.$inferSelect> => ({
load: (ids) => database.select().from(table).where(inArray(table.id, ids)).orderBy(asc(table.id)),
toKey: (parent) => parent.id,
sort: true,
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/lib/server/utils/space.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ type GetSpaceProfileParams =

export const getSpaceProfile = async (params: GetSpaceProfileParams) => {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const userId = 'context' in params ? params.userId ?? params.context.session!.userId : params.userId;
const userId = 'context' in params ? (params.userId ?? params.context.session!.userId) : params.userId;

const { profileId } = (await getSpaceMemberV2(params)) ?? (await makeMasquerade({ spaceId: params.spaceId, userId }));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
{$commentNotification.post.publishedRevision?.title &&
$commentNotification.post.publishedRevision?.title.length > 10
? `${$commentNotification.post.publishedRevision?.title.slice(0, 10)}...`
: $commentNotification.post.publishedRevision?.title ?? '(제목 없음)'}에 댓글을 달았어요
: ($commentNotification.post.publishedRevision?.title ?? '(제목 없음)')}에 댓글을 달았어요
</div>
<time
class={css({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
{$emojiReactionNotification.post.publishedRevision?.title &&
$emojiReactionNotification.post.publishedRevision?.title.length > 10
? `${$emojiReactionNotification.post.publishedRevision?.title.slice(0, 10)}...`
: $emojiReactionNotification.post.publishedRevision?.title ?? '(제목 없음)'}에
: ($emojiReactionNotification.post.publishedRevision?.title ?? '(제목 없음)')}에

{#if via === 'menu'}
이모지를
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
!$postComment.post && { color: 'gray.400' },
)}
>
{$postComment.post ? $postComment.post?.publishedRevision?.title ?? '(제목 없음)' : '삭제된 포스트'}
{$postComment.post ? ($postComment.post?.publishedRevision?.title ?? '(제목 없음)') : '삭제된 포스트'}
</p>
<div class={flex({ align: 'center', gap: '4px', height: '24px', truncate: true })}>
<Image
Expand Down
Loading
Loading