Development (#79)
- added pm2 ecosystem file
- prettier
diff --git a/.eslintignore b/.eslintignore
index a753b6e..f7770da 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,2 +1,3 @@
ClicksMigratingProblems/**/*
src/reflex/nsfwjs/**/*
+ecosystem.config.cjs
\ No newline at end of file
diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs
new file mode 100644
index 0000000..c101672
--- /dev/null
+++ b/ecosystem.config.cjs
@@ -0,0 +1,9 @@
+module.exports = {
+ apps: [
+ {
+ name: "Nucleus",
+ script: "/run/current-system/sw/bin/nix",
+ args: "develop --command yarn start --update-commands"
+ }
+ ]
+};
diff --git a/flake.lock b/flake.lock
index f30c0f6..8fd890f 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1,12 +1,15 @@
{
"nodes": {
"flake-utils": {
+ "inputs": {
+ "systems": "systems"
+ },
"locked": {
- "lastModified": 1676283394,
- "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
+ "lastModified": 1681202837,
+ "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=",
"owner": "numtide",
"repo": "flake-utils",
- "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
+ "rev": "cfacdce06f30d2b68473a46042957675eebb3401",
"type": "github"
},
"original": {
@@ -17,16 +20,16 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1677852945,
- "narHash": "sha256-liiVJjkBTuBTAkRW3hrI8MbPD2ImYzwUpa7kvteiKhM=",
+ "lastModified": 1682134069,
+ "narHash": "sha256-TnI/ZXSmRxQDt2sjRYK/8j8iha4B4zP2cnQCZZ3vp7k=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "f5ffd5787786dde3a8bf648c7a1b5f78c4e01abb",
+ "rev": "fd901ef4bf93499374c5af385b2943f5801c0833",
"type": "github"
},
"original": {
"owner": "NixOS",
- "ref": "nixpkgs-unstable",
+ "ref": "nixos-22.11",
"repo": "nixpkgs",
"type": "github"
}
@@ -36,8 +39,23 @@
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
+ },
+ "systems": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
}
},
"root": "root",
"version": 7
-}
+}
\ No newline at end of file
diff --git a/flake.nix b/flake.nix
index bdbd76c..741a2bd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,6 +1,6 @@
{
description = "A basic flake with a shell";
- inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
+ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
@@ -9,6 +9,9 @@
in {
devShells.default = pkgs.mkShell {
packages = [ pkgs.nodejs-19_x pkgs.nodePackages_latest.yarn ];
+ shellHook = ''
+ unset name
+ '';
};
});
-}
+}
\ No newline at end of file