Skip to content

Commit

Permalink
Merge pull request #83 from Roma-JS/main
Browse files Browse the repository at this point in the history
release 2024-09-08
  • Loading branch information
FaberVitale authored Sep 8, 2024
2 parents cb4ff80 + a94180f commit fecb132
Show file tree
Hide file tree
Showing 12 changed files with 1,201 additions and 574 deletions.
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ PUBLIC_MEETUP_PAGE_SIZE="10"
# They are intentionally SSR only
MEETUP_GRAPHQL_ENDPOINT='https://api.meetup.com/gql'
MEETUP_GROUP_ID='RomaJS'

# See https://github.com/Roma-JS/roma-js-on-astro/issues/80
# It's a comma-separated list. We use ISO LL format: 08 -> August
PUBLIC_MONTHS_WITHOUT_GENERATED_UPCOMING_EVENTS='08'
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: touch ./dist/.nojekyll # Avoids 404 when pathname includes underscores

- name: Deploy roma-js site 🚀
uses: JamesIves/github-pages-deploy-action@v4.3.3
uses: JamesIves/github-pages-deploy-action@v4.6.4
with:
repository-name: "Roma-JS/roma-js.github.io"
token: ${{ secrets.DEPLOY_TOKEN }}
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,19 @@ HomePage content is defined in:

Edit `enHpContent` to modify the english homepage and `itHpContent` to change the italian one.

#### Upcoming events

The upcoming events page is populated using the meetup api (`env.MEETUP_GRAPHQL_ENDPOINT`).

##### Placeholders

The [page generation logic](src/utils/meetup-events.ts) automatically adds placeholders after the current month.
You can use the env var `PUBLIC_MONTHS_WITHOUT_GENERATED_UPCOMING_EVENTS` to filter out placeholder months.

```bash
PUBLIC_MONTHS_WITHOUT_GENERATED_UPCOMING_EVENTS="08,10" # Hide August and October placeholders.
```

#### Deployment

##### Manual deploys
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
"engines": {
"node": "^22.0.0"
},
"packageManager": "pnpm@9.4.0",
"packageManager": "pnpm@9.9.0",
"devDependencies": {
"@astrojs/check": "^0.9.3",
"@astrojs/rss": "^4.0.7",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/solid-js": "^4.4.0",
"astro": "4.11.5",
"@astrojs/solid-js": "^4.4.1",
"astro": "4.15.4",
"astro-i18next": "1.0.0-beta.21",
"chalk": "^5.0.1",
"husky": "^8.0.0",
Expand All @@ -37,12 +38,11 @@
"mustache": "^4.2.0",
"prettier": "2.7.1",
"prompts": "^2.4.2",
"sass": "^1.77.7",
"sass": "^1.77.8",
"tiny-invariant": "^1.3.3",
"vitest": "^2.0.2"
},
"dependencies": {
"@astrojs/check": "^0.8.1",
"@fontsource/open-sans": "^5.0.28",
"@solid-primitives/media": "^2.2.9",
"@tanstack/solid-query": "^4.33.0",
Expand All @@ -52,8 +52,8 @@
"i18next": "22.4.10",
"normalize.css": "^8.0.1",
"slugify": "^1.6.6",
"solid-js": "^1.8.18",
"solid-js": "^1.8.21",
"solid-transition-group": "^0.2.3",
"typescript": "^5.5.3"
"typescript": "^5.5.4"
}
}
Loading

0 comments on commit fecb132

Please sign in to comment.