Skip to content

Commit 0dd976c

Browse files
committed
2025-11-24 [2]
0 parents  commit 0dd976c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+16829
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/assets/banner.svg

Lines changed: 12 additions & 0 deletions
Loading

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
check:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: 20
17+
18+
- run: npm ci
19+
20+
- run: npm run build --if-present
21+
22+
- run: npx tsc --noEmit || true

.github/workflows/publish.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: 🚀 Publish Template to npm
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "package.json"
8+
- "src/**"
9+
- "App.tsx"
10+
11+
jobs:
12+
publish:
13+
name: Publish to npm
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Setup Node
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 18
23+
registry-url: https://registry.npmjs.org/
24+
25+
- name: Install dependencies
26+
run: npm ci
27+
28+
- name: Auto bump version
29+
if: "! contains(github.event.head_commit.message, '[skip publish]')"
30+
run: |
31+
npm version patch --no-git-tag-version
32+
git add package.json
33+
git commit -m "ci: auto bump patch version [skip ci]" || echo "No version bump needed"
34+
git push || echo "No changes to push"
35+
36+
- name: Publish to npm
37+
if: "! contains(github.event.head_commit.message, '[skip publish]')"
38+
env:
39+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
40+
run: |
41+
echo "📦 Attempting to publish..."
42+
npm publish --access public || {
43+
echo "⚠️ Publish failed — skipping gracefully (likely 24h lock or duplicate version)."
44+
exit 0
45+
}
46+
47+
- name: Done
48+
run: echo "✔ Workflow completed"

.gitignore

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
2+
3+
# dependencies
4+
node_modules/
5+
6+
# Expo
7+
.expo/
8+
dist/
9+
web-build/
10+
expo-env.d.ts
11+
12+
# Native
13+
.kotlin/
14+
*.orig.*
15+
*.jks
16+
*.p8
17+
*.p12
18+
*.key
19+
*.mobileprovision
20+
21+
# Metro
22+
.metro-health-check*
23+
24+
# debug
25+
npm-debug.*
26+
yarn-debug.*
27+
yarn-error.*
28+
29+
# macOS
30+
.DS_Store
31+
*.pem
32+
33+
# local env files
34+
.env*.local
35+
36+
# typescript
37+
*.tsbuildinfo
38+
39+
# generated native folders
40+
/ios
41+
/android
42+
43+
#editor
44+
.vscode/

.npmignore

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# node dependencies
2+
node_modules/
3+
4+
# expo files & build caches
5+
.expo/
6+
.expo-shared/
7+
dist/
8+
web-build/
9+
10+
# platform-specific secrets & signing
11+
*.jks
12+
*.p8
13+
*.p12
14+
*.key
15+
*.mobileprovision
16+
*.pem
17+
18+
# debug logs
19+
npm-debug.*
20+
yarn-debug.*
21+
yarn-error.*
22+
23+
# OS files
24+
.DS_Store
25+
26+
# local env files
27+
.env*
28+
!.env.example
29+
30+
# typescript build
31+
*.tsbuildinfo
32+
33+
# generated native folders for managed workflow
34+
/ios
35+
/android
36+
37+
# editors
38+
.vscode/
39+
.idea/
40+
41+
# CI files (optional)
42+
.github/
43+
44+
# do NOT publish your dev template script
45+
scripts/setup.js

App.tsx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/**@format
2+
* @coderooz
3+
* @author (Ranit Saha) <codeooz.dev@gmail.com>
4+
* @filePath App.tsx
5+
* @lastModified 2025-11-24
6+
* @version @1.0.5 - Integration of Notifactions system.
7+
*/
8+
9+
import * as Notifications from "expo-notifications";
10+
import AppProvider from '@/context/AppProvider';
11+
// import AppNavigationContainer from '@/navigation/AppNavigation';
12+
import OnBoardingContainer from '@/navigation/OnBoardingNavigation';
13+
import { useEffect } from "react";
14+
15+
export default function App() {
16+
17+
useEffect(() => {
18+
(async () => {
19+
const { status } = await Notifications.requestPermissionsAsync();
20+
if (status !== "granted") return;
21+
22+
const token = await Notifications.getExpoPushTokenAsync();
23+
console.log("Expo Push Token:", token.data);
24+
})();
25+
}, []);
26+
27+
return (
28+
<AppProvider>
29+
<OnBoardingContainer />
30+
</AppProvider>
31+
);
32+
}

0 commit comments

Comments
 (0)