Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ynwd committed Nov 29, 2024
1 parent d6307d1 commit 442a925
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion bench/run.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { delay } from "jsr:@std/async@^0.224.1";
import { markdownTable } from "https://esm.sh/[email protected]";
import { markdownTable } from "npm:[email protected]";
const time = 10;

async function oha(url?: string) {
Expand Down
4 changes: 2 additions & 2 deletions core/build/deps.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import * as esbuild from "npm:esbuild@0.23.1";
export { denoPlugins } from "jsr:@luca/esbuild-deno-loader@^0.10.3";
import * as esbuild from "npm:esbuild@0.24.0";
export { denoPlugins } from "jsr:@luca/esbuild-deno-loader@^0.11.0";
export { esbuild };
6 changes: 3 additions & 3 deletions core/server/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ export * from "jsr:@std/path@^1.0.1";
export { encodeHex } from "jsr:@std/encoding@^1.0.5/hex";
export { assert, assertEquals, assertExists } from "jsr:@std/assert@^1.0.6";

export { h } from "https://esm.sh/[email protected]";
export { h } from "npm:preact@^10.25.0";
export type {
ComponentChild,
ComponentChildren,
JSX,
VNode,
} from "https://esm.sh/[email protected]";
} from "npm:preact@^10.25.0";
export {
renderToString,
renderToStringAsync,
} from "https://esm.sh/[email protected][email protected]";
} from "npm:preact-render-to-string@^6.5.11";
7 changes: 4 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@
},
"imports": {
"@app/": "./",
"preact": "https://esm.sh/[email protected]",
"preact/": "https://esm.sh/[email protected]/"
"preact": "npm:preact@^10.25.0",
"@preact/signals": "npm:@preact/signals@^1.2.3",
"preact-render-to-string": "npm:preact-render-to-string@^6.5.11"
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"nodeModulesDir": "auto",
"tasks": {
"start": "ENV=DEVELOPMENT deno run --env --unstable-kv -A --watch modules/app/main.ts --debug",
"start": "ENV=DEVELOPMENT deno run -r --env --unstable-kv -A --watch modules/app/main.ts --debug",
"build": "deno run --env -A --unstable-kv modules/app/main.ts --build ",
"prod": "deno run --env --unstable-kv -A modules/app/main.ts",
"test": "rm -rf .hydrate && rm -rf cov && deno test --env --unstable-kv -A --coverage=cov && deno coverage cov",
Expand Down
2 changes: 1 addition & 1 deletion middleware/tailwind/mod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// deno-lint-ignore-file no-explicit-any
import tailwindCss, { Config } from "npm:[email protected].4";
import tailwindCss, { Config } from "npm:[email protected].15";
import postcss from "npm:[email protected]";
import cssnano from "npm:[email protected]";
import autoprefixer from "npm:[email protected]";
Expand Down
2 changes: 1 addition & 1 deletion modules/index/index.context.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// deno-lint-ignore-file
import { signal } from "https://esm.sh/@preact/signals@1.3.0";
import { signal } from "@preact/signals";
import { createContext } from "preact";
import { DataType, RoomType } from "@app/modules/types/mod.ts";

Expand Down
2 changes: 1 addition & 1 deletion modules/index/index.launchpad.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Menu } from "@app/modules/index/index.menu.tsx";
import useFetch from "@app/modules/hook/fetch.ts";
import { DataType, RoomType } from "@app/modules/types/mod.ts";
import { useContext } from "preact/hooks";
import { effect } from "https://esm.sh/@preact/signals@1.3.0";
import { effect } from "@preact/signals";
import { AppContext } from "@app/modules/index/index.context.ts";

function Loader(props: { text: string }) {
Expand Down
2 changes: 1 addition & 1 deletion modules/index/index.main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import useFetch from "@app/modules/hook/fetch.ts";
import type { DataType, RoomType } from "@app/modules/types/mod.ts";
import { initialData } from "@app/modules/socket/init.ts";
import { AppContext } from "@app/modules/index/index.context.ts";
import { effect } from "https://esm.sh/@preact/signals@1.3.0";
import { effect } from "@preact/signals";
import MessageInput from "@app/modules/index/index.input.tsx";

function ListMessage(props: { data: DataType[] }) {
Expand Down
2 changes: 1 addition & 1 deletion modules/index/index.navigation.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// deno-lint-ignore-file no-explicit-any
// import Ads from "@app/modules/index/index.ads.tsx";
import { effect } from "https://esm.sh/@preact/signals@1.3.0";
import { effect } from "@preact/signals";
import { AppContext } from "@app/modules/index/index.context.ts";
import { useContext, useEffect, useState } from "preact/hooks";

Expand Down
2 changes: 1 addition & 1 deletion post/tailwind.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ you can now style your web app with Tailwind CSS in a super easy way.
Create `tailwind.config.ts` file.

```ts
import { type Config } from "npm:tailwindcss@3.3.5";
import { type Config } from "npm:tailwindcss@3.4.15";
export default {
content: [
"./modules/**/*.tsx",
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type Config } from "npm:[email protected].14";
import { type Config } from "npm:[email protected].15";

/**
* see: https://tailwindcss.com/docs/content-configuration
Expand Down

0 comments on commit 442a925

Please sign in to comment.