Skip to content

Commit c7bedc3

Browse files
committed
rename version-update to version-up
1 parent 76371ce commit c7bedc3

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ run:
3333
@pnpm start
3434

3535
# Update version
36-
version-update:
36+
version-up:
3737
@echo "Updating version..."
38-
@pnpm version-update
38+
@pnpm version-up
3939

4040
# Run pre-commit checks
4141
pre:
@@ -50,9 +50,9 @@ help:
5050
@echo " build-prod - Build for production (includes minification)"
5151
@echo " dev - Start development server"
5252
@echo " run - Run the application"
53-
@echo " version-update - Update version"
53+
@echo " version-up - Update version"
5454
@echo " pre - Run pre-commit checks"
5555
@echo " help - Show this help message"
5656

5757
# Declare phony targets
58-
.PHONY: all rmdist build build-prod dev run version-update pre help
58+
.PHONY: all rmdist build build-prod dev run version-up pre help

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Run these commands with `make <command>`:
9191
- `make build-prod`: Builds the project for production (includes minification).
9292
- `make dev`: Starts the development server.
9393
- `make run`: Runs the compiled application.
94-
- `make version-update`: Updates the project version.
94+
- `make version-up`: Updates the project version.
9595
- `make pre`: Runs pre-commit checks.
9696

9797
#### Git Tag Management
@@ -113,7 +113,7 @@ The project includes additional commands for managing Git tags:
113113
- `start`: Runs the compiled application
114114
- `lint`: Lints the codebase
115115
- `format`: Formats the codebase
116-
- `version-update`: Updates the project version
116+
- `version-up`: Updates the project version
117117
- `pre-commit`: Runs linting and formatting before commit
118118

119119
## Version Management

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-node-starter",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A comprehensive TypeScript Node.js starter project with essential tools and configurations",
55
"main": "dist/main.js",
66
"scripts": {
@@ -14,7 +14,7 @@
1414
"start": "node -r source-map-support/register -r module-alias/register dist/app/main.js",
1515
"lint": "eslint . --ext .ts",
1616
"format": "prettier --write \"src/**/*.ts\"",
17-
"version-update": "node scripts/version.js",
17+
"version-up": "node scripts/version.js",
1818
"pre-commit": "npm run format && npm run lint"
1919
},
2020
"keywords": [

0 commit comments

Comments
 (0)