Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update readme.md usage pic #3

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Publish package to NPM
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- '*-beta.*' # ex : v1.0.0-beta.1
- '[0-9]+.[0-9]+.[0-9]+' # ex : 1.0.0
- '*-beta.*' # ex : 1.0.0-beta.1

permissions:
contents: write
Expand Down
5 changes: 0 additions & 5 deletions .npmignore

This file was deleted.

6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

All notable changes to this project will be documented in this file.

## [Unreleased]
## [3.1.1] - 2025-02-02

- Nothing yet.
- [Updated] Update README.md file for better documentation.
- [Updated] Update package.json file.
- [Updated] Remove .npmignore file.

## [3.1.0] - 2025-01-15

Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@

```bash
npx gen-express-cli@latest <project-name>
```

```bash
cd <project-name>
```

```bash
npm run dev # for development
npm run start # for production
npm run build # for typescript build
Expand All @@ -48,7 +52,7 @@ docker build -t <image-name> .

## 📖 Usage

<!-- ![Usage](/docs/usage.png) -->
![Usage](/docs/usage.png)

```bash
npx gen-express-cli --help
Expand Down
Binary file modified docs/usage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 28 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,27 @@
{
"name": "gen-express-cli",
"version": "v3.1.0",
"description": "A simple express cli to generate express app simply by running a command",
"version": "3.1.1",
"description": "A simple express cli to generate express app simply by running a command, similar to express-generator",
"main": "index.js",
"author": "RulerChen",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/RulerChen/gen-express-cli.git"
},
"homepage": "https://github.com/RulerChen/gen-express-cli#readme",
"bugs": {
"url": "https://github.com/RulerChen/gen-express-cli"
"url": "https://github.com/RulerChen/gen-express-cli/issues"
},
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"start": "node index.js"
"start": "node ./src/index.js"
},
"keywords": [
"gen-express-cli",
"node",
"express",
"cli",
"backend",
"express-generator"
],
"author": "RulerChen",
"license": "MIT",
"bin": {
"gen-express-cli": "index.js"
"gen-express-cli": "src/index.js"
},
"dependencies": {
"chalk": "^5.3.0",
Expand All @@ -37,5 +30,24 @@
"gradient-string": "^2.0.2",
"inquirer": "^9.2.13",
"nanospinner": "^1.1.0"
}
},
"files": [
"src/",
"docs/",
"package.json",
"LICENSE",
"README.md"
],
"keywords": [
"node",
"node.js",
"express",
"express.js",
"express.js cli",
"express-generator",
"gen-express-cli",
"create-express-app",
"cli",
"backend"
]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.