Skip to content

Commit

Permalink
Y2024
Browse files Browse the repository at this point in the history
  • Loading branch information
vprtsingh committed Sep 8, 2024
1 parent bddbb0a commit 2e4c9a8
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
72 changes: 36 additions & 36 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,45 +24,45 @@ fi
GITHUB_USER="mernjs"
REPO_NAME="create-mern-app"

# Step 1: Run the sh-cleanup-projects.sh script to clean up before creating the zip file for projects
echo "Ensuring templates/boilerplates/app/sh-cleanup-projects.sh is executable..."
chmod +x templates/boilerplates/app/sh-cleanup-projects.sh
check_last_command

echo "Running templates/boilerplates/app/sh-cleanup-projects.sh to clean up..."
(cd templates/boilerplates/app && sh sh-cleanup-projects.sh)
check_last_command

# Step 2: Run the sh-zip-projects.sh script to create the zip file for projects
echo "Ensuring templates/boilerplates/app/sh-zip-projects.sh is executable..."
chmod +x templates/boilerplates/app/sh-zip-projects.sh
check_last_command

echo "Running templates/boilerplates/app/sh-zip-projects.sh to create the zip file..."
(cd templates/boilerplates/app && sh sh-zip-projects.sh)
check_last_command

# Step 3: Run the sh-cleanup-projects.sh script to clean up before creating the zip file for libraries
echo "Ensuring templates/boilerplates/library/sh-cleanup-projects.sh is executable..."
chmod +x templates/boilerplates/library/sh-cleanup-projects.sh
check_last_command

echo "Running templates/boilerplates/library/sh-cleanup-projects.sh to clean up..."
(cd templates/boilerplates/library && sh sh-cleanup-projects.sh)
check_last_command

# Step 4: Run the sh-zip-projects.sh script to create the zip file for libraries
echo "Ensuring templates/boilerplates/library/sh-zip-projects.sh is executable..."
chmod +x templates/boilerplates/library/sh-zip-projects.sh
check_last_command

echo "Running templates/boilerplates/library/sh-zip-projects.sh to create the zip file..."
(cd templates/boilerplates/library && sh sh-zip-projects.sh)
check_last_command
# # Step 1: Run the sh-cleanup-projects.sh script to clean up before creating the zip file for projects
# echo "Ensuring src/app/sh-cleanup-projects.sh is executable..."
# chmod +x src/app/sh-cleanup-projects.sh
# check_last_command

# echo "Running src/app/sh-cleanup-projects.sh to clean up..."
# (cd src/app && sh sh-cleanup-projects.sh)
# check_last_command

# # Step 2: Run the sh-zip-projects.sh script to create the zip file for projects
# echo "Ensuring src/app/sh-zip-projects.sh is executable..."
# chmod +x src/app/sh-zip-projects.sh
# check_last_command

# echo "Running src/app/sh-zip-projects.sh to create the zip file..."
# (cd src/app && sh sh-zip-projects.sh)
# check_last_command

# # Step 3: Run the sh-cleanup-projects.sh script to clean up before creating the zip file for libraries
# echo "Ensuring src/library/sh-cleanup-projects.sh is executable..."
# chmod +x src/library/sh-cleanup-projects.sh
# check_last_command

# echo "Running src/library/sh-cleanup-projects.sh to clean up..."
# (cd src/library && sh sh-cleanup-projects.sh)
# check_last_command

# # Step 4: Run the sh-zip-projects.sh script to create the zip file for libraries
# echo "Ensuring src/library/sh-zip-projects.sh is executable..."
# chmod +x src/library/sh-zip-projects.sh
# check_last_command

# echo "Running src/library/sh-zip-projects.sh to create the zip file..."
# (cd src/library && sh sh-zip-projects.sh)
# check_last_command

# Step 5: Navigate to the package directory
echo "Navigating to package directory 'packages/create-mernjs-app'..."
cd packages/create-mernjs-app
cd src/packages/create-mernjs-app
check_last_command

# Confirm package.json exists
Expand Down
2 changes: 1 addition & 1 deletion src/packages/create-mernjs-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-mernjs-app",
"version": "21.0.33",
"version": "21.0.34",
"description": "The MERN App provides a versatile set of boilerplates that streamline the development process for various applications. Whether you're building a web app, mobile app, desktop app, Chrome extension, or an NPM package in JavaScript, our comprehensive templates will help you get started quickly and efficiently.",
"main": "./index.js",
"scripts": {
Expand Down

0 comments on commit 2e4c9a8

Please sign in to comment.