Skip to content

Commit 8c8ee1d

Browse files
authored
Replace mpppk to nota (#140)
1 parent 784335f commit 8c8ee1d

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

docs/docusaurus.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const config: Config = {
1616

1717
// GitHub pages deployment config.
1818
// If you aren't using GitHub pages, you don't need these.
19-
organizationName: "mpppk", // Usually your GitHub org/user name.
19+
organizationName: "nota", // Usually your GitHub org/user name.
2020
projectName: "typed-api-spec", // Usually your repo name.
2121

2222
onBrokenLinks: "throw",
@@ -64,7 +64,7 @@ const config: Config = {
6464
items: [
6565
{
6666
label: "GitHub",
67-
href: "https://github.com/mpppk/typed-api-spec",
67+
href: "https://github.com/nota/typed-api-spec",
6868
},
6969
],
7070
},

examples/github/github.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const fetchT = fetch as FetchT<typeof GITHUB_API_ORIGIN, Spec>;
4040

4141
const main = async () => {
4242
const response = await fetchT(
43-
`${GITHUB_API_ORIGIN}/repos/mpppk/typed-api-spec/topics?page=1`,
43+
`${GITHUB_API_ORIGIN}/repos/nota/typed-api-spec/topics?page=1`,
4444
{ headers: { Accept: "application/vnd.github+json" } },
4545
);
4646
if (!response.ok) {

examples/simple/withValidation.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const main = async () => {
2727
const { req: reqValidator, res: resValidator } = newZodValidator(spec);
2828
const fetchWithV = withValidation(fetch, spec, reqValidator, resValidator);
2929
const response = await fetchWithV(
30-
`${GITHUB_API_ORIGIN}/repos/mpppk/typed-api-spec/topics?page=1`,
30+
`${GITHUB_API_ORIGIN}/repos/nota/typed-api-spec/topics?page=1`,
3131
{ headers: { Accept: "application/vnd.github+json" } },
3232
);
3333
if (!response.ok) {
@@ -44,7 +44,7 @@ const main = async () => {
4444
const fetchWithV = withValidation(fetch, spec2, reqValidator, resValidator);
4545
try {
4646
await fetchWithV(
47-
`${GITHUB_API_ORIGIN}/repos/mpppk/typed-api-spec/topics?page=1`,
47+
`${GITHUB_API_ORIGIN}/repos/nota/typed-api-spec/topics?page=1`,
4848
{ headers: { Accept: "application/vnd.github+json" } },
4949
);
5050
} catch (e: unknown) {

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@mpppk/typed-api-spec",
3-
"version": "0.0.0-test37",
2+
"name": "@nota/typed-api-spec",
3+
"version": "0.1.0",
44
"scripts": {
55
"build": "tsup ./src",
66
"watch:build": "tsup ./src --watch",

src/fetch/index.t-test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type ValidateUrlTestCase = [
1818
>,
1919
Expect<
2020
Equal<
21-
ValidateUrl<{ a: string }, `/repos/mpppk/typed-api-spec/topics`>,
21+
ValidateUrl<{ a: string }, `/repos/nota/typed-api-spec/topics`>,
2222
C.E<"query parameter required">
2323
>
2424
>,

0 commit comments

Comments
 (0)