Skip to content

Commit

Permalink
chore: update dependencies (#166)
Browse files Browse the repository at this point in the history
* chore: update dependencies

* chore: fix build
  • Loading branch information
cyco130 authored Nov 2, 2024
1 parent d633cb8 commit 779ccda
Show file tree
Hide file tree
Showing 155 changed files with 3,967 additions and 4,050 deletions.
4 changes: 0 additions & 4 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
"depTypeList": ["peerDependencies"],
"enabled": false
},
{
"matchPackagePatterns": ["^eslint$"],
"allowedVersions": "<9"
},
{
"matchPackagePatterns": ["^@types/node$"],
"allowedVersions": "18"
Expand Down
15 changes: 0 additions & 15 deletions deno-build/.eslintrc.cjs

This file was deleted.

18 changes: 18 additions & 0 deletions deno-build/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import config from "@cyco130/eslint-config/node";

/** @type {typeof config} */
export default [
...config,
{
ignores: ["dist/", "node_modules/"],
},
{
languageOptions: {
parserOptions: {
projectService: true,
// @ts-expect-error: import.meta.dirname comes from Node types
tsconfigRootDir: import.meta.dirname,
},
},
},
];
14 changes: 7 additions & 7 deletions deno-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"start": "tsx src/index.ts"
},
"dependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-typescript": "^7.24.7",
"@babel/traverse": "^7.25.6",
"@cyco130/eslint-config": "^3.9.6",
"@babel/core": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@babel/traverse": "^7.25.9",
"@cyco130/eslint-config": "^5.0.0",
"@types/babel__core": "^7.20.5",
"@types/babel__traverse": "^7.20.6",
"@types/node": "^18.19.50",
"eslint": "^8.57.0",
"tsx": "^4.19.1",
"typescript": "^5.6.2"
"eslint": "^9.14.0",
"tsx": "^4.19.2",
"typescript": "^5.6.3"
}
}
3 changes: 2 additions & 1 deletion deno-build/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"skipLibCheck": true,
"moduleResolution": "Bundler",
"resolveJsonModule": true
}
},
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion examples/basic/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"@hattip/adapter-cloudflare-workers": "^0.0.48",
"@hattip/adapter-node": "^0.0.48",
"@types/node": "^18.19.50",
"wrangler": "^3.78.2"
"wrangler": "^3.84.1"
}
}
4 changes: 2 additions & 2 deletions examples/vite/hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@hattip/adapter-node": "^0.0.48",
"@hattip/core": "^0.0.48",
"@hattip/vite": "^0.0.48",
"hono": "^4.6.1",
"vite": "^5.4.5"
"hono": "^4.6.8",
"vite": "^5.4.10"
}
}
3 changes: 2 additions & 1 deletion examples/vite/hono/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"skipLibCheck": true,
"moduleResolution": "Node",
"types": ["vite/client", "@hattip/vite/vite-dev-server"]
}
},
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion examples/vite/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"@hattip/response": "^0.0.48",
"@hattip/router": "^0.0.48",
"@hattip/vite": "^0.0.48",
"vite": "^5.4.5"
"vite": "^5.4.10"
}
}
3 changes: 2 additions & 1 deletion examples/vite/playground/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"skipLibCheck": true,
"moduleResolution": "Node",
"types": ["vite/client", "@hattip/vite/vite-dev-server"]
}
},
"exclude": ["node_modules", "dist"]
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"vite": "^5.4.5",
"vitest": "^2.1.1"
"vite": "^5.4.10",
"vitest": "^2.1.4"
},
"dependencies": {
"typescript": "^5.6.2"
"typescript": "^5.6.3"
}
}
15 changes: 0 additions & 15 deletions packages/adapter/adapter-aws-lambda/.eslintrc.cjs

This file was deleted.

18 changes: 18 additions & 0 deletions packages/adapter/adapter-aws-lambda/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import config from "@cyco130/eslint-config/node";

/** @type {typeof config} */
export default [
...config,
{
ignores: ["dist/", "node_modules/"],
},
{
languageOptions: {
parserOptions: {
projectService: true,
// @ts-expect-error: import.meta.dirname comes from Node types
tsconfigRootDir: import.meta.dirname,
},
},
},
];
10 changes: 5 additions & 5 deletions packages/adapter/adapter-aws-lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"test:package": "publint --strict"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.9.6",
"@cyco130/eslint-config": "^5.0.0",
"@types/node": "^18.19.50",
"eslint": "^8.57.0",
"publint": "^0.2.10",
"tsup": "^8.2.4",
"typescript": "^5.6.2"
"eslint": "^9.14.0",
"publint": "^0.2.12",
"tsup": "^8.3.5",
"typescript": "^5.6.3"
},
"dependencies": {
"@hattip/adapter-node": "workspace:*",
Expand Down
6 changes: 4 additions & 2 deletions packages/adapter/adapter-aws-lambda/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"moduleResolution": "Node"
}
"moduleResolution": "Node",
"checkJs": true
},
"exclude": ["node_modules", "dist"]
}
15 changes: 0 additions & 15 deletions packages/adapter/adapter-bun/.eslintrc.cjs

