Skip to content

Commit fa83d9f

Browse files
committed
Merge branch 'main' into 163-github-login
2 parents 1c721a0 + 7056684 commit fa83d9f

Some content is hidden

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

54 files changed

+4897
-6373
lines changed

.commitlintrc.js

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
// .commitlintrc.js
2+
/** @type {import('cz-git').UserConfig} */
3+
module.exports = {
4+
rules: {
5+
// @see: https://commitlint.js.org/#/reference-rules
6+
},
7+
prompt: {
8+
alias: { fd: "docs: fix typos" },
9+
messages: {
10+
type: "Select the type of change that you're committing:",
11+
scope: "Denote the SCOPE of this change (optional):",
12+
customScope: "Denote the SCOPE of this change:",
13+
subject: "Write a SHORT, IMPERATIVE tense description of the change:\n",
14+
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
15+
breaking: 'List any BREAKING CHANGES (optional). Use "|" to break new line:\n',
16+
footerPrefixesSelect: "Select the ISSUES type of changeList by this change (optional):",
17+
customFooterPrefix: "Input ISSUES prefix:",
18+
footer: "List any ISSUES by this change. E.g.: #31, #34:\n",
19+
generatingByAI: 'Generating your AI commit subject...',
20+
generatedSelectByAI: 'Select suitable subject by AI generated:',
21+
confirmCommit: "Are you sure you want to proceed with the commit above?"
22+
},
23+
types: [
24+
{ value: "feat", name: "feat: ✨ A new feature", emoji: ":sparkles:" },
25+
{ value: "fix", name: "fix: 🐛 A bug fix", emoji: ":bug:" },
26+
{ value: "docs", name: "docs: 📝 Documentation only changes", emoji: ":memo:" },
27+
{ value: "style", name: "style: 💄 Changes that do not affect the meaning of the code", emoji: ":lipstick:" },
28+
{ value: "refactor", name: "refactor: ♻️ A code change that neither fixes a bug nor adds a feature", emoji: ":recycle:" },
29+
{ value: "perf", name: "perf: ⚡️ A code change that improves performance", emoji: ":zap:" },
30+
{ value: "test", name: "test: ✅ Adding missing tests or correcting existing tests", emoji: ":white_check_mark:" },
31+
{ value: "build", name: "build: 📦️ Changes that affect the build system or external dependencies", emoji: ":package:" },
32+
{ value: "ci", name: "ci: 🎡 Changes to our CI configuration files and scripts", emoji: ":ferris_wheel:" },
33+
{ value: "chore", name: "chore: 🔨 Other changes that don't modify src or test files", emoji: ":hammer:" },
34+
{ value: "revert", name: "revert: ⏪️ Reverts a previous commit", emoji: ":rewind:" }
35+
],
36+
useEmoji: false,
37+
emojiAlign: "center",
38+
useAI: false,
39+
aiNumber: 1,
40+
themeColorCode: "",
41+
scopes: [],
42+
allowCustomScopes: true,
43+
allowEmptyScopes: true,
44+
customScopesAlign: "bottom",
45+
customScopesAlias: "custom",
46+
emptyScopesAlias: "empty",
47+
upperCaseSubject: false,
48+
markBreakingChangeMode: false,
49+
allowBreakingChanges: ['feat', 'fix'],
50+
breaklineNumber: 100,
51+
breaklineChar: "|",
52+
skipQuestions: [],
53+
issuePrefixes: [{ value: "closed", name: "closed: ISSUES has been processed" }],
54+
customIssuePrefixAlign: "top",
55+
emptyIssuePrefixAlias: "skip",
56+
customIssuePrefixAlias: "custom",
57+
allowCustomIssuePrefix: true,
58+
allowEmptyIssuePrefix: true,
59+
confirmColorize: true,
60+
scopeOverrides: undefined,
61+
defaultBody: "",
62+
defaultIssues: "",
63+
defaultScope: "",
64+
defaultSubject: ""
65+
}
66+
};

