Skip to content

Commit

Permalink
Merge pull request #227 from dargmuesli/chore/deps/update
Browse files Browse the repository at this point in the history
chore(deps): update
  • Loading branch information
dargmuesli committed Sep 13, 2024
2 parents bede00f + 548dad3 commit 924c209
Show file tree
Hide file tree
Showing 9 changed files with 101 additions and 101 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
4 changes: 2 additions & 2 deletions .renovaterc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"allowedVersions": "8.3.0"
},
{
"matchPackageNames": ["@nuxtjs/sitemap"],
"allowedVersions": "5.3.5"
"matchPackageNames": ["caniuse-lite"],
"allowedVersions": "1.0.30001653"
}
]
}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#############
# Create base image.

FROM node:20.17.0-alpine AS base-image
FROM node:22.8.0-alpine AS base-image

# The `CI` environment variable must be set for pnpm to run in headless mode
ENV CI=true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"build": "pnpm --dir src run build",
"build:node": "pnpm --dir src run build:node",
"build:static": "pnpm --dir src run build:static",
"build:static:test": "pnpm --dir src run build:static:test",
"dev": "pnpm --dir src run dev",
"generate": "pnpm --dir src run generate",
"prepare": "husky",
Expand All @@ -36,7 +37,6 @@
"pnpm": {
"overrides": {
"@nuxtjs/i18n": "8.3.0",
"@nuxtjs/sitemap": "5.3.5",
"caniuse-lite": "1.0.30001653"
}
}
Expand Down
179 changes: 89 additions & 90 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/.playground/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{ t('linkExternal') }}
</VioLink>
<br />
<button @click="test">{{ $dayjs(0).format('lll') }}</button>
<button type="button" @click="test">{{ $dayjs(0).format('lll') }}</button>
</p>
<!-- <SBreadcrumb /> -->
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"vue-router": "4.4.5"
},
"engines": {
"node": "20"
"node": "22"
},
"files": [
".config",
Expand Down Expand Up @@ -101,6 +101,7 @@
"build": "pnpm run build:node",
"build:node": "nuxt build .playground",
"build:static": "nuxt generate .playground",
"build:static:test": "SITE_URL=https://localhost:3002 pnpm run build:static",
"dev": "pnpm run start:dev",
"generate": "pnpm run build:static",
"lint:fix": "pnpm run lint:js --fix && pnpm run lint:ts --fix && pnpm run lint:style --fix",
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/specs/server/sitemap.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ test.describe('sitemap', () => {
const text = await resp.text()

for (const language of languages) {
expect(text).toContain(`${SITE_URL}/${language}-sitemap.xml`)
expect(text).toContain(`${SITE_URL}/__sitemap__/${language}.xml`)
}
})

test('content', async ({ request }) => {
for (const language of languages) {
const resp = await request.get(`/${language}-sitemap.xml`)
const resp = await request.get(`/__sitemap__/${language}.xml`)
const text = await resp.text()

expect(
Expand Down
4 changes: 2 additions & 2 deletions tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"@axe-core/playwright": "4.10.0",
"@eslint/js": "9.10.0",
"@playwright/test": "1.47.0",
"@types/node": "20.16.5",
"@types/node": "22.5.4",
"cross-env": "7.0.3",
"eslint": "9.10.0",
"eslint-config-prettier": "9.1.0",
Expand All @@ -14,7 +14,7 @@
"ufo": "1.5.4"
},
"engines": {
"node": "20"
"node": "22"
},
"files": [
"e2e/fixtures",
Expand Down

0 comments on commit 924c209

Please sign in to comment.