Skip to content

Commit 6893bda

Browse files
committed
chore: bump version to 1.0.10 - latest release with fixed GitHub workflows
1 parent 049da40 commit 6893bda

4 files changed

Lines changed: 138 additions & 81 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,6 @@ jobs:
9999
env:
100100
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
101101

102-
- name: Create and push Git tag
103-
if: steps.version-check.outputs.should_publish == 'true'
104-
run: |
105-
git tag "v${{ steps.version-check.outputs.version }}"
106-
git push origin "v${{ steps.version-check.outputs.version }}"
107-
108102
- name: Create GitHub Release
109103
if: steps.version-check.outputs.should_publish == 'true'
110104
uses: softprops/action-gh-release@v2
@@ -123,8 +117,14 @@ jobs:
123117
- [NPM Package](https://www.npmjs.com/package/create-js-stack)
124118
- [Documentation](https://github.com/${{ github.repository }})
125119
- [Web Dashboard](https://js-stack.pages.dev)
120+
121+
### 📋 What's New
122+
- Bug fixes and improvements
123+
- Updated dependencies
124+
- Enhanced CLI experience
126125
draft: false
127126
prerelease: false
127+
generate_release_notes: true
128128
env:
129129
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
130130

.github/workflows/release.yml

Lines changed: 54 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
1-
name: Release
1+
name: Manual Release
22

33
on:
4-
push:
5-
tags:
6-
- 'v*.*.*'
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Version to release (e.g., 1.0.10)'
8+
required: true
9+
type: string
10+
release_type:
11+
description: 'Type of release'
12+
required: true
13+
default: 'patch'
14+
type: choice
15+
options:
16+
- patch
17+
- minor
18+
- major
719

820
jobs:
921
release:
@@ -17,6 +29,7 @@ jobs:
1729
uses: actions/checkout@v4
1830
with:
1931
fetch-depth: 0
32+
token: ${{ secrets.GITHUB_TOKEN }}
2033

2134
- name: Set up Node.js
2235
uses: actions/setup-node@v4
@@ -27,28 +40,57 @@ jobs:
2740
- name: Install dependencies
2841
run: npm ci
2942

30-
- name: Extract version from tag
31-
id: version
32-
run: echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
43+
- name: Configure Git
44+
run: |
45+
git config --local user.email "[email protected]"
46+
git config --local user.name "GitHub Action"
3347
34-
- name: Create Release
48+
- name: Update version in package.json
49+
run: |
50+
npm version ${{ github.event.inputs.release_type }} --no-git-tag-version
51+
VERSION=$(node -p "require('./package.json').version")
52+
echo "VERSION=$VERSION" >> $GITHUB_ENV
53+
54+
- name: Build CLI
55+
run: npm run build:cli
56+
57+
- name: Publish to NPM
58+
run: npm publish --access public
59+
env:
60+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
61+
62+
- name: Create Git tag and push
63+
run: |
64+
git add package.json package-lock.json
65+
git commit -m "chore: bump version to v${{ env.VERSION }}"
66+
git tag "v${{ env.VERSION }}"
67+
git push origin main
68+
git push origin "v${{ env.VERSION }}"
69+
70+
- name: Create GitHub Release
3571
uses: softprops/action-gh-release@v2
3672
with:
37-
tag_name: ${{ steps.version.outputs.version }}
38-
name: Release ${{ steps.version.outputs.version }}
73+
tag_name: v${{ env.VERSION }}
74+
name: Release v${{ env.VERSION }}
3975
body: |
40-
## 🎉 Release ${{ steps.version.outputs.version }}
76+
## 🎉 Release v${{ env.VERSION }}
4177
4278
### 📦 Installation
4379
```bash
44-
npm install -g create-js-stack@${{ steps.version.outputs.version }}
80+
npm install -g create-js-stack@${{ env.VERSION }}
4581
```
4682
4783
### 🔗 Links
4884
- [NPM Package](https://www.npmjs.com/package/create-js-stack)
4985
- [Documentation](https://github.com/${{ github.repository }})
5086
- [Web Dashboard](https://js-stack.pages.dev)
87+
88+
### 📋 What's New
89+
- Bug fixes and improvements
90+
- Updated dependencies
91+
- Enhanced CLI experience
5192
draft: false
5293
prerelease: false
94+
generate_release_notes: true
5395
env:
5496
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 77 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
A powerful, modern CLI tool for scaffolding production-ready JavaScript full-stack projects with extensive customization options and best practices built-in.
44

5+
## 📊 Feature Status
6+
7+
-**Available** - Feature is fully implemented and ready to use
8+
- 🚧 **Coming Soon** - Feature is planned and in development
9+
510
## ✨ Features
611

712
### 🚀 **Lightning Fast Setup**
@@ -13,71 +18,77 @@ A powerful, modern CLI tool for scaffolding production-ready JavaScript full-sta
1318

1419
### 🎨 **Frontend Frameworks**
1520

16-
- **React** - With Vite, TypeScript, and modern tooling
17-
- **Vue.js** - Vue 3 with Composition API and Vite
18-
- **Angular** - Latest Angular with CLI integration
19-
- **Svelte** - SvelteKit with optimized builds
20-
- **Next.js** - Full-stack React framework
21-
- **Nuxt** - Vue.js full-stack framework
22-
- **React Native** - Mobile app development
21+
- **React** - With Vite, TypeScript, and modern tooling
22+
- **Vue.js** - Vue 3 with Composition API and Vite
23+
- **Angular** - Latest Angular with CLI integration
24+
- **Svelte** - SvelteKit with optimized builds
25+
- **Next.js** - Full-stack React framework
26+
- **Nuxt** - Vue.js full-stack framework
27+
- **React Native** - Mobile app development
2328

2429
### ⚙️ **Backend Frameworks**
2530

26-
- **Express.js** - Fast, minimalist web framework
27-
- **Fastify** - High-performance, low-overhead framework
28-
- **Koa.js** - Lightweight, expressive middleware framework
29-
- **Hapi.js** - Rich ecosystem with built-in validation
30-
- **NestJS** - Scalable Node.js framework with TypeScript
31+
- **Express.js** - Fast, minimalist web framework
32+
- **Fastify** - High-performance, low-overhead framework
33+
- **Koa.js** - Lightweight, expressive middleware framework
34+
- **Hapi.js** - Rich ecosystem with built-in validation
35+
- **NestJS** - Scalable Node.js framework with TypeScript
3136

3237
### 🗄️ **Database & Storage**
3338

34-
- **SQLite** - Lightweight, serverless database
35-
- **PostgreSQL** - Advanced open-source database
36-
- **MySQL** - Popular relational database
37-
- **MongoDB** - NoSQL document database
39+
-**SQLite** - Lightweight, serverless database
40+
-**PostgreSQL** - Advanced open-source database
41+
-**MySQL** - Popular relational database
42+
-**MongoDB** - NoSQL document database
43+
- 🚧 **Supabase** - Open source Firebase alternative (Coming Soon)
44+
- 🚧 **PlanetScale** - Serverless MySQL platform (Coming Soon)
3845

3946
### 🔧 **ORM/ODM Integration**
4047

41-
- **Prisma** - Next-generation ORM with type safety
42-
- **Sequelize** - Feature-rich ORM for SQL databases
43-
- **Mongoose** - Elegant MongoDB object modeling
44-
- **TypeORM** - Advanced ORM with decorator support
48+
- **Prisma** - Next-generation ORM with type safety
49+
- **Sequelize** - Feature-rich ORM for SQL databases
50+
- **Mongoose** - Elegant MongoDB object modeling
51+
- **TypeORM** - Advanced ORM with decorator support
4552

4653
### 🔐 **Authentication & Security**
4754

48-
- **JWT** - JSON Web Token implementation
49-
- **Passport** - Flexible authentication middleware
50-
- **Auth0** - Identity platform integration
51-
- **Firebase Auth** - Google's authentication service
52-
- Security middleware (Helmet, CORS, Rate limiting)
55+
-**JWT** - JSON Web Token implementation
56+
-**Passport** - Flexible authentication middleware
57+
-**Auth0** - Identity platform integration
58+
- 🚧 **Firebase Auth** - Google's authentication service (Coming Soon)
59+
- 🚧 **Clerk** - Modern authentication platform (Coming Soon)
60+
- 🚧 **Lucia** - Lightweight authentication library (Coming Soon)
61+
- 🚧 **Supabase Auth** - Open source auth solution (Coming Soon)
62+
-**Security middleware** - Helmet, CORS, Rate limiting
5363

5464
### 🛠️ **Development & DevOps**
5565

56-
- **TypeScript** - Full TypeScript support across all templates
57-
- **Docker** - Complete containerization with Docker Compose
58-
- **Testing** - Jest, Vitest, Cypress configurations
59-
- **Linting** - ESLint with framework-specific rules
60-
- **Formatting** - Prettier with consistent configurations
61-
- **Git Hooks** - Husky for pre-commit validation
62-
- **CI/CD** - GitHub Actions workflows
66+
-**TypeScript** - Full TypeScript support across all templates
67+
-**Docker** - Complete containerization with Docker Compose
68+
-**Testing** - Jest, Vitest configurations
69+
- 🚧 **Cypress** - E2E testing framework (Coming Soon)
70+
-**Linting** - ESLint with framework-specific rules
71+
-**Formatting** - Prettier with consistent configurations
72+
-**Git Hooks** - Husky for pre-commit validation
73+
-**CI/CD** - GitHub Actions workflows
6374

6475
### 📦 **Package Managers**
6576

66-
- **npm** - Node.js default package manager
67-
- **yarn** - Fast, reliable dependency management
68-
- **pnpm** - Efficient disk space usage
69-
- **bun** - All-in-one JavaScript runtime
77+
- **npm** - Node.js default package manager
78+
- **yarn** - Fast, reliable dependency management
79+
- **pnpm** - Efficient disk space usage
80+
- **bun** - All-in-one JavaScript runtime
7081

7182
### 🎯 **Additional Features**
7283

73-
- **Redis** - Caching and session storage
74-
- **Socket.IO** - Real-time communication
75-
- **Tailwind CSS** - Utility-first CSS framework
76-
- **Material UI** - React component library
77-
- **Bootstrap** - Popular CSS framework
78-
- **Environment Management** - Complete .env configuration
79-
- **API Documentation** - Auto-generated Swagger/OpenAPI docs
80-
- **Hot Reload** - Development with instant updates
84+
- **Redis** - Caching and session storage
85+
- **Socket.IO** - Real-time communication
86+
- **Tailwind CSS** - Utility-first CSS framework
87+
- 🚧 **Material UI** - React component library (Coming Soon)
88+
- 🚧 **Bootstrap** - Popular CSS framework (Coming Soon)
89+
- **Environment Management** - Complete .env configuration
90+
- 🚧 **API Documentation** - Auto-generated Swagger/OpenAPI docs (Coming Soon)
91+
- **Hot Reload** - Development with instant updates
8192

8293
## 🚀 Quick Start
8394

@@ -195,24 +206,28 @@ Create a new full-stack project with all configurations.
195206
- `typeorm` - TypeORM
196207
- `none` - No ORM
197208
- `--auth <type>` - Authentication
198-
- `jwt` - JSON Web Tokens
199-
- `passport` - Passport.js
200-
- `auth0` - Auth0 integration
201-
- `firebase` - Firebase Auth
209+
- `jwt` - JSON Web Tokens ✅
210+
- `passport` - Passport.js ✅
211+
- `auth0` - Auth0 integration ✅
212+
- `firebase` - Firebase Auth 🚧 (Coming Soon)
213+
- `clerk` - Clerk Auth 🚧 (Coming Soon)
214+
- `lucia` - Lucia Auth 🚧 (Coming Soon)
202215
- `none` - No authentication (default)
203216
- `--addons <addons...>` - Additional tools
204-
- `typescript` - TypeScript support
205-
- `eslint` - ESLint linting
206-
- `prettier` - Code formatting
207-
- `husky` - Git hooks
208-
- `docker` - Docker containerization
209-
- `github-actions` - CI/CD workflows
210-
- `testing` - Testing frameworks
211-
- `tailwind` - Tailwind CSS
212-
- `material` - Material UI (React/Angular)
213-
- `bootstrap` - Bootstrap CSS
214-
- `redis` - Redis caching
215-
- `socketio` - Socket.IO real-time
217+
- `typescript` - TypeScript support ✅
218+
- `eslint` - ESLint linting ✅
219+
- `prettier` - Code formatting ✅
220+
- `husky` - Git hooks ✅
221+
- `docker` - Docker containerization ✅
222+
- `github-actions` - CI/CD workflows ✅
223+
- `testing` - Testing frameworks ✅
224+
- `tailwind` - Tailwind CSS ✅
225+
- `material` - Material UI (React/Angular) 🚧 (Coming Soon)
226+
- `bootstrap` - Bootstrap CSS 🚧 (Coming Soon)
227+
- `redis` - Redis caching ✅
228+
- `socketio` - Socket.IO real-time ✅
229+
- `cypress` - E2E testing 🚧 (Coming Soon)
230+
- `swagger` - API documentation 🚧 (Coming Soon)
216231
- `--pm <manager>` - Package manager
217232
- `npm` - npm (default)
218233
- `yarn` - Yarn
@@ -698,8 +713,8 @@ If this project helped you, please consider:
698713

699714
<div align="center">
700715

701-
**Built with ❤️ by the Vipin Yadav**
716+
**Built with ❤️ by [Vipin Yadav](https://vipinyadav01.vercel.app)**
702717

703-
[Website](https://js-stack.https://js-stack.pages.dev)[Documentation](https://create-js-stack.com/docs)[Examples](https://github.com/create-js-stack/examples)[Community](https://discord.gg/js-stack)
718+
[Website](https://js-stack.https://js-stack.pages.dev)[Documentation](https://js-stack.pages.dev/docs)[Examples](https://github.com/js-stack/examples)[Community](https://discord.gg/js-stack)
704719

705720
</div>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-js-stack",
3-
"version": "1.0.9",
3+
"version": "1.0.10",
44
"description": "A modern CLI tool for scaffolding JavaScript full-stack projects",
55
"type": "module",
66
"packageManager": "[email protected]",

0 commit comments

Comments
 (0)