Skip to content

Commit

Permalink
chore: update dependencies of non-build impacting packages (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdicarlo authored Oct 2, 2024
1 parent afaac1f commit 9ed737a
Show file tree
Hide file tree
Showing 6 changed files with 5,279 additions and 8,181 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Kbd, NavLink, Tooltip } from '@mantine/core';
import { useCallback, useEffect } from 'react';
import { useLocation, useNavigate } from 'react-router';
import tinykeys from 'tinykeys';
import { tinykeys } from 'tinykeys';
import { DrawerGlobalState } from './drawers/drawer-global-state';
import { useDrawerToggle } from './drawers/use-drawer-toggle';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PropsWithChildren, useEffect } from 'react';
import tinykeys from 'tinykeys';
import { tinykeys } from 'tinykeys';
import './keybinding.css';

export type KeybindingProps = {
Expand Down
5 changes: 2 additions & 3 deletions apps/postybirb-ui/src/components/form/fields/radio-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ function InnerRadioField(
return (
<Radio.Group {...form.getInputProps(propKey)}>
{field.options.map((o) => (
<Radio key={o.toString()} value={o.value as string | number}>
{o.label}
</Radio>
<Radio key={o.toString()} value={o.value as string | number} label={o.label}/>

))}
</Radio.Group>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/* eslint-disable lingui/no-unlocalized-strings */
import { BlockNoteEditor, filterSuggestionItems } from '@blocknote/core';
import '@blocknote/core/fonts/inter.css';
import { BlockNoteView } from '@blocknote/mantine';
import "@blocknote/mantine/style.css";
import {
BlockNoteView,
SuggestionMenuController,
getDefaultReactSlashMenuItems,
useCreateBlockNote,
} from '@blocknote/react';
import '@blocknote/react/style.css';
import { useMantineColorScheme } from '@mantine/core';
import { Description, UsernameShortcut } from '@postybirb/types';
import { useStore } from '../../../stores/use-store';
Expand Down Expand Up @@ -37,11 +37,11 @@ export function PostyBirbEditor(props: PostyBirbEditorProps) {
.map((w) => w.usernameShortcut as UsernameShortcut) || [];

// Renders the editor instance using a React component.
// TODO - remove media menu
return (
<BlockNoteView
theme={theme.colorScheme === 'light' ? 'light' : 'dark'}
editor={editor}
imageToolbar={false}
tableHandles={false}
slashMenu={false}
onChange={() => {
Expand Down
101 changes: 50 additions & 51 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"nx": "nx",
"start": "nx run-many --target=serve --projects=postybirb,postybirb-ui --parallel",
"build": "nx run-many --target=build --projects=postybirb,postybirb-ui --parallel --verbose",
"build": "nx run-many --target=build --projects=postybirb,postybirb-ui --parallel",
"build:prod": "nx run-many --target=build --configuration=production --projects=postybirb,postybirb-ui --parallel",
"lingui:extract": "lingui extract --clean",
"make": "electron-builder -w",
Expand Down Expand Up @@ -44,18 +44,19 @@
"setup:husky": "husky install"
},
"dependencies": {
"@blocknote/core": "^0.12.4",
"@blocknote/react": "^0.12.4",
"@blocknote/core": "^0.15.11",
"@blocknote/mantine": "^0.15.11",
"@blocknote/react": "^0.15.11",
"@lingui/core": "^4.7.0",
"@lingui/macro": "^4.7.0",
"@lingui/react": "^4.7.0",
"@mantine/core": "^7.10.0",
"@mantine/dates": "^7.11.1",
"@mantine/dropzone": "^7.10.0",
"@mantine/form": "^7.10.1",
"@mantine/hooks": "^7.10.0",
"@mantine/notifications": "^7.10.0",
"@mantine/spotlight": "^7.10.0",
"@mantine/core": "^7.13.1",
"@mantine/dates": "^7.13.1",
"@mantine/dropzone": "^7.13.1",
"@mantine/form": "^7.13.1",
"@mantine/hooks": "^7.13.1",
"@mantine/notifications": "^7.13.1",
"@mantine/spotlight": "^7.13.1",
"@mikro-orm/core": "^5.9",
"@mikro-orm/nestjs": "^5",
"@mikro-orm/sqlite": "^5.9",
Expand All @@ -67,71 +68,69 @@
"@nestjs/serve-static": "^4",
"@nestjs/swagger": "7.1.14",
"@nestjs/websockets": "10.0.2",
"@tabler/icons-react": "^3.10.0",
"@tabler/icons-react": "^3.19.0",
"@types/sortablejs": "^1.15.8",
"applicationinsights": "^2.9.0",
"cheerio": "^1.0.0-rc.10",
"class-transformer": "0.4.0",
"class-validator": "^0.13.1",
"applicationinsights": "^3.3.0",
"cheerio": "^1.0.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"compression": "^1.7.4",
"croner": "^8.0.0",
"cronstrue": "^2.32.0",
"croner": "^8.1.2",
"cronstrue": "^2.50.0",
"cropperjs": "^1.6.2",
"dayjs": "^1.11.11",
"dayjs": "^1.11.13",
"document-register-element": "1.13.1",
"electron-context-menu": "^3.1.1",
"electron-updater": "^6.1.4",
"express": "^4.18.2",
"fastq": "^1.13.0",
"filesize": "^10.0.6",
"express": "^4.21.0",
"fastq": "^1.17.1",
"filesize": "^10.1.6",
"form-data": "^4.0.0",
"form-urlencoded": "^6.0.4",
"form-urlencoded": "^6.1.5",
"hasha": "^5.2.2",
"history": "^5.3.0",
"lodash": "^4.17.21",
"loglayer": "^2.1.0",
"loglayer": "^4.8.0",
"mime": "^3.0.0",
"minimist": "^1.2.8",
"moment": "^2.29.4",
"multer": "^1.4.3",
"node-forge": "^0.10.0",
"moment": "^2.30.1",
"multer": "^1.4.5-lts.1",
"node-forge": "^1.3.1",
"postcss": "^8.4.38",
"postcss-import": "^14.0.2",
"postcss-inline-svg": "^5.0.0",
"postcss-inline-svg": "^6.0.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-intl": "^6.5.5",
"react-query": "^3",
"react-router": "6.17.0",
"react-router-dom": "^6.17.0",
"react-router-prompt": "^0.5.4",
"react-use": "^17.4.0",
"react-router-dom": "6.17.0",
"react-use": "^17.5.1",
"reflect-metadata": "^0.1.13",
"regenerator-runtime": "^0.13.9",
"rxjs": "^7.3.0",
"sanitize-html": "^2.10.0",
"sharp": "^0.32.5",
"socket.io": "^4.4.0",
"socket.io-client": "^4.4.1",
"sortablejs": "^1.15.2",
"tinykeys": "^1.3.0",
"sanitize-html": "^2.13.0",
"sharp": "^0.33.5",
"socket.io": "^4.8.0",
"socket.io-client": "^4.8.0",
"sortablejs": "^1.15.3",
"tinykeys": "^3.0.0",
"tslib": "2.5.2",
"turndown": "^7.1.3",
"type-fest": "^2.19.0",
"uuid": "^8.3.2",
"winston": "^3.11.0"
"turndown": "^7.2.0",
"type-fest": "^4.26.1",
"uuid": "^10.0.0",
"winston": "^3.14.2"
},
"devDependencies": {
"@babel/core": "^7.14.5",
"@babel/preset-env": "7.12.13",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "7.12.13",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@eslint-types/import": "^2.29.1",
"@eslint-types/typescript-eslint": "^6.17.0",
"@kayahr/jest-electron-runner": "^29.3.1",
"@eslint-types/typescript-eslint": "6.21.0",
"@kayahr/jest-electron-runner": "^29.14.0",
"@lingui/cli": "^4.7.0",
"@lingui/swc-plugin": "^4.0.4",
"@lingui/vite-plugin": "^4.7.0",
Expand All @@ -151,17 +150,17 @@
"@nx/web": "17.3.2",
"@nx/workspace": "17.3.2",
"@testing-library/react": "13.4.0",
"@types/cron": "^2.0.1",
"@types/cron": "^2.4.0",
"@types/jest": "29.4.4",
"@types/lodash": "^4.17.9",
"@types/mime": "^3.0.3",
"@types/node": "^18.16.9",
"@types/node-forge": "^0.10.10",
"@types/minimist": "^1.2.5",
"@types/node": "^20.16.10",
"@types/node-forge": "^1.3.11",
"@types/react": "18.2.24",
"@types/react-dom": "18.2.9",
"@types/react-router-dom": "^5.3.3",
"@types/sanitize-html": "2.9.0",
"@types/sharp": "^0.29.2",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"@vitejs/plugin-react": "4.2.0",
Expand All @@ -180,7 +179,7 @@
"eslint-define-config": "^2.1.0",
"eslint-plugin-cypress": "2.13.4",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-lingui": "^0.2.2",
"eslint-plugin-prettier": "^4.0.0",
Expand All @@ -195,7 +194,7 @@
"nx": "17.3.2",
"nx-electron": "17.0.1",
"patch-package": "^8.0.0",
"postcss-preset-mantine": "^1.15.0",
"postcss-preset-mantine": "^1.17.0",
"postcss-simple-vars": "^7.0.1",
"prettier": "2.6.2",
"shx": "^0.3.4",
Expand Down
Loading

0 comments on commit 9ed737a

Please sign in to comment.