@shakil-dev/shakil-stack 1.5.3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yml +3 -18
- package/README.md +6 -0
- package/package.json +2 -2
|
@@ -2,8 +2,8 @@ name: Publish to NPM
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
|
|
6
|
-
-
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*' # Trigger only on tags starting with v (e.g., v2.0.0)
|
|
7
7
|
|
|
8
8
|
permissions:
|
|
9
9
|
contents: write
|
|
@@ -15,7 +15,7 @@ jobs:
|
|
|
15
15
|
- name: Checkout Code
|
|
16
16
|
uses: actions/checkout@v4
|
|
17
17
|
with:
|
|
18
|
-
fetch-depth: 0
|
|
18
|
+
fetch-depth: 0
|
|
19
19
|
|
|
20
20
|
- name: Setup Node.js
|
|
21
21
|
uses: actions/setup-node@v4
|
|
@@ -26,22 +26,7 @@ jobs:
|
|
|
26
26
|
- name: Install Dependencies
|
|
27
27
|
run: npm ci
|
|
28
28
|
|
|
29
|
-
- name: Debug Git Status
|
|
30
|
-
run: git status
|
|
31
|
-
|
|
32
|
-
- name: Set Git Identity
|
|
33
|
-
run: |
|
|
34
|
-
git config --global user.name "github-actions[bot]"
|
|
35
|
-
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
|
36
|
-
git add . # Ensure any changes like package-lock.json are staged
|
|
37
|
-
|
|
38
|
-
- name: Bump Version
|
|
39
|
-
run: npm version patch
|
|
40
|
-
|
|
41
29
|
- name: Publish to NPM
|
|
42
30
|
run: npm publish --access public
|
|
43
31
|
env:
|
|
44
32
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
45
|
-
|
|
46
|
-
- name: Push Version Change to GitHub
|
|
47
|
-
run: git push origin main --tags
|
package/README.md
CHANGED
|
@@ -29,6 +29,12 @@
|
|
|
29
29
|
|
|
30
30
|
---
|
|
31
31
|
|
|
32
|
+
## 📖 Documentation & Guides
|
|
33
|
+
Check out our detailed guide for a thorough walkthrough of building with Shakil-Stack:
|
|
34
|
+
👉 [**Shakil-Stack CLI Mastering Guide**](https://xhakil.vercel.app/blog/shakil-stack-cli-guide)
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
32
38
|
## 🚀 Commands Guide
|
|
33
39
|
|
|
34
40
|
### 1. Initialize a New Project
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shakil-dev/shakil-stack",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Full-stack EchoNet-style project generator CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shakil-stack",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"bugs": {
|
|
26
26
|
"url": "https://github.com/shakil-ahmed-billal/shakil-stack-cli/issues"
|
|
27
27
|
},
|
|
28
|
-
"homepage": "https://
|
|
28
|
+
"homepage": "https://xhakil.vercel.app/blog/shakil-stack-cli-guide",
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|