Skip to content

Commit

Permalink
chore: bump misc (#1119)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge authored Jan 4, 2025
1 parent 95388b5 commit 68c261f
Show file tree
Hide file tree
Showing 63 changed files with 6,172 additions and 5,525 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ node_modules
# testing
coverage

# astro
.astro

# next.js
.next/
out/
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ yarn-error.log*

CHANGELOG.md

.astro
.svelte-kit
.solid
.nuxt
.output

routeTree.gen.ts

pnpm-lock.yaml
24 changes: 12 additions & 12 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
},
"browserslist": "defaults, not ie <= 11",
"dependencies": {
"@algolia/autocomplete-core": "^1.17.4",
"@algolia/autocomplete-core": "^1.17.8",
"@headlessui/react": "^2.2.0",
"@headlessui/tailwindcss": "^0.2.1",
"@heroicons/react": "^2.2.0",
"@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^3.0.1",
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@next/mdx": "^15.1.3",
"@scalar/api-reference-react": "^0.4.8",
"@shikijs/transformers": "^1.17.5",
"@shikijs/transformers": "^1.26.1",
"@sindresorhus/slugify": "^2.1.1",
"@tailwindcss/typography": "^0.5.10",
"@tailwindcss/typography": "^0.5.15",
"@types/mdast": "^4.0.4",
"@types/mdx": "^2.0.13",
"@types/node": "^22.10.0",
Expand All @@ -38,27 +38,27 @@
"motion": "^12.0.0-alpha.2",
"next": "15.1.3",
"next-sitemap": "^4.2.3",
"next-themes": "^0.3.0",
"next-view-transitions": "^0.3.0",
"next-themes": "^0.4.4",
"next-view-transitions": "^0.3.4",
"npm-to-yarn": "^3.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-highlight-words": "^0.20.0",
"recma-import-images": "^0.0.3",
"remark": "^15.0.1",
"remark-gfm": "^4.0.0",
"remark-mdx": "^3.0.1",
"remark-mdx": "^3.1.0",
"remark-unwrap-images": "^4.0.0",
"sharp": "0.33.1",
"shiki": "^1.17.5",
"sharp": "0.33.5",
"shiki": "^1.26.1",
"simple-functional-loader": "^1.2.1",
"tailwindcss": "^3.4.16",
"typescript": "5.7.2",
"unified": "^11.0.5",
"unist-util-filter": "^5.0.1",
"unist-util-visit": "^5.0.0",
"uploadthing": "workspace:*",
"zod": "^3.23.8",
"zustand": "^4.3.2"
"zod": "^3.24.1",
"zustand": "^5.0.2"
}
}
2 changes: 1 addition & 1 deletion docs/src/app/(docs)/getting-started/astro/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const routerConfig = extractRouterConfig(uploadRouter);
(globalThis as any).__UPLOADTHING ??= routerConfig;
---
<script define:vars={{ routerConfig }}>
<script define:vars={{ routerConfig }} is:inline>
/**
* Injecting config to the client. This prevents the client from fetching
* the configuration from the server, since we already have it.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/mdx/rehype.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ function rehypeShiki() {
"bash",
"typescript",
"javascript",
"jsx",
"tsx",
"astro",
"vue",
"svelte",
Expand Down
4 changes: 2 additions & 2 deletions examples/backend-adapters/client-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"devDependencies": {
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@vitejs/plugin-react-swc": "^3.6.0",
"@vitejs/plugin-react-swc": "^3.7.2",
"typescript": "5.7.2",
"vite": "^5.4.8"
"vite": "^6.0.7"
}
}
2 changes: 1 addition & 1 deletion examples/backend-adapters/client-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
},
"devDependencies": {
"typescript": "5.7.2",
"vite": "^5.4.8"
"vite": "^6.0.7"
}
}
4 changes: 2 additions & 2 deletions examples/backend-adapters/client-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"vue": "^3.4.21"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue": "^5.2.1",
"typescript": "5.7.2",
"vite": "^5.4.8",
"vite": "^6.0.7",
"vue-tsc": "^2.0.6"
}
}
2 changes: 1 addition & 1 deletion examples/backend-adapters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"@playwright/test": "1.49.1",
"@uploadthing/react": "7.1.5",
"concurrently": "^8.2.2",
"concurrently": "^9.1.2",
"typescript": "5.7.2",
"uploadthing": "7.4.4"
}
Expand Down
28 changes: 14 additions & 14 deletions examples/backend-adapters/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@
"dependencies": {
"@effect/platform": "0.72.0",
"@effect/platform-node": "0.68.0",
"@elysiajs/cors": "^1.1.1",
"@fastify/cors": "^9.0.1",
"@hono/node-server": "^1.8.2",
"@sinclair/typebox": "^0.34.3",
"@elysiajs/cors": "^1.2.0",
"@fastify/cors": "^10.0.1",
"@hono/node-server": "^1.13.7",
"@sinclair/typebox": "^0.34.13",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"effect": "3.12.0",
"elysia": "^1.1.16",
"express": "^4.18.2",
"fastify": "^4.26.1",
"h3": "^1.11.1",
"hono": "^4.0.8",
"listhen": "^1.7.2",
"elysia": "^1.2.9",
"express": "^5.0.1",
"fastify": "^5.2.0",
"h3": "^1.13.0",
"hono": "^4.6.15",
"listhen": "^1.9.0",
"uploadthing": "7.4.4"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240620.0",
"@cloudflare/workers-types": "^4.20241230.0",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"tsx": "^4.7.1",
"@types/express": "^5.0.0",
"tsx": "^4.19.2",
"typescript": "5.7.2",
"wrangler": "^3.62.0"
"wrangler": "^3.99.0"
}
}
4 changes: 3 additions & 1 deletion examples/backend-adapters/server/src/express.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ import { uploadRouter } from "./router";

const app = express();
app.use(cors());
app.get("/api", (req, res) => res.send("Hello from Express!"));
app.get("/api", (req, res) => {
res.send("Hello from Express!");
});

app.use(
"/api/uploadthing",
Expand Down
12 changes: 10 additions & 2 deletions examples/minimal-astro-react/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
import nodejs from "@astrojs/node";
import react from "@astrojs/react";
import { defineConfig } from "astro/config";
import { defineConfig, envField } from "astro/config";

// https://astro.build/config
export default defineConfig({
integrations: [react()],
output: "hybrid",
output: "static",
adapter: nodejs({
mode: "middleware",
}),
env: {
schema: {
UPLOADTHING_TOKEN: envField.string({
access: "secret",
context: "server",
}),
},
},
});
13 changes: 8 additions & 5 deletions examples/minimal-astro-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,22 @@
"clean": "git clean -xdf dist node_modules",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
"astro": "astro",
"typecheck": "astro check"
},
"dependencies": {
"@astrojs/node": "^8.2.1",
"@astrojs/react": "^3.0.10",
"@astrojs/node": "^9.0.0",
"@astrojs/react": "^4.1.2",
"@uploadthing/react": "7.1.5",
"astro": "^4.4.5",
"astro": "^5.1.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"uploadthing": "7.4.4"
},
"devDependencies": {
"@astrojs/check": "0.9.4",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0"
"@types/react-dom": "18.3.0",
"typescript": "5.7.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const routerConfig = extractRouterConfig(uploadRouter);
(globalThis as any).__UPLOADTHING ??= routerConfig;
---

<script define:vars={{ routerConfig }}>
<script define:vars={{ routerConfig }} is:inline>
/**
* This prevents the client from fetching the
* configuration from the server, since we already have it.
Expand Down
4 changes: 3 additions & 1 deletion examples/minimal-astro-react/src/pages/api/uploadthing.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { UPLOADTHING_TOKEN } from "astro:env/server";

import { createRouteHandler } from "uploadthing/server";

import { uploadRouter } from "~/server/uploadthing";
Expand All @@ -11,7 +13,7 @@ export const prerender = false;
export const ALL = createRouteHandler({
router: uploadRouter,
config: {
token: import.meta.env.UPLOADTHING_TOKEN,
token: UPLOADTHING_TOKEN,
logLevel: "Debug",
},
});
1 change: 1 addition & 0 deletions examples/minimal-expo/app/f/[key].tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from "react";
import FeatherIcon from "@expo/vector-icons/Feather";
import { Image } from "expo-image";
import { Stack, useGlobalSearchParams } from "expo-router";
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal-expo/components/upload-drawer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useRef } from "react";
import React, { useRef } from "react";
import FeatherIcon from "@expo/vector-icons/Feather";
import {
BottomSheetModal,
Expand Down
5 changes: 3 additions & 2 deletions examples/minimal-expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"dev": "expo start",
"clean": "git clean -xdf .next node_modules",
"android": "expo run:android",
"ios": "expo run:ios"
"ios": "expo run:ios",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@bacons/text-decoder": "^0.0.0",
Expand Down Expand Up @@ -40,7 +41,7 @@
"react-native-screens": "~3.31.1",
"react-native-web": "~0.19.12",
"uploadthing": "7.4.4",
"zod": "^3.23.8"
"zod": "^3.24.1"
},
"devDependencies": {
"@babel/core": "^7.24.4",
Expand Down
1 change: 1 addition & 0 deletions examples/minimal-expo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "expo/tsconfig.base",
"compilerOptions": {
"strict": true,
"jsx": "react-native",
"paths": {
"~/*": ["./*"]
}
Expand Down
11 changes: 6 additions & 5 deletions examples/minimal-solidstart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@
"build": "vinxi build",
"start": "vinxi start",
"version": "vinxi version",
"clean": "git clean -xdf .solid node_modules"
"clean": "git clean -xdf .solid node_modules",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.14.5",
"@solidjs/start": "^1.0.6",
"@solidjs/router": "^0.15.2",
"@solidjs/start": "^1.0.10",
"@uploadthing/solid": "7.1.5",
"solid-js": "^1.8.23",
"solid-js": "^1.9.3",
"uploadthing": "7.4.4",
"vinxi": "^0.4.3"
"vinxi": "^0.5.1"
},
"engines": {
"node": ">=18"
Expand Down
5 changes: 4 additions & 1 deletion examples/minimal-solidstart/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@
"jsxImportSource": "solid-js",
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"noEmit": true,
"types": ["vinxi/types/client"],
"isolatedModules": true,
"paths": {
"~/*": ["./src/*"]
}
}
},
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", ".output", "node_modules"]
}
16 changes: 8 additions & 8 deletions examples/minimal-sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"prepare": "svelte-kit sync",
"clean": "git clean -xdf dist .svelte-kit node_modules"
"clean": "git clean -xdf dist .svelte-kit node_modules",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@fontsource-variable/inter": "^5.0.17",
"@uploadthing/svelte": "7.1.5",
"uploadthing": "7.4.4"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/kit": "^2.5.4",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"svelte": "^4.2.12",
"svelte-check": "^3.6.7",
"tslib": "^2.6.2",
"@sveltejs/adapter-auto": "^3.3.1",
"@sveltejs/kit": "^2.15.1",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"svelte": "^5.16.1",
"svelte-check": "^4.1.1",
"typescript": "5.7.2",
"vite": "^5.4.8"
"vite": "^6.0.7"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/minimal-tanstack-start/app/client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ import { createRouter } from "./router";

const router = createRouter();

hydrateRoot(document.getElementById("root")!, <StartClient router={router} />);
hydrateRoot(document, <StartClient router={router} />);
Loading

0 comments on commit 68c261f

Please sign in to comment.