From 3938f1bdbf7a90efb11cdea5e47976d89140928d Mon Sep 17 00:00:00 2001 From: xynydev Date: Sun, 17 Dec 2023 20:15:31 +0200 Subject: [PATCH] feat: devbox env --- devbox.json | 16 ++++++++++++++++ devbox.lock | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 devbox.json create mode 100644 devbox.lock diff --git a/devbox.json b/devbox.json new file mode 100644 index 0000000..94f2e97 --- /dev/null +++ b/devbox.json @@ -0,0 +1,16 @@ +{ + "packages": [ + "nodejs@latest", + "nodePackages.pnpm@latest" + ], + "shell": { + "init_hook": [ + "echo 'Welcome to devbox!' > /dev/null" + ], + "scripts": { + "test": [ + "echo \"Error: no test specified\" && exit 1" + ] + } + } +} diff --git a/devbox.lock b/devbox.lock new file mode 100644 index 0000000..39a1b57 --- /dev/null +++ b/devbox.lock @@ -0,0 +1,39 @@ +{ + "lockfile_version": "1", + "packages": { + "nodePackages.pnpm@latest": { + "last_modified": "2023-11-23T16:10:41Z", + "resolved": "github:NixOS/nixpkgs/e8b0430bc4c4235607ae102010dec2ba32e8c0ca#nodePackages.pnpm", + "source": "devbox-search", + "version": "8.10.5", + "systems": { + "aarch64-linux": { + "store_path": "/nix/store/16r331i5imngs5kfzkdnxa28n3ny14j0-pnpm-8.10.5" + }, + "x86_64-linux": { + "store_path": "/nix/store/idw48sa6db5dfxz6mnakwbz9k9fjkppm-pnpm-8.10.5" + } + } + }, + "nodejs@latest": { + "last_modified": "2023-12-01T12:14:05Z", + "resolved": "github:NixOS/nixpkgs/77da99a144cd341408308e0a37622f5edcc6c5ba#nodejs_21", + "source": "devbox-search", + "version": "21.3.0", + "systems": { + "aarch64-darwin": { + "store_path": "/nix/store/14v3za8nwj0pzyslxgk91ivrwli4r5d7-nodejs-21.3.0" + }, + "aarch64-linux": { + "store_path": "/nix/store/zs16ndz5d90ybi31b0my5q63ym12jmjx-nodejs-21.3.0" + }, + "x86_64-darwin": { + "store_path": "/nix/store/s5f7nr4g0mp3x7p2c5lskdwqb8rd8nwh-nodejs-21.3.0" + }, + "x86_64-linux": { + "store_path": "/nix/store/5gx81a63z7mklr8kmjxybc3ysjn4gmf2-nodejs-21.3.0" + } + } + } + } +}