From 1b954055b10c7d0ed3d36dbc4871c8b7ec93a0ca Mon Sep 17 00:00:00 2001 From: sonali Date: Thu, 22 Aug 2024 13:25:50 +0530 Subject: [PATCH] project init --- package-lock.json | 8 ++++---- setup.bat | 25 ------------------------- setup.sh | 26 -------------------------- 3 files changed, 4 insertions(+), 55 deletions(-) delete mode 100644 setup.bat delete mode 100644 setup.sh diff --git a/package-lock.json b/package-lock.json index ffac950..e421200 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "hbaseapp", - "version": "0.1.0", + "name": "react-placeholder", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "hbaseapp", - "version": "0.1.0", + "name": "react-placeholder", + "version": "1.0.0", "dependencies": { "@emotion/react": "^11.13.0", "@emotion/styled": "^11.13.0", diff --git a/setup.bat b/setup.bat deleted file mode 100644 index 08093fb..0000000 --- a/setup.bat +++ /dev/null @@ -1,25 +0,0 @@ -@echo off - -@REM REM Check if the folder exists, if not, create it -if not exist "./src/utils/api-manager" ( - mkdir "./src/utils/api-manager" -) - -@REM REM Check if the folder exists, if not, create it -if not exist "./src/utils/secure-route" ( - mkdir "./src/utils/secure-route" -) - -if not exist "./src/config" ( - mkdir "./src/config" -) - -@REM REM Clone repo1 -git clone https://git.humbingo.in/Humbingo/api-manager.git "./src/check/api-manager" -git clone https://git.humbingo.in/Humbingo/secure-route.git "./src/check/secure-route" - -copy "src\utils\secure-route\Setup\ComponentRegister.js.back" "./src/config/ComponentRegister.js" -copy "src\utils\secure-route\Setup\Global.js" "./src/config/Global.js" -copy "src\utils\secure-route\Setup\Global.json" "./src/config/Global.json" -npm install -pause diff --git a/setup.sh b/setup.sh deleted file mode 100644 index 5101d5c..0000000 --- a/setup.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -# Check if the folder exists, if not, create it -if [ ! -d "./src/utils/api-manager" ]; then - mkdir -p "./src/utils/api-manager" -fi - -# Check if the folder exists, if not, create it -if [ ! -d "./src/utils/secure-route" ]; then - mkdir -p "./src/utils/secure-route" -fi - -# Check if the folder exists, if not, create it -if [ ! -d "./src/config" ]; then - mkdir -p "./src/config" -fi - -# Clone repo1 -git clone https://git.humbingo.in/Humbingo/api-manager.git "./src/utils/api-manager" -git clone https://git.humbingo.in/Humbingo/secure-route.git "./src/utils/secure-route" - -# Copy files -cp "./src/utils/secure-route/Setup/ComponentRegister.js.back" "./src/config/ComponentRegister.js" -cp "./src/utils/secure-route/Setup/Global.js" "./src/config/Global.js" -cp "./src/utils/secure-route/Setup/Global.json" "./src/config/Global.json" -npm install \ No newline at end of file