Skip to content

Commit

Permalink
Merge pull request #174 from l3vels/fix/packages
Browse files Browse the repository at this point in the history
Fix/packages
  • Loading branch information
Chkhikvadze authored Sep 26, 2023
2 parents 0a7dd17 + c35655a commit 9d5bcd7
Show file tree
Hide file tree
Showing 19 changed files with 34 additions and 1,665 deletions.
14 changes: 0 additions & 14 deletions apps/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,12 @@
"@mui/material": "^5.10.7",
"@originjs/vite-plugin-federation": "^1.2.3",
"@radix-ui/react-dropdown-menu": "^1.0.0",
"@radix-ui/react-label": "^1.0.0",
"@rainbow-me/rainbowkit": "^0.12.6",
"@rollup/plugin-graphql": "^2.0.3",
"@sentry/react": "^7.54.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/apollo-upload-client": "^17.0.1",
"@types/jest": "^29.1.1",
"@types/lodash": "^4.14.186",
"@types/node": "^18.8.0",
"@types/qs": "^6.9.7",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/react-mentions": "^4.1.8",
Expand All @@ -41,11 +35,9 @@
"axios": "^0.27.2",
"cmdk": "^0.2.0",
"core-js-pure": "^3.32.1",
"env-cmd": "^10.1.0",
"ethers": "^5.7.2",
"formik": "^2.2.9",
"graphql": "^16.8.1",
"graphql-anywhere": "^4.2.7",
"graphql.macro": "^1.4.2",
"i18next": "^21.9.2",
"i18next-browser-languagedetector": "^6.1.5",
Expand Down Expand Up @@ -112,22 +104,16 @@
]
},
"devDependencies": {
"@commitlint/cli": "^17.4.3",
"@commitlint/config-conventional": "^17.4.3",
"@sentry/webpack-plugin": "^2.2.1",
"@types/react-syntax-highlighter": "^15.5.6",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"babel-plugin-import-graphql": "^2.8.1",
"eslint": "^8.44.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"lint-staged": "^13.1.2",
"prettier": "^2.8.0",
"source-map-explorer": "^2.5.3",
"vite": "^4.3.9",
Expand Down
7 changes: 0 additions & 7 deletions apps/ui/src/assets/svgComponents/ArrowRightSvg.tsx

This file was deleted.

23 changes: 0 additions & 23 deletions apps/ui/src/assets/svgComponents/ChannelsIconSvg.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions apps/ui/src/assets/svgComponents/DeployIconSvg.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions apps/ui/src/assets/svgComponents/InventoryIconSvg.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions apps/ui/src/assets/svgComponents/NewsPaperIconSvg.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions apps/ui/src/assets/svgComponents/PlayersIconSvg.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions apps/ui/src/assets/svgComponents/ResourcesIconSvg.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions apps/ui/src/assets/svgComponents/SavedIconSvg.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions apps/ui/src/assets/svgComponents/StaticArrowSvg.tsx

This file was deleted.

5 changes: 4 additions & 1 deletion apps/ui/src/components/CommandMenu/CommandMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ import { v4 as uuidv4 } from 'uuid'
import { useModal } from 'hooks'

import { Command } from 'cmdk'
import { get, groupBy, has, slice } from 'lodash'
import get from 'lodash/get'
import groupBy from 'lodash/groupBy'
import has from 'lodash/has'
import slice from 'lodash/slice'

import StarVector from 'assets/svgComponents/StarVector'
import StarsVector from 'assets/svgComponents/StartsVector'
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/src/components/DataGrid/DataGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import processDataFromClipboard from './helpers/processDataFromClipboard'
import styled from 'styled-components'
import { LayoutContext } from 'contexts'
import { useLocation } from 'react-router-dom'
import { includes } from 'lodash'
import includes from 'lodash/includes'
import { GridReadyEvent } from 'ag-grid-community'

interface IProps {
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useContext, useEffect, useRef, useState } from 'react'
import styled from 'styled-components'
import 'react-pro-sidebar/dist/css/styles.css'

import { includes } from 'lodash'
import includes from 'lodash/includes'

import Menu from '@l3-lib/ui-core/dist/Menu'
import MenuItem from '@l3-lib/ui-core/dist/MenuItem'
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/src/hooks/useFormAutoSave.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useMemo } from 'react'
import { FieldValues, UseFormReturn, useWatch } from 'react-hook-form'
import { debounce } from 'lodash'
import debounce from 'lodash/debounce'
import { useUpdateEffect } from 'usehooks-ts'

type UseFormAutoSaveProps<T extends FieldValues> = {
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/src/modals/AIChatModal/utils/test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { random } from 'lodash'
import random from 'lodash/random'

export const collection1 = {
id: 1,
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/src/pages/Navigation/DevelopersNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import styled from 'styled-components'

import { useEffect, useState } from 'react'
import { useLocation, useNavigate } from 'react-router-dom'
import { includes } from 'lodash'
import includes from 'lodash/includes'

import Games from '@l3-lib/ui-core/dist/icons/Games'
import Logs from '@l3-lib/ui-core/dist/icons/Logs'
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/src/pages/Navigation/MainNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Team from '@l3-lib/ui-core/dist/icons/Team'
import Launch from '@l3-lib/ui-core/dist/icons/Launch'

import { useLocation, useNavigate } from 'react-router-dom'
import { includes } from 'lodash'
import includes from 'lodash/includes'

const MainNavigation = () => {
const navigate = useNavigate()
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/src/routes/DevelopersRouteLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Link, useLocation, useOutlet } from 'react-router-dom'
import { includes } from 'lodash'
import includes from 'lodash/includes'

import {
StyledAppContainer,
Expand Down
Loading

0 comments on commit 9d5bcd7

Please sign in to comment.