@@ -126,22 +126,22 @@ if [ ! -d ".github/workflows" ]; then
126126fi
127127echo "${GREEN}${CHECK} OK${NC}"
128128
129- printf " ${ARROW} Checking for gulpfile.js ... "
130- if [ ! -f "gulpfile.js " ]; then
129+ printf " ${ARROW} Checking for parcel in package.json ... "
130+ if [ -f "package.json " ] && ! npm list parcel >/dev/null 2>&1 ; then
131131 echo "${RED}${CROSS} FAILED${NC}"
132- echo " ${RED}gulpfile.js is missing from root directory${NC}"
133- echo " ${YELLOW}Please ensure Gulp is properly set up${NC}"
132+ echo " ${RED}Parcel is not installed${NC}"
133+ echo " ${YELLOW}Please install Parcel:${NC}"
134+ echo " ${BLUE}nvm use${NC}"
135+ echo " ${BLUE}npm install parcel --save-dev${NC}"
134136 exit 1
135137fi
136138echo "${GREEN}${CHECK} OK${NC}"
137139
138- printf " ${ARROW} Checking for gulp in package.json ... "
139- if [ -f "package.json " ] && ! npm list gulp >/dev/null 2>&1 ; then
140+ printf " ${ARROW} Checking for parcel config files ... "
141+ if [ ! -f ".parcelrc " ] && [ ! -f ".parcelrc.watch" ] ; then
140142 echo "${RED}${CROSS} FAILED${NC}"
141- echo " ${RED}Gulp is not installed${NC}"
142- echo " ${YELLOW}Please install Gulp:${NC}"
143- echo " ${BLUE}nvm use${NC}"
144- echo " ${BLUE}npm install gulp --save-dev${NC}"
143+ echo " ${RED}Parcel configuration files are missing${NC}"
144+ echo " ${YELLOW}Please ensure Parcel is properly configured${NC}"
145145 exit 1
146146fi
147147echo "${GREEN}${CHECK} OK${NC}"
0 commit comments