Skip to content

Commit f688518

Browse files
authored
chore: rename dai-shi/waku => wakujs/waku for urls (#1312)
the redirect works, but this seems good and easy enough to do Co-authored-by: Tyler <[email protected]>
1 parent 3c2d94b commit f688518

File tree

24 files changed

+31
-31
lines changed

24 files changed

+31
-31
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
visit [waku.gg](https://waku.gg) or `npm create waku@latest`
66

7-
[![Build Status](https://img.shields.io/github/actions/workflow/status/dai-shi/waku/test.yml?branch=main&style=flat&colorA=000000&colorB=000000)](https://github.com/dai-shi/waku/actions?query=workflow%3ATest)
7+
[![Build Status](https://img.shields.io/github/actions/workflow/status/wakujs/waku/test.yml?branch=main&style=flat&colorA=000000&colorB=000000)](https://github.com/wakujs/waku/actions?query=workflow%3ATest)
88
[![Version](https://img.shields.io/npm/v/waku?style=flat&colorA=000000&colorB=000000)](https://www.npmjs.com/package/waku)
99
[![Downloads](https://img.shields.io/npm/dt/waku.svg?style=flat&colorA=000000&colorB=000000)](https://www.npmjs.com/package/waku)
1010
[![Discord Shield](https://img.shields.io/discord/627656437971288081?style=flat&colorA=000000&colorB=000000&label=discord&logo=discord&logoColor=ffffff)](https://discord.gg/MrQdmzd)
@@ -21,7 +21,7 @@ We recommend other frameworks for heavy ecommerce or enterprise applications. Wa
2121
2222
## Getting started
2323

24-
Start a new Waku project with the `create` command for your preferred package manager. It will scaffold a new project with our default [Waku starter](https://github.com/dai-shi/waku/tree/main/examples/01_template).
24+
Start a new Waku project with the `create` command for your preferred package manager. It will scaffold a new project with our default [Waku starter](https://github.com/wakujs/waku/tree/main/examples/01_template).
2525

2626
```sh
2727
npm create waku@latest
@@ -145,7 +145,7 @@ To learn more about the modern React architecture, we recommend [Making Sense of
145145

146146
Waku provides a minimal file-based “pages router” experience built for the server components era.
147147

148-
Its underlying [low-level API](https://github.com/dai-shi/waku/blob/main/docs/create-pages.mdx) is also available for those that prefer programmatic routing. This documentation covers file-based routing since many React developers prefer it, but please feel free to try both and see which you like more!
148+
Its underlying [low-level API](https://github.com/wakujs/waku/blob/main/docs/create-pages.mdx) is also available for those that prefer programmatic routing. This documentation covers file-based routing since many React developers prefer it, but please feel free to try both and see which you like more!
149149

150150
### Overview
151151

@@ -1075,8 +1075,8 @@ Streaming can be activated by setting environment variable `DEPLOY_AWS_LAMBDA_ST
10751075

10761076
## Community
10771077

1078-
Please join our friendly [GitHub discussions](https://github.com/dai-shi/waku/discussions) or [Discord server](https://discord.gg/MrQdmzd) to participate in the Waku community. Hope to see you there!
1078+
Please join our friendly [GitHub discussions](https://github.com/wakujs/waku/discussions) or [Discord server](https://discord.gg/MrQdmzd) to participate in the Waku community. Hope to see you there!
10791079

10801080
## Roadmap
10811081

1082-
Waku is in active development and we’re seeking additional contributors. Check out our [roadmap](https://github.com/dai-shi/waku/issues/24) for more information.
1082+
Waku is in active development and we’re seeking additional contributors. Check out our [roadmap](https://github.com/wakujs/waku/issues/24) for more information.

docs/guides/cloudflare.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You should npm install the latest version of Cloudflare's build tool, [`wrangler
1616

1717
After building, you can test your build by running `npx wrangler dev` or deploy it to Cloudflare using `npx wrangler deploy`.
1818

19-
There is a [Cloudflare example in the Waku GitHub repository](https://github.com/dai-shi/waku/tree/main/examples/07_cloudflare).
19+
There is a [Cloudflare example in the Waku GitHub repository](https://github.com/wakujs/waku/tree/main/examples/07_cloudflare).
2020

2121
## Notes on Cloudflare's workerd Runtime
2222

@@ -30,7 +30,7 @@ Note that the latest `nodejs_compat` mocks the Node `fs` module. Cloudflare does
3030

3131
## Setting Up TypeScript
3232

33-
You can run `npx wrangler types --experimental-include-runtime` to generate a `worker-configuration.d.ts` file based on the settings in your `wrangler.toml`. This defines a global `Env` interface with your bindings. In the [Cloudflare example in the Waku GitHub repository](https://github.com/dai-shi/waku/tree/main/examples/07_cloudflare), a package.json script is included to run this command and update the types: `pnpm run build-cf-types`. To ensure that your types are always up-to-date, make sure to run it after any changes to your `wrangler.toml` config file.
33+
You can run `npx wrangler types --experimental-include-runtime` to generate a `worker-configuration.d.ts` file based on the settings in your `wrangler.toml`. This defines a global `Env` interface with your bindings. In the [Cloudflare example in the Waku GitHub repository](https://github.com/wakujs/waku/tree/main/examples/07_cloudflare), a package.json script is included to run this command and update the types: `pnpm run build-cf-types`. To ensure that your types are always up-to-date, make sure to run it after any changes to your `wrangler.toml` config file.
3434

3535
## Accessing Cloudflare Bindings, Execution Context, and Request/Response Objects
3636

@@ -117,4 +117,4 @@ npm i --save-dev wrangler
117117

118118
When starting the Waku dev server, we need to first start a wrangler/miniflare server and then pass them into the Hono app fetch.
119119

120-
This can be done by creating a custom Waku plugin in your `waku.config.ts` file. Copy the `waku.cloudflare-dev-server.ts` and `waku.config.ts` to your project from [the Cloudflare example in the Waku GitHub repository](https://github.com/dai-shi/waku/tree/main/examples/07_cloudflare). Now when you run `waku dev`, you will be able to access Cloudflare env bindings and execution context on the Hono context.
120+
This can be done by creating a custom Waku plugin in your `waku.config.ts` file. Copy the `waku.cloudflare-dev-server.ts` and `waku.config.ts` to your project from [the Cloudflare example in the Waku GitHub repository](https://github.com/wakujs/waku/tree/main/examples/07_cloudflare). Now when you run `waku dev`, you will be able to access Cloudflare env bindings and execution context on the Hono context.

docs/guides/monorepo.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default defineConfig({
2626
});
2727
```
2828

29-
Ref: https://github.com/dai-shi/waku/issues/676
29+
Ref: https://github.com/wakujs/waku/issues/676
3030

3131
---
3232

docs/guides/react-compiler.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ export default defineConfig({
3535
});
3636
```
3737

38-
Check out [a working example](../../examples/05_compiler), or visit the [StackBlitz demo](https://stackblitz.com/github/dai-shi/waku/tree/main/examples/05_compiler) with Waku v0.21.12 and up.
38+
Check out [a working example](../../examples/05_compiler), or visit the [StackBlitz demo](https://stackblitz.com/github/wakujs/waku/tree/main/examples/05_compiler) with Waku v0.21.12 and up.

docs/redirects.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: How to add HTTP redirects to your Waku project.
88

99
Redirects are not handled by Waku directly. Instead, you can use either a custom middleware or the hosting environment to achieve that. The `<Link />` component does not deal with redirects either and will by default show the **404** page instead. To resolve this, you have to add an additional redirect for each redirected path, that points Waku to the correct `RSC` file. If there is a redirect from `/old` to `/new`, there also has to be one from `/RSC/old.txt`` to `/RSC/new.txt`to make the `<Link />` component`s smooth page transition work.
1010

11-
> The `/RSC/` file naming convention is [subject to change](https://github.com/dai-shi/waku/discussions/929#discussioncomment-10825975) in future versions of Waku.
11+
> The `/RSC/` file naming convention is [subject to change](https://github.com/wakujs/waku/discussions/929#discussioncomment-10825975) in future versions of Waku.
1212
1313
#### Redirect via middleware
1414

e2e/create-pages.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ for (const mode of ['DEV', 'PRD'] as const) {
134134
({ port, stopApp } = await startApp(mode));
135135
});
136136

137-
// https://github.com/dai-shi/waku/issues/1255
137+
// https://github.com/wakujs/waku/issues/1255
138138
test('long suspense', async ({ page }) => {
139139
await page.goto(`http://localhost:${port}/long-suspense/1`);
140140
await expect(

e2e/fixtures/monorepo/packages/context-library/src/context-consumer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { createElement, useContext, useEffect, useState } from 'react';
55

66
// Do not add '.js' extension to reproduce the issue
7-
// https://github.com/dai-shi/waku/pull/1162
7+
// https://github.com/wakujs/waku/pull/1162
88
import { Context } from './context-provider';
99

1010
export const ContextConsumer = () => {
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// Do not add '.js' extension to reproduce the issue
2-
// https://github.com/dai-shi/waku/pull/1143
2+
// https://github.com/wakujs/waku/pull/1143
33
export * from './client';
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# SSR Context Provider
22

3-
To cover https://github.com/dai-shi/waku/issues/631 case
3+
To cover https://github.com/wakujs/waku/issues/631 case

examples/03_demo/src/components/header.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const Header = () => {
77
<Link to="/">Waku pokemon</Link>
88
</h2>
99
<a
10-
href="https://github.com/dai-shi/waku/tree/main/examples/03_demo"
10+
href="https://github.com/wakujs/waku/tree/main/examples/03_demo"
1111
target="_blank"
1212
rel="noreferrer"
1313
className="text-sm hover:underline"

examples/03_demo/src/pages/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default async function HomePage() {
1212
<div className="flex h-full w-full flex-col items-center justify-center p-6">
1313
<div className="px-6">
1414
<a
15-
href="https://github.com/dai-shi/waku/tree/main/examples/03_demo/src"
15+
href="https://github.com/wakujs/waku/tree/main/examples/03_demo/src"
1616
target="_blank"
1717
rel="noreferrer"
1818
className="whitespace-nowrap text-xs font-bold hover:underline sm:text-base"

examples/06_form-demo/src/components/header.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const Header = () => {
77
<Link to="/">Waku form demo</Link>
88
</h2>
99
<a
10-
href="https://github.com/dai-shi/waku/tree/main/examples/06_form-demo"
10+
href="https://github.com/wakujs/waku/tree/main/examples/06_form-demo"
1111
target="_blank"
1212
rel="noreferrer"
1313
className="text-sm hover:underline"

examples/33_promise/src/components/Counter.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const Message = ({
3434
return (
3535
<ul>
3636
<li>count: {count}</li>
37-
{/* We want show the usage without `use` but it causes a hydration error. https://github.com/dai-shi/waku/issues/202 */}
37+
{/* We want show the usage without `use` but it causes a hydration error. https://github.com/wakujs/waku/issues/202 */}
3838
<li>delayedMessage: {use(delayedMessage)}</li>
3939
</ul>
4040
);

packages/create-waku/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"repository": {
1010
"type": "git",
11-
"url": "https://github.com/dai-shi/waku.git",
11+
"url": "https://github.com/wakujs/waku.git",
1212
"directory": "packages/create-waku"
1313
},
1414
"bin": {

packages/waku/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"repository": {
1414
"type": "git",
15-
"url": "https://github.com/dai-shi/waku.git",
15+
"url": "https://github.com/wakujs/waku.git",
1616
"directory": "packages/waku"
1717
},
1818
"exports": {

packages/waku/src/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export interface Config {
77
/**
88
* The base path for serve HTTP.
99
* Defaults to "/".
10-
* TODO https://github.com/dai-shi/waku/issues/698
10+
* TODO https://github.com/wakujs/waku/issues/698
1111
*/
1212
basePath?: string;
1313
/**

packages/waku/src/lib/utils/swc.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const parseOpts = (ext: string) => {
66
} as const;
77
}
88
// We hoped to use 'typescript' for everything, but it fails in some cases.
9-
// https://github.com/dai-shi/waku/issues/677
9+
// https://github.com/wakujs/waku/issues/677
1010
return {
1111
syntax: 'ecmascript',
1212
jsx: ext.endsWith('x'),

packages/website/private/contents/post-001.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RSC still relies on a framework (or at least a bundler) for implementation. Howe
1313

1414
Waku is introduced as a minimal React framework that allows us to explore the core RSC capabilities and discover RSC best practices independent of traditional SSG/SSR strategies, which are optional opt-in functionalities.
1515

16-
This website is developed with Waku. The [GitHub repository](https://github.com/dai-shi/waku) also includes various examples where you can learn how to use Waku and RSC features.
16+
This website is developed with Waku. The [GitHub repository](https://github.com/wakujs/waku) also includes various examples where you can learn how to use Waku and RSC features.
1717

1818
### Waku API
1919

packages/website/private/contents/post-002.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,4 +290,4 @@ export const BlogLayout = async ({ children }) => {
290290

291291
Now that a low-level API for creating layouts and pages is complete, we’re building a lightweight file-based “pages router” to further accelerate the work of Waku developers.
292292

293-
Stay tuned for this and other features in the upcoming v0.20 release! In the meantime, please [give Waku a try](https://waku.gg) on non-production projects and join our friendly [GitHub discussions](https://github.com/dai-shi/waku/discussions) or [Discord server](https://discord.gg/MrQdmzd) to participate in the Waku community.
293+
Stay tuned for this and other features in the upcoming v0.20 release! In the meantime, please [give Waku a try](https://waku.gg) on non-production projects and join our friendly [GitHub discussions](https://github.com/wakujs/waku/discussions) or [Discord server](https://discord.gg/MrQdmzd) to participate in the Waku community.

packages/website/private/contents/post-003.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,6 @@ export const getConfig = async () => {
331331

332332
## Next steps
333333

334-
We will continue to add [additional features](https://github.com/dai-shi/waku/issues/24), improve [documentation](https://waku.gg), and work towards acheiving stability before the upcoming [React 19 release](https://react.dev/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024#the-next-major-version-of-react).
334+
We will continue to add [additional features](https://github.com/wakujs/waku/issues/24), improve [documentation](https://waku.gg), and work towards acheiving stability before the upcoming [React 19 release](https://react.dev/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024#the-next-major-version-of-react).
335335

336-
In the meantime, please [star us on GitHub](https://github.com/dai-shi/waku) and [try Waku](https://waku.gg) on non-production projects. Then give us your feedback in our friendly [GitHub discussions](https://github.com/dai-shi/waku/discussions) and [Discord server](https://discord.gg/MrQdmzd). See you around!
336+
In the meantime, please [star us on GitHub](https://github.com/wakujs/waku) and [try Waku](https://waku.gg) on non-production projects. Then give us your feedback in our friendly [GitHub discussions](https://github.com/wakujs/waku/discussions) and [Discord server](https://discord.gg/MrQdmzd). See you around!

packages/website/private/contents/post-004.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,6 @@ See the talk [What’s new in React 19?](https://www.youtube.com/watch?v=AJOGzVy
160160

161161
We’re excited to see what you’ll build with Waku now that it fully supports server actions. Enjoy accelerated development of many common use cases such as form submissions, database operations, and much more!
162162

163-
As always your feedback in our [GitHub discussions](https://github.com/dai-shi/waku/discussions) is much appreciated and you’re welcome to join us in our [Discord server](https://discord.gg/MrQdmzd) to share what you’re building.
163+
As always your feedback in our [GitHub discussions](https://github.com/wakujs/waku/discussions) is much appreciated and you’re welcome to join us in our [Discord server](https://discord.gg/MrQdmzd) to share what you’re building.
164164

165165
Please stay tuned for our upcoming v0.22 release featuring API routes, which support even more complex or resource intensive server-side functionalities.

packages/website/src/components/navigation.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,6 @@ const docs = [
194194

195195
const links = [
196196
{ to: '/blog', icon: 'book', label: 'Blog' },
197-
{ to: 'https://github.com/dai-shi/waku', icon: 'github', label: 'GitHub' },
197+
{ to: 'https://github.com/wakujs/waku', icon: 'github', label: 'GitHub' },
198198
{ to: 'https://discord.gg/MrQdmzd', icon: 'discord', label: 'Discord' },
199199
];

packages/website/src/pages/blog/[slug].tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export default async function BlogArticlePage({ slug }: BlogArticlePageProps) {
8888
</div>
8989
<div className="relative z-10 mx-auto mb-8 mt-16 flex w-full max-w-[80ch] justify-center sm:mb-0 lg:mt-32 xl:-right-[calc(296px/2)] 2xl:right-auto">
9090
<a
91-
href="https://github.com/dai-shi/waku"
91+
href="https://github.com/wakujs/waku"
9292
target="_blank"
9393
rel="noreferrer"
9494
className="text-shadow inline-block! -rotate-[5deg] transform whitespace-nowrap text-center font-serif text-3xl font-extrabold leading-none text-white transition-colors duration-300 ease-in-out hover:text-primary sm:mr-4 sm:text-6xl"

packages/website/src/pages/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default async function HomePage() {
3939
</div>
4040
<div className="relative z-10 mx-auto mb-8 mt-16 flex w-full max-w-[80ch] justify-center sm:mb-0 lg:mt-32 xl:-right-[calc(296px/2)] 2xl:right-auto">
4141
<a
42-
href="https://github.com/dai-shi/waku"
42+
href="https://github.com/wakujs/waku"
4343
target="_blank"
4444
rel="noreferrer"
4545
className="text-shadow inline-block! -rotate-[5deg] transform whitespace-nowrap text-center font-serif text-3xl font-extrabold leading-none text-white transition-colors duration-300 ease-in-out hover:text-primary sm:mr-4 sm:text-6xl"

0 commit comments

Comments
 (0)