.github/workflows/featured_issues.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Fetch Featured Issues
2+
3+
on:
4+
issues:
5+
types: [opened, labeled]
6+
label:
7+
types: [created, edited, deleted]
8+
9+
jobs:
10+
fetch-issues:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Fetch Featured Issues
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
run: |
20+
# Fetch all open issues labeled as "featured"
21+
issues=$(gh issue list --limit 1000 --state all --label "featured" --json number,title,url,author,assignees,createdAt,state,comments)
22+
23+
# Save the issues to a featured-issues.json
24+
echo "$issues" | jq 'map({number, title, url, author, assignees, createdAt, state, comments_count: .comments | length})' > packages/frontendmu-data/data/featured-issues.json
25+
echo "export default " > packages/frontendmu-data/data/featured-issues.ts
26+
cat packages/frontendmu-data/data/featured-issues.json | jq '.' >> packages/frontendmu-data/data/featured-issues.ts
27+
sed -i '$d' packages/frontendmu-data/data/featured-issues.ts
28+
echo "] as const" >> packages/frontendmu-data/data/featured-issues.ts
29+
30+
# Check if there are any changes
31+
if [ -n "$(git status --porcelain packages/frontendmu-data/data/featured-issues.json)" ]; then
32+
# Commit and push changes if the file has been modified
33+
git config --local user.email "action@github.com"
34+
git config --local user.name "GitHub Action"
35+
git add packages/frontendmu-data/data/featured-issues.json packages/frontendmu-data/data/featured-issues.ts
36+
git commit -m "Update featured issues"
37+
git push
38+
else
39+
echo "No changes detected in featured-issues.json. Skipping commit."
40+
fi

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131

3232
- name: Run Playwright tests
3333
run: |
34-
pnpm run astro test
34+
pnpm run nuxt test

.github/workflows/update-contributors.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
name: Update Contributors
22

33
on:
4-
push:
5-
branches:
6-
- main # Change 'main' to your default branch name if it's different
7-
8-
pull_request:
4+
pull_request_target:
95
types:
106
- closed
117

128
jobs:
139
update-contributors:
10+
if: github.event.pull_request.merged == true
1411
runs-on: ubuntu-latest
1512

1613
steps:
@@ -21,11 +18,6 @@ jobs:
2118
with:
2219
version: 6.0.2
2320

24-
# - name: Install Node.js
25-
# uses: actions/setup-node@v2
26-
# with:
27-
# node-version: "18"
28-
2921
- name: Install dependencies
3022
# Exclude the Nuxt package when running pnpm install
3123
run: pnpm install --filter astro --filter data

