From 41adeb7c72490ac3379925cfdc0756dd259e36c8 Mon Sep 17 00:00:00 2001 From: Matous Marik Date: Mon, 16 Sep 2024 09:35:14 +0200 Subject: [PATCH 1/7] add IDE configs to ignore (.vscode + .idea) --- templates/ts-bootstrap-cheerio-crawler/.dockerignore | 1 + templates/ts-bootstrap-cheerio-crawler/.gitignore | 1 + templates/ts-crawlee-cheerio/.dockerignore | 1 + templates/ts-crawlee-cheerio/.gitignore | 1 + templates/ts-crawlee-playwright-chrome/.dockerignore | 1 + templates/ts-crawlee-playwright-chrome/.gitignore | 1 + templates/ts-crawlee-puppeteer-chrome/.dockerignore | 1 + templates/ts-crawlee-puppeteer-chrome/.gitignore | 1 + templates/ts-empty/.dockerignore | 1 + templates/ts-empty/.gitignore | 4 ++++ templates/ts-playwright-test-runner/.dockerignore | 1 + templates/ts-playwright-test-runner/.gitignore | 4 ++++ templates/ts-standby/.dockerignore | 1 + templates/ts-standby/.gitignore | 4 ++++ templates/ts-start-bun/.dockerignore | 1 + templates/ts-start-bun/.gitignore | 4 ++++ templates/ts-start/.dockerignore | 1 + templates/ts-start/.gitignore | 4 ++++ 18 files changed, 33 insertions(+) diff --git a/templates/ts-bootstrap-cheerio-crawler/.dockerignore b/templates/ts-bootstrap-cheerio-crawler/.dockerignore index 13ea53d9..e13d13ac 100644 --- a/templates/ts-bootstrap-cheerio-crawler/.dockerignore +++ b/templates/ts-bootstrap-cheerio-crawler/.dockerignore @@ -1,5 +1,6 @@ # configurations .idea +.vscode # crawlee and apify storage folders storage diff --git a/templates/ts-bootstrap-cheerio-crawler/.gitignore b/templates/ts-bootstrap-cheerio-crawler/.gitignore index 0a20859c..8a70eb52 100644 --- a/templates/ts-bootstrap-cheerio-crawler/.gitignore +++ b/templates/ts-bootstrap-cheerio-crawler/.gitignore @@ -2,6 +2,7 @@ .DS_Store .idea +.vscode dist node_modules storage diff --git a/templates/ts-crawlee-cheerio/.dockerignore b/templates/ts-crawlee-cheerio/.dockerignore index 2eb8f2e2..be68dd1e 100644 --- a/templates/ts-crawlee-cheerio/.dockerignore +++ b/templates/ts-crawlee-cheerio/.dockerignore @@ -1,5 +1,6 @@ # configurations .idea +.vscode # crawlee and apify storage folders apify_storage diff --git a/templates/ts-crawlee-cheerio/.gitignore b/templates/ts-crawlee-cheerio/.gitignore index bc441652..95dd6e02 100644 --- a/templates/ts-crawlee-cheerio/.gitignore +++ b/templates/ts-crawlee-cheerio/.gitignore @@ -2,6 +2,7 @@ .DS_Store .idea +.vscode dist node_modules apify_storage diff --git a/templates/ts-crawlee-playwright-chrome/.dockerignore b/templates/ts-crawlee-playwright-chrome/.dockerignore index 2eb8f2e2..be68dd1e 100644 --- a/templates/ts-crawlee-playwright-chrome/.dockerignore +++ b/templates/ts-crawlee-playwright-chrome/.dockerignore @@ -1,5 +1,6 @@ # configurations .idea +.vscode # crawlee and apify storage folders apify_storage diff --git a/templates/ts-crawlee-playwright-chrome/.gitignore b/templates/ts-crawlee-playwright-chrome/.gitignore index bc441652..95dd6e02 100644 --- a/templates/ts-crawlee-playwright-chrome/.gitignore +++ b/templates/ts-crawlee-playwright-chrome/.gitignore @@ -2,6 +2,7 @@ .DS_Store .idea +.vscode dist node_modules apify_storage diff --git a/templates/ts-crawlee-puppeteer-chrome/.dockerignore b/templates/ts-crawlee-puppeteer-chrome/.dockerignore index 2eb8f2e2..be68dd1e 100644 --- a/templates/ts-crawlee-puppeteer-chrome/.dockerignore +++ b/templates/ts-crawlee-puppeteer-chrome/.dockerignore @@ -1,5 +1,6 @@ # configurations .idea +.vscode # crawlee and apify storage folders apify_storage diff --git a/templates/ts-crawlee-puppeteer-chrome/.gitignore b/templates/ts-crawlee-puppeteer-chrome/.gitignore index bc441652..95dd6e02 100644 --- a/templates/ts-crawlee-puppeteer-chrome/.gitignore +++ b/templates/ts-crawlee-puppeteer-chrome/.gitignore @@ -2,6 +2,7 @@ .DS_Store .idea +.vscode dist node_modules apify_storage diff --git a/templates/ts-empty/.dockerignore b/templates/ts-empty/.dockerignore index 90659120..033160b2 100644 --- a/templates/ts-empty/.dockerignore +++ b/templates/ts-empty/.dockerignore @@ -1,5 +1,6 @@ # configurations .idea +.vscode # crawlee and apify storage folders apify_storage diff --git a/templates/ts-empty/.gitignore b/templates/ts-empty/.gitignore index 4027ab7d..408962d4 100644 --- a/templates/ts-empty/.gitignore +++ b/templates/ts-empty/.gitignore @@ -1,3 +1,7 @@ +# This file tells Git which files shouldn't be added to source control + +.idea +.vscode storage apify_storage crawlee_storage diff --git a/templates/ts-playwright-test-runner/.dockerignore b/templates/ts-playwright-test-runner/.dockerignore index 1ae3bee8..05741991 100644 --- a/templates/ts-playwright-test-runner/.dockerignore +++ b/templates/ts-playwright-test-runner/.dockerignore @@ -1,5 +1,6 @@ # configurations .idea +.vscode # crawlee and apify storage folders apify_storage diff --git a/templates/ts-playwright-test-runner/.gitignore b/templates/ts-playwright-test-runner/.gitignore index 2d661efb..7e53151b 100644 --- a/templates/ts-playwright-test-runner/.gitignore +++ b/templates/ts-playwright-test-runner/.gitignore @@ -1,3 +1,7 @@ +# This file tells Git which files shouldn't be added to source control + +.idea +.vscode storage node_modules dist diff --git a/templates/ts-standby/.dockerignore b/templates/ts-standby/.dockerignore index 90659120..033160b2 100644 --- a/templates/ts-standby/.dockerignore +++ b/templates/ts-standby/.dockerignore @@ -1,5 +1,6 @@ # configurations .idea +.vscode # crawlee and apify storage folders apify_storage diff --git a/templates/ts-standby/.gitignore b/templates/ts-standby/.gitignore index 4027ab7d..408962d4 100644 --- a/templates/ts-standby/.gitignore +++ b/templates/ts-standby/.gitignore @@ -1,3 +1,7 @@ +# This file tells Git which files shouldn't be added to source control + +.idea +.vscode storage apify_storage crawlee_storage diff --git a/templates/ts-start-bun/.dockerignore b/templates/ts-start-bun/.dockerignore index 90659120..033160b2 100644 --- a/templates/ts-start-bun/.dockerignore +++ b/templates/ts-start-bun/.dockerignore @@ -1,5 +1,6 @@ # configurations .idea +.vscode # crawlee and apify storage folders apify_storage diff --git a/templates/ts-start-bun/.gitignore b/templates/ts-start-bun/.gitignore index ba3b9572..5898cacb 100644 --- a/templates/ts-start-bun/.gitignore +++ b/templates/ts-start-bun/.gitignore @@ -1,3 +1,7 @@ +# This file tells Git which files shouldn't be added to source control + +.idea +.vscode storage apify_storage crawlee_storage diff --git a/templates/ts-start/.dockerignore b/templates/ts-start/.dockerignore index 90659120..033160b2 100644 --- a/templates/ts-start/.dockerignore +++ b/templates/ts-start/.dockerignore @@ -1,5 +1,6 @@ # configurations .idea +.vscode # crawlee and apify storage folders apify_storage diff --git a/templates/ts-start/.gitignore b/templates/ts-start/.gitignore index ba3b9572..5898cacb 100644 --- a/templates/ts-start/.gitignore +++ b/templates/ts-start/.gitignore @@ -1,3 +1,7 @@ +# This file tells Git which files shouldn't be added to source control + +.idea +.vscode storage apify_storage crawlee_storage From b65a255a4a68b49c9d1c6bcc2b2ebf49b1ac30ec Mon Sep 17 00:00:00 2001 From: Matous Marik Date: Mon, 16 Sep 2024 09:39:41 +0200 Subject: [PATCH 2/7] add editor configs --- templates/ts-empty/.editorconfig | 9 +++++++++ templates/ts-playwright-test-runner/.editorconfig | 9 +++++++++ templates/ts-standby/.editorconfig | 9 +++++++++ templates/ts-start-bun/.editorconfig | 9 +++++++++ templates/ts-start/.editorconfig | 9 +++++++++ 5 files changed, 45 insertions(+) create mode 100644 templates/ts-empty/.editorconfig create mode 100644 templates/ts-playwright-test-runner/.editorconfig create mode 100644 templates/ts-standby/.editorconfig create mode 100644 templates/ts-start-bun/.editorconfig create mode 100644 templates/ts-start/.editorconfig diff --git a/templates/ts-empty/.editorconfig b/templates/ts-empty/.editorconfig new file mode 100644 index 00000000..81eba8cc --- /dev/null +++ b/templates/ts-empty/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +end_of_line = lf diff --git a/templates/ts-playwright-test-runner/.editorconfig b/templates/ts-playwright-test-runner/.editorconfig new file mode 100644 index 00000000..81eba8cc --- /dev/null +++ b/templates/ts-playwright-test-runner/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +end_of_line = lf diff --git a/templates/ts-standby/.editorconfig b/templates/ts-standby/.editorconfig new file mode 100644 index 00000000..81eba8cc --- /dev/null +++ b/templates/ts-standby/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +end_of_line = lf diff --git a/templates/ts-start-bun/.editorconfig b/templates/ts-start-bun/.editorconfig new file mode 100644 index 00000000..81eba8cc --- /dev/null +++ b/templates/ts-start-bun/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +end_of_line = lf diff --git a/templates/ts-start/.editorconfig b/templates/ts-start/.editorconfig new file mode 100644 index 00000000..81eba8cc --- /dev/null +++ b/templates/ts-start/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +end_of_line = lf From cb2a596497593ace4605d075c78350b33202dd9c Mon Sep 17 00:00:00 2001 From: Matous Marik Date: Mon, 16 Sep 2024 09:45:44 +0200 Subject: [PATCH 3/7] standardize eslintrc across templates --- .../ts-bootstrap-cheerio-crawler/.eslintrc | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/templates/ts-bootstrap-cheerio-crawler/.eslintrc b/templates/ts-bootstrap-cheerio-crawler/.eslintrc index 1b0d0f99..056f3986 100644 --- a/templates/ts-bootstrap-cheerio-crawler/.eslintrc +++ b/templates/ts-bootstrap-cheerio-crawler/.eslintrc @@ -1,4 +1,20 @@ { "root": true, - "extends": "@apify/eslint-config-ts" + "env": { + "browser": true, + "es2020": true, + "node": true + }, + "extends": [ + "@apify/eslint-config-ts" + ], + "parserOptions": { + "project": "./tsconfig.json", + "ecmaVersion": 2020 + }, + "ignorePatterns": [ + "node_modules", + "dist", + "**/*.d.ts" + ] } From e79e1f21a1896a409741fc4156e69fb315ad98bd Mon Sep 17 00:00:00 2001 From: Matous Marik Date: Mon, 16 Sep 2024 09:57:33 +0200 Subject: [PATCH 4/7] add eslint config and dev dependencies --- templates/ts-empty/.eslintrc | 20 ++++++++++++++++++++ templates/ts-empty/package.json | 4 ++++ templates/ts-standby/.eslintrc | 20 ++++++++++++++++++++ templates/ts-standby/package.json | 4 ++++ templates/ts-start-bun/.eslintrc | 20 ++++++++++++++++++++ templates/ts-start-bun/package.json | 8 +++++++- templates/ts-start/.eslintrc | 20 ++++++++++++++++++++ templates/ts-start/package.json | 4 ++++ 8 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 templates/ts-empty/.eslintrc create mode 100644 templates/ts-standby/.eslintrc create mode 100644 templates/ts-start-bun/.eslintrc create mode 100644 templates/ts-start/.eslintrc diff --git a/templates/ts-empty/.eslintrc b/templates/ts-empty/.eslintrc new file mode 100644 index 00000000..056f3986 --- /dev/null +++ b/templates/ts-empty/.eslintrc @@ -0,0 +1,20 @@ +{ + "root": true, + "env": { + "browser": true, + "es2020": true, + "node": true + }, + "extends": [ + "@apify/eslint-config-ts" + ], + "parserOptions": { + "project": "./tsconfig.json", + "ecmaVersion": 2020 + }, + "ignorePatterns": [ + "node_modules", + "dist", + "**/*.d.ts" + ] +} diff --git a/templates/ts-empty/package.json b/templates/ts-empty/package.json index 4213d412..64418d20 100644 --- a/templates/ts-empty/package.json +++ b/templates/ts-empty/package.json @@ -11,7 +11,11 @@ "crawlee": "^3.5.4" }, "devDependencies": { + "@apify/eslint-config-ts": "^0.3.0", "@apify/tsconfig": "^0.1.0", + "@typescript-eslint/eslint-plugin": "^6.7.2", + "@typescript-eslint/parser": "^6.7.2", + "eslint": "^8.50.0", "tsx": "^4.6.2", "typescript": "^5.3.3" }, diff --git a/templates/ts-standby/.eslintrc b/templates/ts-standby/.eslintrc new file mode 100644 index 00000000..056f3986 --- /dev/null +++ b/templates/ts-standby/.eslintrc @@ -0,0 +1,20 @@ +{ + "root": true, + "env": { + "browser": true, + "es2020": true, + "node": true + }, + "extends": [ + "@apify/eslint-config-ts" + ], + "parserOptions": { + "project": "./tsconfig.json", + "ecmaVersion": 2020 + }, + "ignorePatterns": [ + "node_modules", + "dist", + "**/*.d.ts" + ] +} diff --git a/templates/ts-standby/package.json b/templates/ts-standby/package.json index 9da387a7..3aa6a5fc 100644 --- a/templates/ts-standby/package.json +++ b/templates/ts-standby/package.json @@ -10,7 +10,11 @@ "apify": "^3.1.10" }, "devDependencies": { + "@apify/eslint-config-ts": "^0.3.0", "@apify/tsconfig": "^0.1.0", + "@typescript-eslint/eslint-plugin": "^6.7.2", + "@typescript-eslint/parser": "^6.7.2", + "eslint": "^8.50.0", "tsx": "^4.6.2", "typescript": "^5.3.3" }, diff --git a/templates/ts-start-bun/.eslintrc b/templates/ts-start-bun/.eslintrc new file mode 100644 index 00000000..056f3986 --- /dev/null +++ b/templates/ts-start-bun/.eslintrc @@ -0,0 +1,20 @@ +{ + "root": true, + "env": { + "browser": true, + "es2020": true, + "node": true + }, + "extends": [ + "@apify/eslint-config-ts" + ], + "parserOptions": { + "project": "./tsconfig.json", + "ecmaVersion": 2020 + }, + "ignorePatterns": [ + "node_modules", + "dist", + "**/*.d.ts" + ] +} diff --git a/templates/ts-start-bun/package.json b/templates/ts-start-bun/package.json index bf1beda4..bcbfc675 100644 --- a/templates/ts-start-bun/package.json +++ b/templates/ts-start-bun/package.json @@ -12,7 +12,13 @@ "cheerio": "^1.0.0-rc.12" }, "devDependencies": { - "@apify/tsconfig": "^0.1.0" + "@apify/eslint-config-ts": "^0.3.0", + "@apify/tsconfig": "^0.1.0", + "@typescript-eslint/eslint-plugin": "^6.7.2", + "@typescript-eslint/parser": "^6.7.2", + "eslint": "^8.50.0", + "tsx": "^4.6.2", + "typescript": "^5.3.3" }, "scripts": { "start": "bun src/main.ts", diff --git a/templates/ts-start/.eslintrc b/templates/ts-start/.eslintrc new file mode 100644 index 00000000..056f3986 --- /dev/null +++ b/templates/ts-start/.eslintrc @@ -0,0 +1,20 @@ +{ + "root": true, + "env": { + "browser": true, + "es2020": true, + "node": true + }, + "extends": [ + "@apify/eslint-config-ts" + ], + "parserOptions": { + "project": "./tsconfig.json", + "ecmaVersion": 2020 + }, + "ignorePatterns": [ + "node_modules", + "dist", + "**/*.d.ts" + ] +} diff --git a/templates/ts-start/package.json b/templates/ts-start/package.json index 930da103..e415e6be 100644 --- a/templates/ts-start/package.json +++ b/templates/ts-start/package.json @@ -12,7 +12,11 @@ "cheerio": "^1.0.0-rc.12" }, "devDependencies": { + "@apify/eslint-config-ts": "^0.3.0", "@apify/tsconfig": "^0.1.0", + "@typescript-eslint/eslint-plugin": "^6.7.2", + "@typescript-eslint/parser": "^6.7.2", + "eslint": "^8.50.0", "tsx": "^4.6.2", "typescript": "^5.3.3" }, From 0aed5fe606ff0ba86ff32bbd4526c0fd8ba57174 Mon Sep 17 00:00:00 2001 From: Matous Marik Date: Mon, 16 Sep 2024 09:59:01 +0200 Subject: [PATCH 5/7] remove duplicate option --- templates/ts-bootstrap-cheerio-crawler/tsconfig.json | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/ts-bootstrap-cheerio-crawler/tsconfig.json b/templates/ts-bootstrap-cheerio-crawler/tsconfig.json index ce5d5af3..9809e761 100644 --- a/templates/ts-bootstrap-cheerio-crawler/tsconfig.json +++ b/templates/ts-bootstrap-cheerio-crawler/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "@apify/tsconfig", "compilerOptions": { - "moduleResolution": "Node", "module": "NodeNext", "moduleResolution": "NodeNext", "target": "ES2022", From 02827542e3f4b9a5cd7edb0988a8348ab271d843 Mon Sep 17 00:00:00 2001 From: Matous Marik Date: Mon, 16 Sep 2024 10:21:44 +0200 Subject: [PATCH 6/7] fix eslint problem (possibly undefined) --- templates/ts-start-bun/src/main.ts | 2 +- templates/ts-start/src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/ts-start-bun/src/main.ts b/templates/ts-start-bun/src/main.ts index 0e9f0557..3f73ec3b 100644 --- a/templates/ts-start-bun/src/main.ts +++ b/templates/ts-start-bun/src/main.ts @@ -31,7 +31,7 @@ const $ = cheerio.load(response.data); const headings: { level: string, text: string }[] = []; $("h1, h2, h3, h4, h5, h6").each((_i, element) => { const headingObject = { - level: $(element).prop("tagName").toLowerCase(), + level: $(element).prop("tagName")!.toLowerCase(), text: $(element).text(), }; console.log("Extracted heading", headingObject); diff --git a/templates/ts-start/src/main.ts b/templates/ts-start/src/main.ts index 0e9f0557..3f73ec3b 100644 --- a/templates/ts-start/src/main.ts +++ b/templates/ts-start/src/main.ts @@ -31,7 +31,7 @@ const $ = cheerio.load(response.data); const headings: { level: string, text: string }[] = []; $("h1, h2, h3, h4, h5, h6").each((_i, element) => { const headingObject = { - level: $(element).prop("tagName").toLowerCase(), + level: $(element).prop("tagName")!.toLowerCase(), text: $(element).text(), }; console.log("Extracted heading", headingObject); From 363689d2523eeaf39e45a192cd69f15425037ea4 Mon Sep 17 00:00:00 2001 From: Matous Marik Date: Mon, 16 Sep 2024 16:16:34 +0200 Subject: [PATCH 7/7] change typescript-eslint version according to https://github.com/apify/actor-templates/pull/294#discussion_r1761016710 --- templates/ts-bootstrap-cheerio-crawler/package.json | 4 ++-- templates/ts-crawlee-cheerio/package.json | 4 ++-- templates/ts-crawlee-playwright-chrome/package.json | 4 ++-- templates/ts-crawlee-puppeteer-chrome/package.json | 4 ++-- templates/ts-empty/package.json | 4 ++-- templates/ts-standby/package.json | 4 ++-- templates/ts-start-bun/package.json | 4 ++-- templates/ts-start/package.json | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/templates/ts-bootstrap-cheerio-crawler/package.json b/templates/ts-bootstrap-cheerio-crawler/package.json index f85e9d7e..24bd7c80 100644 --- a/templates/ts-bootstrap-cheerio-crawler/package.json +++ b/templates/ts-bootstrap-cheerio-crawler/package.json @@ -13,8 +13,8 @@ "devDependencies": { "@apify/eslint-config-ts": "^0.3.0", "@apify/tsconfig": "^0.1.0", - "@typescript-eslint/eslint-plugin": "^6.7.2", - "@typescript-eslint/parser": "^6.7.2", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", "eslint": "^8.50.0", "tsx": "^4.6.2", "typescript": "^5.3.3" diff --git a/templates/ts-crawlee-cheerio/package.json b/templates/ts-crawlee-cheerio/package.json index f8446231..c4c77a7d 100644 --- a/templates/ts-crawlee-cheerio/package.json +++ b/templates/ts-crawlee-cheerio/package.json @@ -13,8 +13,8 @@ "devDependencies": { "@apify/eslint-config-ts": "^0.3.0", "@apify/tsconfig": "^0.1.0", - "@typescript-eslint/eslint-plugin": "^6.7.2", - "@typescript-eslint/parser": "^6.7.2", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", "eslint": "^8.50.0", "tsx": "^4.6.2", "typescript": "^5.3.3" diff --git a/templates/ts-crawlee-playwright-chrome/package.json b/templates/ts-crawlee-playwright-chrome/package.json index cf7927fe..863a07d9 100644 --- a/templates/ts-crawlee-playwright-chrome/package.json +++ b/templates/ts-crawlee-playwright-chrome/package.json @@ -14,8 +14,8 @@ "devDependencies": { "@apify/eslint-config-ts": "^0.3.0", "@apify/tsconfig": "^0.1.0", - "@typescript-eslint/eslint-plugin": "^6.7.2", - "@typescript-eslint/parser": "^6.7.2", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", "eslint": "^8.50.0", "tsx": "^4.6.2", "typescript": "^5.3.3" diff --git a/templates/ts-crawlee-puppeteer-chrome/package.json b/templates/ts-crawlee-puppeteer-chrome/package.json index 17e78928..31649ced 100644 --- a/templates/ts-crawlee-puppeteer-chrome/package.json +++ b/templates/ts-crawlee-puppeteer-chrome/package.json @@ -14,8 +14,8 @@ "devDependencies": { "@apify/eslint-config-ts": "^0.3.0", "@apify/tsconfig": "^0.1.0", - "@typescript-eslint/eslint-plugin": "^6.7.2", - "@typescript-eslint/parser": "^6.7.2", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", "eslint": "^8.50.0", "tsx": "^4.6.2", "typescript": "^5.3.3" diff --git a/templates/ts-empty/package.json b/templates/ts-empty/package.json index 64418d20..410ee848 100644 --- a/templates/ts-empty/package.json +++ b/templates/ts-empty/package.json @@ -13,8 +13,8 @@ "devDependencies": { "@apify/eslint-config-ts": "^0.3.0", "@apify/tsconfig": "^0.1.0", - "@typescript-eslint/eslint-plugin": "^6.7.2", - "@typescript-eslint/parser": "^6.7.2", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", "eslint": "^8.50.0", "tsx": "^4.6.2", "typescript": "^5.3.3" diff --git a/templates/ts-standby/package.json b/templates/ts-standby/package.json index 3aa6a5fc..9c04486c 100644 --- a/templates/ts-standby/package.json +++ b/templates/ts-standby/package.json @@ -12,8 +12,8 @@ "devDependencies": { "@apify/eslint-config-ts": "^0.3.0", "@apify/tsconfig": "^0.1.0", - "@typescript-eslint/eslint-plugin": "^6.7.2", - "@typescript-eslint/parser": "^6.7.2", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", "eslint": "^8.50.0", "tsx": "^4.6.2", "typescript": "^5.3.3" diff --git a/templates/ts-start-bun/package.json b/templates/ts-start-bun/package.json index bcbfc675..0cc6083f 100644 --- a/templates/ts-start-bun/package.json +++ b/templates/ts-start-bun/package.json @@ -14,8 +14,8 @@ "devDependencies": { "@apify/eslint-config-ts": "^0.3.0", "@apify/tsconfig": "^0.1.0", - "@typescript-eslint/eslint-plugin": "^6.7.2", - "@typescript-eslint/parser": "^6.7.2", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", "eslint": "^8.50.0", "tsx": "^4.6.2", "typescript": "^5.3.3" diff --git a/templates/ts-start/package.json b/templates/ts-start/package.json index e415e6be..6ad73f25 100644 --- a/templates/ts-start/package.json +++ b/templates/ts-start/package.json @@ -14,8 +14,8 @@ "devDependencies": { "@apify/eslint-config-ts": "^0.3.0", "@apify/tsconfig": "^0.1.0", - "@typescript-eslint/eslint-plugin": "^6.7.2", - "@typescript-eslint/parser": "^6.7.2", + "@typescript-eslint/eslint-plugin": "^7.18.0", + "@typescript-eslint/parser": "^7.18.0", "eslint": "^8.50.0", "tsx": "^4.6.2", "typescript": "^5.3.3"