Skip to content

Commit

Permalink
chore: update deps (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyco130 authored Jan 15, 2024
1 parent 0ace9b2 commit 68dd23d
Show file tree
Hide file tree
Showing 37 changed files with 841 additions and 1,304 deletions.
4 changes: 2 additions & 2 deletions deno-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"@babel/core": "^7.23.7",
"@babel/preset-typescript": "^7.23.3",
"@babel/traverse": "^7.23.7",
"@cyco130/eslint-config": "^3.6.0",
"@cyco130/eslint-config": "^3.6.1",
"@types/babel__core": "^7.20.5",
"@types/babel__traverse": "^7.20.5",
"@types/node": "^20.10.7",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
Expand Down
4 changes: 2 additions & 2 deletions examples/basic/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"@hattip/adapter-cloudflare-workers": "*",
"@hattip/adapter-node": "*",
"@types/node": "^20.10.7",
"wrangler": "^3.22.3"
"@types/node": "^20.11.1",
"wrangler": "^3.22.4"
}
}
2 changes: 1 addition & 1 deletion examples/vite/hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@hattip/adapter-node": "*",
"@hattip/core": "*",
"@hattip/vite": "*",
"hono": "^3.12.0",
"hono": "^3.12.4",
"vite": "^5.0.11"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"graphql": "^16.8.1",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"prettier": "^3.2.2",
"rimraf": "^5.0.5",
"vite": "^5.0.11",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
},
"dependencies": {
"typescript": "^5.3.3"
Expand Down
6 changes: 3 additions & 3 deletions packages/adapter/adapter-bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
},
"dependencies": {
"@hattip/core": "workspace:*",
"bun-types": "^1.0.21"
"bun-types": "^1.0.22"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter/adapter-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"@hattip/core": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter/adapter-deno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"@hattip/core": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/adapter/adapter-fastly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"test:package": "publint --strict"
},
"dependencies": {
"@fastly/js-compute": "^3.7.3",
"@fastly/js-compute": "^3.8.0",
"@hattip/core": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter/adapter-lagon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@hattip/core": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@cyco130/eslint-config": "^3.6.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter/adapter-netlify-edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"@hattip/core": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter/adapter-netlify-functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"test:package": "publint --strict"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter/adapter-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"test:package": "publint --strict"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter/adapter-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"@hattip/polyfills": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@cyco130/eslint-config": "^3.6.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
},
"author": "Tessei Kameyama <[email protected]>",
"repository": "https://github.com/hattipjs/hattip",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter/adapter-uwebsockets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"test:package": "publint --strict"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter/adapter-vercel-edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@hattip/core": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@cyco130/eslint-config": "^3.6.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/base/compose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
"@hattip/core": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@cyco130/eslint-config": "^3.6.1",
"@hattip/adapter-test": "workspace:*",
"@hattip/polyfills": "workspace:*",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
}
}
2 changes: 1 addition & 1 deletion packages/base/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test:package": "publint --strict"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@cyco130/eslint-config": "^3.6.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"typescript": "^5.3.3"
Expand Down
4 changes: 2 additions & 2 deletions packages/base/headers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
"@hattip/core": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@cyco130/eslint-config": "^3.6.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
}
}
4 changes: 2 additions & 2 deletions packages/base/multipart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
"test:package": "publint --strict"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@cyco130/eslint-config": "^3.6.1",
"@hattip/polyfills": "workspace:*",
"eslint": "^8.56.0",
"node-fetch-native": "^1.6.1",
"publint": "^0.2.7",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
},
"dependencies": {
"@hattip/headers": "workspace:*"
Expand Down
6 changes: 3 additions & 3 deletions packages/base/polyfills/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
"test:package": "publint --strict"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
},
"dependencies": {
"@hattip/core": "workspace:*",
Expand Down
6 changes: 3 additions & 3 deletions packages/base/response/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@
"@hattip/core": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@cyco130/eslint-config": "^3.6.1",
"@hattip/adapter-test": "workspace:*",
"@types/eventsource": "^1.1.15",
"@types/node": "^20.10.7",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"eventsource": "^2.0.2",
"eventsource-polyfill": "^0.9.6",
"publint": "^0.2.7",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
}
}
4 changes: 2 additions & 2 deletions packages/base/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"@hattip/core": "workspace:*"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@cyco130/eslint-config": "^3.6.1",
"@hattip/adapter-test": "workspace:*",
"@hattip/polyfills": "workspace:*",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
}
}
4 changes: 2 additions & 2 deletions packages/bundler/bundler-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"test:package": "publint --strict"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/bundler/bundler-deno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"test:package": "publint --strict"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/bundler/bundler-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"test:package": "publint --strict"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/bundler/bundler-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"test:package": "publint --strict"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@types/node": "^20.10.7",
"@cyco130/eslint-config": "^3.6.1",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/bundler/walk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
"mime-types": "^2.1.35"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@cyco130/eslint-config": "^3.6.1",
"@types/mime-types": "^2.1.4",
"@types/node": "^20.10.7",
"@types/node": "^20.11.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.1.3"
"vitest": "^1.2.0"
}
}
8 changes: 4 additions & 4 deletions packages/cli/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"vite": "4 | 5"
},
"devDependencies": {
"@cyco130/eslint-config": "^3.6.0",
"@cyco130/eslint-config": "^3.6.1",
"eslint": "^8.56.0",
"publint": "^0.2.7",
"rimraf": "^5.0.5",
Expand All @@ -51,9 +51,9 @@
},
"dependencies": {
"@hattip/adapter-node": "workspace:*",
"@vavite/connect": "^4.0.0",
"@vavite/multibuild": "^4.0.0",
"@vavite/node-loader": "^4.0.0",
"@vavite/connect": "^4.0.1",
"@vavite/multibuild": "^4.0.1",
"@vavite/node-loader": "^4.0.1",
"cac": "^6.7.14",
"import-meta-resolve": "^4.0.0",
"picocolors": "^1.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/vite/src/vite-plugin.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PluginOption, UserConfig } from "vite";
import { Plugin, UserConfig } from "vite";
import { injectConfig } from "./vite-plugins/inject-config";
import { vaviteConnect } from "@vavite/connect";
import { defaultNodeEntry } from "./vite-plugins/default-node-entry";
Expand All @@ -14,7 +14,7 @@ interface HattipOptions {
bundler?: string | { name: string; default(): Promise<void> };
}

export function hattip(options: HattipOptions = {}): PluginOption {
export function hattip(options: HattipOptions = {}): Plugin[] {
const cliOptions = (globalThis as any).__hattip_cli_options__;

options.hattipEntry = options.hattipEntry ?? cliOptions?.hattipEntry;
Expand All @@ -28,7 +28,7 @@ export function hattip(options: HattipOptions = {}): PluginOption {
exposeDevServer(),
injectConfig(options),
defaultNodeEntry({ hattipEntry: options.hattipEntry }),
vaviteConnect({
...vaviteConnect({
handlerEntry: options.nodeEntry || "virtual:hattip:default-node-entry",
serveClientAssetsInDev: hasClient,
clientAssetsDir: hasClient ? "dist/client" : undefined,
Expand Down
Loading

0 comments on commit 68dd23d

Please sign in to comment.