From 0b07b36edcd433bf35584b08b51c5cdd12e52b4a Mon Sep 17 00:00:00 2001 From: Basile Spaenlehauer Date: Fri, 14 Apr 2023 11:28:33 +0200 Subject: [PATCH] feat: move to pure TS package to reduce bundle size (#89) fix: use default import on second level for mui icons fix(deps): update deps fix(deps): remove dependencies and unused packages test(ci): add concurrency setting in cypress workflow fix(deps): allow only react 17 fix: inline sourcemap build: add sideEffects false in package fix(build): make mui and emotion external fix: use chatbox namespace for translations fix(deps): make react-i18n a peer dep fix: use ImmutableCast in props --- .eslintrc | 11 +- .github/workflows/cypress_tests.yml | 13 +- .gitignore | 1 + .prettierrc | 7 +- cypress.config.ts | 4 +- cypress/components/mention-parsing.cy.tsx | 6 +- cypress/support/component.tsx | 18 +- cypress/tsconfig.json | 1 + example/package.json | 2 +- example/src/components/ChatboxTest.tsx | 2 +- index.html | 22 + package.json | 77 +- rollup.config.js | 39 - src/components/Chatbox/EditBanner.tsx | 13 +- src/components/Chatbox/Header.tsx | 5 +- src/components/Chatbox/Input.tsx | 16 +- src/components/Chatbox/Message.tsx | 17 +- src/components/Chatbox/MessageActions.tsx | 16 +- src/components/Mentions/MentionButton.tsx | 87 +- src/components/Mentions/MentionsDialog.tsx | 11 +- src/components/Mentions/MentionsTable.tsx | 15 +- src/components/common/ConfirmationDialog.tsx | 6 +- src/types.ts | 8 +- src/utils/mentions.ts | 3 +- src/utils/utils.ts | 5 + tsconfig.json | 13 +- vite.config.ts | 19 + yarn.lock | 1616 +++++++++++------- 28 files changed, 1246 insertions(+), 807 deletions(-) create mode 100644 index.html delete mode 100644 rollup.config.js create mode 100644 src/utils/utils.ts create mode 100644 vite.config.ts diff --git a/.eslintrc b/.eslintrc index 9a3b838c..34a63e65 100644 --- a/.eslintrc +++ b/.eslintrc @@ -36,14 +36,5 @@ "@typescript-eslint/no-use-before-define": ["error"], "react/jsx-uses-react": "off", "react/react-in-jsx-scope": "off" - }, - "overrides": [ - { - // enable the rule specifically for TypeScript files - "files": ["*.ts", "*.tsx"], - "rules": { - "@typescript-eslint/explicit-function-return-type": ["error"] - } - } - ] + } } diff --git a/.github/workflows/cypress_tests.yml b/.github/workflows/cypress_tests.yml index 4a4f8e38..9026f3a9 100644 --- a/.github/workflows/cypress_tests.yml +++ b/.github/workflows/cypress_tests.yml @@ -2,10 +2,11 @@ name: Cypress tests on: [push] jobs: test: + concurrency: cypress-${{ github.head_ref || github.ref }} runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: component tests 🧪 uses: cypress-io/github-action@v5 @@ -17,16 +18,8 @@ jobs: # store videos and any screenshots # NOTE: screenshots will be generated only if a test failed - name: upload screenshots - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: failure() with: name: cypress-screenshots path: cypress/screenshots - # Test run video was always captured, so this action uses "always()" condition - # Make sure that the "video" setting in cypress.config is set to true, otherwise there will be no videos - - name: upload videos - uses: actions/upload-artifact@v2 - if: always() - with: - name: cypress-videos - path: cypress/videos diff --git a/.gitignore b/.gitignore index ee877d0f..766ba522 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ node_modules # misc .DS_Store +bundle-analysis.html npm-debug.log* yarn-debug.log* diff --git a/.prettierrc b/.prettierrc index 6cb72166..53a95127 100644 --- a/.prettierrc +++ b/.prettierrc @@ -4,10 +4,11 @@ "semi": true, "singleQuote": true, "importOrder": [ - "^@(?!graasp|mui)(.*)", "^react", - "^@?mui(.*)", - "^@?graasp(.*)", + "^@?mui", + "^@?graasp", + "", + "^@/", "^[./]" ], "importOrderSeparation": true, diff --git a/cypress.config.ts b/cypress.config.ts index ab892fb4..a56c1ac5 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -6,8 +6,8 @@ export default defineConfig({ component: { devServer: { - framework: 'create-react-app', - bundler: 'webpack', + framework: 'react', + bundler: 'vite', }, viewportWidth: 290, viewportHeight: 800, diff --git a/cypress/components/mention-parsing.cy.tsx b/cypress/components/mention-parsing.cy.tsx index b9505af8..2514623b 100644 --- a/cypress/components/mention-parsing.cy.tsx +++ b/cypress/components/mention-parsing.cy.tsx @@ -3,10 +3,8 @@ import React from 'react'; import { convertJs } from '@graasp/sdk'; -import Chatbox, { - LEGACY_MENTION_MARKUP, - getMentionMarkupFromMember, -} from '../../src'; +import { LEGACY_MENTION_MARKUP, getMentionMarkupFromMember } from '../../src'; +import Chatbox from '../../src/components/Chatbox/Chatbox'; import { dataCyWrapper, messageIdCyWrapper } from '../../src/config/selectors'; import { ALL_MEMBERS_DISPLAY, ALL_MEMBERS_MEMBER } from '../../src/constants'; import { CHAT_ID, getMockMessage } from '../fixtures/chat_messages'; diff --git a/cypress/support/component.tsx b/cypress/support/component.tsx index c61fef55..50361410 100644 --- a/cypress/support/component.tsx +++ b/cypress/support/component.tsx @@ -15,13 +15,16 @@ // Import commands.js using ES2015 syntax: // Alternatively you can use CommonJS syntax: // require('./commands') -import { mount } from 'cypress/react'; - import React from 'react'; +import { I18nextProvider, initReactI18next } from 'react-i18next'; import { CssBaseline } from '@mui/material'; import { ThemeProvider, createTheme } from '@mui/material/styles'; +import buildI18n from '@graasp/translations'; + +import { mount } from 'cypress/react'; + import './commands'; // Augment the Cypress namespace to include type definitions for @@ -37,12 +40,15 @@ declare global { } Cypress.Commands.add('mount', (component) => { + const i18n = buildI18n().use(initReactI18next); const theme = createTheme(); const wrapped = ( - - - {component} - + + + + {component} + + ); return mount(wrapped); }); diff --git a/cypress/tsconfig.json b/cypress/tsconfig.json index dfc88ec9..278b506c 100644 --- a/cypress/tsconfig.json +++ b/cypress/tsconfig.json @@ -1,4 +1,5 @@ { + "extends": "../tsconfig.json", "compilerOptions": { "target": "es5", "lib": ["es5", "dom"], diff --git a/example/package.json b/example/package.json index 3035ffd1..dd3488e9 100644 --- a/example/package.json +++ b/example/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@graasp/chatbox": "link:..", - "@graasp/query-client": "link:../node_modules/@graasp/query-client", + "@graasp/query-client": "0.4.0", "@mui/icons-material": "link:../node_modules/@mui/icons-material", "@mui/material": "link:../node_modules/@mui/material", "@types/jest": "link:../node_modules/@types/jest", diff --git a/example/src/components/ChatboxTest.tsx b/example/src/components/ChatboxTest.tsx index 55f1cdf4..b8163418 100644 --- a/example/src/components/ChatboxTest.tsx +++ b/example/src/components/ChatboxTest.tsx @@ -14,11 +14,11 @@ import { styled, } from '@mui/material'; +import { MentionButton } from '@graasp/chatbox'; import { MUTATION_KEYS } from '@graasp/query-client'; import { ChatMention } from '@graasp/sdk'; import buildI18n, { namespaces } from '@graasp/translations'; -import { MentionButton } from '@graasp/chatbox'; import { DEFAULT_CHAT_ID, DEFAULT_LANG, diff --git a/index.html b/index.html new file mode 100644 index 00000000..bf725ddd --- /dev/null +++ b/index.html @@ -0,0 +1,22 @@ + + + + + + + + + + Graasp Chatbox + + +
+ + + diff --git a/package.json b/package.json index 8cdf13c7..dcc70dfe 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,15 @@ { "name": "@graasp/chatbox", "version": "1.1.0", - "main": "dist/index.js", - "module": "dist/index.js", - "source": "index.ts", - "typings": "dist/index.d.ts", + "type": "commonjs", + "files": [ + "dist" + ], + "sideEffects": false, + "main": "./dist/index.js", + "types": "./dist/index.d.ts", "typescript": { - "definition": "dist/index.d.ts" + "definition": "./dist/index.d.ts" }, "repository": "graasp/graasp-chatbox", "author": "Graasp", @@ -25,9 +28,7 @@ "node": ">=16" }, "scripts": { - "pre-commit": "yarn prettier:check && yarn lint", - "post-commit": "git status", - "build": "rimraf dist && tsc && rollup -c rollup.config.js", + "build": "tsc && tsc-alias", "start": "rimraf dist && tsc && rollup --watch -c rollup.config.js", "start:example": "yarn workspace graasp-chatbox-example start", "prepack": "yarn build", @@ -41,37 +42,31 @@ "test": "yarn build", "hooks:uninstall": "husky uninstall", "hooks:install": "husky install", - "predeploy": "cd example && yarn install && yarn build", - "release": "standard-version", "cypress:open": "cypress open", "cypress:ci": "cypress run --component" }, "peerDependencies": { - "@mui/icons-material": "*", - "@mui/lab": "*", - "@mui/material": "*", - "eslint": "*", - "react": "*", - "react-dom": "*" + "@emotion/react": "^11.10.6", + "@emotion/styled": "^11.10.6", + "@graasp/translations": "^1.10.0", + "@mui/icons-material": "^5.11.11", + "@mui/lab": "^5.0.0-alpha.121", + "@mui/material": "^5.11.11", + "react": "^17.0.0", + "react-dom": "*", + "react-i18next": "^12.0.0" }, "dependencies": { - "@emotion/react": "11.10.6", - "@emotion/styled": "11.10.6", - "@graasp/sdk": "0.9.2", - "@graasp/translations": "1.8.0", - "@graasp/ui": "2.2.0", - "clsx": "1.2.1", + "@graasp/query-client": "0.4.0", + "@graasp/sdk": "0.10.0", + "@graasp/ui": "2.3.1", "i18next": "21.8.1", - "immutable": "4.2.4", "lodash.truncate": "4.4.2", "moment": "2.29.4", "prism-react-renderer": "1.3.5", - "react-csv": "2.2.2", - "react-i18next": "12.0.0", "react-markdown": "8.0.5", "react-mentions": "4.4.7", "react-query": "3.39.3", - "react-router-dom": "6.3.0", "remark-breaks": "3.0.2", "remark-gfm": "3.0.1", "tsc-alias": "1.8.2" @@ -84,15 +79,12 @@ "@commitlint/config-conventional": "17.4.4", "@cypress/instrument-cra": "1.4.0", "@cypress/react": "7.0.2", - "@cypress/webpack-dev-server": "3.3.0", - "@graasp/query-client": "0.3.0", + "@emotion/react": "11.10.6", + "@emotion/styled": "11.10.6", + "@graasp/translations": "1.11.0", "@mui/icons-material": "5.11.11", "@mui/lab": "5.0.0-alpha.121", "@mui/material": "5.11.11", - "@rollup/plugin-commonjs": "21.0.1", - "@rollup/plugin-json": "4.1.0", - "@rollup/plugin-node-resolve": "13.1.3", - "@rollup/plugin-typescript": "8.3.0", "@trivago/prettier-plugin-sort-imports": "3.2.0", "@types/jest": "27.4.0", "@types/lodash.truncate": "4.4.7", @@ -104,8 +96,9 @@ "@types/uuid": "9.0.0", "@typescript-eslint/eslint-plugin": "5.49.0", "@typescript-eslint/parser": "5.49.0", + "@vitejs/plugin-react": "3.1.0", "cross-env": "7.0.3", - "cypress": "12.4.0", + "cypress": "12.9.0", "env-cmd": "10.1.0", "eslint": "8.23.0", "eslint-config-prettier": "8.3.0", @@ -116,26 +109,24 @@ "eslint-plugin-promise": "5.2.0", "eslint-plugin-react": "7.30.1", "husky": "8.0.3", + "immutable": "4.2.4", "prettier": "2.8.4", "react": "17.0.2", "react-dom": "17.0.2", + "react-i18next": "12.0.0", + "react-router-dom": "6.10.0", "react-scripts": "5.0.1", "rimraf": "3.0.2", "rollup": "2.77.0", - "rollup-jest": "1.1.3", - "rollup-plugin-import-css": "3.0.3", - "rollup-plugin-peer-deps-external": "2.2.4", - "rollup-plugin-tsc-alias": "1.1.2", + "rollup-plugin-visualizer": "5.9.0", "ts-loader": "9.3.1", "tslib": "2.5.0", - "typescript": "4.9.5" + "typescript": "4.9.5", + "vite": "4.2.1", + "vite-plugin-dts": "2.1.0" }, "resolutions": { - "@types/react": "17.0.2", - "immutable": "4.2.4" + "@types/react": "17.0.2" }, - "files": [ - "dist" - ], "packageManager": "yarn@3.4.1" } diff --git a/rollup.config.js b/rollup.config.js deleted file mode 100644 index 3336b715..00000000 --- a/rollup.config.js +++ /dev/null @@ -1,39 +0,0 @@ -import peerDepsExternal from 'rollup-plugin-peer-deps-external'; -import tscAlias from 'rollup-plugin-tsc-alias'; - -import commonjs from '@rollup/plugin-commonjs'; -import json from '@rollup/plugin-json'; -import resolve from '@rollup/plugin-node-resolve'; -import typescript from '@rollup/plugin-typescript'; - -export default { - input: './src/index.ts', - output: { - dir: './dist', - format: 'cjs', - }, - plugins: [ - json(), - peerDepsExternal(), - resolve({ - mainFields: ['module', 'main', 'jsnext:main', 'browser'], - extensions: ['.js', '.jsx', '.ts', '.tsx'], - }), - typescript({ - tsconfig: './tsconfig.json', - sourceMap: false, - exclude: ['**/*.test.ts', '**/*.test.tsx'], - }), - // resolve tsconfig path aliases - tscAlias(), - commonjs(), - ], - external: [ - '@material-ui/core', - '@material-ui/icons', - '@material-ui/lab', - '@material-ui/styles', - 'react', - 'react-dom', - ], -}; diff --git a/src/components/Chatbox/EditBanner.tsx b/src/components/Chatbox/EditBanner.tsx index c2a483ff..363d6fcf 100644 --- a/src/components/Chatbox/EditBanner.tsx +++ b/src/components/Chatbox/EditBanner.tsx @@ -1,7 +1,7 @@ import { FC } from 'react'; -import { useTranslation } from 'react-i18next'; -import { Close, Edit } from '@mui/icons-material'; +import Close from '@mui/icons-material/Close'; +import Edit from '@mui/icons-material/Edit'; import { styled } from '@mui/material'; import Box from '@mui/material/Box'; import Divider from '@mui/material/Divider'; @@ -15,9 +15,10 @@ import { editBannerCloseButtonCypress, editBannerCypress, editBannerOldTextCypress, -} from '../../config/selectors'; -import { useEditingContext } from '../../context/EditingContext'; -import { normalizeMentions } from '../../utils/mentions'; +} from '@/config/selectors'; +import { useEditingContext } from '@/context/EditingContext'; +import { normalizeMentions } from '@/utils/mentions'; +import { useChatboxTranslation } from '@/utils/utils'; const Container = styled(Box)({ display: 'flex', @@ -47,7 +48,7 @@ type Props = { const EditBanner: FC = ({ onClose, editedText }) => { const { open } = useEditingContext(); - const { t } = useTranslation(); + const { t } = useChatboxTranslation(); if (!open) { return null; } diff --git a/src/components/Chatbox/Header.tsx b/src/components/Chatbox/Header.tsx index 6a83b761..b1d3423d 100644 --- a/src/components/Chatbox/Header.tsx +++ b/src/components/Chatbox/Header.tsx @@ -1,5 +1,4 @@ import { FC } from 'react'; -import { useTranslation } from 'react-i18next'; import ChatIcon from '@mui/icons-material/Chat'; import { styled } from '@mui/material'; @@ -9,6 +8,8 @@ import Typography from '@mui/material/Typography'; import { CHATBOX } from '@graasp/translations'; +import { useChatboxTranslation } from '@/utils/utils'; + const RootContainer = styled('div')({ flexGrow: 1, }); @@ -25,7 +26,7 @@ type Props = { }; const Header: FC = ({ title }) => { - const { t } = useTranslation(); + const { t } = useChatboxTranslation(); return ( diff --git a/src/components/Chatbox/Input.tsx b/src/components/Chatbox/Input.tsx index 0ebed6c5..6eda3970 100644 --- a/src/components/Chatbox/Input.tsx +++ b/src/components/Chatbox/Input.tsx @@ -1,5 +1,4 @@ import React, { FC, ReactElement, RefObject, useEffect, useState } from 'react'; -import { useTranslation } from 'react-i18next'; import { Mention, MentionItem, @@ -15,22 +14,23 @@ import IconButton from '@mui/material/IconButton'; import { MessageBodyType } from '@graasp/sdk'; import { CHATBOX } from '@graasp/translations'; +import FullWidthWrapper from '@/components/common/FullWidthWrapper'; import { charCounterCypress, inputTextFieldCypress, inputTextFieldTextAreaCypress, sendButtonCypress, -} from '../../config/selectors'; +} from '@/config/selectors'; import { ALL_MEMBERS_ID, ALL_MEMBERS_SUGGESTION, GRAASP_MENTION_COLOR, HARD_MAX_MESSAGE_LENGTH, -} from '../../constants'; -import { useCurrentMemberContext } from '../../context/CurrentMemberContext'; -import { useMessagesContext } from '../../context/MessagesContext'; -import { MENTION_MARKUP } from '../../utils/mentions'; -import FullWidthWrapper from '../common/FullWidthWrapper'; +} from '@/constants'; +import { useCurrentMemberContext } from '@/context/CurrentMemberContext'; +import { useMessagesContext } from '@/context/MessagesContext'; +import { MENTION_MARKUP } from '@/utils/mentions'; +import { useChatboxTranslation } from '@/utils/utils'; const HelperText = styled(Typography)(({ theme }) => ({ whiteSpace: 'pre', @@ -120,7 +120,7 @@ const Input: FC = ({ const { members } = useMessagesContext(); const { id: currentMemberId } = useCurrentMemberContext(); - const { t } = useTranslation(); + const { t } = useChatboxTranslation(); const [currentMentions, setCurrentMentions] = useState([]); const [plainTextMessage, setPlainTextMessage] = useState(''); diff --git a/src/components/Chatbox/Message.tsx b/src/components/Chatbox/Message.tsx index 0202ff96..82fae5b5 100644 --- a/src/components/Chatbox/Message.tsx +++ b/src/components/Chatbox/Message.tsx @@ -1,8 +1,4 @@ -import truncate from 'lodash.truncate'; -import moment from 'moment'; - import { FC } from 'react'; -import { useTranslation } from 'react-i18next'; import { styled } from '@mui/material'; import Box from '@mui/material/Box'; @@ -13,13 +9,18 @@ import { ChatMessageRecord, MemberRecord } from '@graasp/sdk/frontend'; import { CHATBOX } from '@graasp/translations'; import { Avatar } from '@graasp/ui'; -import { messageIdCyWrapper } from '../../config/selectors'; +import truncate from 'lodash.truncate'; +import moment from 'moment'; + +import { messageIdCyWrapper } from '@/config/selectors'; import { DEFAULT_USER_NAME, MAX_AVATAR_SIZE, MAX_USERNAME_LENGTH, -} from '../../constants'; -import { useHooksContext } from '../../context/HooksContext'; +} from '@/constants'; +import { useHooksContext } from '@/context/HooksContext'; +import { useChatboxTranslation } from '@/utils/utils'; + import MessageBody from './MessageBody'; const MessageWrapper = styled(Box)(({ theme }) => ({ @@ -53,7 +54,7 @@ type Props = { }; const Message: FC = ({ message, currentMember, member }) => { - const { t } = useTranslation(); + const { t } = useChatboxTranslation(); const { useAvatarHook } = useHooksContext(); const { data: thumbnailBlob, diff --git a/src/components/Chatbox/MessageActions.tsx b/src/components/Chatbox/MessageActions.tsx index 315efe61..d0d6ad4d 100644 --- a/src/components/Chatbox/MessageActions.tsx +++ b/src/components/Chatbox/MessageActions.tsx @@ -1,7 +1,8 @@ import React, { FC, useState } from 'react'; -import { useTranslation } from 'react-i18next'; -import { Delete, Edit, MoreVert } from '@mui/icons-material'; +import Delete from '@mui/icons-material/Delete'; +import Edit from '@mui/icons-material/Edit'; +import MoreVert from '@mui/icons-material/MoreVert'; import { IconButton, ListItemIcon, @@ -18,10 +19,11 @@ import { deleteMenuItemCypress, editMenuItemCypress, messageActionsButtonCypress, -} from '../../config/selectors'; -import { LIST_ICON_MIN_WIDTH } from '../../constants'; -import { useEditingContext } from '../../context/EditingContext'; -import { DeleteMessageFunctionType } from '../../types'; +} from '@/config/selectors'; +import { LIST_ICON_MIN_WIDTH } from '@/constants'; +import { useEditingContext } from '@/context/EditingContext'; +import { DeleteMessageFunctionType } from '@/types'; +import { useChatboxTranslation } from '@/utils/utils'; type Props = { message: ChatMessageRecord; @@ -43,7 +45,7 @@ const MessageActions: FC = ({ }) => { const [menuOpen, setMenuOpen] = useState(false); const [menuAnchor, setMenuAnchor] = useState(null); - const { t } = useTranslation(); + const { t } = useChatboxTranslation(); const { enableEdit } = useEditingContext(); const handleOnClickMenu = (e: React.MouseEvent): void => { diff --git a/src/components/Mentions/MentionButton.tsx b/src/components/Mentions/MentionButton.tsx index 5d82783b..7978e2ea 100644 --- a/src/components/Mentions/MentionButton.tsx +++ b/src/components/Mentions/MentionButton.tsx @@ -1,24 +1,24 @@ -import { List } from 'immutable'; - -import { FC, useMemo, useState } from 'react'; -import { I18nextProvider } from 'react-i18next'; +import { FC, useState } from 'react'; import { UseQueryResult } from 'react-query'; -import { Notifications } from '@mui/icons-material'; -import { Badge, BadgeProps, IconButton } from '@mui/material'; +import Notifications from '@mui/icons-material/Notifications'; +import { Badge, BadgeProps, IconButton, SvgIconProps } from '@mui/material'; import { MentionStatus } from '@graasp/sdk'; import { MemberMentionsRecord, MemberRecord } from '@graasp/sdk/frontend'; -import buildI18n, { CHATBOX, langs, namespaces } from '@graasp/translations'; +import { CHATBOX } from '@graasp/translations'; + +import { List } from 'immutable'; + +import { mentionButtonCypress } from '@/config/selectors'; +import { useChatboxTranslation } from '@/utils/utils'; -import { mentionButtonCypress } from '../../config/selectors'; import MentionsDialog from './MentionsDialog'; import MentionsTable from './MentionsTable'; type Props = { - color?: 'primary' | 'secondary'; + color?: SvgIconProps['color']; badgeColor?: BadgeProps['color']; - lang?: string; useMentions: ( options?: { getUpdates?: boolean | undefined } | undefined, ) => UseQueryResult; @@ -29,21 +29,15 @@ type Props = { }; const MentionButton: FC = ({ - color = 'primary', - badgeColor = 'warning', - lang = langs.en, + color = 'secondary', + badgeColor = 'primary', useMentions, useMembers, patchMentionFunction, deleteMentionFunction, clearAllMentionsFunction, }) => { - const i18n = useMemo(() => { - const i18nInstance = buildI18n(namespaces.chatbox); - i18nInstance.changeLanguage(lang); - return i18nInstance; - }, [lang]); - const t = i18n.t; + const { t } = useChatboxTranslation(); const { data: memberMentions } = useMentions(); const mentions = memberMentions?.mentions; @@ -66,35 +60,34 @@ const MentionButton: FC = ({ return (
- - setOpen(true)} - > - m.status === MentionStatus.UNREAD) - ?.size || 0 - } - > - - - - + setOpen(true)} + > + m.status === MentionStatus.UNREAD)?.size || + 0 } - open={open} - setOpen={setOpen} - /> - + > + + + + + } + open={open} + setOpen={setOpen} + />
); }; diff --git a/src/components/Mentions/MentionsDialog.tsx b/src/components/Mentions/MentionsDialog.tsx index 03cd4c6f..162c3184 100644 --- a/src/components/Mentions/MentionsDialog.tsx +++ b/src/components/Mentions/MentionsDialog.tsx @@ -1,9 +1,12 @@ import { FC, ReactElement } from 'react'; -import { useTranslation } from 'react-i18next'; -import { Notifications } from '@mui/icons-material'; +import Notifications from '@mui/icons-material/Notifications'; import { Dialog, DialogContent, DialogTitle, styled } from '@mui/material'; +import { CHATBOX } from '@graasp/translations'; + +import { useChatboxTranslation } from '@/utils/utils'; + const DialogTitleIcon = styled(Notifications)(({ theme }) => ({ paddingRight: theme.spacing(1), })); @@ -20,13 +23,13 @@ type Props = { }; const MentionsDialog: FC = ({ content, open, setOpen }) => { - const { t } = useTranslation(); + const { t } = useChatboxTranslation(); return ( setOpen(false)} maxWidth="lg"> - {t('Notifications')} + {t(CHATBOX.NOTIFICATIONS_DIALOG_TITLE)} {content} diff --git a/src/components/Mentions/MentionsTable.tsx b/src/components/Mentions/MentionsTable.tsx index b5819983..24e7acdd 100644 --- a/src/components/Mentions/MentionsTable.tsx +++ b/src/components/Mentions/MentionsTable.tsx @@ -1,9 +1,8 @@ -import { List } from 'immutable'; - import { FC, ReactElement, useState } from 'react'; -import { useTranslation } from 'react-i18next'; -import { Check, Close, FiberManualRecord } from '@mui/icons-material'; +import Check from '@mui/icons-material/Check'; +import Close from '@mui/icons-material/Close'; +import FiberManualRecord from '@mui/icons-material/FiberManualRecord'; import { Grid, IconButton, @@ -25,6 +24,10 @@ import { ChatMentionRecord } from '@graasp/sdk/frontend'; import { CHATBOX } from '@graasp/translations'; import { Button } from '@graasp/ui'; +import { List } from 'immutable'; + +import { useChatboxTranslation } from '@/utils/utils'; + import MessageBody from '../Chatbox/MessageBody'; import ConfirmationDialog from '../common/ConfirmationDialog'; @@ -49,7 +52,7 @@ const MentionsTable: FC = ({ clearAllMentions, }) => { const [openConfirmation, setOpenConfirmation] = useState(false); - const { t } = useTranslation(); + const { t } = useChatboxTranslation(); const markAsRead = (id: string): void => { patchMention({ id: id, status: MentionStatus.READ }); }; @@ -58,7 +61,7 @@ const MentionsTable: FC = ({ if (!mentions || !mentions.size) { return ( - No Notifications + {t(CHATBOX.EMPTY_NOTIFICATIONS)} ); } diff --git a/src/components/common/ConfirmationDialog.tsx b/src/components/common/ConfirmationDialog.tsx index 9c5cc66e..e2337af1 100644 --- a/src/components/common/ConfirmationDialog.tsx +++ b/src/components/common/ConfirmationDialog.tsx @@ -1,5 +1,4 @@ import { FC, ReactElement } from 'react'; -import { useTranslation } from 'react-i18next'; import { Dialog, @@ -14,7 +13,8 @@ import { Button } from '@graasp/ui'; import { cancelDialogButtonCypress, confirmDialogButtonCypress, -} from '../../config/selectors'; +} from '@/config/selectors'; +import { useChatboxTranslation } from '@/utils/utils'; type Props = { open: boolean; @@ -35,7 +35,7 @@ const ConfirmationDialog: FC = ({ onConfirm, onCancel, }) => { - const { t } = useTranslation(); + const { t } = useChatboxTranslation(); return ( diff --git a/src/types.ts b/src/types.ts index 74996b57..2b74c929 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,11 +1,11 @@ -import { List } from 'immutable'; - import { UseQueryResult } from 'react-query'; import { ChatMessage, Member, MessageBodyType } from '@graasp/sdk'; -import { ChatMessageRecord } from '@graasp/sdk/frontend'; +import { ImmutableCast } from '@graasp/sdk/frontend'; + +import { List } from 'immutable'; -export type ChatMessageList = List; +export type ChatMessageList = List>; export type AvatarHookType = (args: { id?: string; diff --git a/src/utils/mentions.ts b/src/utils/mentions.ts index 39ca6c97..7cdbd7da 100644 --- a/src/utils/mentions.ts +++ b/src/utils/mentions.ts @@ -38,6 +38,7 @@ export const getMentionMarkupFromMember = ( templateMarkup = MENTION_MARKUP, ): string => Object.entries(reactMentionsMarkup).reduce( - (markup, [key, value]) => markup.replace(value, member[key]), + (markup, [key, value]) => + markup.replace(value, member[key as keyof typeof reactMentionsMarkup]), templateMarkup, ); diff --git a/src/utils/utils.ts b/src/utils/utils.ts new file mode 100644 index 00000000..227ec959 --- /dev/null +++ b/src/utils/utils.ts @@ -0,0 +1,5 @@ +import { useTranslation } from 'react-i18next'; + +import { namespaces } from '@graasp/translations'; + +export const useChatboxTranslation = () => useTranslation(namespaces.chatbox); diff --git a/tsconfig.json b/tsconfig.json index 6c5ad223..ab78e571 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,13 @@ { "compilerOptions": { + "target": "es6", + "module": "CommonJS", "outDir": "dist", - "module": "esnext", "lib": ["dom", "dom.iterable", "esnext"], "moduleResolution": "node", "jsx": "react-jsx", - "sourceMap": true, + "inlineSourceMap": true, + "inlineSources": true, "declaration": true, "declarationDir": "dist", "esModuleInterop": true, @@ -13,18 +15,16 @@ "noImplicitThis": true, "noImplicitAny": true, "strictNullChecks": true, - "suppressImplicitAnyIndexErrors": true, "noUnusedLocals": true, "noUnusedParameters": true, "allowSyntheticDefaultImports": true, - "target": "es5", "allowJs": true, "skipLibCheck": true, "strict": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true, + "noEmit": false, "noFallthroughCasesInSwitch": true, "types": ["node", "cypress"], "baseUrl": "./src", @@ -34,9 +34,8 @@ }, "include": [ "src", - "index.ts", "cypress/cypress.d.ts", "node_modules/cypress/types/cypress-global-vars.d.ts" ], - "exclude": ["node_modules", "dist", "example", "src/test/*"] + "exclude": ["node_modules", "dist", "example"] } diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 00000000..02951ea6 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,19 @@ +import react from '@vitejs/plugin-react'; +import { resolve } from 'path'; +import { UserConfigExport, defineConfig, loadEnv } from 'vite'; + +export default ({ mode }: { mode: string }): UserConfigExport => { + process.env = { ...process.env, ...loadEnv(mode, process.cwd()) }; + + return defineConfig({ + plugins: [react()], + resolve: { + alias: { + '@': resolve(__dirname, 'src'), + }, + }, + define: { + 'process.env.REACT_APP_GRAASP_ASSETS_URL': `"${process.env.VITE_GRAASP_ASSETS_URL}"`, + }, + }); +}; diff --git a/yarn.lock b/yarn.lock index f5398887..31480f58 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,7 +5,7 @@ __metadata: version: 6 cacheKey: 8 -"@ampproject/remapping@npm:^2.1.0": +"@ampproject/remapping@npm:^2.1.0, @ampproject/remapping@npm:^2.2.0": version: 2.2.0 resolution: "@ampproject/remapping@npm:2.2.0" dependencies: @@ -37,6 +37,15 @@ __metadata: languageName: node linkType: hard +"@babel/code-frame@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/code-frame@npm:7.21.4" + dependencies: + "@babel/highlight": ^7.18.6 + checksum: e5390e6ec1ac58dcef01d4f18eaf1fd2f1325528661ff6d4a5de8979588b9f5a8e852a54a91b923846f7a5c681b217f0a45c2524eb9560553160cd963b7d592c + languageName: node + linkType: hard + "@babel/compat-data@npm:^7.17.7, @babel/compat-data@npm:^7.19.4, @babel/compat-data@npm:^7.20.0": version: 7.20.1 resolution: "@babel/compat-data@npm:7.20.1" @@ -44,6 +53,13 @@ __metadata: languageName: node linkType: hard +"@babel/compat-data@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/compat-data@npm:7.21.4" + checksum: 5f8b98c66f2ffba9f3c3a82c0cf354c52a0ec5ad4797b370dc32bdcd6e136ac4febe5e93d76ce76e175632e2dbf6ce9f46319aa689fcfafa41b6e49834fa4b66 + languageName: node + linkType: hard + "@babel/core@npm:7.13.10": version: 7.13.10 resolution: "@babel/core@npm:7.13.10" @@ -91,6 +107,29 @@ __metadata: languageName: node linkType: hard +"@babel/core@npm:^7.20.12": + version: 7.21.4 + resolution: "@babel/core@npm:7.21.4" + dependencies: + "@ampproject/remapping": ^2.2.0 + "@babel/code-frame": ^7.21.4 + "@babel/generator": ^7.21.4 + "@babel/helper-compilation-targets": ^7.21.4 + "@babel/helper-module-transforms": ^7.21.2 + "@babel/helpers": ^7.21.0 + "@babel/parser": ^7.21.4 + "@babel/template": ^7.20.7 + "@babel/traverse": ^7.21.4 + "@babel/types": ^7.21.4 + convert-source-map: ^1.7.0 + debug: ^4.1.0 + gensync: ^1.0.0-beta.2 + json5: ^2.2.2 + semver: ^6.3.0 + checksum: a3beebb2cc79908a02f27a07dc381bcb34e8ecc58fa99f568ad0934c49e12111fc977ee9c5b51eb7ea2da66f63155d37c4dd96b6472eaeecfc35843ccb56bf3d + languageName: node + linkType: hard + "@babel/eslint-parser@npm:^7.16.3": version: 7.19.1 resolution: "@babel/eslint-parser@npm:7.19.1" @@ -127,6 +166,18 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/generator@npm:7.21.4" + dependencies: + "@babel/types": ^7.21.4 + "@jridgewell/gen-mapping": ^0.3.2 + "@jridgewell/trace-mapping": ^0.3.17 + jsesc: ^2.5.1 + checksum: 9ffbb526a53bb8469b5402f7b5feac93809b09b2a9f82fcbfcdc5916268a65dae746a1f2479e03ba4fb0776facd7c892191f63baa61ab69b2cfdb24f7b92424d + languageName: node + linkType: hard + "@babel/helper-annotate-as-pure@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-annotate-as-pure@npm:7.18.6" @@ -160,6 +211,21 @@ __metadata: languageName: node linkType: hard +"@babel/helper-compilation-targets@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/helper-compilation-targets@npm:7.21.4" + dependencies: + "@babel/compat-data": ^7.21.4 + "@babel/helper-validator-option": ^7.21.0 + browserslist: ^4.21.3 + lru-cache: ^5.1.1 + semver: ^6.3.0 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: bf9c7d3e7e6adff9222c05d898724cd4ee91d7eb9d52222c7ad2a22955620c2872cc2d9bdf0e047df8efdb79f4e3af2a06b53f509286145feccc4d10ddc318be + languageName: node + linkType: hard + "@babel/helper-create-class-features-plugin@npm:^7.18.6, @babel/helper-create-class-features-plugin@npm:^7.19.0": version: 7.19.0 resolution: "@babel/helper-create-class-features-plugin@npm:7.19.0" @@ -231,6 +297,16 @@ __metadata: languageName: node linkType: hard +"@babel/helper-function-name@npm:^7.21.0": + version: 7.21.0 + resolution: "@babel/helper-function-name@npm:7.21.0" + dependencies: + "@babel/template": ^7.20.7 + "@babel/types": ^7.21.0 + checksum: d63e63c3e0e3e8b3138fa47b0cd321148a300ef12b8ee951196994dcd2a492cc708aeda94c2c53759a5c9177fffaac0fd8778791286746f72a000976968daf4e + languageName: node + linkType: hard + "@babel/helper-hoist-variables@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-hoist-variables@npm:7.18.6" @@ -274,6 +350,22 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-transforms@npm:^7.21.2": + version: 7.21.2 + resolution: "@babel/helper-module-transforms@npm:7.21.2" + dependencies: + "@babel/helper-environment-visitor": ^7.18.9 + "@babel/helper-module-imports": ^7.18.6 + "@babel/helper-simple-access": ^7.20.2 + "@babel/helper-split-export-declaration": ^7.18.6 + "@babel/helper-validator-identifier": ^7.19.1 + "@babel/template": ^7.20.7 + "@babel/traverse": ^7.21.2 + "@babel/types": ^7.21.2 + checksum: 8a1c129a4f90bdf97d8b6e7861732c9580f48f877aaaafbc376ce2482febebcb8daaa1de8bc91676d12886487603f8c62a44f9e90ee76d6cac7f9225b26a49e1 + languageName: node + linkType: hard + "@babel/helper-optimise-call-expression@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-optimise-call-expression@npm:7.18.6" @@ -290,6 +382,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-plugin-utils@npm:^7.20.2": + version: 7.20.2 + resolution: "@babel/helper-plugin-utils@npm:7.20.2" + checksum: f6cae53b7fdb1bf3abd50fa61b10b4470985b400cc794d92635da1e7077bb19729f626adc0741b69403d9b6e411cddddb9c0157a709cc7c4eeb41e663be5d74b + languageName: node + linkType: hard + "@babel/helper-remap-async-to-generator@npm:^7.18.6, @babel/helper-remap-async-to-generator@npm:^7.18.9": version: 7.18.9 resolution: "@babel/helper-remap-async-to-generator@npm:7.18.9" @@ -326,6 +425,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-simple-access@npm:^7.20.2": + version: 7.20.2 + resolution: "@babel/helper-simple-access@npm:7.20.2" + dependencies: + "@babel/types": ^7.20.2 + checksum: ad1e96ee2e5f654ffee2369a586e5e8d2722bf2d8b028a121b4c33ebae47253f64d420157b9f0a8927aea3a9e0f18c0103e74fdd531815cf3650a0a4adca11a1 + languageName: node + linkType: hard + "@babel/helper-skip-transparent-expression-wrappers@npm:^7.18.9": version: 7.20.0 resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.20.0" @@ -365,6 +473,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-option@npm:^7.21.0": + version: 7.21.0 + resolution: "@babel/helper-validator-option@npm:7.21.0" + checksum: 8ece4c78ffa5461fd8ab6b6e57cc51afad59df08192ed5d84b475af4a7193fc1cb794b59e3e7be64f3cdc4df7ac78bf3dbb20c129d7757ae078e6279ff8c2f07 + languageName: node + linkType: hard + "@babel/helper-wrap-function@npm:^7.18.9": version: 7.19.0 resolution: "@babel/helper-wrap-function@npm:7.19.0" @@ -388,6 +503,17 @@ __metadata: languageName: node linkType: hard +"@babel/helpers@npm:^7.21.0": + version: 7.21.0 + resolution: "@babel/helpers@npm:7.21.0" + dependencies: + "@babel/template": ^7.20.7 + "@babel/traverse": ^7.21.0 + "@babel/types": ^7.21.0 + checksum: 9370dad2bb665c551869a08ac87c8bdafad53dbcdce1f5c5d498f51811456a3c005d9857562715151a0f00b2e912ac8d89f56574f837b5689f5f5072221cdf54 + languageName: node + linkType: hard + "@babel/highlight@npm:^7.18.6": version: 7.18.6 resolution: "@babel/highlight@npm:7.18.6" @@ -417,6 +543,15 @@ __metadata: languageName: node linkType: hard +"@babel/parser@npm:^7.20.15, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/parser@npm:7.21.4" + bin: + parser: ./bin/babel-parser.js + checksum: de610ecd1bff331766d0c058023ca11a4f242bfafefc42caf926becccfb6756637d167c001987ca830dd4b34b93c629a4cef63f8c8c864a8564cdfde1989ac77 + languageName: node + linkType: hard + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.18.6" @@ -1197,6 +1332,28 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-react-jsx-self@npm:^7.18.6": + version: 7.21.0 + resolution: "@babel/plugin-transform-react-jsx-self@npm:7.21.0" + dependencies: + "@babel/helper-plugin-utils": ^7.20.2 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 696f74c04a265409ccd46e333ff762e6011d394e6972128b5d97db4c1647289141bc7ebd45ab2bab99b60932f9793e8f89ee9432d3bde19962de2100456f6147 + languageName: node + linkType: hard + +"@babel/plugin-transform-react-jsx-source@npm:^7.19.6": + version: 7.19.6 + resolution: "@babel/plugin-transform-react-jsx-source@npm:7.19.6" + dependencies: + "@babel/helper-plugin-utils": ^7.19.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 1e9e29a4efc5b79840bd4f68e404f5ab7765ce48c7bd22f12f2b185f9c782c66933bdf54a1b21879e4e56e6b50b4e88aca82789ecb1f61123af6dfa9ab16c555 + languageName: node + linkType: hard + "@babel/plugin-transform-react-jsx@npm:^7.18.6": version: 7.19.0 resolution: "@babel/plugin-transform-react-jsx@npm:7.19.0" @@ -1503,7 +1660,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.14.5, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.2, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.3.4, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.6.2, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7": +"@babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.14.5, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.2, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.3.4, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.6.2, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7": version: 7.20.1 resolution: "@babel/runtime@npm:7.20.1" dependencies: @@ -1532,6 +1689,17 @@ __metadata: languageName: node linkType: hard +"@babel/template@npm:^7.20.7": + version: 7.20.7 + resolution: "@babel/template@npm:7.20.7" + dependencies: + "@babel/code-frame": ^7.18.6 + "@babel/parser": ^7.20.7 + "@babel/types": ^7.20.7 + checksum: 2eb1a0ab8d415078776bceb3473d07ab746e6bb4c2f6ca46ee70efb284d75c4a32bb0cd6f4f4946dec9711f9c0780e8e5d64b743208deac6f8e9858afadc349e + languageName: node + linkType: hard + "@babel/traverse@npm:7.13.0": version: 7.13.0 resolution: "@babel/traverse@npm:7.13.0" @@ -1567,6 +1735,24 @@ __metadata: languageName: node linkType: hard +"@babel/traverse@npm:^7.21.0, @babel/traverse@npm:^7.21.2, @babel/traverse@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/traverse@npm:7.21.4" + dependencies: + "@babel/code-frame": ^7.21.4 + "@babel/generator": ^7.21.4 + "@babel/helper-environment-visitor": ^7.18.9 + "@babel/helper-function-name": ^7.21.0 + "@babel/helper-hoist-variables": ^7.18.6 + "@babel/helper-split-export-declaration": ^7.18.6 + "@babel/parser": ^7.21.4 + "@babel/types": ^7.21.4 + debug: ^4.1.0 + globals: ^11.1.0 + checksum: f22f067c2d9b6497abf3d4e53ea71f3aa82a21f2ed434dd69b8c5767f11f2a4c24c8d2f517d2312c9e5248e5c69395fdca1c95a2b3286122c75f5783ddb6f53c + languageName: node + linkType: hard + "@babel/types@npm:7.13.0": version: 7.13.0 resolution: "@babel/types@npm:7.13.0" @@ -1589,6 +1775,17 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.20.2, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.0, @babel/types@npm:^7.21.2, @babel/types@npm:^7.21.4": + version: 7.21.4 + resolution: "@babel/types@npm:7.21.4" + dependencies: + "@babel/helper-string-parser": ^7.19.4 + "@babel/helper-validator-identifier": ^7.19.1 + to-fast-properties: ^2.0.0 + checksum: 587bc55a91ce003b0f8aa10d70070f8006560d7dc0360dc0406d306a2cb2a10154e2f9080b9c37abec76907a90b330a536406cb75e6bdc905484f37b75c73219 + languageName: node + linkType: hard + "@bcoe/v8-coverage@npm:^0.2.3": version: 0.2.3 resolution: "@bcoe/v8-coverage@npm:0.2.3" @@ -2035,23 +2232,6 @@ __metadata: languageName: node linkType: hard -"@cypress/webpack-dev-server@npm:3.3.0": - version: 3.3.0 - resolution: "@cypress/webpack-dev-server@npm:3.3.0" - dependencies: - find-up: 6.3.0 - fs-extra: 9.1.0 - html-webpack-plugin-4: "npm:html-webpack-plugin@^4" - html-webpack-plugin-5: "npm:html-webpack-plugin@^5" - local-pkg: 0.4.1 - speed-measure-webpack-plugin: 1.4.2 - tslib: ^2.3.1 - webpack-dev-server: ^4.7.4 - webpack-merge: ^5.4.0 - checksum: 71c8571560939ced6ae97031d535e7a4e0e3cab097636fd7db932fc90b124df83d4cbc6bffb25048b126a46d30fec8d1603a2e7f8fe30f797b359505e2b813bf - languageName: node - linkType: hard - "@cypress/xvfb@npm:^1.2.4": version: 1.2.4 resolution: "@cypress/xvfb@npm:1.2.4" @@ -2208,6 +2388,160 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/android-arm64@npm:0.17.14" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/android-arm@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/android-arm@npm:0.17.14" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@esbuild/android-x64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/android-x64@npm:0.17.14" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/darwin-arm64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/darwin-arm64@npm:0.17.14" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/darwin-x64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/darwin-x64@npm:0.17.14" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/freebsd-arm64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/freebsd-arm64@npm:0.17.14" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/freebsd-x64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/freebsd-x64@npm:0.17.14" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/linux-arm64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/linux-arm64@npm:0.17.14" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/linux-arm@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/linux-arm@npm:0.17.14" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@esbuild/linux-ia32@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/linux-ia32@npm:0.17.14" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/linux-loong64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/linux-loong64@npm:0.17.14" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + +"@esbuild/linux-mips64el@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/linux-mips64el@npm:0.17.14" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + +"@esbuild/linux-ppc64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/linux-ppc64@npm:0.17.14" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/linux-riscv64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/linux-riscv64@npm:0.17.14" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + +"@esbuild/linux-s390x@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/linux-s390x@npm:0.17.14" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + +"@esbuild/linux-x64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/linux-x64@npm:0.17.14" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/netbsd-x64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/netbsd-x64@npm:0.17.14" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/openbsd-x64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/openbsd-x64@npm:0.17.14" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/sunos-x64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/sunos-x64@npm:0.17.14" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/win32-arm64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/win32-arm64@npm:0.17.14" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/win32-ia32@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/win32-ia32@npm:0.17.14" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/win32-x64@npm:0.17.14": + version: 0.17.14 + resolution: "@esbuild/win32-x64@npm:0.17.14" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint/eslintrc@npm:^1.3.1, @eslint/eslintrc@npm:^1.3.3": version: 1.3.3 resolution: "@eslint/eslintrc@npm:1.3.3" @@ -2285,20 +2619,15 @@ __metadata: "@commitlint/config-conventional": 17.4.4 "@cypress/instrument-cra": 1.4.0 "@cypress/react": 7.0.2 - "@cypress/webpack-dev-server": 3.3.0 "@emotion/react": 11.10.6 "@emotion/styled": 11.10.6 - "@graasp/query-client": 0.3.0 - "@graasp/sdk": 0.9.2 - "@graasp/translations": 1.8.0 - "@graasp/ui": 2.2.0 + "@graasp/query-client": 0.4.0 + "@graasp/sdk": 0.10.0 + "@graasp/translations": 1.11.0 + "@graasp/ui": 2.3.1 "@mui/icons-material": 5.11.11 "@mui/lab": 5.0.0-alpha.121 "@mui/material": 5.11.11 - "@rollup/plugin-commonjs": 21.0.1 - "@rollup/plugin-json": 4.1.0 - "@rollup/plugin-node-resolve": 13.1.3 - "@rollup/plugin-typescript": 8.3.0 "@trivago/prettier-plugin-sort-imports": 3.2.0 "@types/jest": 27.4.0 "@types/lodash.truncate": 4.4.7 @@ -2310,9 +2639,9 @@ __metadata: "@types/uuid": 9.0.0 "@typescript-eslint/eslint-plugin": 5.49.0 "@typescript-eslint/parser": 5.49.0 - clsx: 1.2.1 + "@vitejs/plugin-react": 3.1.0 cross-env: 7.0.3 - cypress: 12.4.0 + cypress: 12.9.0 env-cmd: 10.1.0 eslint: 8.23.0 eslint-config-prettier: 8.3.0 @@ -2330,48 +2659,43 @@ __metadata: prettier: 2.8.4 prism-react-renderer: 1.3.5 react: 17.0.2 - react-csv: 2.2.2 react-dom: 17.0.2 react-i18next: 12.0.0 react-markdown: 8.0.5 react-mentions: 4.4.7 react-query: 3.39.3 - react-router-dom: 6.3.0 + react-router-dom: 6.10.0 react-scripts: 5.0.1 remark-breaks: 3.0.2 remark-gfm: 3.0.1 rimraf: 3.0.2 rollup: 2.77.0 - rollup-jest: 1.1.3 - rollup-plugin-import-css: 3.0.3 - rollup-plugin-peer-deps-external: 2.2.4 - rollup-plugin-tsc-alias: 1.1.2 + rollup-plugin-visualizer: 5.9.0 ts-loader: 9.3.1 tsc-alias: 1.8.2 tslib: 2.5.0 typescript: 4.9.5 - peerDependencies: - "@mui/icons-material": "*" - "@mui/lab": "*" - "@mui/material": "*" - eslint: "*" - react: "*" + vite: 4.2.1 + vite-plugin-dts: 2.1.0 + peerDependencies: + "@emotion/react": ^11.10.6 + "@emotion/styled": ^11.10.6 + "@graasp/translations": ^1.10.0 + "@mui/icons-material": ^5.11.11 + "@mui/lab": ^5.0.0-alpha.121 + "@mui/material": ^5.11.11 + react: ^17.0.0 react-dom: "*" + react-i18next: ^12.0.0 languageName: unknown linkType: soft -"@graasp/query-client@link:../node_modules/@graasp/query-client::locator=graasp-chatbox-example%40workspace%3Aexample": - version: 0.0.0-use.local - resolution: "@graasp/query-client@link:../node_modules/@graasp/query-client::locator=graasp-chatbox-example%40workspace%3Aexample" - languageName: node - linkType: soft - -"@graasp/query-client@npm:0.3.0": - version: 0.3.0 - resolution: "@graasp/query-client@npm:0.3.0" +"@graasp/query-client@npm:0.4.0": + version: 0.4.0 + resolution: "@graasp/query-client@npm:0.4.0" dependencies: - "@graasp/sdk": 0.4.1 - "@graasp/translations": 1.4.0 + "@graasp/sdk": 0.9.2 + "@graasp/translations": 1.8.0 axios: 0.27.2 crypto-js: 4.1.1 http-status-codes: 2.2.0 @@ -2381,13 +2705,13 @@ __metadata: uuid: 9.0.0 peerDependencies: react: ^17.0.0 - checksum: 6d52a706f7b6418e4c67d4ca0835107c27b113d54fe090503694d6908f6ee1d48dd25fc00eac3d6d4436f14aa30f460ea1e9e300fd0e0a68398214bbaca00eef + checksum: 11086df2caefd00e9421952aea253d0c6e045da595fea8e5d5039ab128d0b6e293052561a6ae1135b59fe1f9e674f83c8f55990e9e8824e23b6282da2e6acfe4 languageName: node linkType: hard -"@graasp/sdk@npm:0.4.1": - version: 0.4.1 - resolution: "@graasp/sdk@npm:0.4.1" +"@graasp/sdk@npm:0.10.0": + version: 0.10.0 + resolution: "@graasp/sdk@npm:0.10.0" dependencies: "@fastify/secure-session": 5.3.0 aws-sdk: 2.1310.0 @@ -2398,7 +2722,7 @@ __metadata: qs: 6.11.0 slonik: 28.1.1 uuid: 9.0.0 - checksum: dc65bdad6db5d8647c5753fa03c7d88cd894b3e3dc9da55c19e92da4bbc77cd85b542beb93ec5db46b75a8a7ac65ba8901258a667a3bedccb8fdfa6b4f13df14 + checksum: 5b7d89d72c12be75d9fcba69c9545be4d5caf38685270f66934c9b0c221968d33f4ee20c4c18573e3ed89641461faa12ae28acfcb9511ca45f50b61bb6068631 languageName: node linkType: hard @@ -2419,12 +2743,29 @@ __metadata: languageName: node linkType: hard -"@graasp/translations@npm:1.4.0": - version: 1.4.0 - resolution: "@graasp/translations@npm:1.4.0" +"@graasp/sdk@npm:0.9.3": + version: 0.9.3 + resolution: "@graasp/sdk@npm:0.9.3" + dependencies: + "@fastify/secure-session": 5.3.0 + aws-sdk: 2.1310.0 + fastify: 3.29.5 + fluent-json-schema: 3.1.0 + immutable: 4.2.4 + js-cookie: 3.0.1 + qs: 6.11.0 + slonik: 28.1.1 + uuid: 9.0.0 + checksum: 222e8d7e00f5c4fbfb23d596899edd0afcaa0640c540ae90f85d6cd6f92b1bb7832bf50504fecd4aafe1a185b79ecae42a75163bd5fca5975e535fbeb84c3049 + languageName: node + linkType: hard + +"@graasp/translations@npm:1.11.0": + version: 1.11.0 + resolution: "@graasp/translations@npm:1.11.0" dependencies: i18next: 21.8.1 - checksum: ca787604906c4531eded20941e968667a13f7c2fb5b4c2c03a149123ce6994ec685d1b5e125e37f420fa5d6b8edf4cbd0bb48452c554cde07d81bc0309b5dc1f + checksum: 83bba8432cc5b2f83cfa88278fc61387821d421e8a3e9f6a3a1b28ce8c2789e9c8f20832305c13aa0d554d8a20824644ce968d7e6fa5b643676164eb1a3c230c languageName: node linkType: hard @@ -2437,11 +2778,11 @@ __metadata: languageName: node linkType: hard -"@graasp/ui@npm:2.2.0": - version: 2.2.0 - resolution: "@graasp/ui@npm:2.2.0" +"@graasp/ui@npm:2.3.1": + version: 2.3.1 + resolution: "@graasp/ui@npm:2.3.1" dependencies: - "@graasp/sdk": 0.9.2 + "@graasp/sdk": 0.9.3 clsx: 1.1.1 http-status-codes: 2.2.0 immutable: 4.2.4 @@ -2472,7 +2813,7 @@ __metadata: optional: true ag-grid-react: optional: true - checksum: 0c87e2a73c223430723fabe02a5186ea44e3815f665bc0c5ba0213eb382925d9437ae3369c715dab02ee1441321ae02a1de233e303e29dd512b58016ff9976cc + checksum: adaaf8629f4d6aacb7273d50f37bc696363640e02c30185e0704c105db93d8469e3ef2cd405ea87b937d1e3bb84a9d5520cc4f123e4cbb634c974f081dfc8887 languageName: node linkType: hard @@ -2834,7 +3175,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:1.4.14, @jridgewell/sourcemap-codec@npm:^1.4.10": +"@jridgewell/sourcemap-codec@npm:1.4.14, @jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.13": version: 1.4.14 resolution: "@jridgewell/sourcemap-codec@npm:1.4.14" checksum: 61100637b6d173d3ba786a5dff019e1a74b1f394f323c1fee337ff390239f053b87266c7a948777f4b1ee68c01a8ad0ab61e5ff4abb5a012a0b091bec391ab97 @@ -2851,7 +3192,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/trace-mapping@npm:^0.3.14, @jridgewell/trace-mapping@npm:^0.3.9": +"@jridgewell/trace-mapping@npm:^0.3.14, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.9": version: 0.3.17 resolution: "@jridgewell/trace-mapping@npm:0.3.17" dependencies: @@ -2868,6 +3209,58 @@ __metadata: languageName: node linkType: hard +"@microsoft/api-extractor-model@npm:7.26.4": + version: 7.26.4 + resolution: "@microsoft/api-extractor-model@npm:7.26.4" + dependencies: + "@microsoft/tsdoc": 0.14.2 + "@microsoft/tsdoc-config": ~0.16.1 + "@rushstack/node-core-library": 3.55.2 + checksum: 0b27f9b248396422f3044f2472d86c111a6a4d34b4fd2c67d9995e96e5b144ec41ac35dbf2a005f144766814b824518bc42b424d93e3075d3dc1b17c2f8791d6 + languageName: node + linkType: hard + +"@microsoft/api-extractor@npm:^7.33.5": + version: 7.34.4 + resolution: "@microsoft/api-extractor@npm:7.34.4" + dependencies: + "@microsoft/api-extractor-model": 7.26.4 + "@microsoft/tsdoc": 0.14.2 + "@microsoft/tsdoc-config": ~0.16.1 + "@rushstack/node-core-library": 3.55.2 + "@rushstack/rig-package": 0.3.18 + "@rushstack/ts-command-line": 4.13.2 + colors: ~1.2.1 + lodash: ~4.17.15 + resolve: ~1.22.1 + semver: ~7.3.0 + source-map: ~0.6.1 + typescript: ~4.8.4 + bin: + api-extractor: bin/api-extractor + checksum: 855a04237e30f425553aab661b77bc0cbeb493510d769691d713e5bfdf02439fa7bc2076750271d154237f8c9d4451b209f30724c9ee2a2c4ea307c5db093d42 + languageName: node + linkType: hard + +"@microsoft/tsdoc-config@npm:~0.16.1": + version: 0.16.2 + resolution: "@microsoft/tsdoc-config@npm:0.16.2" + dependencies: + "@microsoft/tsdoc": 0.14.2 + ajv: ~6.12.6 + jju: ~1.4.0 + resolve: ~1.19.0 + checksum: 12b0d703154076bcaac75ca42e804e4fc292672396441e54346d7eadd0d6b57f90980eda2b1bab89b224af86da34a2389f9054002e282011e795ca5919a4386f + languageName: node + linkType: hard + +"@microsoft/tsdoc@npm:0.14.2": + version: 0.14.2 + resolution: "@microsoft/tsdoc@npm:0.14.2" + checksum: b167c89e916ba73ee20b9c9d5dba6aa3a0de25ed3d50050e8a344dca7cd43cb2e1059bd515c820369b6e708901dd3fda476a42bc643ca74a35671ce77f724a3a + languageName: node + linkType: hard + "@mui/base@npm:5.0.0-alpha.119": version: 5.0.0-alpha.119 resolution: "@mui/base@npm:5.0.0-alpha.119" @@ -3184,6 +3577,13 @@ __metadata: languageName: node linkType: hard +"@remix-run/router@npm:1.5.0": + version: 1.5.0 + resolution: "@remix-run/router@npm:1.5.0" + checksum: 9c510c174af1553edd1f039ba16e7e3d34e04d53b3bac18814660e31cd0c48297ea4291ff86d0736b560123ebc63ecb62fa525829181d16a8dad15270d6672d7 + languageName: node + linkType: hard + "@rollup/plugin-babel@npm:^5.2.0": version: 5.3.1 resolution: "@rollup/plugin-babel@npm:5.3.1" @@ -3201,50 +3601,6 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-commonjs@npm:21.0.1": - version: 21.0.1 - resolution: "@rollup/plugin-commonjs@npm:21.0.1" - dependencies: - "@rollup/pluginutils": ^3.1.0 - commondir: ^1.0.1 - estree-walker: ^2.0.1 - glob: ^7.1.6 - is-reference: ^1.2.1 - magic-string: ^0.25.7 - resolve: ^1.17.0 - peerDependencies: - rollup: ^2.38.3 - checksum: 3e56be58c72d655face6f361f85923ddcc3cc07760b5a3a91cfc728115dfed358fc595781148c512d53a03be8c703133379f228e78fd2aed8655fae9d83800b6 - languageName: node - linkType: hard - -"@rollup/plugin-json@npm:4.1.0": - version: 4.1.0 - resolution: "@rollup/plugin-json@npm:4.1.0" - dependencies: - "@rollup/pluginutils": ^3.0.8 - peerDependencies: - rollup: ^1.20.0 || ^2.0.0 - checksum: 867bc9339b4ccf0b9ff3b2617a95b3b8920115163f86c8e3b1f068a14ca25949472d3c05b09a5ac38ca0fe2185756e34617eaeb219d4a2b6e2307c501c7d4552 - languageName: node - linkType: hard - -"@rollup/plugin-node-resolve@npm:13.1.3": - version: 13.1.3 - resolution: "@rollup/plugin-node-resolve@npm:13.1.3" - dependencies: - "@rollup/pluginutils": ^3.1.0 - "@types/resolve": 1.17.1 - builtin-modules: ^3.1.0 - deepmerge: ^4.2.2 - is-module: ^1.0.0 - resolve: ^1.19.0 - peerDependencies: - rollup: ^2.42.0 - checksum: c275843aef884ff15ed7edb8a3b8fd072a72d517632098f6e9c25ef2c00f7842559565cc77e16c59eb119b8c4e2d858a8b5a94701ca6f85ae6a4f60a6e31f0ab - languageName: node - linkType: hard - "@rollup/plugin-node-resolve@npm:^11.2.1": version: 11.2.1 resolution: "@rollup/plugin-node-resolve@npm:11.2.1" @@ -3273,21 +3629,7 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-typescript@npm:8.3.0": - version: 8.3.0 - resolution: "@rollup/plugin-typescript@npm:8.3.0" - dependencies: - "@rollup/pluginutils": ^3.1.0 - resolve: ^1.17.0 - peerDependencies: - rollup: ^2.14.0 - tslib: "*" - typescript: ">=3.7.0" - checksum: f8253a775389f29feadf639c2e04d87bddb4c30126b0d95b9e17bfffa2addad1b6275cb8dead40604348ea7ac0128fe4394413bc3b2129c4a545f93eb4585149 - languageName: node - linkType: hard - -"@rollup/pluginutils@npm:^3.0.8, @rollup/pluginutils@npm:^3.1.0": +"@rollup/pluginutils@npm:^3.1.0": version: 3.1.0 resolution: "@rollup/pluginutils@npm:3.1.0" dependencies: @@ -3300,13 +3642,19 @@ __metadata: languageName: node linkType: hard -"@rollup/pluginutils@npm:^4.2.0": - version: 4.2.1 - resolution: "@rollup/pluginutils@npm:4.2.1" +"@rollup/pluginutils@npm:^5.0.2": + version: 5.0.2 + resolution: "@rollup/pluginutils@npm:5.0.2" dependencies: - estree-walker: ^2.0.1 - picomatch: ^2.2.2 - checksum: 6bc41f22b1a0f1efec3043899e4d3b6b1497b3dea4d94292d8f83b4cf07a1073ecbaedd562a22d11913ff7659f459677b01b09e9598a98936e746780ecc93a12 + "@types/estree": ^1.0.0 + estree-walker: ^2.0.2 + picomatch: ^2.3.1 + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: edea15e543bebc7dcac3b0ac8bc7b8e8e6dbd46e2864dbe5dd28072de1fbd5b0e10d545a610c0edaa178e8a7ac432e2a2a52e547ece1308471412caba47db8ce languageName: node linkType: hard @@ -3317,6 +3665,48 @@ __metadata: languageName: node linkType: hard +"@rushstack/node-core-library@npm:3.55.2, @rushstack/node-core-library@npm:^3.53.2": + version: 3.55.2 + resolution: "@rushstack/node-core-library@npm:3.55.2" + dependencies: + colors: ~1.2.1 + fs-extra: ~7.0.1 + import-lazy: ~4.0.0 + jju: ~1.4.0 + resolve: ~1.22.1 + semver: ~7.3.0 + z-schema: ~5.0.2 + peerDependencies: + "@types/node": "*" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: b6b289315cd6a3544471f534405479b7c80f3906b7506590d5eb83a605a0a5b65861bf678f3e6c2277c8db116b8e05f8e7b6864fdc75e0f1514c9ff224b83fe6 + languageName: node + linkType: hard + +"@rushstack/rig-package@npm:0.3.18": + version: 0.3.18 + resolution: "@rushstack/rig-package@npm:0.3.18" + dependencies: + resolve: ~1.22.1 + strip-json-comments: ~3.1.1 + checksum: 41e719fb14d99e0f79093523fede051dba2be5f53d63d5ae45c2ea1b8448e298e0303d8453be3f9ac5e8bb99e3dcf3ddbe4cc59d9be5eddb914286acbdd0a2f3 + languageName: node + linkType: hard + +"@rushstack/ts-command-line@npm:4.13.2": + version: 4.13.2 + resolution: "@rushstack/ts-command-line@npm:4.13.2" + dependencies: + "@types/argparse": 1.0.38 + argparse: ~1.0.9 + colors: ~1.2.1 + string-argv: ~0.3.1 + checksum: 3938e533e08d5cf4007a651d1aab658a7a60d6136a56414e2370b64434657a5d5a9eff442da4ddc260d5e6dc90f82428de64dbcfa1285e9ae176629f7fcd821d + languageName: node + linkType: hard + "@sinclair/typebox@npm:^0.24.1": version: 0.24.51 resolution: "@sinclair/typebox@npm:0.24.51" @@ -3523,6 +3913,18 @@ __metadata: languageName: node linkType: hard +"@ts-morph/common@npm:~0.18.0": + version: 0.18.1 + resolution: "@ts-morph/common@npm:0.18.1" + dependencies: + fast-glob: ^3.2.12 + minimatch: ^5.1.0 + mkdirp: ^1.0.4 + path-browserify: ^1.0.1 + checksum: 848fff5f7a6428d7c2f055de20cf8df864a967aac0cc03adc558d853442085a8fd9dec70429da24d67d263794b315edb0791c46d23ad9ae513251a7702df8031 + languageName: node + linkType: hard + "@tsconfig/node10@npm:^1.0.7": version: 1.0.9 resolution: "@tsconfig/node10@npm:1.0.9" @@ -3551,6 +3953,13 @@ __metadata: languageName: node linkType: hard +"@types/argparse@npm:1.0.38": + version: 1.0.38 + resolution: "@types/argparse@npm:1.0.38" + checksum: 26ed7e3f1e3595efdb883a852f5205f971b798e4c28b7e30a32c5298eee596e8b45834ce831f014d250b9730819ab05acff5b31229666d3af4ba465b4697d0eb + languageName: node + linkType: hard + "@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14": version: 7.1.19 resolution: "@types/babel__core@npm:7.1.19" @@ -3659,7 +4068,7 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:*": +"@types/estree@npm:*, @types/estree@npm:^1.0.0": version: 1.0.0 resolution: "@types/estree@npm:1.0.0" checksum: 910d97fb7092c6738d30a7430ae4786a38542023c6302b95d46f49420b797f21619cdde11fa92b338366268795884111c2eb10356e4bd2c8ad5b92941e9e6443 @@ -3721,13 +4130,6 @@ __metadata: languageName: node linkType: hard -"@types/html-minifier-terser@npm:^5.0.0": - version: 5.1.2 - resolution: "@types/html-minifier-terser@npm:5.1.2" - checksum: 4bca779c44d2aebe4cc4036c5db370abe7466249038e9c5996cb3c192debeff1c75b7a2ab78e5fd2a014ad24ebf0f357f9a174a4298540dc1e1317d43aa69cfa - languageName: node - linkType: hard - "@types/html-minifier-terser@npm:^6.0.0": version: 6.1.0 resolution: "@types/html-minifier-terser@npm:6.1.0" @@ -4066,13 +4468,6 @@ __metadata: languageName: node linkType: hard -"@types/source-list-map@npm:*": - version: 0.1.2 - resolution: "@types/source-list-map@npm:0.1.2" - checksum: fda8f37537aca9d3ed860d559289ab1dddb6897e642e6f53e909bbd18a7ac3129a8faa2a7d093847c91346cf09c86ef36e350c715406fba1f2271759b449adf6 - languageName: node - linkType: hard - "@types/stack-utils@npm:^2.0.0": version: 2.0.1 resolution: "@types/stack-utils@npm:2.0.1" @@ -4080,13 +4475,6 @@ __metadata: languageName: node linkType: hard -"@types/tapable@npm:^1, @types/tapable@npm:^1.0.5": - version: 1.0.8 - resolution: "@types/tapable@npm:1.0.8" - checksum: b4b754dd0822c407b8f29ef6b766490721c276880f9e976d92ee2b3ef915f11a05a2442ae36c8978bcd872ad6bc833b0a2c4d267f2d611590668a366bad50652 - languageName: node - linkType: hard - "@types/trusted-types@npm:^2.0.2": version: 2.0.2 resolution: "@types/trusted-types@npm:2.0.2" @@ -4094,15 +4482,6 @@ __metadata: languageName: node linkType: hard -"@types/uglify-js@npm:*": - version: 3.17.1 - resolution: "@types/uglify-js@npm:3.17.1" - dependencies: - source-map: ^0.6.1 - checksum: 76b9aa6b5c19690bee1fba29835ca580ec92db2b43cb8e2acd0278086138372a66e55bbd785c90d032bc890069f0cfde9c763f2d2860bb1a747b581a04d0999b - languageName: node - linkType: hard - "@types/unist@npm:*, @types/unist@npm:^2.0.0": version: 2.0.6 resolution: "@types/unist@npm:2.0.6" @@ -4117,31 +4496,6 @@ __metadata: languageName: node linkType: hard -"@types/webpack-sources@npm:*": - version: 3.2.0 - resolution: "@types/webpack-sources@npm:3.2.0" - dependencies: - "@types/node": "*" - "@types/source-list-map": "*" - source-map: ^0.7.3 - checksum: fa23dcfb99f79cc0ba8e6ca41cb8dedb406f8d7772e8e3d3d9b443bfb36557a1a78f4de2b97905554db98beee1a2ef6f930e188977adde6452392a64dd4b7c2a - languageName: node - linkType: hard - -"@types/webpack@npm:^4.41.8": - version: 4.41.33 - resolution: "@types/webpack@npm:4.41.33" - dependencies: - "@types/node": "*" - "@types/tapable": ^1 - "@types/uglify-js": "*" - "@types/webpack-sources": "*" - anymatch: ^3.0.0 - source-map: ^0.6.0 - checksum: 5f64818128c94026be0e43e77d687e2d90f0da526a3a7c308c6a0bb12e93a35c9243be427bbf6865f64fd71dc5b32715af9b9da0cd6ae8335081b6db995bad2b - languageName: node - linkType: hard - "@types/ws@npm:^8.5.1": version: 8.5.3 resolution: "@types/ws@npm:8.5.3" @@ -4436,6 +4790,21 @@ __metadata: languageName: node linkType: hard +"@vitejs/plugin-react@npm:3.1.0": + version: 3.1.0 + resolution: "@vitejs/plugin-react@npm:3.1.0" + dependencies: + "@babel/core": ^7.20.12 + "@babel/plugin-transform-react-jsx-self": ^7.18.6 + "@babel/plugin-transform-react-jsx-source": ^7.19.6 + magic-string: ^0.27.0 + react-refresh: ^0.14.0 + peerDependencies: + vite: ^4.1.0-beta.0 + checksum: 450fac79e67cba9e1581c860f78e687b44108ab4117663ef20db279316e03cd8e87f94fef376e27cc5e200bd52813dcc09b70ea570c7c7cc291fcd47eb260fbc + languageName: node + linkType: hard + "@webassemblyjs/ast@npm:1.11.1": version: 1.11.1 resolution: "@webassemblyjs/ast@npm:1.11.1" @@ -4796,7 +5165,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^6.10.0, ajv@npm:^6.11.0, ajv@npm:^6.12.2, ajv@npm:^6.12.4, ajv@npm:^6.12.5, ajv@npm:^6.12.6": +"ajv@npm:^6.10.0, ajv@npm:^6.11.0, ajv@npm:^6.12.2, ajv@npm:^6.12.4, ajv@npm:^6.12.5, ajv@npm:^6.12.6, ajv@npm:~6.12.6": version: 6.12.6 resolution: "ajv@npm:6.12.6" dependencies: @@ -4864,13 +5233,6 @@ __metadata: languageName: node linkType: hard -"ansi-regex@npm:^2.0.0": - version: 2.1.1 - resolution: "ansi-regex@npm:2.1.1" - checksum: 190abd03e4ff86794f338a31795d262c1dfe8c91f7e01d04f13f646f1dcb16c5800818f886047876f1272f065570ab86b24b99089f8b68a0e11ff19aed4ca8f1 - languageName: node - linkType: hard - "ansi-regex@npm:^5.0.1": version: 5.0.1 resolution: "ansi-regex@npm:5.0.1" @@ -4910,16 +5272,6 @@ __metadata: languageName: node linkType: hard -"anymatch@npm:^3.0.0": - version: 3.1.3 - resolution: "anymatch@npm:3.1.3" - dependencies: - normalize-path: ^3.0.0 - picomatch: ^2.0.4 - checksum: 3e044fd6d1d26545f235a9fe4d7a534e2029d8e59fa7fd9f2a6eb21230f6b5380ea1eaf55136e60cbf8e613544b3b766e7a6fa2102e2a3a117505466e3025dc2 - languageName: node - linkType: hard - "anymatch@npm:^3.0.3, anymatch@npm:~3.1.2": version: 3.1.2 resolution: "anymatch@npm:3.1.2" @@ -4975,7 +5327,7 @@ __metadata: languageName: node linkType: hard -"argparse@npm:^1.0.7": +"argparse@npm:^1.0.7, argparse@npm:~1.0.9": version: 1.0.10 resolution: "argparse@npm:1.0.10" dependencies: @@ -5079,19 +5431,6 @@ __metadata: languageName: node linkType: hard -"array.prototype.reduce@npm:^1.0.5": - version: 1.0.5 - resolution: "array.prototype.reduce@npm:1.0.5" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - es-array-method-boxes-properly: ^1.0.0 - is-string: ^1.0.7 - checksum: f44691395f9202aba5ec2446468d4c27209bfa81464f342ae024b7157dbf05b164e47cca01250b8c7c2a8219953fb57651cca16aab3d16f43b85c0d92c26eef3 - languageName: node - linkType: hard - "arrify@npm:^1.0.1": version: 1.0.1 resolution: "arrify@npm:1.0.1" @@ -5784,7 +6123,7 @@ __metadata: languageName: node linkType: hard -"camel-case@npm:^4.1.1, camel-case@npm:^4.1.2": +"camel-case@npm:^4.1.2": version: 4.1.2 resolution: "camel-case@npm:4.1.2" dependencies: @@ -5981,15 +6320,6 @@ __metadata: languageName: node linkType: hard -"clean-css@npm:^4.2.3": - version: 4.2.4 - resolution: "clean-css@npm:4.2.4" - dependencies: - source-map: ~0.6.0 - checksum: 045ff6fcf4b5c76a084b24e1633e0c78a13b24080338fc8544565a9751559aa32ff4ee5886d9e52c18a644a6ff119bd8e37bc58e574377c05382a1fb7dbe39f8 - languageName: node - linkType: hard - "clean-css@npm:^5.2.2": version: 5.3.1 resolution: "clean-css@npm:5.3.1" @@ -6060,17 +6390,6 @@ __metadata: languageName: node linkType: hard -"clone-deep@npm:^4.0.1": - version: 4.0.1 - resolution: "clone-deep@npm:4.0.1" - dependencies: - is-plain-object: ^2.0.4 - kind-of: ^6.0.2 - shallow-clone: ^3.0.0 - checksum: 770f912fe4e6f21873c8e8fbb1e99134db3b93da32df271d00589ea4a29dbe83a9808a322c93f3bcaf8584b8b4fa6fc269fc8032efbaa6728e0c9886c74467d2 - languageName: node - linkType: hard - "clone@npm:^2.1.1": version: 2.1.2 resolution: "clone@npm:2.1.2" @@ -6085,7 +6404,7 @@ __metadata: languageName: node linkType: hard -"clsx@npm:1.2.1, clsx@npm:^1.1.1, clsx@npm:^1.2.1": +"clsx@npm:^1.1.1, clsx@npm:^1.2.1": version: 1.2.1 resolution: "clsx@npm:1.2.1" checksum: 30befca8019b2eb7dbad38cff6266cf543091dae2825c856a62a8ccf2c3ab9c2907c4d12b288b73101196767f66812365400a227581484a05f968b0307cfaf12 @@ -6110,6 +6429,13 @@ __metadata: languageName: node linkType: hard +"code-block-writer@npm:^11.0.3": + version: 11.0.3 + resolution: "code-block-writer@npm:11.0.3" + checksum: f0a2605f19963d7087267c9b0fd0b05a6638a50e7b29b70f97aa01a514f59475b0626f8aa092188df853ee6d96745426dfa132d6a677795df462c6ce32c21639 + languageName: node + linkType: hard + "collect-v8-coverage@npm:^1.0.0": version: 1.0.1 resolution: "collect-v8-coverage@npm:1.0.1" @@ -6172,6 +6498,13 @@ __metadata: languageName: node linkType: hard +"colors@npm:~1.2.1": + version: 1.2.5 + resolution: "colors@npm:1.2.5" + checksum: b6e23de735f68b72d5cdf6fd854ca43d1b66d82dcf54bda0b788083b910164a040f2c4edf23c670d36a7a2d8f1b7d6e62e3292703e4642691e6ccaa1c62d8f74 + languageName: node + linkType: hard + "combined-stream@npm:^1.0.6, combined-stream@npm:^1.0.8, combined-stream@npm:~1.0.6": version: 1.0.8 resolution: "combined-stream@npm:1.0.8" @@ -6204,7 +6537,7 @@ __metadata: languageName: node linkType: hard -"commander@npm:^4.0.0, commander@npm:^4.1.1": +"commander@npm:^4.0.0": version: 4.1.1 resolution: "commander@npm:4.1.1" checksum: d7b9913ff92cae20cb577a4ac6fcc121bd6223319e54a40f51a14740a681ad5c574fd29a57da478a5f234a6fa6c52cbf0b7c641353e03c648b1ae85ba670b977 @@ -6232,7 +6565,7 @@ __metadata: languageName: node linkType: hard -"commander@npm:^9.0.0": +"commander@npm:^9.0.0, commander@npm:^9.4.1": version: 9.5.0 resolution: "commander@npm:9.5.0" checksum: c7a3e27aa59e913b54a1bafd366b88650bc41d6651f0cbe258d4ff09d43d6a7394232a4dadd0bf518b3e696fdf595db1028a0d82c785b88bd61f8a440cecfade @@ -6301,13 +6634,6 @@ __metadata: languageName: node linkType: hard -"concat-merge@npm:^1.0.2": - version: 1.0.3 - resolution: "concat-merge@npm:1.0.3" - checksum: cfd6264bc9a210fe01ae124af5ca4ec7b0995bc238413c4c78f685780609ee981fa366da036c17896d8dcfbe075448f7adcb709caa1aef645466682db965adb2 - languageName: node - linkType: hard - "concat-stream@npm:^2.0.0": version: 2.0.0 resolution: "concat-stream@npm:2.0.0" @@ -6817,9 +7143,9 @@ __metadata: languageName: node linkType: hard -"cypress@npm:12.4.0": - version: 12.4.0 - resolution: "cypress@npm:12.4.0" +"cypress@npm:12.9.0": + version: 12.9.0 + resolution: "cypress@npm:12.9.0" dependencies: "@cypress/request": ^2.88.10 "@cypress/xvfb": ^1.2.4 @@ -6838,7 +7164,7 @@ __metadata: commander: ^5.1.0 common-tags: ^1.8.0 dayjs: ^1.10.4 - debug: ^4.3.2 + debug: ^4.3.4 enquirer: ^2.3.6 eventemitter2: 6.4.7 execa: 4.1.0 @@ -6865,7 +7191,7 @@ __metadata: yauzl: ^2.10.0 bin: cypress: bin/cypress - checksum: 34eeb48547e3bea3312e71147ddc87a08fe90cef92434194621a9bf7747026471b01e41f1ded3a406db4fbb2e70c03d7e5d0df011227f969882550fe64a7d5d1 + checksum: aad2278310fe4897b2c4e1f23e22f28992c83bcac945a6c350d077b1b2fb1805e44d5c58e19e2a9d63ca04aa3f9eabdd3c661cab0ce5dddd75c72702262ac89e languageName: node linkType: hard @@ -7036,7 +7362,7 @@ __metadata: languageName: node linkType: hard -"define-properties@npm:^1.1.2, define-properties@npm:^1.1.3, define-properties@npm:^1.1.4": +"define-properties@npm:^1.1.3, define-properties@npm:^1.1.4": version: 1.1.4 resolution: "define-properties@npm:1.1.4" dependencies: @@ -7601,6 +7927,83 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.17.5": + version: 0.17.14 + resolution: "esbuild@npm:0.17.14" + dependencies: + "@esbuild/android-arm": 0.17.14 + "@esbuild/android-arm64": 0.17.14 + "@esbuild/android-x64": 0.17.14 + "@esbuild/darwin-arm64": 0.17.14 + "@esbuild/darwin-x64": 0.17.14 + "@esbuild/freebsd-arm64": 0.17.14 + "@esbuild/freebsd-x64": 0.17.14 + "@esbuild/linux-arm": 0.17.14 + "@esbuild/linux-arm64": 0.17.14 + "@esbuild/linux-ia32": 0.17.14 + "@esbuild/linux-loong64": 0.17.14 + "@esbuild/linux-mips64el": 0.17.14 + "@esbuild/linux-ppc64": 0.17.14 + "@esbuild/linux-riscv64": 0.17.14 + "@esbuild/linux-s390x": 0.17.14 + "@esbuild/linux-x64": 0.17.14 + "@esbuild/netbsd-x64": 0.17.14 + "@esbuild/openbsd-x64": 0.17.14 + "@esbuild/sunos-x64": 0.17.14 + "@esbuild/win32-arm64": 0.17.14 + "@esbuild/win32-ia32": 0.17.14 + "@esbuild/win32-x64": 0.17.14 + dependenciesMeta: + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 8f4c05f5d3da04f05c48d65f60f3c6422253f406cd56a7ab7a898f0971b0366c454635a6340172874950771dc005a9928dd999b732a6d4caa504b537bfcbf2ff + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -8186,7 +8589,7 @@ __metadata: languageName: node linkType: hard -"estree-walker@npm:^2.0.1": +"estree-walker@npm:^2.0.2": version: 2.0.2 resolution: "estree-walker@npm:2.0.2" checksum: 6151e6f9828abe2259e57f5fd3761335bb0d2ebd76dc1a01048ccee22fabcfef3c0859300f6d83ff0d1927849368775ec5a6d265dde2f6de5a1be1721cd94efc @@ -8652,16 +9055,6 @@ __metadata: languageName: node linkType: hard -"find-up@npm:6.3.0": - version: 6.3.0 - resolution: "find-up@npm:6.3.0" - dependencies: - locate-path: ^7.1.0 - path-exists: ^5.0.0 - checksum: 9a21b7f9244a420e54c6df95b4f6fc3941efd3c3e5476f8274eb452f6a85706e7a6a90de71353ee4f091fcb4593271a6f92810a324ec542650398f928783c280 - languageName: node - linkType: hard - "find-up@npm:^3.0.0": version: 3.0.0 resolution: "find-up@npm:3.0.0" @@ -8844,19 +9237,7 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:9.1.0, fs-extra@npm:^9.0.0, fs-extra@npm:^9.0.1, fs-extra@npm:^9.1.0": - version: 9.1.0 - resolution: "fs-extra@npm:9.1.0" - dependencies: - at-least-node: ^1.0.0 - graceful-fs: ^4.2.0 - jsonfile: ^6.0.1 - universalify: ^2.0.0 - checksum: ba71ba32e0faa74ab931b7a0031d1523c66a73e225de7426e275e238e312d07313d2da2d33e34a52aa406c8763ade5712eb3ec9ba4d9edce652bcacdc29e6b20 - languageName: node - linkType: hard - -"fs-extra@npm:^10.0.0": +"fs-extra@npm:^10.0.0, fs-extra@npm:^10.1.0": version: 10.1.0 resolution: "fs-extra@npm:10.1.0" dependencies: @@ -8878,6 +9259,29 @@ __metadata: languageName: node linkType: hard +"fs-extra@npm:^9.0.0, fs-extra@npm:^9.0.1, fs-extra@npm:^9.1.0": + version: 9.1.0 + resolution: "fs-extra@npm:9.1.0" + dependencies: + at-least-node: ^1.0.0 + graceful-fs: ^4.2.0 + jsonfile: ^6.0.1 + universalify: ^2.0.0 + checksum: ba71ba32e0faa74ab931b7a0031d1523c66a73e225de7426e275e238e312d07313d2da2d33e34a52aa406c8763ade5712eb3ec9ba4d9edce652bcacdc29e6b20 + languageName: node + linkType: hard + +"fs-extra@npm:~7.0.1": + version: 7.0.1 + resolution: "fs-extra@npm:7.0.1" + dependencies: + graceful-fs: ^4.1.2 + jsonfile: ^4.0.0 + universalify: ^0.1.0 + checksum: 141b9dccb23b66a66cefdd81f4cda959ff89282b1d721b98cea19ba08db3dcbe6f862f28841f3cf24bb299e0b7e6c42303908f65093cb7e201708e86ea5a8dcf + languageName: node + linkType: hard + "fs-minipass@npm:^2.0.0, fs-minipass@npm:^2.1.0": version: 2.1.0 resolution: "fs-minipass@npm:2.1.0" @@ -9228,7 +9632,7 @@ __metadata: dependencies: "@babel/plugin-syntax-object-rest-spread": 7.8.3 "@graasp/chatbox": "link:.." - "@graasp/query-client": "link:../node_modules/@graasp/query-client" + "@graasp/query-client": 0.4.0 "@mui/icons-material": "link:../node_modules/@mui/icons-material" "@mui/material": "link:../node_modules/@mui/material" "@types/jest": "link:../node_modules/@types/jest" @@ -9375,15 +9779,6 @@ __metadata: languageName: node linkType: hard -"history@npm:^5.2.0": - version: 5.3.0 - resolution: "history@npm:5.3.0" - dependencies: - "@babel/runtime": ^7.7.6 - checksum: d73c35df49d19ac172f9547d30a21a26793e83f16a78386d99583b5bf1429cc980799fcf1827eb215d31816a6600684fba9686ce78104e23bd89ec239e7c726f - languageName: node - linkType: hard - "hoist-non-react-statics@npm:^3.3.1": version: 3.3.2 resolution: "hoist-non-react-statics@npm:3.3.2" @@ -9451,23 +9846,6 @@ __metadata: languageName: node linkType: hard -"html-minifier-terser@npm:^5.0.1": - version: 5.1.1 - resolution: "html-minifier-terser@npm:5.1.1" - dependencies: - camel-case: ^4.1.1 - clean-css: ^4.2.3 - commander: ^4.1.1 - he: ^1.2.0 - param-case: ^3.0.3 - relateurl: ^0.2.7 - terser: ^4.6.3 - bin: - html-minifier-terser: cli.js - checksum: 75ff3ff886631b9ecb3035acb8e7dd98c599bb4d4618ad6f7e487ee9752987dddcf6848dc3c1ab1d7fc1ad4484337c2ce39c19eac17b0342b4b15e4294c8a904 - languageName: node - linkType: hard - "html-minifier-terser@npm:^6.0.2": version: 6.1.0 resolution: "html-minifier-terser@npm:6.1.0" @@ -9494,26 +9872,7 @@ __metadata: languageName: node linkType: hard -"html-webpack-plugin-4@npm:html-webpack-plugin@^4": - version: 4.5.2 - resolution: "html-webpack-plugin@npm:4.5.2" - dependencies: - "@types/html-minifier-terser": ^5.0.0 - "@types/tapable": ^1.0.5 - "@types/webpack": ^4.41.8 - html-minifier-terser: ^5.0.1 - loader-utils: ^1.2.3 - lodash: ^4.17.20 - pretty-error: ^2.1.1 - tapable: ^1.1.3 - util.promisify: 1.0.0 - peerDependencies: - webpack: ^4.0.0 || ^5.0.0 - checksum: 25ca0b341234501c64754ba8f9bb84f978e50f3f90affc199d18d04511cdc2c0c8ef8a975901a0fbcfe5bae32f80e8fd5ef52f1ce3672d3ff5307057ccb5a063 - languageName: node - linkType: hard - -"html-webpack-plugin-5@npm:html-webpack-plugin@^5, html-webpack-plugin@npm:^5.5.0": +"html-webpack-plugin@npm:^5.5.0": version: 5.5.0 resolution: "html-webpack-plugin@npm:5.5.0" dependencies: @@ -9787,6 +10146,12 @@ __metadata: languageName: node linkType: hard +"immutable@link:../node_modules/immutable::locator=graasp-chatbox-example%40workspace%3Aexample": + version: 0.0.0-use.local + resolution: "immutable@link:../node_modules/immutable::locator=graasp-chatbox-example%40workspace%3Aexample" + languageName: node + linkType: soft + "immutable@npm:4.2.4": version: 4.2.4 resolution: "immutable@npm:4.2.4" @@ -9804,6 +10169,13 @@ __metadata: languageName: node linkType: hard +"import-lazy@npm:~4.0.0": + version: 4.0.0 + resolution: "import-lazy@npm:4.0.0" + checksum: 22f5e51702134aef78890156738454f620e5fe7044b204ebc057c614888a1dd6fdf2ede0fdcca44d5c173fd64f65c985f19a51775b06967ef58cc3d26898df07 + languageName: node + linkType: hard + "import-local@npm:^3.0.2": version: 3.1.0 resolution: "import-local@npm:3.1.0" @@ -10000,7 +10372,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": +"is-core-module@npm:^2.1.0, is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": version: 2.11.0 resolution: "is-core-module@npm:2.11.0" dependencies: @@ -10155,15 +10527,6 @@ __metadata: languageName: node linkType: hard -"is-plain-object@npm:^2.0.4": - version: 2.0.4 - resolution: "is-plain-object@npm:2.0.4" - dependencies: - isobject: ^3.0.1 - checksum: 2a401140cfd86cabe25214956ae2cfee6fbd8186809555cd0e84574f88de7b17abacb2e477a6a658fa54c6083ecbda1e6ae404c7720244cd198903848fca70ca - languageName: node - linkType: hard - "is-plain-object@npm:^5.0.0": version: 5.0.0 resolution: "is-plain-object@npm:5.0.0" @@ -10178,15 +10541,6 @@ __metadata: languageName: node linkType: hard -"is-reference@npm:^1.2.1": - version: 1.2.1 - resolution: "is-reference@npm:1.2.1" - dependencies: - "@types/estree": "*" - checksum: e7b48149f8abda2c10849ea51965904d6a714193d68942ad74e30522231045acf06cbfae5a4be2702fede5d232e61bf50b3183acdc056e6e3afe07fcf4f4b2bc - languageName: node - linkType: hard - "is-regex@npm:^1.0.4, is-regex@npm:^1.1.4": version: 1.1.4 resolution: "is-regex@npm:1.1.4" @@ -10320,13 +10674,6 @@ __metadata: languageName: node linkType: hard -"isobject@npm:^3.0.1": - version: 3.0.1 - resolution: "isobject@npm:3.0.1" - checksum: db85c4c970ce30693676487cca0e61da2ca34e8d4967c2e1309143ff910c207133a969f9e4ddb2dc6aba670aabce4e0e307146c310350b298e74a31f7d464703 - languageName: node - linkType: hard - "isstream@npm:~0.1.2": version: 0.1.2 resolution: "isstream@npm:0.1.2" @@ -11001,6 +11348,13 @@ __metadata: languageName: node linkType: hard +"jju@npm:~1.4.0": + version: 1.4.0 + resolution: "jju@npm:1.4.0" + checksum: 3790481bd2b7827dd6336e6e3dc2dcc6d425679ba7ebde7b679f61dceb4457ea0cda330972494de608571f4973c6dfb5f70fab6f3c5037dbab19ac449a60424f + languageName: node + linkType: hard + "jmespath@npm:0.16.0": version: 0.16.0 resolution: "jmespath@npm:0.16.0" @@ -11193,6 +11547,27 @@ __metadata: languageName: node linkType: hard +"json5@npm:^2.2.2": + version: 2.2.3 + resolution: "json5@npm:2.2.3" + bin: + json5: lib/cli.js + checksum: 2a7436a93393830bce797d4626275152e37e877b265e94ca69c99e3d20c2b9dab021279146a39cdb700e71b2dd32a4cebd1514cd57cee102b1af906ce5040349 + languageName: node + linkType: hard + +"jsonfile@npm:^4.0.0": + version: 4.0.0 + resolution: "jsonfile@npm:4.0.0" + dependencies: + graceful-fs: ^4.1.6 + dependenciesMeta: + graceful-fs: + optional: true + checksum: 6447d6224f0d31623eef9b51185af03ac328a7553efcee30fa423d98a9e276ca08db87d71e17f2310b0263fd3ffa6c2a90a6308367f661dc21580f9469897c9e + languageName: node + linkType: hard + "jsonfile@npm:^6.0.1": version: 6.1.0 resolution: "jsonfile@npm:6.1.0" @@ -11281,6 +11656,13 @@ __metadata: languageName: node linkType: hard +"kolorist@npm:^1.6.0": + version: 1.7.0 + resolution: "kolorist@npm:1.7.0" + checksum: 0eb64d22a204be11ddd7d2017525bf2603de38b15c571f79d6f0c5f1c869b8adfd40c3aa71c12e0cfe5496c25b2bbe891267cbc11f5b3fbc858d74ae79bac293 + languageName: node + linkType: hard + "language-subtag-registry@npm:~0.3.2": version: 0.3.22 resolution: "language-subtag-registry@npm:0.3.22" @@ -11385,17 +11767,6 @@ __metadata: languageName: node linkType: hard -"loader-utils@npm:^1.2.3": - version: 1.4.2 - resolution: "loader-utils@npm:1.4.2" - dependencies: - big.js: ^5.2.2 - emojis-list: ^3.0.0 - json5: ^1.0.1 - checksum: eb6fb622efc0ffd1abdf68a2022f9eac62bef8ec599cf8adb75e94d1d338381780be6278534170e99edc03380a6d29bc7eb1563c89ce17c5fed3a0b17f1ad804 - languageName: node - linkType: hard - "loader-utils@npm:^2.0.0": version: 2.0.3 resolution: "loader-utils@npm:2.0.3" @@ -11414,13 +11785,6 @@ __metadata: languageName: node linkType: hard -"local-pkg@npm:0.4.1": - version: 0.4.1 - resolution: "local-pkg@npm:0.4.1" - checksum: 4ab3b4853ffbc3b292a3ae2e22618dbc348418a2ebf60ada55fdcc5a8583f9167c89fc7977194ffa39d0a4c5078f9c421d246afdd252fea7a840f7a8f3b5f96b - languageName: node - linkType: hard - "locate-path@npm:^3.0.0": version: 3.0.0 resolution: "locate-path@npm:3.0.0" @@ -11449,15 +11813,6 @@ __metadata: languageName: node linkType: hard -"locate-path@npm:^7.1.0": - version: 7.1.1 - resolution: "locate-path@npm:7.1.1" - dependencies: - p-locate: ^6.0.0 - checksum: 1d88af5b512d6e6398026252e17382907126683ab09ae5d6b8918d0bc72ca2642e1ad6e2fe635c5920840e369618e5d748c08deb57ba537fdd3f78e87ca993e0 - languageName: node - linkType: hard - "lodash.camelcase@npm:^4.3.0": version: 4.3.0 resolution: "lodash.camelcase@npm:4.3.0" @@ -11472,6 +11827,20 @@ __metadata: languageName: node linkType: hard +"lodash.get@npm:^4.4.2": + version: 4.4.2 + resolution: "lodash.get@npm:4.4.2" + checksum: e403047ddb03181c9d0e92df9556570e2b67e0f0a930fcbbbd779370972368f5568e914f913e93f3b08f6d492abc71e14d4e9b7a18916c31fa04bd2306efe545 + languageName: node + linkType: hard + +"lodash.isequal@npm:^4.5.0": + version: 4.5.0 + resolution: "lodash.isequal@npm:4.5.0" + checksum: da27515dc5230eb1140ba65ff8de3613649620e8656b19a6270afe4866b7bd461d9ba2ac8a48dcc57f7adac4ee80e1de9f965d89d4d81a0ad52bb3eec2609644 + languageName: node + linkType: hard + "lodash.isfunction@npm:^3.0.9": version: 3.0.9 resolution: "lodash.isfunction@npm:3.0.9" @@ -11563,7 +11932,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:4.17.21, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.7.0": +"lodash@npm:4.17.21, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.7.0, lodash@npm:~4.17.15": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 @@ -11619,6 +11988,15 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^5.1.1": + version: 5.1.1 + resolution: "lru-cache@npm:5.1.1" + dependencies: + yallist: ^3.0.2 + checksum: c154ae1cbb0c2206d1501a0e94df349653c92c8cbb25236d7e85190bcaf4567a03ac6eb43166fabfa36fd35623694da7233e88d9601fbf411a9a481d85dbd2cb + languageName: node + linkType: hard + "lru-cache@npm:^6.0.0": version: 6.0.0 resolution: "lru-cache@npm:6.0.0" @@ -11644,6 +12022,24 @@ __metadata: languageName: node linkType: hard +"magic-string@npm:^0.27.0": + version: 0.27.0 + resolution: "magic-string@npm:0.27.0" + dependencies: + "@jridgewell/sourcemap-codec": ^1.4.13 + checksum: 273faaa50baadb7a2df6e442eac34ad611304fc08fe16e24fe2e472fd944bfcb73ffb50d2dc972dc04e92784222002af46868cb9698b1be181c81830fd95a13e + languageName: node + linkType: hard + +"magic-string@npm:^0.29.0": + version: 0.29.0 + resolution: "magic-string@npm:0.29.0" + dependencies: + "@jridgewell/sourcemap-codec": ^1.4.13 + checksum: 19e5398fcfc44804917127c72ad622c68a19a0a10cbdb8d4f9f9417584a087fe9e117140bfb2463d86743cf1ed9cf4182ae0b0ad1a7536f7fdda257ee4449ffb + languageName: node + linkType: hard + "make-dir@npm:^3.0.0, make-dir@npm:^3.0.2, make-dir@npm:^3.1.0": version: 3.1.0 resolution: "make-dir@npm:3.1.0" @@ -12375,6 +12771,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^5.1.0": + version: 5.1.6 + resolution: "minimatch@npm:5.1.6" + dependencies: + brace-expansion: ^2.0.1 + checksum: 7564208ef81d7065a370f788d337cd80a689e981042cb9a1d0e6580b6c6a8c9279eba80010516e258835a988363f99f54a6f711a315089b8b42694f5da9d0d77 + languageName: node + linkType: hard + "minimist-options@npm:4.1.0": version: 4.1.0 resolution: "minimist-options@npm:4.1.0" @@ -12826,18 +13231,6 @@ __metadata: languageName: node linkType: hard -"object.getownpropertydescriptors@npm:^2.0.3": - version: 2.1.5 - resolution: "object.getownpropertydescriptors@npm:2.1.5" - dependencies: - array.prototype.reduce: ^1.0.5 - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 7883e1aac1f9cd4cd85e2bb8c7aab6a60940a7cfe07b788356f301844d4967482fc81058e7bda24e1b3909cbb4879387ea9407329b78704f8937bc0b97dec58b - languageName: node - linkType: hard - "object.getownpropertydescriptors@npm:^2.1.0": version: 2.1.4 resolution: "object.getownpropertydescriptors@npm:2.1.4" @@ -12990,15 +13383,6 @@ __metadata: languageName: node linkType: hard -"p-limit@npm:^4.0.0": - version: 4.0.0 - resolution: "p-limit@npm:4.0.0" - dependencies: - yocto-queue: ^1.0.0 - checksum: 01d9d70695187788f984226e16c903475ec6a947ee7b21948d6f597bed788e3112cc7ec2e171c1d37125057a5f45f3da21d8653e04a3a793589e12e9e80e756b - languageName: node - linkType: hard - "p-locate@npm:^3.0.0": version: 3.0.0 resolution: "p-locate@npm:3.0.0" @@ -13026,15 +13410,6 @@ __metadata: languageName: node linkType: hard -"p-locate@npm:^6.0.0": - version: 6.0.0 - resolution: "p-locate@npm:6.0.0" - dependencies: - p-limit: ^4.0.0 - checksum: 2bfe5234efa5e7a4e74b30a5479a193fdd9236f8f6b4d2f3f69e3d286d9a7d7ab0c118a2a50142efcf4e41625def635bd9332d6cbf9cc65d85eb0718c579ab38 - languageName: node - linkType: hard - "p-map@npm:^4.0.0": version: 4.0.0 resolution: "p-map@npm:4.0.0" @@ -13068,7 +13443,7 @@ __metadata: languageName: node linkType: hard -"param-case@npm:^3.0.3, param-case@npm:^3.0.4": +"param-case@npm:^3.0.4": version: 3.0.4 resolution: "param-case@npm:3.0.4" dependencies: @@ -13130,6 +13505,13 @@ __metadata: languageName: node linkType: hard +"path-browserify@npm:^1.0.1": + version: 1.0.1 + resolution: "path-browserify@npm:1.0.1" + checksum: c6d7fa376423fe35b95b2d67990060c3ee304fc815ff0a2dc1c6c3cfaff2bd0d572ee67e18f19d0ea3bbe32e8add2a05021132ac40509416459fffee35200699 + languageName: node + linkType: hard + "path-exists@npm:^3.0.0": version: 3.0.0 resolution: "path-exists@npm:3.0.0" @@ -13144,13 +13526,6 @@ __metadata: languageName: node linkType: hard -"path-exists@npm:^5.0.0": - version: 5.0.0 - resolution: "path-exists@npm:5.0.0" - checksum: 8ca842868cab09423994596eb2c5ec2a971c17d1a3cb36dbf060592c730c725cd524b9067d7d2a1e031fef9ba7bd2ac6dc5ec9fb92aa693265f7be3987045254 - languageName: node - linkType: hard - "path-is-absolute@npm:^1.0.0": version: 1.0.1 resolution: "path-is-absolute@npm:1.0.1" @@ -13165,7 +13540,7 @@ __metadata: languageName: node linkType: hard -"path-parse@npm:^1.0.7": +"path-parse@npm:^1.0.6, path-parse@npm:^1.0.7": version: 1.0.7 resolution: "path-parse@npm:1.0.7" checksum: 49abf3d81115642938a8700ec580da6e830dde670be21893c62f4e10bd7dd4c3742ddc603fe24f898cba7eb0c6bc1777f8d9ac14185d34540c6d4d80cd9cae8a @@ -14229,6 +14604,17 @@ __metadata: languageName: node linkType: hard +"postcss@npm:^8.4.21": + version: 8.4.21 + resolution: "postcss@npm:8.4.21" + dependencies: + nanoid: ^3.3.4 + picocolors: ^1.0.0 + source-map-js: ^1.0.2 + checksum: e39ac60ccd1542d4f9d93d894048aac0d686b3bb38e927d8386005718e6793dbbb46930f0a523fe382f1bbd843c6d980aaea791252bf5e176180e5a4336d9679 + languageName: node + linkType: hard + "postgres-array@npm:^3.0.1": version: 3.0.1 resolution: "postgres-array@npm:3.0.1" @@ -14312,16 +14698,6 @@ __metadata: languageName: node linkType: hard -"pretty-error@npm:^2.1.1": - version: 2.1.2 - resolution: "pretty-error@npm:2.1.2" - dependencies: - lodash: ^4.17.20 - renderkid: ^2.0.4 - checksum: 16775d06f9a695d17103414d610b1281f9535ee1f2da1ce1e1b9be79584a114aa7eac6dcdcc5ef151756d3c014dfd4ac1c7303ed8016d0cec12437cfdf4021c6 - languageName: node - linkType: hard - "pretty-error@npm:^4.0.0": version: 4.0.0 resolution: "pretty-error@npm:4.0.0" @@ -14664,13 +15040,6 @@ __metadata: languageName: node linkType: hard -"react-csv@npm:2.2.2": - version: 2.2.2 - resolution: "react-csv@npm:2.2.2" - checksum: a6ffabd67fc9ba1478b003977923cfa3ccdd9553ac5edcc3824b4a5ea849b87cb2acfcc0781b0cd0a259bf56e6a7dfd35cfc307576aa51819fc5a32b03118fab - languageName: node - linkType: hard - "react-dev-utils@npm:^12.0.1": version: 12.0.1 resolution: "react-dev-utils@npm:12.0.1" @@ -14874,6 +15243,13 @@ __metadata: languageName: node linkType: hard +"react-refresh@npm:^0.14.0": + version: 0.14.0 + resolution: "react-refresh@npm:0.14.0" + checksum: dc69fa8c993df512f42dd0f1b604978ae89bd747c0ed5ec595c0cc50d535fb2696619ccd98ae28775cc01d0a7c146a532f0f7fb81dc22e1977c242a4912312f4 + languageName: node + linkType: hard + "react-rnd@npm:10.3.7": version: 10.3.7 resolution: "react-rnd@npm:10.3.7" @@ -14888,27 +15264,27 @@ __metadata: languageName: node linkType: hard -"react-router-dom@npm:6.3.0": - version: 6.3.0 - resolution: "react-router-dom@npm:6.3.0" +"react-router-dom@npm:6.10.0": + version: 6.10.0 + resolution: "react-router-dom@npm:6.10.0" dependencies: - history: ^5.2.0 - react-router: 6.3.0 + "@remix-run/router": 1.5.0 + react-router: 6.10.0 peerDependencies: react: ">=16.8" react-dom: ">=16.8" - checksum: 77603a654f8a8dc7f65535a2e5917a65f8d9ffcb06546d28dd297e52adcc4b8a84377e0115f48dca330b080af2da3e78f29d590c89307094d36927d2b1751ec3 + checksum: d048d8cc66e5aec782bd675097d6bf0e5f867f3f0539bff9acdc4a314b5e0e34093944762960ca0977a54c6255272edd262231242b18c4e260d68df6b5288464 languageName: node linkType: hard -"react-router@npm:6.3.0": - version: 6.3.0 - resolution: "react-router@npm:6.3.0" +"react-router@npm:6.10.0": + version: 6.10.0 + resolution: "react-router@npm:6.10.0" dependencies: - history: ^5.2.0 + "@remix-run/router": 1.5.0 peerDependencies: react: ">=16.8" - checksum: 7be673f5e72104be01e6ab274516bdb932efd93305243170690f6560e3bd1035dd1df3d3c9ce1e0f452638a2529f43a1e77dcf0934fc8031c4783da657be13ca + checksum: c9fce46147c04257d7d6fa1f5bbfac96c5fdd0b15f26918bd12b2e5fe9143977c5a4452272f9b85795a22e29ec105a60d0bbe036118efc52b383d163cd8829ab languageName: node linkType: hard @@ -15257,19 +15633,6 @@ __metadata: languageName: node linkType: hard -"renderkid@npm:^2.0.4": - version: 2.0.7 - resolution: "renderkid@npm:2.0.7" - dependencies: - css-select: ^4.1.3 - dom-converter: ^0.2.0 - htmlparser2: ^6.1.0 - lodash: ^4.17.21 - strip-ansi: ^3.0.1 - checksum: d3d7562531fb8104154d4aa6aa977707783616318014088378a6c5bbc36318ada9289543d380ede707e531b7f5b96229e87d1b8944f675e5ec3686e62692c7c7 - languageName: node - linkType: hard - "renderkid@npm:^3.0.0": version: 3.0.0 resolution: "renderkid@npm:3.0.0" @@ -15373,7 +15736,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.10.1, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1": +"resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.10.1, resolve@npm:^1.14.2, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:~1.22.1": version: 1.22.1 resolution: "resolve@npm:1.22.1" dependencies: @@ -15399,7 +15762,17 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@^1.1.7#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.10.1#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.17.0#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin": +"resolve@npm:~1.19.0": + version: 1.19.0 + resolution: "resolve@npm:1.19.0" + dependencies: + is-core-module: ^2.1.0 + path-parse: ^1.0.6 + checksum: a05b356e47b85ad3613d9e2a39a824f3c27f4fcad9c9ff6c7cc71a2e314c5904a90ab37481ad0069d03cab9eaaac6eb68aca1bc3355fdb05f1045cd50e2aacea + languageName: node + linkType: hard + +"resolve@patch:resolve@^1.1.7#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.10.1#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@~1.22.1#~builtin": version: 1.22.1 resolution: "resolve@patch:resolve@npm%3A1.22.1#~builtin::version=1.22.1&hash=c3c19d" dependencies: @@ -15425,6 +15798,16 @@ __metadata: languageName: node linkType: hard +"resolve@patch:resolve@~1.19.0#~builtin": + version: 1.19.0 + resolution: "resolve@patch:resolve@npm%3A1.19.0#~builtin::version=1.19.0&hash=c3c19d" + dependencies: + is-core-module: ^2.1.0 + path-parse: ^1.0.6 + checksum: 2443b94d347e6946c87c85faf13071f605e609e0b54784829b0ed2b917d050bfc1cbaf4ecc6453f224cfa7d0c5dcd97cbb273454cd210bee68e4af15c1a5abc9 + languageName: node + linkType: hard + "restore-cursor@npm:^3.1.0": version: 3.1.0 resolution: "restore-cursor@npm:3.1.0" @@ -15495,37 +15878,6 @@ __metadata: languageName: node linkType: hard -"rollup-jest@npm:1.1.3": - version: 1.1.3 - resolution: "rollup-jest@npm:1.1.3" - dependencies: - concat-merge: ^1.0.2 - peerDependencies: - rollup: ^1.1.0 || ^2 - checksum: 916c42de8d89c1b4226ed01add02aa8d25ad517f289c812083dbc9a9901dfaaed1e61c411b64bf5f87f2930d49efdb2f023ddbbc19df7eea99623578d421cf9a - languageName: node - linkType: hard - -"rollup-plugin-import-css@npm:3.0.3": - version: 3.0.3 - resolution: "rollup-plugin-import-css@npm:3.0.3" - dependencies: - "@rollup/pluginutils": ^4.2.0 - peerDependencies: - rollup: ^2.x.x - checksum: 73e7308054dd5564be6a370b5643b82ddf4b60ae2c4e27edce94ae057ef86e2a5474b7fb63d89f34b973416e2aae219917b189e5556958e2131302a28c6018d1 - languageName: node - linkType: hard - -"rollup-plugin-peer-deps-external@npm:2.2.4": - version: 2.2.4 - resolution: "rollup-plugin-peer-deps-external@npm:2.2.4" - peerDependencies: - rollup: "*" - checksum: 597bc7631f4e3cfc066a7da4e09e507258aba932008148328c1a4b48e7ffa755592ef4bcf0165320bbd5019afbdd326f569cd0c68406d820da9ab52e971c009b - languageName: node - linkType: hard - "rollup-plugin-terser@npm:^7.0.0": version: 7.0.2 resolution: "rollup-plugin-terser@npm:7.0.2" @@ -15540,14 +15892,22 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-tsc-alias@npm:1.1.2": - version: 1.1.2 - resolution: "rollup-plugin-tsc-alias@npm:1.1.2" +"rollup-plugin-visualizer@npm:5.9.0": + version: 5.9.0 + resolution: "rollup-plugin-visualizer@npm:5.9.0" dependencies: - tsc-alias: ^1.6.4 + open: ^8.4.0 + picomatch: ^2.3.1 + source-map: ^0.7.4 + yargs: ^17.5.1 peerDependencies: - rollup: "> 2.0" - checksum: 5e2e7564b4ea7ec3f182dbc1d4adee5df7f0bf26ff11bef2e6c976fabc66728d094ba2debe25822e5bede47e3f4e1798f877b0f4e311eed7362cb99993585e3c + rollup: 2.x || 3.x + peerDependenciesMeta: + rollup: + optional: true + bin: + rollup-plugin-visualizer: dist/bin/cli.js + checksum: 362d4fac0295c14bd205dbc85c20c31f4b6c47604868da21d9565ed47e0333759f08b9fe0acb82f78221f5173ea01e4eb70d47351eb6012216afe71b5492ed5f languageName: node linkType: hard @@ -15579,6 +15939,20 @@ __metadata: languageName: node linkType: hard +"rollup@npm:^3.18.0": + version: 3.20.2 + resolution: "rollup@npm:3.20.2" + dependencies: + fsevents: ~2.3.2 + dependenciesMeta: + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 34b0932839b7c2a5d1742fb21ce95a47e0b49a0849f4abee2dccf25833187aa7babb898ca90d4fc761cffa4102b9ed0ac6ad7f6f6b96c8b8e2d67305abc5da65 + languageName: node + linkType: hard + "run-parallel@npm:^1.1.9": version: 1.2.0 resolution: "run-parallel@npm:1.2.0" @@ -15803,7 +16177,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.3.8, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7": +"semver@npm:7.3.8, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:~7.3.0": version: 7.3.8 resolution: "semver@npm:7.3.8" dependencies: @@ -15926,15 +16300,6 @@ __metadata: languageName: node linkType: hard -"shallow-clone@npm:^3.0.0": - version: 3.0.1 - resolution: "shallow-clone@npm:3.0.1" - dependencies: - kind-of: ^6.0.2 - checksum: 39b3dd9630a774aba288a680e7d2901f5c0eae7b8387fc5c8ea559918b29b3da144b7bdb990d7ccd9e11be05508ac9e459ce51d01fd65e583282f6ffafcba2e7 - languageName: node - linkType: hard - "shebang-command@npm:^2.0.0": version: 2.0.0 resolution: "shebang-command@npm:2.0.0" @@ -16131,7 +16496,7 @@ __metadata: languageName: node linkType: hard -"source-map-support@npm:^0.5.6, source-map-support@npm:~0.5.12, source-map-support@npm:~0.5.20": +"source-map-support@npm:^0.5.6, source-map-support@npm:~0.5.20": version: 0.5.21 resolution: "source-map-support@npm:0.5.21" dependencies: @@ -16164,7 +16529,7 @@ __metadata: languageName: node linkType: hard -"source-map@npm:^0.7.3": +"source-map@npm:^0.7.3, source-map@npm:^0.7.4": version: 0.7.4 resolution: "source-map@npm:0.7.4" checksum: 01cc5a74b1f0e1d626a58d36ad6898ea820567e87f18dfc9d24a9843a351aaa2ec09b87422589906d6ff1deed29693e176194dc88bcae7c9a852dc74b311dbf5 @@ -16255,17 +16620,6 @@ __metadata: languageName: node linkType: hard -"speed-measure-webpack-plugin@npm:1.4.2": - version: 1.4.2 - resolution: "speed-measure-webpack-plugin@npm:1.4.2" - dependencies: - chalk: ^4.1.0 - peerDependencies: - webpack: ^1 || ^2 || ^3 || ^4 || ^5 - checksum: 888d9697a6a45bf4ce69de92c5f5862d73ae1a2716072c6e56e388f71ba60ce59960fcc2228eba10178883595fd841fece8bd0d71bdbf16334fdd778a31d9a2c - languageName: node - linkType: hard - "split2@npm:^3.0.0": version: 3.2.2 resolution: "split2@npm:3.2.2" @@ -16356,6 +16710,13 @@ __metadata: languageName: node linkType: hard +"string-argv@npm:~0.3.1": + version: 0.3.1 + resolution: "string-argv@npm:0.3.1" + checksum: efbd0289b599bee808ce80820dfe49c9635610715429c6b7cc50750f0437e3c2f697c81e5c390208c13b5d5d12d904a1546172a88579f6ee5cbaaaa4dc9ec5cf + languageName: node + linkType: hard + "string-length@npm:^4.0.1": version: 4.0.2 resolution: "string-length@npm:4.0.2" @@ -16468,15 +16829,6 @@ __metadata: languageName: node linkType: hard -"strip-ansi@npm:^3.0.1": - version: 3.0.1 - resolution: "strip-ansi@npm:3.0.1" - dependencies: - ansi-regex: ^2.0.0 - checksum: 9b974de611ce5075c70629c00fa98c46144043db92ae17748fb780f706f7a789e9989fd10597b7c2053ae8d1513fd707816a91f1879b2f71e6ac0b6a863db465 - languageName: node - linkType: hard - "strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": version: 6.0.1 resolution: "strip-ansi@npm:6.0.1" @@ -16532,7 +16884,7 @@ __metadata: languageName: node linkType: hard -"strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1": +"strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1, strip-json-comments@npm:~3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" checksum: 492f73e27268f9b1c122733f28ecb0e7e8d8a531a6662efbd08e22cccb3f9475e90a1b82cab06a392f6afae6d2de636f977e231296400d0ec5304ba70f166443 @@ -16722,7 +17074,7 @@ __metadata: languageName: node linkType: hard -"tapable@npm:^1.0.0, tapable@npm:^1.1.3": +"tapable@npm:^1.0.0": version: 1.1.3 resolution: "tapable@npm:1.1.3" checksum: 53ff4e7c3900051c38cc4faab428ebfd7e6ad0841af5a7ac6d5f3045c5b50e88497bfa8295b4b3fbcadd94993c9e358868b78b9fb249a76cb8b018ac8dccafd7 @@ -16801,19 +17153,6 @@ __metadata: languageName: node linkType: hard -"terser@npm:^4.6.3": - version: 4.8.1 - resolution: "terser@npm:4.8.1" - dependencies: - commander: ^2.20.0 - source-map: ~0.6.1 - source-map-support: ~0.5.12 - bin: - terser: bin/terser - checksum: b342819bf7e82283059aaa3f22bb74deb1862d07573ba5a8947882190ad525fd9b44a15074986be083fd379c58b9a879457a330b66dcdb77b485c44267f9a55a - languageName: node - linkType: hard - "terser@npm:^5.0.0, terser@npm:^5.10.0, terser@npm:^5.14.1": version: 5.15.1 resolution: "terser@npm:5.15.1" @@ -17029,6 +17368,16 @@ __metadata: languageName: node linkType: hard +"ts-morph@npm:17.0.1": + version: 17.0.1 + resolution: "ts-morph@npm:17.0.1" + dependencies: + "@ts-morph/common": ~0.18.0 + code-block-writer: ^11.0.3 + checksum: 4748ab45d0fb0be235f69399ea217cf1c5984ad2ef3ff9eba5a417571f73098c6f1f765fc011eaadc48179471b977f1e44f72eb993932e5c74c5031ab6c60f3a + languageName: node + linkType: hard + "ts-node@npm:^10.8.1": version: 10.9.1 resolution: "ts-node@npm:10.9.1" @@ -17067,7 +17416,7 @@ __metadata: languageName: node linkType: hard -"tsc-alias@npm:1.8.2, tsc-alias@npm:^1.6.4": +"tsc-alias@npm:1.8.2": version: 1.8.2 resolution: "tsc-alias@npm:1.8.2" dependencies: @@ -17116,7 +17465,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.1": +"tslib@npm:^2.0.3, tslib@npm:^2.1.0": version: 2.4.1 resolution: "tslib@npm:2.4.1" checksum: 19480d6e0313292bd6505d4efe096a6b31c70e21cf08b5febf4da62e95c265c8f571f7b36fcc3d1a17e068032f59c269fab3459d6cd3ed6949eafecf64315fca @@ -17263,6 +17612,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:~4.8.4": + version: 4.8.4 + resolution: "typescript@npm:4.8.4" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 3e4f061658e0c8f36c820802fa809e0fd812b85687a9a2f5430bc3d0368e37d1c9605c3ce9b39df9a05af2ece67b1d844f9f6ea8ff42819f13bcb80f85629af0 + languageName: node + linkType: hard + "typescript@patch:typescript@4.9.4#~builtin, typescript@patch:typescript@^4.6.4#~builtin": version: 4.9.4 resolution: "typescript@patch:typescript@npm%3A4.9.4#~builtin::version=4.9.4&hash=23ec76" @@ -17283,6 +17642,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@~4.8.4#~builtin": + version: 4.8.4 + resolution: "typescript@patch:typescript@npm%3A4.8.4#~builtin::version=4.8.4&hash=1a91c8" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: c981e82b77a5acdcc4e69af9c56cdecf5b934a87a08e7b52120596701e389a878b8e3f860e73ffb287bf649cc47a8c741262ce058148f71de4cdd88bb9c75153 + languageName: node + linkType: hard + "unbox-primitive@npm:^1.0.2": version: 1.0.2 resolution: "unbox-primitive@npm:1.0.2" @@ -17430,6 +17799,13 @@ __metadata: languageName: node linkType: hard +"universalify@npm:^0.1.0": + version: 0.1.2 + resolution: "universalify@npm:0.1.2" + checksum: 40cdc60f6e61070fe658ca36016a8f4ec216b29bf04a55dce14e3710cc84c7448538ef4dad3728d0bfe29975ccd7bfb5f414c45e7b78883567fb31b246f02dff + languageName: node + linkType: hard + "universalify@npm:^0.2.0": version: 0.2.0 resolution: "universalify@npm:0.2.0" @@ -17532,16 +17908,6 @@ __metadata: languageName: node linkType: hard -"util.promisify@npm:1.0.0": - version: 1.0.0 - resolution: "util.promisify@npm:1.0.0" - dependencies: - define-properties: ^1.1.2 - object.getownpropertydescriptors: ^2.0.3 - checksum: 482e857d676adee506c5c3a10212fd6a06a51d827a9b6d5396a8e593db53b4bb7064f77c5071357d8cd76072542de5cc1c08bc6d7c10cf43fa22dc3bc67556f1 - languageName: node - linkType: hard - "util.promisify@npm:~1.0.0": version: 1.0.1 resolution: "util.promisify@npm:1.0.1" @@ -17657,6 +18023,13 @@ __metadata: languageName: node linkType: hard +"validator@npm:^13.7.0": + version: 13.9.0 + resolution: "validator@npm:13.9.0" + checksum: e2c936f041f61faa42bafd17c6faddf939498666cd82e88d733621c286893730b008959f4cb12ab3e236148a4f3805c30b85e3dcf5e0efd8b0cbcd36c02bfc0c + languageName: node + linkType: hard + "vary@npm:~1.1.2": version: 1.1.2 resolution: "vary@npm:1.1.2" @@ -17697,6 +18070,64 @@ __metadata: languageName: node linkType: hard +"vite-plugin-dts@npm:2.1.0": + version: 2.1.0 + resolution: "vite-plugin-dts@npm:2.1.0" + dependencies: + "@babel/parser": ^7.20.15 + "@microsoft/api-extractor": ^7.33.5 + "@rollup/pluginutils": ^5.0.2 + "@rushstack/node-core-library": ^3.53.2 + debug: ^4.3.4 + fast-glob: ^3.2.12 + fs-extra: ^10.1.0 + kolorist: ^1.6.0 + magic-string: ^0.29.0 + ts-morph: 17.0.1 + peerDependencies: + vite: ">=2.9.0" + checksum: 6c51b6de986e622a8ec271b68dcbfac55ab0ba65ca3b74e19e3088ff931913e5bb5c6d15e77525ca0bc11a6c87497f4529132cd0ad6c5970e8794f809cfa9cb8 + languageName: node + linkType: hard + +"vite@npm:4.2.1": + version: 4.2.1 + resolution: "vite@npm:4.2.1" + dependencies: + esbuild: ^0.17.5 + fsevents: ~2.3.2 + postcss: ^8.4.21 + resolve: ^1.22.1 + rollup: ^3.18.0 + peerDependencies: + "@types/node": ">= 14" + less: "*" + sass: "*" + stylus: "*" + sugarss: "*" + terser: ^5.4.0 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + "@types/node": + optional: true + less: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + bin: + vite: bin/vite.js + checksum: 70eb162ffc299017a3c310e3adc95e9661def6b17aafd1f8e5e02e516766060435590dbe3df1e4e95acc3583c728a76e91f07c546221d1e701f1b2b021293f45 + languageName: node + linkType: hard + "void-elements@npm:3.1.0": version: 3.1.0 resolution: "void-elements@npm:3.1.0" @@ -17786,7 +18217,7 @@ __metadata: languageName: node linkType: hard -"webpack-dev-server@npm:^4.6.0, webpack-dev-server@npm:^4.7.4": +"webpack-dev-server@npm:^4.6.0": version: 4.11.1 resolution: "webpack-dev-server@npm:4.11.1" dependencies: @@ -17842,16 +18273,6 @@ __metadata: languageName: node linkType: hard -"webpack-merge@npm:^5.4.0": - version: 5.8.0 - resolution: "webpack-merge@npm:5.8.0" - dependencies: - clone-deep: ^4.0.1 - wildcard: ^2.0.0 - checksum: 88786ab91013f1bd2a683834ff381be81c245a4b0f63304a5103e90f6653f44dab496a0768287f8531761f8ad957d1f9f3ccb2cb55df0de1bd9ee343e079da26 - languageName: node - linkType: hard - "webpack-sources@npm:^1.4.3": version: 1.4.3 resolution: "webpack-sources@npm:1.4.3" @@ -18037,13 +18458,6 @@ __metadata: languageName: node linkType: hard -"wildcard@npm:^2.0.0": - version: 2.0.0 - resolution: "wildcard@npm:2.0.0" - checksum: 1f4fe4c03dfc492777c60f795bbba597ac78794f1b650d68f398fbee9adb765367c516ebd4220889b6a81e9626e7228bbe0d66237abb311573c2ee1f4902a5ad - languageName: node - linkType: hard - "word-wrap@npm:^1.2.3, word-wrap@npm:~1.2.3": version: 1.2.3 resolution: "word-wrap@npm:1.2.3" @@ -18372,6 +18786,13 @@ __metadata: languageName: node linkType: hard +"yallist@npm:^3.0.2": + version: 3.1.1 + resolution: "yallist@npm:3.1.1" + checksum: 48f7bb00dc19fc635a13a39fe547f527b10c9290e7b3e836b9a8f1ca04d4d342e85714416b3c2ab74949c9c66f9cebb0473e6bc353b79035356103b47641285d + languageName: node + linkType: hard + "yallist@npm:^4.0.0": version: 4.0.0 resolution: "yallist@npm:4.0.0" @@ -18393,7 +18814,7 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:^21.0.0": +"yargs-parser@npm:^21.0.0, yargs-parser@npm:^21.1.1": version: 21.1.1 resolution: "yargs-parser@npm:21.1.1" checksum: ed2d96a616a9e3e1cc7d204c62ecc61f7aaab633dcbfab2c6df50f7f87b393993fe6640d017759fe112d0cb1e0119f2b4150a87305cc873fd90831c6a58ccf1c @@ -18430,6 +18851,21 @@ __metadata: languageName: node linkType: hard +"yargs@npm:^17.5.1": + version: 17.7.1 + resolution: "yargs@npm:17.7.1" + dependencies: + cliui: ^8.0.1 + escalade: ^3.1.1 + get-caller-file: ^2.0.5 + require-directory: ^2.1.1 + string-width: ^4.2.3 + y18n: ^5.0.5 + yargs-parser: ^21.1.1 + checksum: 3d8a43c336a4942bc68080768664aca85c7bd406f018bad362fd255c41c8f4e650277f42fd65d543fce99e084124ddafee7bbfc1a5c6a8fda4cec78609dcf8d4 + languageName: node + linkType: hard + "yauzl@npm:^2.10.0": version: 2.10.0 resolution: "yauzl@npm:2.10.0" @@ -18454,10 +18890,20 @@ __metadata: languageName: node linkType: hard -"yocto-queue@npm:^1.0.0": - version: 1.0.0 - resolution: "yocto-queue@npm:1.0.0" - checksum: 2cac84540f65c64ccc1683c267edce396b26b1e931aa429660aefac8fbe0188167b7aee815a3c22fa59a28a58d898d1a2b1825048f834d8d629f4c2a5d443801 +"z-schema@npm:~5.0.2": + version: 5.0.5 + resolution: "z-schema@npm:5.0.5" + dependencies: + commander: ^9.4.1 + lodash.get: ^4.4.2 + lodash.isequal: ^4.5.0 + validator: ^13.7.0 + dependenciesMeta: + commander: + optional: true + bin: + z-schema: bin/z-schema + checksum: 8a1d66817ae4384dc3f63311f0cccaadd95cc9640eaade5fd3fbf91aa80d6bb82fb95d9b9171fa82ac371a0155b32b7f5f77bbe84dabaca611b66f74c628f0b8 languageName: node linkType: hard