ChandimaPrabath commited on
Commit
c698deb
·
1 Parent(s): 63fbd68
.env.production ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ NEXT_PUBLIC_SERVICES_URL=https://Hans-R-D-nexus-services.hf.space
2
+ NEXT_PUBLIC_RELAY_URL=wss://Hans-R-D-nexus-relay.hf.space/ws
frontend/package-lock.json CHANGED
@@ -8,6 +8,7 @@
8
  "name": "nex-com",
9
  "version": "0.1.0",
10
  "dependencies": {
 
11
  "next": "15.1.4",
12
  "react": "^19.0.0",
13
  "react-dom": "^19.0.0"
@@ -615,6 +616,29 @@
615
  "simple-swizzle": "^0.2.2"
616
  }
617
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
618
  "node_modules/detect-libc": {
619
  "version": "2.0.3",
620
  "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
@@ -625,6 +649,22 @@
625
  "node": ">=8"
626
  }
627
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
628
  "node_modules/is-arrayish": {
629
  "version": "0.3.2",
630
  "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
@@ -632,6 +672,12 @@
632
  "license": "MIT",
633
  "optional": true
634
  },
 
 
 
 
 
 
635
  "node_modules/nanoid": {
636
  "version": "3.3.8",
637
  "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz",
@@ -704,6 +750,15 @@
704
  }
705
  }
706
  },
 
 
 
 
 
 
 
 
 
707
  "node_modules/picocolors": {
708
  "version": "1.1.1",
709
  "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
@@ -818,6 +873,27 @@
818
  "@img/sharp-win32-x64": "0.33.5"
819
  }
820
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
821
  "node_modules/simple-swizzle": {
822
  "version": "0.2.2",
823
  "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
@@ -873,6 +949,21 @@
873
  "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
874
  "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
875
  "license": "0BSD"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
876
  }
877
  }
878
  }
 
8
  "name": "nex-com",
9
  "version": "0.1.0",
10
  "dependencies": {
11
+ "env-cmd": "^10.1.0",
12
  "next": "15.1.4",
13
  "react": "^19.0.0",
14
  "react-dom": "^19.0.0"
 
616
  "simple-swizzle": "^0.2.2"
617
  }
618
  },
619
+ "node_modules/commander": {
620
+ "version": "4.1.1",
621
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
622
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
623
+ "license": "MIT",
624
+ "engines": {
625
+ "node": ">= 6"
626
+ }
627
+ },
628
+ "node_modules/cross-spawn": {
629
+ "version": "7.0.6",
630
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
631
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
632
+ "license": "MIT",
633
+ "dependencies": {
634
+ "path-key": "^3.1.0",
635
+ "shebang-command": "^2.0.0",
636
+ "which": "^2.0.1"
637
+ },
638
+ "engines": {
639
+ "node": ">= 8"
640
+ }
641
+ },
642
  "node_modules/detect-libc": {
643
  "version": "2.0.3",
644
  "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
 
649
  "node": ">=8"
650
  }
651
  },
652
+ "node_modules/env-cmd": {
653
+ "version": "10.1.0",
654
+ "resolved": "https://registry.npmjs.org/env-cmd/-/env-cmd-10.1.0.tgz",
655
+ "integrity": "sha512-mMdWTT9XKN7yNth/6N6g2GuKuJTsKMDHlQFUDacb/heQRRWOTIZ42t1rMHnQu4jYxU1ajdTeJM+9eEETlqToMA==",
656
+ "license": "MIT",
657
+ "dependencies": {
658
+ "commander": "^4.0.0",
659
+ "cross-spawn": "^7.0.0"
660
+ },
661
+ "bin": {
662
+ "env-cmd": "bin/env-cmd.js"
663
+ },
664
+ "engines": {
665
+ "node": ">=8.0.0"
666
+ }
667
+ },
668
  "node_modules/is-arrayish": {
669
  "version": "0.3.2",
670
  "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
 
672
  "license": "MIT",
673
  "optional": true
674
  },
675
+ "node_modules/isexe": {
676
+ "version": "2.0.0",
677
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
678
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
679
+ "license": "ISC"
680
+ },
681
  "node_modules/nanoid": {
682
  "version": "3.3.8",
683
  "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz",
 
750
  }
751
  }
752
  },
753
+ "node_modules/path-key": {
754
+ "version": "3.1.1",
755
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
756
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
757
+ "license": "MIT",
758
+ "engines": {
759
+ "node": ">=8"
760
+ }
761
+ },
762
  "node_modules/picocolors": {
763
  "version": "1.1.1",
764
  "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
 
873
  "@img/sharp-win32-x64": "0.33.5"
874
  }
875
  },
876
+ "node_modules/shebang-command": {
877
+ "version": "2.0.0",
878
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
879
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
880
+ "license": "MIT",
881
+ "dependencies": {
882
+ "shebang-regex": "^3.0.0"
883
+ },
884
+ "engines": {
885
+ "node": ">=8"
886
+ }
887
+ },
888
+ "node_modules/shebang-regex": {
889
+ "version": "3.0.0",
890
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
891
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
892
+ "license": "MIT",
893
+ "engines": {
894
+ "node": ">=8"
895
+ }
896
+ },
897
  "node_modules/simple-swizzle": {
898
  "version": "0.2.2",
899
  "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
 
949
  "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
950
  "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
951
  "license": "0BSD"
952
+ },
953
+ "node_modules/which": {
954
+ "version": "2.0.2",
955
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
956
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
957
+ "license": "ISC",
958
+ "dependencies": {
959
+ "isexe": "^2.0.0"
960
+ },
961
+ "bin": {
962
+ "node-which": "bin/node-which"
963
+ },
964
+ "engines": {
965
+ "node": ">= 8"
966
+ }
967
  }
968
  }
969
  }
frontend/package.json CHANGED
@@ -3,14 +3,15 @@
3
  "version": "0.1.0",
4
  "private": true,
5
  "scripts": {
6
- "dev": "next dev",
7
- "build": "next build",
8
  "start": "next start",
9
  "lint": "next lint"
10
  },
11
  "dependencies": {
 
 
12
  "react": "^19.0.0",
13
- "react-dom": "^19.0.0",
14
- "next": "15.1.4"
15
  }
16
  }
 
3
  "version": "0.1.0",
4
  "private": true,
5
  "scripts": {
6
+ "dev": "env-cmd -f .env.local next dev",
7
+ "build": "env-cmd -f .env.production next build",
8
  "start": "next start",
9
  "lint": "next lint"
10
  },
11
  "dependencies": {
12
+ "env-cmd": "^10.1.0",
13
+ "next": "15.1.4",
14
  "react": "^19.0.0",
15
+ "react-dom": "^19.0.0"
 
16
  }
17
  }