chore: update packages, remove old stuff

This commit is contained in:
Aaron Yarborough 2024-08-22 16:01:52 +01:00
parent c42fff09cb
commit 2c6dcc1422
4 changed files with 3227 additions and 2009 deletions

5199
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -13,31 +13,34 @@
"format": "npx standard --fix",
"prepare": "husky",
"deploy": "./util/pre-deploy.sh && ./util/deploy-gcloud.sh",
"test": "jest --verbose"
"test": "jest --verbose",
"lint": "next lint"
},
"dependencies": {
"next": "14.1.1",
"next": "^14.2.6",
"next-seo": "^6.5.0",
"react": "^18",
"react-dom": "^18"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"@commitlint/cli": "^19.1.0",
"@commitlint/config-conventional": "^19.1.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"eslint": "^8",
"eslint-config-next": "14.1.1",
"babel-jest": "^29.7.0",
"eslint": "^9.9.0",
"front-matter": "^4.0.2",
"frontmatter-markdown-loader": "^3.7.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"js-yaml": "^4.1.0",
"next-sitemap": "^4.2.3",
"next-sitemap": "^4.0.9",
"react-test-renderer": "^18.3.1",
"showdown": "^2.1.0",
"standard": "^17.1.0"
}

View file

@ -1,16 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://www.aaronjy.me/</loc><lastmod>2024-05-04T14:08:23.559Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/cv/</loc><lastmod>2024-05-04T14:08:23.560Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/fun/</loc><lastmod>2024-05-04T14:08:23.560Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/recipes/</loc><lastmod>2024-05-04T14:08:23.560Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/</loc><lastmod>2024-05-04T14:08:23.560Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/doctor-who-ranked/</loc><lastmod>2024-05-04T14:08:23.560Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/static-site-on-google-cloud/</loc><lastmod>2024-05-04T14:08:23.560Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/support-content-filte-structure-changes-on-a-static-site/</loc><lastmod>2024-05-04T14:08:23.560Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/recipes/arayes/</loc><lastmod>2024-05-04T14:08:23.560Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/recipes/manakish/</loc><lastmod>2024-05-04T14:08:23.560Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/recipes/red-lentil-soup/</loc><lastmod>2024-05-04T14:08:23.560Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/recipes/spicy-sausage-pasta/</loc><lastmod>2024-05-04T14:08:23.560Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/fun/javascript-html5-tile-editor/</loc><lastmod>2024-05-04T14:08:23.560Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/</loc><lastmod>2024-08-22T15:01:14.545Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/cv/</loc><lastmod>2024-08-22T15:01:14.545Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/</loc><lastmod>2024-08-22T15:01:14.545Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/static-site-on-google-cloud/</loc><lastmod>2024-08-22T15:01:14.545Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/support-content-filte-structure-changes-on-a-static-site/</loc><lastmod>2024-08-22T15:01:14.545Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>

View file

@ -11,7 +11,7 @@ describe('Header', () => {
it('renders correct navigation links', () => {
render(<Header />)
const links = ['Home', 'Writing', 'Recipes', 'Fun', 'CV']
const links = ['Home', 'Writing', 'CV']
links.forEach(link => {
expect(screen.getByText(link)).toBeInTheDocument()
})