Skip to content

Commit

Permalink
[docs] Update deps (#2332)
Browse files Browse the repository at this point in the history
## Summary

I wanted to update dependencies to see if we can get rid of some
Dependabot warnings. Also wanted to modernize our devbox.json a bit to
make the onboarding process easier. Not totally working though.

## How was it tested?

I'm able to do `devbox run serve` but I only get 404s.

If I do build/start I get:

`Error: Cannot mix different versions of joi schemas` 

Not sure if I introduced this issue.

---------

Co-authored-by: John Lago <750845+Lagoja@users.noreply.github.com>
  • Loading branch information
mikeland73 and Lagoja authored Oct 8, 2024
1 parent 14327a7 commit b06bf8e
Show file tree
Hide file tree
Showing 4 changed files with 5,949 additions and 7,587 deletions.
17 changes: 16 additions & 1 deletion docs/app/devbox.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
{
"packages": ["nodejs@latest"]
"packages": [
"nodejs@20.12.2",
],
"env": {
"DEVBOX_COREPACK_ENABLED": "true",
},
"shell": {
"init_hook": [
"test \"$SKIP_INIT_HOOK\" = \"1\" || pnpm install",
],
"scripts": {
"build": "pnpm run build",
"start": "pnpm run start",
"serve": "pnpm run serve",
},
},
}
32 changes: 16 additions & 16 deletions docs/app/devbox.lock
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
{
"lockfile_version": "1",
"packages": {
"nodejs@latest": {
"last_modified": "2024-02-24T23:06:34Z",
"nodejs@20.12.2": {
"last_modified": "2024-06-12T20:55:33Z",
"plugin_version": "0.0.2",
"resolved": "github:NixOS/nixpkgs/9a9dae8f6319600fa9aebde37f340975cab4b8c0#nodejs_21",
"resolved": "github:NixOS/nixpkgs/a9858885e197f984d92d7fe64e9fff6b2e488d40#nodejs_20",
"source": "devbox-search",
"version": "21.6.2",
"version": "20.12.2",
"systems": {
"aarch64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/n9xcy53g63rk8vwb2yx5fb7i72rprpd1-nodejs-21.6.2",
"path": "/nix/store/ridvrr7dsnxpvh3f1sr41xiwvwk1nnkg-nodejs-20.12.2",
"default": true
},
{
"name": "libv8",
"path": "/nix/store/i7dqylwl31kbb4ixlz3d7iz28gkiz1pa-nodejs-21.6.2-libv8"
"path": "/nix/store/08xq7dq3gmv0cs6b4283xihjvhy9d1vy-nodejs-20.12.2-libv8"
}
],
"store_path": "/nix/store/n9xcy53g63rk8vwb2yx5fb7i72rprpd1-nodejs-21.6.2"
"store_path": "/nix/store/ridvrr7dsnxpvh3f1sr41xiwvwk1nnkg-nodejs-20.12.2"
},
"aarch64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/mqvmpikgnk7bxvi977ysd0z81bjpflzj-nodejs-21.6.2",
"path": "/nix/store/ybhzncvkslqd0b9c3lp91l0wphjzczc8-nodejs-20.12.2",
"default": true
},
{
"name": "libv8",
"path": "/nix/store/bk213z877b7cx8m5hcb3pplry6bfz48b-nodejs-21.6.2-libv8"
"path": "/nix/store/5gbmjz6s6bqniqpmzszz1mxis6bsvkk7-nodejs-20.12.2-libv8"
}
],
"store_path": "/nix/store/mqvmpikgnk7bxvi977ysd0z81bjpflzj-nodejs-21.6.2"
"store_path": "/nix/store/ybhzncvkslqd0b9c3lp91l0wphjzczc8-nodejs-20.12.2"
},
"x86_64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/mdwxb1kdajvahhbpq3dhnaf3b01h7yb8-nodejs-21.6.2",
"path": "/nix/store/gxi71m2y8x1rl83dpr1g0x9yz3klrcb0-nodejs-20.12.2",
"default": true
},
{
"name": "libv8",
"path": "/nix/store/qnflfa9zq3d2z81zhlig0m7kb7w68csc-nodejs-21.6.2-libv8"
"path": "/nix/store/mmfi1a89j8ph7x0rkqy43fc9h31hxxcr-nodejs-20.12.2-libv8"
}
],
"store_path": "/nix/store/mdwxb1kdajvahhbpq3dhnaf3b01h7yb8-nodejs-21.6.2"
"store_path": "/nix/store/gxi71m2y8x1rl83dpr1g0x9yz3klrcb0-nodejs-20.12.2"
},
"x86_64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/va3sggfgfb709lm31bzvpjfyapjdy435-nodejs-21.6.2",
"path": "/nix/store/74a6mmrgxzcg9axl1gmdz3j2y1bjd13f-nodejs-20.12.2",
"default": true
},
{
"name": "libv8",
"path": "/nix/store/xl576mlrf1vhy9pz5xy9w9bq4l23vrx2-nodejs-21.6.2-libv8"
"path": "/nix/store/qgrqys125k7c7ish5l1bkphgi49nbcig-nodejs-20.12.2-libv8"
}
],
"store_path": "/nix/store/va3sggfgfb709lm31bzvpjfyapjdy435-nodejs-21.6.2"
"store_path": "/nix/store/74a6mmrgxzcg9axl1gmdz3j2y1bjd13f-nodejs-20.12.2"
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion docs/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
"name": "devbox",
"version": "0.0.0",
"private": true,
"packageManager": "pnpm@8.15.9",
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build && pnpm run postbuild",
"postbuild": "mkdir -p tmp && cp -r build/* tmp/ && mkdir -p build/docs && cp -r tmp/* build/docs/ && rm -rf tmp",
"postbuild": "mkdir -p tmp && cp -r build/* tmp/ && mkdir -p build/docs && cp -r tmp/* build/docs/ && rm -rf tmp",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
Expand Down
Loading

0 comments on commit b06bf8e

Please sign in to comment.