This file was deleted.

17 changes: 17 additions & 0 deletions packages/adapter/adapter-bun/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import config from "@cyco130/eslint-config/node";

/** @type {typeof config} */
export default [
...config,
{
ignores: ["dist/", "node_modules/"],
},
{
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
];
12 changes: 6 additions & 6 deletions packages/adapter/adapter-bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
},
"dependencies": {
"@hattip/core": "workspace:*",
"bun-types": "^1.1.27"
"bun-types": "^1.1.34"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.9.6",
"@cyco130/eslint-config": "^5.0.0",
"@types/node": "^18.19.50",
"eslint": "^8.57.0",
"publint": "^0.2.10",
"tsup": "^8.2.4",
"typescript": "^5.6.2"
"eslint": "^9.14.0",
"publint": "^0.2.12",
"tsup": "^8.3.5",
"typescript": "^5.6.3"
}
}
7 changes: 5 additions & 2 deletions packages/adapter/adapter-bun/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"compilerOptions": {
"noEmit": true,
"target": "es2020",
"module": "ESNext",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"moduleResolution": "Node"
}
"moduleResolution": "Node",
"checkJs": true
},
"exclude": ["node_modules", "dist"]
}
15 changes: 0 additions & 15 deletions packages/adapter/adapter-cloudflare-workers/.eslintrc.cjs

This file was deleted.

18 changes: 18 additions & 0 deletions packages/adapter/adapter-cloudflare-workers/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import config from "@cyco130/eslint-config/node";

/** @type {typeof config} */
export default [
...config,
{
ignores: ["dist/", "node_modules/"],
},
{
languageOptions: {
parserOptions: {
projectService: true,
// @ts-expect-error: import.meta.dirname comes from Node types
tsconfigRootDir: import.meta.dirname,
},
},
},
];
12 changes: 6 additions & 6 deletions packages/adapter/adapter-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
},
"dependencies": {
"@cloudflare/kv-asset-handler": "^0.3.4",
"@cloudflare/workers-types": "^4.20240909.0",
"@cloudflare/workers-types": "^4.20241022.0",
"@hattip/core": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.9.6",
"@cyco130/eslint-config": "^5.0.0",
"@types/node": "^18.19.50",
"eslint": "^8.57.0",
"publint": "^0.2.10",
"tsup": "^8.2.4",
"typescript": "^5.6.2"
"eslint": "^9.14.0",
"publint": "^0.2.12",
"tsup": "^8.3.5",
"typescript": "^5.6.3"
}
}
1 change: 0 additions & 1 deletion packages/adapter/adapter-cloudflare-workers/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/// <reference types="@cloudflare/workers-types"/>
/* eslint-disable import/no-unresolved */

import type { AdapterRequestContext, HattipHandler } from "@hattip/core";
import { getAssetFromKV, NotFoundError } from "@cloudflare/kv-asset-handler";
Expand Down
6 changes: 4 additions & 2 deletions packages/adapter/adapter-cloudflare-workers/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"moduleResolution": "Node"
}
"moduleResolution": "Node",
"checkJs": true
},
"exclude": ["node_modules", "dist"]
}
15 changes: 0 additions & 15 deletions packages/adapter/adapter-deno/.eslintrc.cjs

This file was deleted.

18 changes: 18 additions & 0 deletions packages/adapter/adapter-deno/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import config from "@cyco130/eslint-config/node";

/** @type {typeof config} */
export default [
...config,
{
ignores: ["dist/", "node_modules/"],
},
{
languageOptions: {
parserOptions: {
projectService: true,
// @ts-expect-error: import.meta.dirname comes from Node types
tsconfigRootDir: import.meta.dirname,
},
},
},
];
10 changes: 5 additions & 5 deletions packages/adapter/adapter-deno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
"@hattip/core": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.9.6",
"@cyco130/eslint-config": "^5.0.0",
"@types/node": "^18.19.50",
"eslint": "^8.57.0",
"publint": "^0.2.10",
"tsup": "^8.2.4",
"typescript": "^5.6.2"
"eslint": "^9.14.0",
"publint": "^0.2.12",
"tsup": "^8.3.5",
"typescript": "^5.6.3"
}
}
Loading

0 comments on commit 779ccda

Please sign in to comment.