Skip to content

Commit

Permalink
chore: update dependencies (#112)
Browse files Browse the repository at this point in the history
* update dependencies and run prettier

* revert react version

* fix example 08 for prd
  • Loading branch information
dai-shi authored Jul 28, 2023
1 parent a21639f commit 3356f5c
Show file tree
Hide file tree
Showing 44 changed files with 720 additions and 644 deletions.
2 changes: 1 addition & 1 deletion examples/01_counter/src/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ export default defineEntries(
default:
return null;
}
}
},
);
2 changes: 1 addition & 1 deletion examples/01_counter/src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/02_async/src/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ export default defineEntries(
default:
return null;
}
}
},
);
2 changes: 1 addition & 1 deletion examples/02_async/src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/03_promise/src/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ export default defineEntries(
default:
return null;
}
}
},
);
2 changes: 1 addition & 1 deletion examples/03_promise/src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/04_callserver/src/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ export default defineEntries(
default:
return null;
}
}
},
);
2 changes: 1 addition & 1 deletion examples/04_callserver/src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/05_mutation/src/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ export default defineEntries(
default:
return null;
}
}
},
);
2 changes: 1 addition & 1 deletion examples/05_mutation/src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/06_nesting/src/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ export default defineEntries(
default:
return null;
}
}
},
);
2 changes: 1 addition & 1 deletion examples/06_nesting/src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/07_router/src/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ export default defineRouter(
});
return stat?.isDirectory() ? name + "/" : name;
});
}
},
);
2 changes: 1 addition & 1 deletion examples/07_router/src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/08_cookies/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ app.use(
unstable_posthook: (req, res, ctx) => {
res.cookie("count", String(ctx.count));
},
})
}),
);
// Passing cookies through SSR server isn't supported (yet).
// app.use(ssr({ command: "dev" }));
Expand Down
2 changes: 1 addition & 1 deletion examples/08_cookies/src/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineEntries(
ctx: { count: 0 },
},
};
}
},
// getSsrConfig
// Passing cookies through SSR server isn't supported (yet).
// async (pathStr) => {
Expand Down
2 changes: 1 addition & 1 deletion examples/08_cookies/src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
5 changes: 2 additions & 3 deletions examples/08_cookies/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ import {

const root = path.join(
path.dirname(url.fileURLToPath(import.meta.url)),
"dist"
"dist",
);
process.env.CONFIG_FILE = "vite.prd.config.ts";

const app = express();
app.use(cookieParser());
Expand All @@ -24,7 +23,7 @@ app.use(
unstable_posthook: (req, res, ctx) => {
res.cookie("count", String(ctx.count));
},
})
}),
);
// Passing cookies through SSR server isn't supported (yet).
// app.use(ssr({ command: "start" }));
Expand Down
2 changes: 1 addition & 1 deletion examples/09_cssmodules/src/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ export default defineEntries(
default:
return null;
}
}
},
);
2 changes: 1 addition & 1 deletion examples/09_cssmodules/src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,38 +92,38 @@
},
"prettier": {},
"dependencies": {
"@swc/core": "1.3.68",
"@vitejs/plugin-react": "^4.0.1",
"@swc/core": "1.3.71",
"@vitejs/plugin-react": "^4.0.3",
"busboy": "^1.6.0",
"vite": "^4.3.9"
"vite": "^4.4.7"
},
"devDependencies": {
"@playwright/test": "^1.35.1",
"@playwright/test": "^1.36.2",
"@swc/cli": "^0.1.62",
"@types/babel__core": "^7.20.1",
"@types/busboy": "^1.5.0",
"@types/express": "^4.17.17",
"@types/node": "^20.4.0",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@types/node": "^20.4.5",
"@types/react": "^18.2.17",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"autoprefixer": "^10.4.14",
"bright": "^0.8.2",
"bright": "^0.8.4",
"cookie-parser": "^1.4.6",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.9.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-react": "^7.33.0",
"express": "^4.18.2",
"glob": "^10.3.1",
"prettier": "^2.8.8",
"glob": "^10.3.3",
"prettier": "^3.0.0",
"react": "18.3.0-canary-7118f5dd7-20230705",
"react-dom": "18.3.0-canary-7118f5dd7-20230705",
"react-server-dom-webpack": "18.3.0-canary-7118f5dd7-20230705",
"rollup": "^3.26.1",
"tailwindcss": "^3.3.2",
"rollup": "^3.26.3",
"tailwindcss": "^3.3.3",
"typescript": "^5.1.6",
"waku": "link:."
},
Expand Down
Loading

1 comment on commit 3356f5c

@vercel
Copy link

@vercel vercel bot commented on 3356f5c Jul 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

waku – ./

waku-git-main-daishi.vercel.app
waku-daishi.vercel.app
waku.vercel.app
waku.gg
www.waku.gg

Please sign in to comment.