Skip to content

Commit

Permalink
Update node example to use the prebuilt binary
Browse files Browse the repository at this point in the history
  • Loading branch information
LucilleH committed Aug 10, 2023
1 parent a1e8804 commit 5db4ff7
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 15 deletions.
2 changes: 1 addition & 1 deletion examples/development/nodejs/nodejs-pnpm/devbox.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packages": [
"nodejs@18",
"nodePackages.pnpm@latest"
"nodePackages.pnpm@8.6.0"
],
"shell": {
"init_hook": [
Expand Down
17 changes: 17 additions & 0 deletions examples/development/nodejs/nodejs-pnpm/devbox.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"lockfile_version": "1",
"packages": {
"[email protected]": {
"last_modified": "2023-06-01T03:57:58Z",
"resolved": "github:NixOS/nixpkgs/8d4d822bc0efa9de6eddc79cb0d82897a9baa750#nodePackages.pnpm",
"source": "devbox-search",
"version": "8.6.0"
},
"nodejs@18": {
"last_modified": "2023-06-29T16:20:38Z",
"resolved": "github:NixOS/nixpkgs/3c614fbc76fc152f3e1bc4b2263da6d90adf80fb#nodejs_18",
"source": "devbox-search",
"version": "18.16.1"
}
}
}
2 changes: 1 addition & 1 deletion examples/development/nodejs/nodejs-typescript/devbox.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packages": [
"nodejs@18.16"
"nodejs@18"
],
"shell": {
"init_hook": [
Expand Down
14 changes: 6 additions & 8 deletions examples/development/nodejs/nodejs-typescript/devbox.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"lockfile_version": "1",
"packages": {
"nodePackages.typescript": {
"resolved": "github:NixOS/nixpkgs/f80ac848e3d6f0c12c52758c0f25c10c97ca3b62#nodePackages.typescript"
},
"[email protected]": {
"last_modified": "2023-05-01T16:53:22Z",
"resolved": "github:NixOS/nixpkgs/8670e496ffd093b60e74e7fa53526aa5920d09eb#nodejs_18",
"version": "18.16.0"
"nodejs@18": {
"last_modified": "2023-06-29T16:20:38Z",
"resolved": "github:NixOS/nixpkgs/3c614fbc76fc152f3e1bc4b2263da6d90adf80fb#nodejs_18",
"source": "devbox-search",
"version": "18.16.1"
}
}
}
}
2 changes: 1 addition & 1 deletion examples/development/nodejs/nodejs-yarn/devbox.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packages": [
"nodejs@19.8",
"nodejs@18",
"[email protected]"
],
"shell": {
Expand Down
9 changes: 5 additions & 4 deletions examples/development/nodejs/nodejs-yarn/devbox.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"lockfile_version": "1",
"packages": {
"[email protected]": {
"last_modified": "2023-03-31T22:52:29Z",
"resolved": "github:NixOS/nixpkgs/242246ee1e58f54d2322227fc5eef53b4a616a31#nodejs-19_x",
"version": "19.8.1"
"nodejs@18": {
"last_modified": "2023-06-29T16:20:38Z",
"resolved": "github:NixOS/nixpkgs/3c614fbc76fc152f3e1bc4b2263da6d90adf80fb#nodejs_18",
"source": "devbox-search",
"version": "18.16.1"
},
"[email protected]": {
"last_modified": "2023-05-01T16:53:22Z",
Expand Down

0 comments on commit 5db4ff7

Please sign in to comment.