Skip to content

Commit 3a71440

Browse files
authored
September 2025 update (#293)
## Summary It includes dependency cleanups, Firebase Auth integration, Tailwind 4 configuration, and automated release/versioning. --- ## Changes ### Project setup - Updated **`package.json`**: - Moved build-only packages (`tailwindcss`, `postcss`, `eslint`, `typescript`, etc.) into `devDependencies`. - Left only runtime deps (`next`, `react`, `react-dom`, `firebase`) in `dependencies`. - Added `"release": "standard-version"` script for automated version bumps. - Installed and configured **`standard-version`** for semantic versioning and changelog generation. - Added **GitHub Actions workflow** (`.github/workflows/release.yml`) to: - Run `npm run release` automatically on pushes to `main`. - Commit version bump + changelog. - Create Git tags. ### Firebase / Auth - Confirmed Firebase config (`src/firebase/config.ts`) is wired into the project. - Signup and Signin flows (`src/app/signup`, `src/app/signin`) successfully create and authenticate users with Firebase Auth. ### Tailwind / Styling - Updated Tailwind setup to **v4.1** using new `@tailwindcss/postcss` plugin. - Confirmed working PostCSS config (`postcss.config.mjs`) and global styles (`globals.css`).
1 parent f8d4717 commit 3a71440

22 files changed

+6037
-2279
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ A clear and concise description of what the bug is.
1212

1313
**To Reproduce**
1414
Steps to reproduce the behavior:
15+
1516
1. Go to '...'
1617
2. Click on '....'
1718
3. Scroll down to '....'
@@ -24,15 +25,17 @@ A clear and concise description of what you expected to happen.
2425
If applicable, add screenshots to help explain your problem.
2526

2627
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
28+
29+
- OS: [e.g. iOS]
30+
- Browser [e.g. chrome, safari]
31+
- Version [e.g. 22]
3032

3133
**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]
34+
35+
- Device: [e.g. iPhone6]
36+
- OS: [e.g. iOS8.1]
37+
- Browser [e.g. stock browser, safari]
38+
- Version [e.g. 22]
3639

3740
**Additional context**
3841
Add any other context about the problem here.

.github/dependabot.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
version: 2
77
updates:
8-
98
# Maintain dependencies for GitHub Actions
109
- package-ecosystem: "github-actions"
1110
directory: "/"

.github/workflows/automerge.yml

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,20 @@ jobs:
1414
- name: Dependabot metadata
1515
id: dependabot-metadata
1616
uses: dependabot/[email protected]
17-
- name: Squash and merge Dependabot PRs
18-
run: gh pr merge --squash --auto "$PR_URL"
19-
env:
20-
PR_URL: ${{github.event.pull_request.html_url}}
21-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
22-
- name: Approve patch and minor updates
23-
if: ${{steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor'}}
24-
run: gh pr review $PR_URL --approve -b "I'm **approving** this pull request because **it includes a patch or minor update**"
25-
env:
26-
PR_URL: ${{github.event.pull_request.html_url}}
27-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
28-
- name: Approve major updates of development dependencies
29-
if: ${{steps.dependabot-metadata.outputs.update-type == 'version-update:semver-major' && steps.dependabot-metadata.outputs.dependency-type == 'direct:development'}}
30-
run: gh pr review $PR_URL --approve -b "I'm **approving** this pull request because **it includes a major update of a dependency used only in development**"
17+
18+
- name: Approve and auto-merge minor and patch updates
19+
if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor' }}
20+
run: |
21+
gh pr review "$PR_URL" --approve -b "✅ Auto-approved: This pull request includes a **patch** or **minor** update."
22+
gh pr merge "$PR_URL" --squash --auto
3123
env:
32-
PR_URL: ${{github.event.pull_request.html_url}}
33-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
34-
- name: Comment on major updates of non-development dependencies
35-
if: ${{steps.dependabot-metadata.outputs.update-type == 'version-update:semver-major' && steps.dependabot-metadata.outputs.dependency-type == 'direct:production'}}
24+
PR_URL: ${{ github.event.pull_request.html_url }}
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
27+
- name: Require manual review for major updates
28+
if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-major' }}
3629
run: |
37-
gh pr comment $PR_URL --body "I'm **not approving** this PR because **it includes a major update of a dependency used in production**"
38-
gh pr edit $PR_URL --add-label "requires-manual-qa"
30+
gh pr review "$PR_URL" --comment -b "⚠️ This pull request includes a **major update**. Manual approval from a repo admin is required before merging."
3931
env:
40-
PR_URL: ${{github.event.pull_request.html_url}}
41-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
32+
PR_URL: ${{ github.event.pull_request.html_url }}
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/combine-prs.yml

Lines changed: 0 additions & 152 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
release:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: 20
24+
cache: npm
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Run release
30+
run: npm run release
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
34+
- name: Push changes
35+
run: |
36+
git push --follow-tags origin main
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4+
5+
### 0.1.1 (2025-09-08)

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ the community.
116116

117117
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118118
version 2.0, available at
119-
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
119+
<https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
120120

121121
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122122
enforcement ladder](https://github.com/mozilla/diversity).
123123

124124
[homepage]: https://www.contributor-covenant.org
125125

126126
For answers to common questions about this code of conduct, see the FAQ at
127-
https://www.contributor-covenant.org/faq. Translations are available at
128-
https://www.contributor-covenant.org/translations.
127+
<https://www.contributor-covenant.org/faq>. Translations are available at
128+
<https://www.contributor-covenant.org/translations>.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MIT License
1+
# MIT License
22

33
Copyright (c) 2023 Scott Milliorn
44

next.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/** @type {import('next').NextConfig} */
2-
const nextConfig = {}
2+
const nextConfig = {};
33

4-
module.exports = nextConfig
4+
module.exports = nextConfig;

0 commit comments

Comments
 (0)