Skip to content

Commit

Permalink
NTR - Updated devenv
Browse files Browse the repository at this point in the history
  • Loading branch information
cyl3x authored and Haberkamp committed Aug 26, 2024
1 parent cab3b27 commit afccbcf
Show file tree
Hide file tree
Showing 8 changed files with 141 additions and 170 deletions.
3 changes: 3 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_url "https://raw.githubusercontent.com/cachix/devenv/6450828d038d743e97e2e7ff567ce5fa9f17a224/direnvrc" "sha256-d+8cBpDfDBj41inrADaJt+bDWhOktwslgoP5YiGJ1v0="

use devenv
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ node_modules/
chrome/
.idea/
.DS_Store
# Devenv
.direnv
.devenv*
devenv.local.nix
122 changes: 122 additions & 0 deletions devenv.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"nodes": {
"devenv": {
"locked": {
"dir": "src/modules",
"lastModified": 1721650703,
"owner": "cachix",
"repo": "devenv",
"rev": "6450828d038d743e97e2e7ff567ce5fa9f17a224",
"treeHash": "d040331ff202cb5093982a49bf1cfb4ca93a3347",
"type": "github"
},
"original": {
"dir": "src/modules",
"owner": "cachix",
"repo": "devenv",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"treeHash": "2addb7b71a20a25ea74feeaf5c2f6a6b30898ecb",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"pre-commit-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"treeHash": "ca14199cabdfe1a06a7b1654c76ed49100a689f9",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1716977621,
"owner": "cachix",
"repo": "devenv-nixpkgs",
"rev": "4267e705586473d3e5c8d50299e71503f16a6fb6",
"treeHash": "6d9f1f7ca0faf1bc2eeb397c78a49623260d3412",
"type": "github"
},
"original": {
"owner": "cachix",
"ref": "rolling",
"repo": "devenv-nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1721548954,
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "63d37ccd2d178d54e7fb691d7ec76000740ea24a",
"treeHash": "f5e8284d2eef1362c0217c01c3406c5cd5bb77b6",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"gitignore": "gitignore",
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1721042469,
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "f451c19376071a90d8c58ab1a953c6e9840527fd",
"treeHash": "91f40b7a3b9f6886bd77482cba5b5cd890415a2e",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"type": "github"
}
},
"root": {
"inputs": {
"devenv": "devenv",
"nixpkgs": "nixpkgs",
"pre-commit-hooks": "pre-commit-hooks"
}
}
},
"root": "root",
"version": 7
}
12 changes: 12 additions & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{ pkgs, lib, ... }:

{
packages = with pkgs; [
nodePackages.pnpm
];

languages.javascript = {
enable = lib.mkDefault true;
package = lib.mkDefault pkgs.nodejs-18_x;
};
}
4 changes: 0 additions & 4 deletions packages/admin-sdk/.envrc

This file was deleted.

4 changes: 0 additions & 4 deletions packages/admin-sdk/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,3 @@ playwright-report/
testpageDist
dependency-graph.png
.vscode
# Devenv
.devenv*
devenv.local.nix

156 changes: 0 additions & 156 deletions packages/admin-sdk/devenv.lock

This file was deleted.

6 changes: 0 additions & 6 deletions packages/admin-sdk/devenv.nix

This file was deleted.

0 comments on commit afccbcf

Please sign in to comment.