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

Update dependency typescript to v5.7.2 #5316

Merged
merged 4 commits into from
Jan 6, 2025
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
9 changes: 9 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@
groupName: "@testing-library",
matchPackageNames: ["@testing-library{/,}**"],
},
{
groupName: "typescript",
matchPackageNames: [
"typescript",
"vue-tsc",
"@typescript-eslint{/,}**",
"typescript-eslint",
],
},
{
matchPackageNames: ["/elasticsearch/", "/postgres/", "/redis/"],
matchManagers: ["docker-compose", "dockerfile"],
Expand Down
4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@
"rimraf": "^6.0.1",
"storybook": "8.3.6",
"talkback": "^4.2.0",
"typescript": "5.6.3",
"typescript": "5.7.2",
"vitest": "^2.1.4",
"vitest-dom": "^0.1.1",
"vue": "^3.5.13",
"vue-i18n": "10.0.5",
"vue-router": "^4.4.5",
"vue-tsc": "2.1.10"
"vue-tsc": "2.2.0"
},
"browserslist": [
"> 1%",
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/components/VSelectField/VSelectField.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { computed, useAttrs, useSlots } from "vue"
import { computed, useAttrs } from "vue"

import type { ProperlyExtractPropTypes } from "#shared/types/prop-extraction"

Expand Down Expand Up @@ -48,7 +48,9 @@ const props = withDefaults(
const emit = defineEmits<{ "update:modelValue": [string] }>()

const attrs = useAttrs()
const slots = useSlots()
const slots = defineSlots<{
start?: () => unknown[]
}>()

const fieldName = computed(() => (attrs["name"] as string) ?? props.fieldId)
const selectValue = computed<string>({
Expand Down
6 changes: 4 additions & 2 deletions frontend/test/playwright/utils/test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// eslint-disable-next-line no-restricted-imports
import { test as base } from "@playwright/test"
import { type Page, test as base } from "@playwright/test"

const encoder = new TextEncoder()

Expand Down Expand Up @@ -28,7 +28,9 @@ async function getSigningKey() {
return signingKey
}

export const test = base.extend({
export const test = base.extend<{
page: Page
}>({
page: async ({ page }, use) => {
// Only match staging; it'll just be ignored for local testing
await page.route(
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"bindings": "1.5.0",
"prettier": "3.4.2",
"prettier-plugin-tailwindcss": "0.6.9",
"typescript": "5.6.3",
"typescript-eslint": "^8.12.2",
"vue-tsc": "2.1.10"
"typescript": "5.7.2",
"typescript-eslint": "^8.19.0",
"vue-tsc": "2.2.0"
},
"pnpm": {
"overrides": {
Expand Down
16 changes: 8 additions & 8 deletions packages/js/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,31 @@
"@intlify/eslint-plugin-vue-i18n": "^3.0.0",
"@types/eslint-config-prettier": "^6.11.3",
"@types/eslint__js": "^8.42.3",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"@typescript-eslint/utils": "^8.8.1",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"@typescript-eslint/utils": "^8.19.0",
"@vitest/eslint-plugin": "^1.1.7",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsonc": "^2.16.0",
"eslint-plugin-playwright": "^2.0.0",
"eslint-plugin-playwright": "^2.1.0",
"eslint-plugin-tsdoc": "^0.4.0",
"eslint-plugin-unicorn": "^56.0.0",
"eslint-plugin-vue": "^9.29.0",
"eslint-plugin-vue": "^9.32.0",
"eslint-plugin-vuejs-accessibility": "^2.4.1",
"jsonc-eslint-parser": "^2.4.0",
"typescript": "5.7.2",
"typescript-eslint": "^8.12.2",
"typescript-eslint": "^8.19.0",
"vue-eslint-parser": "^9.4.3"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@swc/cli": "^0.5.0",
"@swc/core": "^1.7.35",
"@typescript-eslint/rule-tester": "^8.12.2",
"@typescript-eslint/rule-tester": "^8.19.0",
"babel-plugin-add-module-exports": "^1.0.4",
"vitest": "^2.1.4"
}
Expand Down
4 changes: 3 additions & 1 deletion packages/js/eslint-plugin/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import * as tseslint from "typescript-eslint"
import unicornPlugin from "eslint-plugin-unicorn"
// @ts-expect-error Playwright plugin is an ECMAScript module,
// and importing it will produce invalid `require` calls
import playwrightPlugin from "eslint-plugin-playwright"
// @ts-expect-error Vitest is an ECMAScript module, and this file will produce `require` calls
// @ts-expect-error Vitest is an ECMAScript module
import vitestPlugin from "@vitest/eslint-plugin"
import jsoncPlugin from "eslint-plugin-jsonc"
import eslintCommentsConfigs from "@eslint-community/eslint-plugin-eslint-comments/configs"
Expand Down
1,540 changes: 1,117 additions & 423 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Loading