Skip to content

Commit

Permalink
chore(deps): update typescript-eslint monorepo to v7 (major) (#3321)
Browse files Browse the repository at this point in the history
* chore(deps): update typescript-eslint monorepo to v7

* Fix

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Arda TANRIKULU <[email protected]>
  • Loading branch information
renovate[bot] and ardatan authored Jul 1, 2024
1 parent f245472 commit 0c889bc
Show file tree
Hide file tree
Showing 8 changed files with 143 additions and 139 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ examples/apollo-federation-compatibility/src/resolvers-types.ts
**/dist
**/.next
**/.bob
**/.svelte-kit
File renamed without changes.
12 changes: 7 additions & 5 deletions examples/sveltekit/__integration-tests__/sveltekit.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { execSync, spawn } from 'child_process';
import { execSync, spawn } from 'node:child_process';
import puppeteer, { Browser, Page } from 'puppeteer';
import { promises as fsPromises } from 'fs';
import { join } from 'path';
import { promises as fsPromises } from 'node:fs';
import { join } from 'node:path';
import { setTimeout as setTimeout$ } from 'node:timers/promises';
import { fetch } from '@whatwg-node/fetch';

Expand All @@ -12,15 +12,17 @@ let sveltekitProcess: ReturnType<typeof spawn>;
const timings = {
setup: {
waitAfterPreview: 5000,
total: 20000 // build + preview + {waitAfterPreview} is expected to be less than 20sec
total: 20_000 // build + preview + {waitAfterPreview} is expected to be less than 20sec
},
waitForSelector: 999,
waitForResponse: 1999
};

describe('SvelteKit integration', () => {
if (process.env.LEAKS_TEST) {
it('dummy', () => {});
it('dummy', () => {
return;
});
return;
}
beforeAll(async () => {
Expand Down
4 changes: 2 additions & 2 deletions examples/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"@sveltejs/adapter-auto": "2.1.0",
"@sveltejs/kit": "1.0.0-next.520",
"@types/jest": "^29.0.0",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"@typescript-eslint/eslint-plugin": "7.15.0",
"@typescript-eslint/parser": "7.15.0",
"eslint": "8.42.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-svelte3": "4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/sveltekit/ponyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export const URLSearchParams = globalThis.URLSearchParams;
export class CustomEvent extends Event {
constructor(type, options) {
super(type, options);
this.detail = options && options.detail;
this.detail = options?.detail;
}
}
2 changes: 1 addition & 1 deletion examples/sveltekit/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { UserConfig } from 'vite';
import { sveltekit } from '@sveltejs/kit/vite';
import { join } from 'path';
import { join } from 'node:path';
const config: UserConfig = {
plugins: [sveltekit()],
resolve: {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"@types/babel__preset-env": "^7",
"@types/jest": "^29.0.0",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"babel-jest": "^29.0.0",
"babel-plugin-parameter-decorator": "1.0.16",
"babel-plugin-transform-typescript-metadata": "0.3.2",
Expand Down
Loading

0 comments on commit 0c889bc

Please sign in to comment.