Skip to content

Commit b06bf8e

Browse files
mikeland73Lagoja
andauthored
[docs] Update deps (#2332)
## 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 <[email protected]>
1 parent 14327a7 commit b06bf8e

File tree

4 files changed

+5949
-7587
lines changed

4 files changed

+5949
-7587
lines changed

docs/app/devbox.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
{
2-
"packages": ["nodejs@latest"]
2+
"packages": [
3+
4+
],
5+
"env": {
6+
"DEVBOX_COREPACK_ENABLED": "true",
7+
},
8+
"shell": {
9+
"init_hook": [
10+
"test \"$SKIP_INIT_HOOK\" = \"1\" || pnpm install",
11+
],
12+
"scripts": {
13+
"build": "pnpm run build",
14+
"start": "pnpm run start",
15+
"serve": "pnpm run serve",
16+
},
17+
},
318
}

docs/app/devbox.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,68 @@
11
{
22
"lockfile_version": "1",
33
"packages": {
4-
"nodejs@latest": {
5-
"last_modified": "2024-02-24T23:06:34Z",
4+
"nodejs@20.12.2": {
5+
"last_modified": "2024-06-12T20:55:33Z",
66
"plugin_version": "0.0.2",
7-
"resolved": "github:NixOS/nixpkgs/9a9dae8f6319600fa9aebde37f340975cab4b8c0#nodejs_21",
7+
"resolved": "github:NixOS/nixpkgs/a9858885e197f984d92d7fe64e9fff6b2e488d40#nodejs_20",
88
"source": "devbox-search",
9-
"version": "21.6.2",
9+
"version": "20.12.2",
1010
"systems": {
1111
"aarch64-darwin": {
1212
"outputs": [
1313
{
1414
"name": "out",
15-
"path": "/nix/store/n9xcy53g63rk8vwb2yx5fb7i72rprpd1-nodejs-21.6.2",
15+
"path": "/nix/store/ridvrr7dsnxpvh3f1sr41xiwvwk1nnkg-nodejs-20.12.2",
1616
"default": true
1717
},
1818
{
1919
"name": "libv8",
20-
"path": "/nix/store/i7dqylwl31kbb4ixlz3d7iz28gkiz1pa-nodejs-21.6.2-libv8"
20+
"path": "/nix/store/08xq7dq3gmv0cs6b4283xihjvhy9d1vy-nodejs-20.12.2-libv8"
2121
}
2222
],
23-
"store_path": "/nix/store/n9xcy53g63rk8vwb2yx5fb7i72rprpd1-nodejs-21.6.2"
23+
"store_path": "/nix/store/ridvrr7dsnxpvh3f1sr41xiwvwk1nnkg-nodejs-20.12.2"
2424
},
2525
"aarch64-linux": {
2626
"outputs": [
2727
{
2828
"name": "out",
29-
"path": "/nix/store/mqvmpikgnk7bxvi977ysd0z81bjpflzj-nodejs-21.6.2",
29+
"path": "/nix/store/ybhzncvkslqd0b9c3lp91l0wphjzczc8-nodejs-20.12.2",
3030
"default": true
3131
},
3232
{
3333
"name": "libv8",
34-
"path": "/nix/store/bk213z877b7cx8m5hcb3pplry6bfz48b-nodejs-21.6.2-libv8"
34+
"path": "/nix/store/5gbmjz6s6bqniqpmzszz1mxis6bsvkk7-nodejs-20.12.2-libv8"
3535
}
3636
],
37-
"store_path": "/nix/store/mqvmpikgnk7bxvi977ysd0z81bjpflzj-nodejs-21.6.2"
37+
"store_path": "/nix/store/ybhzncvkslqd0b9c3lp91l0wphjzczc8-nodejs-20.12.2"
3838
},
3939
"x86_64-darwin": {
4040
"outputs": [
4141
{
4242
"name": "out",
43-
"path": "/nix/store/mdwxb1kdajvahhbpq3dhnaf3b01h7yb8-nodejs-21.6.2",
43+
"path": "/nix/store/gxi71m2y8x1rl83dpr1g0x9yz3klrcb0-nodejs-20.12.2",
4444
"default": true
4545
},
4646
{
4747
"name": "libv8",
48-
"path": "/nix/store/qnflfa9zq3d2z81zhlig0m7kb7w68csc-nodejs-21.6.2-libv8"
48+
"path": "/nix/store/mmfi1a89j8ph7x0rkqy43fc9h31hxxcr-nodejs-20.12.2-libv8"
4949
}
5050
],
51-
"store_path": "/nix/store/mdwxb1kdajvahhbpq3dhnaf3b01h7yb8-nodejs-21.6.2"
51+
"store_path": "/nix/store/gxi71m2y8x1rl83dpr1g0x9yz3klrcb0-nodejs-20.12.2"
5252
},
5353
"x86_64-linux": {
5454
"outputs": [
5555
{
5656
"name": "out",
57-
"path": "/nix/store/va3sggfgfb709lm31bzvpjfyapjdy435-nodejs-21.6.2",
57+
"path": "/nix/store/74a6mmrgxzcg9axl1gmdz3j2y1bjd13f-nodejs-20.12.2",
5858
"default": true
5959
},
6060
{
6161
"name": "libv8",
62-
"path": "/nix/store/xl576mlrf1vhy9pz5xy9w9bq4l23vrx2-nodejs-21.6.2-libv8"
62+
"path": "/nix/store/qgrqys125k7c7ish5l1bkphgi49nbcig-nodejs-20.12.2-libv8"
6363
}
6464
],
65-
"store_path": "/nix/store/va3sggfgfb709lm31bzvpjfyapjdy435-nodejs-21.6.2"
65+
"store_path": "/nix/store/74a6mmrgxzcg9axl1gmdz3j2y1bjd13f-nodejs-20.12.2"
6666
}
6767
}
6868
}

docs/app/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
"name": "devbox",
33
"version": "0.0.0",
44
"private": true,
5+
"packageManager": "[email protected]",
56
"scripts": {
67
"docusaurus": "docusaurus",
78
"start": "docusaurus start",
89
"build": "docusaurus build && pnpm run postbuild",
9-
"postbuild": "mkdir -p tmp && cp -r build/* tmp/ && mkdir -p build/docs && cp -r tmp/* build/docs/ && rm -rf tmp",
10+
"postbuild": "mkdir -p tmp && cp -r build/* tmp/ && mkdir -p build/docs && cp -r tmp/* build/docs/ && rm -rf tmp",
1011
"swizzle": "docusaurus swizzle",
1112
"deploy": "docusaurus deploy",
1213
"clear": "docusaurus clear",

0 commit comments

Comments
 (0)