From 7d4aab4cf17e6105ecb0509eb5a78d6e2dce32e5 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sun, 17 Oct 2021 03:41:31 -0700 Subject: [PATCH] Slight cleanup --- .vscode/launch.json | 20 ++++++++++++++++- examples/next/package.json | 2 +- examples/next/pages/index.tsx | 42 ++--------------------------------- examples/react/package.json | 2 +- 4 files changed, 23 insertions(+), 43 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 2708f06042..74ec3c7591 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -15,10 +15,28 @@ "request": "launch", "name": "fetch debug", "program": "${workspaceFolder}/misctools/fetch", - "args": ["https://example.com"], + "args": ["https://api.github.com/repos/hanford/trends/tarball"], "cwd": "${workspaceFolder}", "console": "internalConsole" }, + { + "type": "lldb", + "request": "launch", + "name": "bun create debug", + "program": "${workspaceFolder}/packages/debug-bun-cli-darwin-x64/bin/bun-debug", + "args": ["create", "hanford/trends", "foo"], + "cwd": "/tmp/", + "console": "internalConsole" + }, + { + "type": "lldb", + "request": "launch", + "name": "bun a debug", + "program": "${workspaceFolder}/packages/debug-bun-cli-darwin-x64/bin/bun-debug", + "args": ["create", "https://github.com/ahfarmer/calculator", "--force"], + "cwd": "/tmp/", + "console": "internalConsole" + }, { "type": "lldb", "request": "launch", diff --git a/examples/next/package.json b/examples/next/package.json index 93b09dc042..e4db759820 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -1,6 +1,6 @@ { "name": "@bun-examples/next", - "version": "0.0.32", + "version": "0.0.35", "main": "index.js", "dependencies": { "next": "11.1.2", diff --git a/examples/next/pages/index.tsx b/examples/next/pages/index.tsx index 11903e8e5d..237ec26048 100644 --- a/examples/next/pages/index.tsx +++ b/examples/next/pages/index.tsx @@ -13,7 +13,7 @@ export default function Home({}) { return (
- Fo + Next.js @@ -27,47 +27,9 @@ export default function Home({}) { Get started by editing{" "} pages/index.js

- -
- -
-

Second Page →

-

Link

-
- - - -

Examples →

-

Discover and deploy boilerplate example Next.js projects.

-
- - -

Deploy →

-

- Instantly deploy your Next.js site to a public URL with Vercel. -

-
-
- +
); } diff --git a/examples/react/package.json b/examples/react/package.json index 45d7a64bad..bfaa35eaf7 100644 --- a/examples/react/package.json +++ b/examples/react/package.json @@ -1,6 +1,6 @@ { "name": "@bun-examples/react", - "version": "0.0.28", + "version": "0.0.31", "dependencies": { "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0",