➕ Remove unsed dependencies and add new css editor
This commit is contained in:
@@ -1,19 +1,14 @@
|
|||||||
const { i18n } = require('./next-i18next.config');
|
const { i18n } = require('./next-i18next.config');
|
||||||
|
|
||||||
const removeImports = require('next-remove-imports')();
|
|
||||||
|
|
||||||
const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
||||||
enabled: process.env.ANALYZE === 'true',
|
enabled: process.env.ANALYZE === 'true',
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = withBundleAnalyzer(
|
module.exports = withBundleAnalyzer({
|
||||||
removeImports({
|
images: {
|
||||||
experimental: { esmExternals: true },
|
domains: ['cdn.jsdelivr.net'],
|
||||||
images: {
|
},
|
||||||
domains: ['cdn.jsdelivr.net'],
|
reactStrictMode: true,
|
||||||
},
|
output: 'standalone',
|
||||||
reactStrictMode: true,
|
i18n,
|
||||||
output: 'standalone',
|
});
|
||||||
i18n,
|
|
||||||
})
|
|
||||||
);
|
|
||||||
|
|||||||
22
package.json
22
package.json
@@ -27,9 +27,6 @@
|
|||||||
"@ctrl/qbittorrent": "^4.1.0",
|
"@ctrl/qbittorrent": "^4.1.0",
|
||||||
"@ctrl/shared-torrent": "^4.1.1",
|
"@ctrl/shared-torrent": "^4.1.1",
|
||||||
"@ctrl/transmission": "^4.1.1",
|
"@ctrl/transmission": "^4.1.1",
|
||||||
"@dnd-kit/core": "^6.0.5",
|
|
||||||
"@dnd-kit/sortable": "^7.0.1",
|
|
||||||
"@dnd-kit/utilities": "^3.2.0",
|
|
||||||
"@emotion/react": "^11.10.5",
|
"@emotion/react": "^11.10.5",
|
||||||
"@emotion/server": "^11.10.0",
|
"@emotion/server": "^11.10.0",
|
||||||
"@mantine/core": "^5.9.3",
|
"@mantine/core": "^5.9.3",
|
||||||
@@ -40,35 +37,28 @@
|
|||||||
"@mantine/modals": "^5.9.3",
|
"@mantine/modals": "^5.9.3",
|
||||||
"@mantine/next": "^5.9.3",
|
"@mantine/next": "^5.9.3",
|
||||||
"@mantine/notifications": "^5.9.3",
|
"@mantine/notifications": "^5.9.3",
|
||||||
"@nivo/core": "^0.79.0",
|
"@nivo/core": "^0.80.0",
|
||||||
"@nivo/line": "^0.79.1",
|
"@nivo/line": "^0.80.0",
|
||||||
"@tabler/icons": "^1.106.0",
|
"@tabler/icons": "^1.106.0",
|
||||||
"@tanstack/react-query": "^4.2.1",
|
"@tanstack/react-query": "^4.2.1",
|
||||||
"@tanstack/react-query-devtools": "^4.24.4",
|
"@tanstack/react-query-devtools": "^4.24.4",
|
||||||
"@uiw/react-textarea-code-editor": "v1.4.4",
|
|
||||||
"axios": "^0.27.2",
|
"axios": "^0.27.2",
|
||||||
"consola": "^2.15.3",
|
"consola": "^2.15.3",
|
||||||
"cookies-next": "^2.1.1",
|
"cookies-next": "^2.1.1",
|
||||||
"dayjs": "^1.11.7",
|
"dayjs": "^1.11.7",
|
||||||
"dockerode": "^3.3.2",
|
"dockerode": "^3.3.2",
|
||||||
"embla-carousel-react": "^7.0.0",
|
|
||||||
"fily-publish-gridstack": "^0.0.13",
|
"fily-publish-gridstack": "^0.0.13",
|
||||||
"framer-motion": "^6.5.1",
|
"framer-motion": "^6.5.1",
|
||||||
"i18next": "^21.9.1",
|
"i18next": "^21.9.1",
|
||||||
"i18next-browser-languagedetector": "^6.1.5",
|
|
||||||
"i18next-http-backend": "^1.4.1",
|
|
||||||
"js-file-download": "^0.4.12",
|
"js-file-download": "^0.4.12",
|
||||||
"next": "^13.1.6",
|
"next": "^13.1.6",
|
||||||
"next-i18next": "^11.3.0",
|
"next-i18next": "^11.3.0",
|
||||||
"next-remove-imports": "^1.0.8",
|
|
||||||
"nzbget-api": "^0.0.3",
|
"nzbget-api": "^0.0.3",
|
||||||
"ping": "^0.4.2",
|
"prismjs": "^1.29.0",
|
||||||
"prism-react-renderer": "^1.3.5",
|
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
|
"react-simple-code-editor": "^0.13.1",
|
||||||
"sabnzbd-api": "^1.5.0",
|
"sabnzbd-api": "^1.5.0",
|
||||||
"sharp": "^0.30.7",
|
|
||||||
"systeminformation": "^5.12.1",
|
|
||||||
"uuid": "^8.3.2",
|
"uuid": "^8.3.2",
|
||||||
"yarn": "^1.22.19",
|
"yarn": "^1.22.19",
|
||||||
"zustand": "^4.1.4"
|
"zustand": "^4.1.4"
|
||||||
@@ -78,14 +68,12 @@
|
|||||||
"@next/eslint-plugin-next": "^12.1.4",
|
"@next/eslint-plugin-next": "^12.1.4",
|
||||||
"@types/dockerode": "^3.3.9",
|
"@types/dockerode": "^3.3.9",
|
||||||
"@types/node": "17.0.1",
|
"@types/node": "17.0.1",
|
||||||
"@types/ping": "^0.4.1",
|
"@types/prismjs": "^1.26.0",
|
||||||
"@types/react": "17.0.1",
|
"@types/react": "17.0.1",
|
||||||
"@types/uuid": "^8.3.4",
|
"@types/uuid": "^8.3.4",
|
||||||
"@types/video.js": "^7.3.51",
|
"@types/video.js": "^7.3.51",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.30.7",
|
"@typescript-eslint/eslint-plugin": "^5.30.7",
|
||||||
"@typescript-eslint/parser": "^5.30.7",
|
"@typescript-eslint/parser": "^5.30.7",
|
||||||
"babel-loader": "^9.1.2",
|
|
||||||
"babel-plugin-transform-remove-imports": "^1.7.0",
|
|
||||||
"eslint": "^8.20.0",
|
"eslint": "^8.20.0",
|
||||||
"eslint-config-airbnb": "^19.0.4",
|
"eslint-config-airbnb": "^19.0.4",
|
||||||
"eslint-config-airbnb-typescript": "^17.0.0",
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user