CHANGELOG.md

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [09.24] - 2024-09-28
6+
7+
### ⛰️ Features
8+
9+
- *(community)* Add more projects - ([b2e0b15](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/b2e0b15e78d673ef5002a5d75a169ff48e2f27a7))
10+
- Add map - ([038e87c](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/038e87c894c3cda880e9c4233c7f24ec0c700a5e))
11+
12+
### 🐛 Bug Fixes
13+
14+
- *(github)* Correct operators - ([828dc9d](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/828dc9d093f670b759a0ea613f338cfaa24f3f7e))
15+
- *(github)* Trigger workflow only on pull request MERGE - ([d33b7a4](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/d33b7a4dc02e6f162d6fbae81c2bc058f2cb9389))
16+
- Fix - ([5391a15](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/5391a15a077c2b586678837244ead9a3547b83a3))
17+
18+
### 🎨 Styling
19+
20+
- *(community)* Resize icons - ([8896735](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/88967357cb52ca22e3ac2a3e453ff0672a89b3a0))
21+
22+
### ⚙️ Miscellaneous Tasks
23+
24+
- *(cliff)* Unfilter commits - ([6b91b9a](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/6b91b9aae134d75100920a9f12e21576772def49))
25+
- *(github)* Use pull_request_target for update_contributors.yml - ([7bb9ee8](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/7bb9ee853315b6184649c1ce1fa8a049c7477b3d))
26+
- *(github)* Remove if condition on update-contributors.yml - ([64cfde2](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/64cfde2f334aecbea47f8eaf38f114969bd521d1))
27+
28+
fix: spacing & height in community cards - ([1dd8f8e](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/1dd8f8e9eac3c7d86d475408bcae3b63b220ac81))
29+
- Update data - ([2585d25](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/2585d2545414991302b066de2593c719812298fe))
30+
- Add CHANGELOG - ([7552694](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/75526940f8c3900936e5bc67d821d0e3823ee693))
31+
- Add cliff.toml - ([9b558ff](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/9b558ffde87cdab402519f99a6ba4104bc8d434e))
32+
- Add LICENSE - ([d144245](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/d14424564659558bdf0221479ba54de914685446))
33+
34+
### A11y
35+
36+
- Added aria label - ([748f921](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/748f921fc0e97f735b54c141cc48edafc199536a))
37+
38+
## [08.24] - 2024-09-09
39+
40+
### ⛰️ Features
41+
42+
- *(GH action)* Retrieve issues labelled featured in featured-issues.json ([#204](https://github.com/Front-End-Coders-Mauritius/frontend.mu/issues/204)) - ([0412302](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/04123027457dd27fb7c05a98e9af487e30dccc87))
43+
- *(community)* Add projects section and some projects - ([239910e](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/239910e713f441518735161ebf3e4a4081d8198d))
44+
- *(community)* Build community card and implement filtering - ([e5a7579](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/e5a75795801a7bf63c98341a709bc12375abc276))
45+
- *(data)* Add qdir to community project - ([33d54aa](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/33d54aaab39d87216f233e0d3330a3a04ec54a79))
46+
- *(docs)* Add nuxt content module - ([b7c0295](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/b7c029562754569068ec8e4754e1a00d0620a003))
47+
- *(git)* Add a git commit cli to generate standardised commit messages - ([a536a12](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/a536a1250a3de9d60b965c76f90415c52759243e))
48+
- *(menu)* Add code-of-conduct and coding guidelines - ([401a50c](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/401a50ce2044359aad88d34a0aa2dd64f5b03230))
49+
- Add label event types to featured_issues workflow - ([e6db9d3](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/e6db9d32394ac637183468876a9fd7bf3b85ba9e))
50+
- Implement github flavored blockquotes - ([45e6a2c](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/45e6a2c524dba6a4c01b58078404cc7c68c62e66))
51+
- Add History link to site menu and update site logo styling - ([611872b](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/611872bb161519abc5866703355d8e5409d56859))
52+
- Add simple layout component and update dynamic page template - ([0874f88](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/0874f888b90f03c1dff9eafdd7af7e6c25ed5f4c))
53+
54+
### 🐛 Bug Fixes
55+
56+
- *(ci)* Gh issues - change state to all ([#219](https://github.com/Front-End-Coders-Mauritius/frontend.mu/issues/219)) - ([733f939](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/733f939ad59314b7d4bbc7d18438cce5fec91879))
57+
- *(content)* Add missing md files - ([26c964a](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/26c964ad2201bc0aeacaaaa91cbfee56d152e9e0))
58+
- *(content)* Update how-to-become-a-speaker.md - ([3cf9382](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/3cf9382e5f618c2da128e90bafb153674c1c4902))
59+
- *(content)* Move files to contents - ([473ff38](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/473ff38024bad66239353a2e6144e2712c505a32))
60+
- *(deps)* Remove unused packages from data monorepo - ([a7fe066](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/a7fe0664d1f8794a31395297abe1aff62683e914))
61+
- *(featured-issues)* No commit if no changes ([#206](https://github.com/Front-End-Coders-Mauritius/frontend.mu/issues/206)) - ([f9b58c9](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/f9b58c90ed870bb7f20d943813b24a1753bf3095))
62+
- *(github actions)* Featured_issues.json isn't a json array but multiple seperate json - ([fc9272e](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/fc9272e74a2a44a493f1f83ff7a1f1d267520a25))
63+
- *(nuxt)* Add contribute to Menu - ([3c22677](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/3c226770ec7e4784199d918b805fa44be6fc6cac))
64+
- *(nuxt)* Add nuxt/content to package.json - ([5ecc4b4](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/5ecc4b43fc620abf5c8b89282b68c55e77b20714))
65+
- Filter the user github-actions[bot] from the contributors list on frontend - ([2a5419a](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/2a5419a81cef4e9ccfd94919c625a6787790024b))
66+
- README.md outdated to run project locally - ([31e186e](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/31e186e717c2ce9c2d51e0d3ff8f83b655503455))
67+
- Fix next meetup badge ui
68+
- ([622679d](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/622679d572dac313ce41c2fa0148e744a782976e))
69+
- Fix devtools issue
70+
71+
https://github.com/nuxt/nuxt/discussions/27779#discussioncomment-10226363
72+
- ([eacc65f](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/eacc65f2d953ac19990d692df4082e397931a52b))
73+
74+
### 📚 Documentation
75+
76+
- *(code of conduct)* Shorten pledge - ([370f819](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/370f819a15818f86a76d7f47090047d89272e7b7))
77+
- *(coding_guidelines)* Expand intro - ([d59abf2](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/d59abf25d60c023407ba1de123f45f400c646e4d))
78+
- *(contributing)* Add missing steps and add newlines - ([f38a76c](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/f38a76c61a4cb5629e47dcd606d8eec72e76bfdc))
79+
- *(contributing)* Remove content creation - ([9757ee4](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/9757ee4b3185cb9db456340919016cbd5b773ce5))
80+
- Move the filter to updateContributor script .js - ([3098c5d](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/3098c5d27c5edf4c4ca11758197c714f8c481ca4))
81+
- Create new dir info - ([058ca98](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/058ca98b50e6b6d085da854af68c67122d7189b7))
82+
- Copy contributing.md to content folder - ([26f14d5](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/26f14d5ebb9003142cd65eb8192b8cae54482d7f))
83+
- Add test pages - ([58324b6](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/58324b620b60797a09bc6ebf74f042ca78fc162e))
84+
- Add coding_guidelines.md - ([94b3486](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/94b3486e93131616b85e6cf4af7d1fe28aa7c0be))
85+
- Add code_of_conduct.md - ([8185492](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/81854927e3bc15842379835f19b4afb63000bebe))
86+
- Add contributing.md - ([5d29615](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/5d2961560cbc7b5d9e836faca1ca34dab82b7983))
87+
- Update README - ([e573cb5](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/e573cb586b7e2c0d2282fb6258f34bb9671043b1))
88+
89+
### ⚙️ Miscellaneous Tasks
90+
91+
- *(GH actions)* Update git username and email of bots - ([aa18f8a](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/aa18f8ab3e7c5841f4d074cc0980260967b6b0e4))
92+
- *(data)* Remove global git config - ([4f99bb3](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/4f99bb34a09e2eb62907310c1f4f0933cba855bb))
93+
- *(menu)* Making CODE OF CONDUCT stop yelling - ([3e200d2](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/3e200d23bacedc7e056bae5651cc8638a7324098))
94+
- *(tapaz)* Please stop - ([e115e5f](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/e115e5f83a3f93fb61548d3ba647790e9dcd79ae))
95+
- Update pnpm lock file - ([f2cfa14](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/f2cfa1445b2afcb5c75b04bf2ea95aeba7bc9762))
96+
- Update npm dependencies and add @nuxt/content module - ([6d14fbf](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/6d14fbf7c20980d695b791fa01d8e13926464f93))
97+
- Update pnpm lock file - ([972b649](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/972b649b515e38920317e8e933f90d881d6f3379))
98+
- Remove index from - ([3b25017](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/3b250170b5608b6102d09aea318ad745fb445727))
99+
- Add NuxtContent module for docs ([#207](https://github.com/Front-End-Coders-Mauritius/frontend.mu/issues/207))
100+
101+
* feat(docs): add nuxt content module
102+
103+
* nuxt(docs): Add slug.vue
104+
105+
* docs: add test pages
106+
107+
* fix(nuxt): add nuxt/content to package.json
108+
109+
* chore: remove index from
110+
111+
* feat: Add simple layout component and update dynamic page template
112+
113+
* feat: Add History link to site menu and update site logo styling
114+
115+
* chore: update pnpm lock file
116+
117+
* chore: Update npm dependencies and add @nuxt/content module
118+
119+
* feat: implement github flavored blockquotes
120+
121+
* doc: copy contributing.md to content folder
122+
123+
---------
124+
125+
Co-authored-by: Sandeep Ramgolam <sandeep@ramgolam.com> - ([7325d4e](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/7325d4e04e9fafb68cfe716a7643de1dc9d7bf7b))
126+
- Update description
127+
update spacings
128+
use nuxt image better
129+
- ([6677778](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/667777895e51188211082dd564bfaad20ff46f62))
130+
- Exclude nuxt from the ci
131+
- ([bb4e71e](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/bb4e71e94c6651450d357fdcf606597029d80dc2))
132+
133+
### Fix
134+
135+
- Close #190, meetup page overlapping 2024-2025 - ([799f156](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/799f15613c332b1cfd1c38db100078b6d84c48cf))
136+
137+
### Nuxt
138+
139+
- *(docs)* Add slug.vue - ([31c516b](https://github.com/Front-End-Coders-Mauritius/frontend.mu/commit/31c516bbff3102c57ae1decbd4496e57a014d814))
140+

LICENSE

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Copyright 2024 frontend.mu
2+
3+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4+
5+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6+
7+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8+
9+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10+
11+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)