Skip to content

Commit

Permalink
chore: 2024 update
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 committed May 3, 2024
1 parent 415463a commit 011fc47
Show file tree
Hide file tree
Showing 19 changed files with 399 additions and 7,399 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

[![MIT License](https://img.shields.io/github/license/47ng/47ng.com.svg?color=blue)](https://github.com/47ng/47ng.com/blob/next/LICENSE)
[![Continuous Integration](https://github.com/47ng/47ng.com/workflows/Continuous%20Integration/badge.svg?branch=next)](https://github.com/47ng/47ng.com/actions)
[![Coverage Status](https://coveralls.io/repos/github/47ng/47ng.com/badge.svg?branch=next)](https://coveralls.io/github/47ng/47ng.com?branch=next)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=47ng/47ng.com)](https://dependabot.com)

Website

Expand Down
5 changes: 4 additions & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
3 changes: 0 additions & 3 deletions next.config.js

This file was deleted.

15 changes: 15 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// @ts-check

/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
redirects: async () => [
{
source: '/',
destination: 'https://github.com/47ng',
permanent: false,
},
],
}

export default config
37 changes: 10 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "47ng.com",
"version": "0.0.0-semantically-released",
"description": "Website for https://47ng.com",
"main": "dist/index.js",
"license": "MIT",
"private": true,
"author": {
Expand All @@ -14,38 +13,22 @@
"type": "git",
"url": "https://github.com/47ng/47ng.com"
},
"type": "module",
"scripts": {
"dev": "next",
"test": "jest --coverage",
"test:watch": "jest --watch",
"build:next": "next build",
"build:export": "next export",
"build": "run-s build:next build:export",
"ci": "run-s test build"
"build": "next build",
"start": "next start"
},
"dependencies": {
"@47ng/chakra-next": "^2.4.2",
"@chakra-ui/core": "^0.8.0",
"@emotion/core": "^10.1.1",
"@emotion/styled": "^10.0.27",
"emotion-theming": "^10.0.27",
"next": "^10.0.6",
"next-seo": "^4.19.0",
"react": "^17.0.1",
"react-dom": "^17.0.1"
"next": "^14.2.3",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@commitlint/config-conventional": "^11.0.0",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.27",
"commitlint": "^11.0.0",
"husky": "4.x",
"jest": "^26.6.3",
"next-transpile-modules": "^6.3.0",
"npm-run-all": "^4.1.5",
"ts-jest": "^26.5.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
"@types/node": "^20.12.8",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"typescript": "^5.4.5"
},
"jest": {
"verbose": true,
Expand Down
Loading

0 comments on commit 011fc47

Please sign in to comment.