aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-17 03:41:31 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-17 03:41:31 -0700
commit7d4aab4cf17e6105ecb0509eb5a78d6e2dce32e5 (patch)
treef060f712f8a64be24a4d3182a1e7ab5c941335ca
parent6bb0c03d8ddfd18fe1e8dbe060a61a691681e631 (diff)
downloadbun-7d4aab4cf17e6105ecb0509eb5a78d6e2dce32e5.tar.gz
bun-7d4aab4cf17e6105ecb0509eb5a78d6e2dce32e5.tar.zst
bun-7d4aab4cf17e6105ecb0509eb5a78d6e2dce32e5.zip
Slight cleanup
-rw-r--r--.vscode/launch.json20
-rw-r--r--examples/next/package.json2
-rw-r--r--examples/next/pages/index.tsx42
-rw-r--r--examples/react/package.json2
4 files changed, 23 insertions, 43 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 2708f0604..74ec3c759 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -15,13 +15,31 @@
"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",
"name": "Eval Error",
"program": "${workspaceFolder}/build/debug/macos-x86_64/spjs",
"args": [
diff --git a/examples/next/package.json b/examples/next/package.json
index 93b09dc04..e4db75982 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 11903e8e5..237ec2604 100644
--- a/examples/next/pages/index.tsx
+++ b/examples/next/pages/index.tsx
@@ -13,7 +13,7 @@ export default function Home({}) {
return (
<div className={styles.container}>
<Head>
- <title>Fo</title>
+ <title>Next.js</title>
<meta name="description" content="Generated by create next app" />
<link rel="icon" href="/favicon.ico" />
</Head>
@@ -27,47 +27,9 @@ export default function Home({}) {
Get started by editing{" "}
<code className={styles.code}>pages/index.js</code>
</p>
-
- <div className={styles.grid}>
- <Link href="/second">
- <div className={styles.card}>
- <h2>Second Page &rarr;</h2>
- <p>Link</p>
- </div>
- </Link>
-
- <a
- href="https://github.com/vercel/next.js/tree/master/examples"
- className={styles.card}
- >
- <h2>Examples &rarr;</h2>
- <p>Discover and deploy boilerplate example Next.js projects.</p>
- </a>
-
- <a
- href="https://vercel.com/new?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
- className={styles.card}
- >
- <h2>Deploy &rarr;</h2>
- <p>
- Instantly deploy your Next.js site to a public URL with Vercel.
- </p>
- </a>
- </div>
</main>
- <footer className={styles.footer}>
- <a
- href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
- target="_blank"
- rel="noopener noreferrer"
- >
- Powered by{" "}
- <span className={styles.logo}>
- <img src="/vercel.svg" alt="Vercel Logo" width={72} height={16} />
- </span>
- </a>
- </footer>
+ <footer className={styles.footer}></footer>
</div>
);
}
diff --git a/examples/react/package.json b/examples/react/package.json
index 45d7a64ba..bfaa35eaf 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",