nuxt-telegram-mini-app 0.0.3 → 0.0.5

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.
@@ -0,0 +1,63 @@
1
+ name: Deploy to GitHub Pages
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
+
9
+ permissions:
10
+ contents: read
11
+ pages: write
12
+ id-token: write
13
+
14
+ concurrency:
15
+ group: pages
16
+ cancel-in-progress: false
17
+
18
+ jobs:
19
+ build:
20
+ runs-on: ubuntu-latest
21
+ env:
22
+ BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
23
+
24
+ steps:
25
+ - name: Checkout
26
+ uses: actions/checkout@v4
27
+
28
+ - name: Setup Node
29
+ uses: actions/setup-node@v4
30
+ with:
31
+ node-version: 22
32
+ cache: npm
33
+
34
+ - name: Setup Pages
35
+ uses: actions/configure-pages@v5
36
+
37
+ - name: Install dependencies
38
+ run: npm ci
39
+
40
+ - name: Run tests
41
+ run: npm test
42
+
43
+ - name: Generate static site
44
+ run: npm run generate
45
+ env:
46
+ NUXT_APP_BASE_URL: /nuxt-telegram-mini-app/
47
+
48
+ - name: Upload artifact
49
+ uses: actions/upload-pages-artifact@v3
50
+ with:
51
+ path: ./.output/public
52
+
53
+ deploy:
54
+ environment:
55
+ name: github-pages
56
+ url: ${{ steps.deployment.outputs.page_url }}
57
+ runs-on: ubuntu-latest
58
+ needs: build
59
+
60
+ steps:
61
+ - name: Deploy to GitHub Pages
62
+ id: deployment
63
+ uses: actions/deploy-pages@v4
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 24
package/README.md CHANGED
@@ -9,6 +9,8 @@ A comprehensive template for building Telegram Mini Apps using Nuxt 4, Vue 3, Ty
9
9
  ![Tailwind](https://img.shields.io/badge/Tailwind-3.x-38B2AC)
10
10
  ![Telegram API](https://img.shields.io/badge/Telegram%20API-6.2-26A5E4)
11
11
 
12
+ <img height="600" alt="Localhost" src="https://github.com/user-attachments/assets/2bbf6549-25db-42d5-b380-fc4f20884538" />
13
+
12
14
  ## ✨ Features
13
15
 
14
16
  ### 🎯 Core Features
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-telegram-mini-app",
3
3
  "description": "Structure and configurations for building a Telegram Mini App using Nuxt and TailWind, hosted on Netlify.",
4
- "version": "0.0.3",
4
+ "version": "0.0.5",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "nuxt build",
@@ -26,12 +26,12 @@
26
26
  "@nuxt/icon": "^2.2.3",
27
27
  "eslint": "^10.4.1",
28
28
  "nuxt": "^4.4.8",
29
- "vue": "^3.5.35",
29
+ "vue": "^3.5.38",
30
30
  "vue-router": "^5.1.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@nuxtjs/tailwindcss": "^6.14.0",
34
- "@types/node": "^25.9.2",
34
+ "@types/node": "^25.9.3",
35
35
  "@vitest/coverage-v8": "^4.1.8",
36
36
  "@vue/test-utils": "^2.4.11",
37
37
  "happy-dom": "^20.10.2",
@@ -43,4 +43,4 @@
43
43
  "access": "public",
44
44
  "registry": "https://registry.npmjs.org"
45
45
  }
46
- }
46
+ }