Skip to content

Commit

Permalink
Revising sitemap (#487)
Browse files Browse the repository at this point in the history
Adding Makefile target to install bubblewrap-cli
    See [Bubblewrap CLI](https://github.com/GoogleChromeLabs/bubblewrap/tree/main/packages/cli#bubblewrap-cli)
Fixing sitemap last modification dates
  • Loading branch information
thierrymarianne authored Mar 4, 2023
1 parent fef5950 commit 8972c63
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ lint: ## Lint source files
install: ## Install dependencies
@/bin/bash -c '( test -e .env && source .env || true ) && NODE_OPTIONS="--openssl-legacy-provider" npm install'

install-bubblewrap: ## Install bubblewrap
@/bin/bash -c 'asdf local nodejs 18.14.2 && npm i -g @bubblewrap/cli'

start: clean ## Start production server
@/bin/bash -c 'source .env && npx nuxt start'
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ const config: NuxtConfig = {
...days()
.map((d: string) => {
const day = new Date(d.replace('/', ''))
day.setTime(day.getTime() - (60 * 60 * 1000))
day.setTime(day.getTime() + (23 * 60 * 60 * 1000))

return {
url: d,
Expand Down
6 changes: 3 additions & 3 deletions twa-manifest.json.dist
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"path": "/tmp/android.keystore",
"alias": "org.revue-de-presse"
},
"appVersionName": "6",
"appVersionCode": 6,
"appVersionName": "10",
"appVersionCode": 10,
"shortcuts": [],
"generatorApp": "bubblewrap-cli",
"webManifestUrl": "https://revue-de-presse.org/_nuxt/manifest.319575d5.json",
Expand All @@ -39,5 +39,5 @@
"fingerprints": [],
"additionalTrustedOrigins": [],
"retainedBundles": [],
"appVersion": "6"
"appVersion": "10"
}

0 comments on commit 8972c63

Please sign in to comment.