Skip to content

Commit

Permalink
✨ feat: Update remark
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Jan 7, 2025
1 parent 4eee890 commit 2dcc90a
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 13 deletions.
1 change: 1 addition & 0 deletions .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default defineConfig({
favicons: ['https://lobehub.com/favicon.ico'],
jsMinifier: 'swc',
locales: [{ id: 'en-US', name: 'English' }],
mako: isWin ? false : {},
mfsu: isWin ? undefined : {},
npmClient: 'pnpm',
publicPath: '/',
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/pkg.pr.new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Pkg Pr New CI
on:
pull_request:
push:
branches:
- '!main'

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install bun
uses: oven-sh/setup-bun@v2

- name: Install deps
run: bun i

- name: CI
run: bun run ci

- name: Test
run: bun run test

- name: Build
run: bun run build

- name: Release
run: bunx pkg-pr-new publish
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,16 @@
]
},
"dependencies": {
"@lobehub/ui": "^1.161.0",
"@lobehub/ui": "^1.162.0",
"antd-style": "^3.7.1",
"lodash-es": "^4.17.21",
"lucide-react": "^0.469.0",
"markdown-to-txt": "^2.0.1",
"openai": "^4.77.3",
"query-string": "^9.1.1",
"react-error-boundary": "^4.1.2",
"react-layout-kit": "^1.9.1",
"remark-gfm": "^3.0.1",
"remark-parse": "^10.0.2",
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"swr": "^2.3.0",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
Expand All @@ -93,13 +92,13 @@
"@babel/runtime": "^7.26.0",
"@commitlint/cli": "^19.6.1",
"@lobehub/i18n-cli": "^1.20.3",
"@lobehub/lint": "^1.24.4",
"@lobehub/lint": "^1.25.3",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.17.12",
"@types/node": "^22.10.5",
"@types/react": "^19.0.3",
"@types/react-dom": "^19.0.2",
"@types/uuid": "^9.0.8",
"@vercel/node": "^3.2.29",
"@types/uuid": "^10.0.0",
"@vercel/node": "^5.0.2",
"@vitest/coverage-v8": "~1.2.2",
"babel-plugin-antd-style": "^1.0.4",
"clean-package": "^2.2.0",
Expand All @@ -114,13 +113,13 @@
"jsdom": "^25.0.1",
"lint-staged": "^15.3.0",
"prettier": "^3.4.2",
"remark": "^14.0.3",
"remark-cli": "^11.0.0",
"remark": "^15.0.1",
"remark-cli": "^12.0.1",
"semantic-release": "^21.1.2",
"stylelint": "^15.11.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vercel": "^28.20.0",
"vercel": "^39.2.6",
"vitest": "~1.2.2"
},
"peerDependencies": {
Expand Down
3 changes: 1 addition & 2 deletions src/react/AudioVisualizer/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Icon } from '@lobehub/ui';
import { ErrorBoundary, Icon } from '@lobehub/ui';
import { Loader2 } from 'lucide-react';
import { CSSProperties, RefObject, memo } from 'react';
import { ErrorBoundary } from 'react-error-boundary';
import { Flexbox } from 'react-layout-kit';

import Visualizer, { VisualizerProps } from './Visualizer';
Expand Down

0 comments on commit 2dcc90a

Please sign in to comment.