mirror of
https://github.com/requestly/requestly.git
synced 2025-12-03 18:38:40 +00:00
* Sample extension code for right-click context menu with an option * Engg-4185 Add ContextMenu and Do a console log of cURL text when user clicks on Run cURL Request option * Updated echo statements, Fixed Auth bug and Node Version Requirements * Working end to end curl import flow & opening curl modal * Handle Issues - Autofocus and Modal State with initial curl from contextMenu * Implemented Analytics event when cURL Modal is opened * Moved handleCurlRequest to utils file so it is reusable * Moved App Tab creation logic to tabService * Rename handleCurlRequest method * Standardized node.js version in ReadMe and added engines field in package.json files * Added the console logs back in contextMenu upon extension enabled/disabled * Simplified Tab Creation * Return to repo root after building all the components * Pass only domain instead of url * moved the action to client message --------- Co-authored-by: nafees87n <nafees87n@gmail.com>
42 lines
993 B
Bash
Executable File
42 lines
993 B
Bash
Executable File
# Prerequisites - Node v18.18.0
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
rm -rf node_modules
|
|
npm install
|
|
|
|
echo -e "\n\033[1;37m\033[44m***** Installing and Building @requestly/shared module *****\033[0m"
|
|
cd ./shared
|
|
rm -rf node_modules
|
|
sh ./install.sh
|
|
cd ..
|
|
|
|
echo -e "\n\033[1;37m\033[44m***** Installing React app dependencies *****\033[0m"
|
|
# Install dependencies for react app
|
|
cd app
|
|
rm -rf node_modules
|
|
npm install
|
|
cd ..
|
|
|
|
echo -e "\n\033[1;37m\033[44m***** Installing Browser Extension dependencies *****\033[0m"
|
|
# Install dependencies for browser-extension/config
|
|
cd browser-extension
|
|
bash install.sh
|
|
cd ..
|
|
|
|
echo -e "\n\033[1;37m\033[44m***** Installing rule-processor dependencies *****\033[0m"
|
|
cd common/rule-processor
|
|
rm -rf node_modules
|
|
npm install
|
|
cd ../..
|
|
|
|
echo -e "\n\033[1;37m\033[44m***** Installing analytics-vendors dependencies *****\033[0m"
|
|
cd common/analytics-vendors
|
|
rm -rf node_modules
|
|
npm install
|
|
cd ../..
|
|
|
|
echo -e "\n\033[1;37m\033[44m***** Requestly install complete *****\033[0m"
|