From 0461b7ea01dc197856246fada23030d0cf19037e Mon Sep 17 00:00:00 2001 From: jill64 Date: Tue, 31 Dec 2024 13:51:43 +0900 Subject: [PATCH 1/6] update deps --- cdk/external/cdk-modifiers.ts | 1 + cf2/src/index.ts | 1 - package.json | 6 +- packages/adapter/src/types/AdapterOptions.ts | 6 +- packages/site/package.json | 12 +- packages/site/src/routes/sverdle/+page.svelte | 2 +- packages/site/tsconfig.json | 3 +- pnpm-lock.yaml | 2169 ++++++----------- 8 files changed, 807 insertions(+), 1393 deletions(-) diff --git a/cdk/external/cdk-modifiers.ts b/cdk/external/cdk-modifiers.ts index 3fcb58cc..7ec16c6c 100644 --- a/cdk/external/cdk-modifiers.ts +++ b/cdk/external/cdk-modifiers.ts @@ -1,4 +1,5 @@ /* $$__ADAPTER_IMPORTS__$$ */ import * as cdk from 'aws-cdk-lib' +// eslint-disable-next-line export const lambdaModifier = (lambdaFunction: cdk.aws_lambda.Function) => {} /* $$__LAMBDA_MODIFIER__$$ */ diff --git a/cf2/src/index.ts b/cf2/src/index.ts index 3004d1e7..d243080f 100644 --- a/cf2/src/index.ts +++ b/cf2/src/index.ts @@ -1,4 +1,3 @@ -/* eslint-disable no-var */ import { ViewerRequestHandler } from 'cf2-builder' export default ((event) => { diff --git a/package.json b/package.json index 5e06d1e1..66314a0b 100644 --- a/package.json +++ b/package.json @@ -59,13 +59,13 @@ "@sveltejs/kit": "^2.0.0" }, "devDependencies": { - "@jill64/eslint-config-ts": "1.1.44", + "@jill64/eslint-config-ts": "2.0.1", "@jill64/prettier-config": "1.0.0", "@jill64/playwright-config": "2.4.2", - "@sveltejs/kit": "2.13.0", + "@sveltejs/kit": "2.15.1", "@types/node": "22.10.2", "@playwright/test": "1.47.2", - "cf2-builder": "1.1.24", + "cf2-builder": "1.1.29", "typescript": "5.7.2" }, "dependencies": { diff --git a/packages/adapter/src/types/AdapterOptions.ts b/packages/adapter/src/types/AdapterOptions.ts index fce9e7e9..858bc250 100644 --- a/packages/adapter/src/types/AdapterOptions.ts +++ b/packages/adapter/src/types/AdapterOptions.ts @@ -1,6 +1,6 @@ +import { aws_lambda } from 'aws-cdk-lib' import { BuildOptions } from 'esbuild' import type { ArchitectureType } from './ArchitectureType.js' -import { aws_lambda } from 'aws-cdk-lib' export type AdapterOptions = { /** @@ -91,7 +91,7 @@ export type AdapterOptions = { certificateArn: string } /** - * Adds imports to the adapter params.ts to allow things like `lambdaModifier` + * Adds imports to the adapter params.ts to allow things like `lambdaModifier` * to access types * @example ["import { Stack } from 'aws-cdk-lib'"] */ @@ -107,5 +107,5 @@ export type AdapterOptions = { * } * ``` */ - lambdaModifier?: (lambdaFunction: aws_lambda.Function) => { } + lambdaModifier?: (lambdaFunction: aws_lambda.Function) => unknown } diff --git a/packages/site/package.json b/packages/site/package.json index 7a2ef625..3838f9b4 100644 --- a/packages/site/package.json +++ b/packages/site/package.json @@ -6,17 +6,17 @@ "preview": "pnpm build && vite preview", "lint": "pnpm check & npx eslint .", "check": "svelte-kit sync && npx svelte-check --tsconfig ./tsconfig.json", - "format": "npx @jill64/psx" + "format": "npx psvx" }, "devDependencies": { - "@jill64/eslint-config-svelte": "1.3.6", + "@jill64/eslint-config-svelte": "2.0.2", "@fontsource/fira-mono": "5.1.0", "@jill64/sentry-sveltekit-edge": "1.2.55", "@neoconfetti/svelte": "2.2.1", - "@sveltejs/kit": "2.13.0", + "@sveltejs/kit": "2.15.1", "@types/cookie": "1.0.0", - "svelte": "4.2.19", - "vite": "5.4.11", - "@sveltejs/vite-plugin-svelte": "3.1.2" + "svelte": "5.16.0", + "vite": "6.0.6", + "@sveltejs/vite-plugin-svelte": "5.0.3" } } diff --git a/packages/site/src/routes/sverdle/+page.svelte b/packages/site/src/routes/sverdle/+page.svelte index 3bc51b1c..78d2a7ae 100644 --- a/packages/site/src/routes/sverdle/+page.svelte +++ b/packages/site/src/routes/sverdle/+page.svelte @@ -197,7 +197,7 @@ stageHeight: window.innerHeight, colors: ['#ff3e00', '#40b3ff', '#676778'] }} - /> + > {/if}