feat: switch to nextjs (#7)

* feat: switch to nextjs

* chore: move everyting to main dir

* fix: blogpostgen

* chore: dot?

* chore: remove blogposts

* fix: everything

* chore: why

* chore: move to public

* chore: fetch

* chore: remove slash

* chore: aedfa

* feat: defenitive nextjs move
This commit is contained in:
2023-11-17 19:29:30 +01:00
committed by GitHub
parent fd1f6c9f15
commit da0982b5ff
50 changed files with 2928 additions and 1985 deletions

View File

@@ -1,52 +1,38 @@
{
"name": "mainwebsite",
"name": "njs-move",
"version": "0.1.0",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "node src/blogPostGenerator.js && vite",
"build": "node src/blogPostGenerator.js && tsc && vite build",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"dev": "node src/blogPostGenerator.js && next dev",
"build": "next build",
"start": "node src/blogPostGenerator.js;next start",
"lint": "next lint"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@fortawesome/fontawesome-svg-core": "^6.4.0",
"@fortawesome/free-brands-svg-icons": "^6.4.0",
"@fortawesome/free-regular-svg-icons": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@mui/icons-material": "^5.14.12",
"@mui/material": "^5.14.5",
"dayjs": "^1.11.9",
"@mui/material": "^5.14.18",
"dayjs": "^1.11.10",
"feed": "^4.2.2",
"glob": "^10.3.3",
"glob": "^10.3.10",
"gray-matter": "^4.0.3",
"marked": "^8.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-markdown": "^8.0.7",
"react-router-dom": "^6.15.0",
"marked": "^10.0.0",
"next": "^14.0.3",
"react": "^18",
"react-dom": "^18",
"react-icons": "^4.12.0",
"react-markdown": "^9.0.1",
"react-syntax-highlighter": "^15.5.0",
"remark-gfm": "^3.0.1"
"remark-gfm": "^4.0.0"
},
"devDependencies": {
"@types/js-yaml": "^4.0.5",
"@types/mdx": "^2.0.6",
"@types/node": "^20.5.1",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@types/react-helmet": "^6.1.9",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react-syntax-highlighter": "^15.5.10",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@vitejs/plugin-react": "^4.0.0",
"eslint": "^8.38.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.3.4",
"typescript": "^5.0.2",
"vite": "^4.3.9"
"eslint": "^8",
"eslint-config-next": "14.0.2",
"typescript": "^5"
}
}