Next js upgrade

This commit is contained in:
Dustin Brett 2023-11-21 22:00:09 -08:00
parent 1db1fafb53
commit f131963df8
4 changed files with 466 additions and 707 deletions

View File

@ -235,7 +235,7 @@
```
yarn install
yarn build:fs
yarn build:prebuild
yarn dev
```

View File

@ -25,6 +25,7 @@ const nextConfig = {
buildActivityPosition: "top-right",
},
optimizeFonts: false,
output: "export",
productionBrowserSourceMaps: false,
reactStrictMode: true,
swcMinify: true,

View File

@ -14,13 +14,9 @@
"scripts": {
"build": "yarn build:prebuild && next build",
"build:bundle-analyzer": "yarn build",
"build:fs": "node scripts/fs2json.js --exclude .index --out public/.index/fs.9p.json ./public && node scripts/preloadIcons.js",
"build:html": "node scripts/minifyHtml.js",
"build:js": "node scripts/minifyJs.js",
"build:prebuild": "yarn build:fs && yarn build:search",
"build:robots": "node scripts/robots.js",
"build:search": "node scripts/searchIndex.js",
"deploy": "yarn build:robots && next export && yarn build:html && yarn build:js",
"build:fs": "node scripts/fs2json.js --exclude .index --out public/.index/fs.9p.json ./public",
"build:minify": "node scripts/minifyHtml.js && node scripts/minifyJs.js",
"build:prebuild": "node scripts/robots.js && node scripts/searchIndex.js && node scripts/preloadIcons.js && yarn build:fs",
"docker:build": "docker build -t daedalos .",
"docker:run": "docker run -dp 3000:3000 --rm --name daedalos daedalos",
"dev": "next dev",
@ -62,7 +58,7 @@
"minimist": "^1.2.8",
"multiformats": "^12.1.3",
"music-metadata-browser": "^2.5.10",
"next": "^13.5.3",
"next": "^14.0.3",
"nostr-tools": "^1.17.0",
"opentype.js": "^1.3.4",
"playlist-parser": "^0.0.12",
@ -80,30 +76,30 @@
"devDependencies": {
"7z-wasm": "^1.1.0",
"@axe-core/playwright": "^4.8.1",
"@next/bundle-analyzer": "^13.5.3",
"@next/eslint-plugin-next": "^13.5.3",
"@next/bundle-analyzer": "^14.0.3",
"@next/eslint-plugin-next": "^14.0.3",
"@playwright/test": "^1.40.0",
"@testing-library/dom": "^9.3.3",
"@types/dompurify": "^3.0.5",
"@types/gif.js": "^0.2.5",
"@types/ini": "^1.3.33",
"@types/jest": "^29.5.8",
"@types/jest": "^29.5.10",
"@types/lunr": "^2.3.7",
"@types/node": "^20.9.2",
"@types/node": "^20.9.4",
"@types/offscreencanvas": "^2019.7.3",
"@types/opentype.js": "^1.3.8",
"@types/react": "^18.2.37",
"@types/react": "^18.2.38",
"@types/ua-parser-js": "^0.7.39",
"@types/video.js": "^7.3.56",
"@types/wicg-file-system-access": "^2023.10.3",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"@types/wicg-file-system-access": "^2023.10.4",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"emulators": "^0.73.8",
"emulators-ui": "^0.73.9",
"eruda": "^3.0.1",
"eslint": "^8.54.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-next": "^13.5.3",
"eslint-config-next": "^14.0.3",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.0",
@ -140,7 +136,7 @@
"terser": "^5.24.0",
"tinymce": "^6.7.3",
"ts-prune": "^0.10.3",
"typescript": "^5.2.2",
"typescript": "^5.3.2",
"webamp": "^1.5.0",
"xlsx": "^0.18.5",
"xterm": "^5.3.0"

1138
yarn.lock

File diff suppressed because it is too large Load Diff