Skip to content

Commit

Permalink
Dev (#1)
Browse files Browse the repository at this point in the history
* chore: rss format compatibility

Signed-off-by: Innei <i@innei.in>

* fix: wrapped element `x,y` detection

Signed-off-by: Innei <i@innei.in>

* fix(deps): update dependency mermaid to v11 (Innei#442)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency vite-tsconfig-paths to v5 (Innei#421)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency rimraf to v6 (Innei#397)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update all non-major dependencies

* fix(deps): update all non-major dependencies (Innei#424)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency chroma-js to v3 (Innei#432)

* fix: location reload not working (Innei#431)

* fix(deps): update dependency chroma-js to v3

---------

Co-authored-by: Suemor <suemor233@outlook.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency postcss-preset-env to v10 (Innei#416)

* fix: location reload not working (Innei#431)

* chore(deps): update dependency postcss-preset-env to v10

---------

Co-authored-by: Suemor <suemor233@outlook.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency zx to v8.1.5

* fix: link underline style when selected

Signed-off-by: Innei <i@innei.in>

* [wip]: test i18n

* fix: i18n on activity

* [wip]

* [wip]: keep going

* [wip]: i18n

---------

Signed-off-by: Innei <i@innei.in>
Co-authored-by: Innei <i@innei.in>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Suemor <suemor233@outlook.com>
  • Loading branch information
4 people authored Sep 15, 2024
1 parent 0649f97 commit ef2c62c
Show file tree
Hide file tree
Showing 36 changed files with 1,683 additions and 1,440 deletions.
6 changes: 3 additions & 3 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { fileURLToPath } from 'node:url'
import NextBundleAnalyzer from '@next/bundle-analyzer'
import { codeInspectorPlugin } from 'code-inspector-plugin'
import { config } from 'dotenv'


import createNextIntlPlugin from 'next-intl/plugin';

process.title = 'Shiro (NextJS)'

Expand All @@ -19,6 +18,7 @@ const __dirname = path.dirname(__filename)
let commitHash = ''
let commitUrl = ''
const repoInfo = getRepoInfo()
const withNextIntl = createNextIntlPlugin();

if (repoInfo) {
commitHash = repoInfo.hash
Expand Down Expand Up @@ -135,7 +135,7 @@ if (process.env.ANALYZE === 'true') {
})(nextConfig)
}

export default nextConfig
export default withNextIntl(nextConfig);

function getRepoInfo() {
if (process.env.VERCEL) {
Expand Down
62 changes: 33 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Shiro",
"version": "1.1.5",
"private": false,
"packageManager": "pnpm@9.7.1",
"packageManager": "pnpm@9.9.0",
"license": "AGPL-3.0",
"engines": {
"node": ">=18"
Expand All @@ -22,9 +22,9 @@
"start": "npm run dev"
},
"dependencies": {
"@aws-sdk/client-s3": "3.627.0",
"@clerk/nextjs": "5.3.2",
"@clerk/themes": "2.1.21",
"@aws-sdk/client-s3": "3.637.0",
"@clerk/nextjs": "5.3.6",
"@clerk/themes": "2.1.24",
"@excalidraw/excalidraw": "0.17.6",
"@floating-ui/react-dom": "2.1.1",
"@milkdown/core": "7.5.0",
Expand All @@ -48,27 +48,29 @@
"@radix-ui/react-select": "2.1.1",
"@radix-ui/react-switch": "1.1.0",
"@radix-ui/react-tabs": "1.1.0",
"@shikijs/transformers": "1.12.1",
"@shikijs/transformers": "1.14.1",
"@shiro/fetch": "link:./packages/fetch",
"@tanstack/query-async-storage-persister": "5.51.24",
"@tanstack/react-query": "5.51.24",
"@tanstack/react-query-devtools": "5.51.24",
"@tanstack/react-query-persist-client": "5.51.24",
"@tanstack/query-async-storage-persister": "5.52.2",
"@tanstack/react-query": "5.52.2",
"@tanstack/react-query-devtools": "5.52.2",
"@tanstack/react-query-persist-client": "5.52.2",
"@upstash/redis": "1.34.0",
"@vercel/analytics": "1.3.1",
"@vercel/postgres": "0.9.0",
"bypass-vue-devtools": "0.0.6",
"chroma-js": "2.6.0",
"chroma-js": "3.0.0",
"clsx": "2.1.1",
"colorjs.io": "^0.5.2",
"crossbell": "1.12.0",
"daisyui": "4.12.10",
"dayjs": "1.11.13",
"emoji-mart": "5.6.0",
"emoji-picker-react": "4.11.1",
"foxact": "0.2.36",
"foxact": "0.2.37",
"framer-motion": "11.1.7",
"fuse.js": "7.0.0",
"i18next": "^23.14.0",
"i18next-resources-to-backend": "^1.2.1",
"idb-keyval": "6.2.1",
"immer": "^10.1.1",
"jojoo": "0.1.4",
Expand All @@ -80,21 +82,23 @@
"kbar": "0.1.0-beta.45",
"markdown-escape": "2.0.0",
"markdown-to-jsx": "npm:@innei/markdown-to-jsx@7.4.5-fork.4",
"marked": "14.0.0",
"marked": "14.1.0",
"medium-zoom": "1.1.0",
"mermaid": "10.9.1",
"mermaid": "11.0.2",
"nanoid": "^5.0.7",
"next": "14.2.5",
"next": "14.2.7",
"next-intl": "^3.19.1",
"next-runtime-env": "3.2.2",
"next-themes": "0.3.0",
"ofetch": "1.3.4",
"openai": "4.55.9",
"openai": "4.56.1",
"pngjs": "7.0.0",
"prop-types": "15.8.1",
"qrcode.react": "3.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-error-boundary": "4.0.13",
"react-i18next": "^15.0.1",
"react-intersection-observer": "9.13.0",
"react-responsive-masonry": "2.3.0",
"react-toastify": "10.0.5",
Expand All @@ -104,7 +108,7 @@
"rss": "1.2.2",
"server-only": "^0.0.1",
"socket.io-client": "4.7.5",
"tailwind-merge": "2.4.0",
"tailwind-merge": "2.5.2",
"unidata.js": "0.8.0",
"unified": "^11.0.5",
"uniqolor": "1.1.1",
Expand All @@ -114,20 +118,20 @@
"xss": "1.0.15"
},
"devDependencies": {
"@iconify-json/material-symbols": "1.1.88",
"@iconify-json/mingcute": "1.1.19",
"@iconify/tailwind": "1.1.2",
"@iconify-json/material-symbols": "1.1.89",
"@iconify-json/mingcute": "1.1.20",
"@iconify/tailwind": "1.1.3",
"@innei/prettier": "0.15.0",
"@mx-space/webhook": "0.3.0",
"@next/bundle-analyzer": "14.2.5",
"@next/bundle-analyzer": "14.2.7",
"@tailwindcss/container-queries": "0.1.1",
"@tailwindcss/typography": "0.5.14",
"@tailwindcss/typography": "0.5.15",
"@types/chroma-js": "2.4.4",
"@types/js-cookie": "3.0.6",
"@types/js-yaml": "4.0.9",
"@types/katex": "^0.16.7",
"@types/markdown-escape": "1.1.3",
"@types/node": "20.14.15",
"@types/node": "20.16.2",
"@types/pngjs": "6.0.5",
"@types/react": "18.3.4",
"@types/react-dom": "18.3.0",
Expand All @@ -136,28 +140,28 @@
"@types/rss": "0.0.32",
"autoprefixer": "10.4.20",
"client-only": "0.0.1",
"code-inspector-plugin": "0.15.2",
"code-inspector-plugin": "0.16.0",
"cross-env": "7.0.3",
"dotenv": "16.4.5",
"eslint": "9.9.0",
"eslint": "9.9.1",
"eslint-config-hyoban": "3.1.3",
"lint-staged": "15.2.9",
"postcss": "8.4.41",
"postcss-import": "16.1.0",
"postcss-js": "4.0.1",
"postcss-nested": "6.2.0",
"postcss-preset-env": "9.6.0",
"postcss-preset-env": "10.0.2",
"postcss-prune-var": "1.1.2",
"prettier": "3.3.3",
"rimraf": "5.0.10",
"shiki": "1.12.1",
"rimraf": "6.0.1",
"shiki": "1.14.1",
"simple-git-hooks": "2.11.1",
"tailwind-scrollbar": "3.1.0",
"tailwind-variants": "0.2.1",
"tailwindcss": "^3.4.10",
"tailwindcss-animated": "1.1.2",
"typescript": "5.5.4",
"zx": "8.1.4"
"zx": "8.1.5"
},
"pnpm": {
"overrides": {
Expand Down Expand Up @@ -202,4 +206,4 @@
"browserslist": [
"defaults and fully supports es6-module"
]
}
}
Loading

0 comments on commit ef2c62c

Please sign in to comment.