Skip to content

Commit

Permalink
clean up dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
undyingwraith committed Dec 29, 2024
1 parent c56f85f commit 27cacce
Show file tree
Hide file tree
Showing 16 changed files with 2,894 additions and 1,966 deletions.
894 changes: 0 additions & 894 deletions .yarn/releases/yarn-4.3.1.cjs

This file was deleted.

934 changes: 934 additions & 0 deletions .yarn/releases/yarn-4.5.3.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ packageExtensions:
dependencies:
undici: "*"

yarnPath: .yarn/releases/yarn-4.3.1.cjs
yarnPath: .yarn/releases/yarn-4.5.3.cjs
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"private": true,
"type": "module",
"packageManager": "yarn@4.3.1",
"packageManager": "yarn@4.5.3",
"scripts": {
"watch": "yarn workspaces foreach -Api run watch",
"build": "yarn workspaces foreach -At run build",
Expand All @@ -16,6 +16,6 @@
"packages/*"
],
"devDependencies": {
"typescript": "^5.4.5"
"typescript": "^5.7.2"
}
}
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
"name": "ipmc-core",
"main": "./dist/index.js",
"type": "module",
"packageManager": "[email protected]",
"scripts": {
"watch": "tsc --watch",
"build": "tsc",
"test": "vitest run"
},
"dependencies": {
"inversify": "^6.0.2",
"i18next": "^24.2.0",
"inversify": "^6.2.1",
"ipmc-interfaces": "workspace:^",
"kubo-rpc-client": "^4.1.1",
"kubo-rpc-client": "^5.0.2",
"reflect-metadata": "^0.2.2"
},
"devDependencies": {
"typescript": "^5.4.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
}
22 changes: 11 additions & 11 deletions packages/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"ipmc-core": "workspace:^",
"ipmc-interfaces": "workspace:^",
"ipmc-ui": "workspace:^",
"kubo-rpc-client": "^4.1.1",
"kubo-rpc-client": "^5.0.2",
"libp2p": "^1.3.0",
"multiformats": "^13.1.0",
"react": "^18.3.1",
Expand All @@ -56,20 +56,20 @@
"@electron-toolkit/eslint-config-ts": "^2.0.0",
"@electron-toolkit/tsconfig": "^1.0.1",
"@helia/ipns": "^7.2.2",
"@preact/signals-react-transform": "^0.3.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@types/node": "^20.12.12",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.2.1",
"@preact/signals-react-transform": "^0.5.0",
"@rollup/plugin-commonjs": "^28.0.2",
"@types/node": "^20.17.10",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"electron": "30.0.7",
"electron-builder": "^24.13.3",
"electron-vite": "^2.2.0",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"eslint-plugin-react": "^7.37.2",
"prettier": "^3.4.2",
"typescript": "^5.7.2",
"vite": "^5.2.11",
"vite-plugin-commonjs": "^0.10.1"
"vite-plugin-commonjs": "^0.10.4"
}
}
2 changes: 1 addition & 1 deletion packages/desktop/src/renderer/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { IpmcLauncher, ThemeContextProvider } from "ipmc-ui";

function App(): JSX.Element {
function App() {
return (
<ThemeContextProvider>
<IpmcLauncher
Expand Down
3 changes: 1 addition & 2 deletions packages/interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"watch": "tsc --watch",
"build": "tsc"
},
"packageManager": "[email protected]",
"devDependencies": {
"typescript": "^5.4.5"
"typescript": "^5.7.2"
}
}
14 changes: 7 additions & 7 deletions packages/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
"cli": "vite-node ./src/index.ts"
},
"dependencies": {
"@inquirer/prompts": "^7.0.1",
"chalk": "^5.3.0",
"@inquirer/prompts": "^7.2.0",
"chalk": "^5.4.0",
"cli-progress": "^3.12.0",
"fluent-ffmpeg": "^2.1.2",
"fluent-ffmpeg": "^2.1.3",
"ipmc-core": "workspace:^",
"kubo-rpc-client": "^4.1.1",
"kubo-rpc-client": "^5.0.2",
"srt2vtt": "^1.3.1",
"yargs": "^17.7.2"
},
"devDependencies": {
"@types/cli-progress": "^3.11.5",
"@types/fluent-ffmpeg": "^2.1.24",
"@types/cli-progress": "^3.11.6",
"@types/fluent-ffmpeg": "^2.1.27",
"@types/node": "^22.10.2",
"@types/yargs": "^17.0.32",
"@types/yargs": "^17.0.33",
"vite-node": "^2.1.8"
}
}
27 changes: 13 additions & 14 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "ipmc-ui",
"packageManager": "[email protected]",
"type": "module",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
Expand All @@ -23,24 +22,24 @@
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.1.0",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"jsdom": "^25.0.1",
"terser": "^5.31.0",
"typescript": "^5.4.5",
"terser": "^5.37.0",
"typescript": "^5.7.2",
"vite": "^5.2.11",
"vite-plugin-checker": "^0.6.4",
"vite-plugin-dts": "^3.9.1",
"vite-plugin-checker": "^0.8.0",
"vite-plugin-dts": "^4.4.0",
"vitest": "^2.1.8"
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@helia/unixfs": "^3.0.6",
"@libp2p/pnet": "^1.0.1",
"@mui/icons-material": "^5.15.15",
"@mui/material": "^5.15.15",
"@preact/signals-react": "^2.0.1",
"@mui/icons-material": "^6.2.1",
"@mui/material": "^6.2.1",
"@preact/signals-react": "^2.3.0",
"file-type": "^19.6.0",
"helia": "^4.2.2",
"ipmc-core": "workspace:^",
Expand All @@ -49,7 +48,7 @@
"multiformats": "^13.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"shaka-player": "^4.11.8",
"wouter": "^3.2.0"
"shaka-player": "^4.12.5",
"wouter": "^3.3.5"
}
}
31 changes: 0 additions & 31 deletions packages/ui/src/i18n.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { BrowserModule, CoreModule } from 'ipmc-core';
import { IFileInfo, IIpfsServiceSymbol } from 'ipmc-interfaces';
import { FileInfoDisplay } from '@src/components/atoms/FileInfoDisplay';
import { AppContextProvider } from '@src/context';
import '@src/i18n';

describe('FileInfoDisplay', () => {
test('Renders data correctly', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`FileInfoDisplay > Renders data correctly 1`] = `
class="MuiBox-root css-0"
>
<h3
class="MuiTypography-root MuiTypography-h3 css-gepadz-MuiTypography-root"
class="MuiTypography-root MuiTypography-h3 css-13msox4-MuiTypography-root"
>
Test name
</h3>
Expand All @@ -21,7 +21,7 @@ exports[`FileInfoDisplay > Renders data correctly 1`] = `
class="MuiBox-root css-0"
>
<h3
class="MuiTypography-root MuiTypography-h3 css-gepadz-MuiTypography-root"
class="MuiTypography-root MuiTypography-h3 css-13msox4-MuiTypography-root"
>
Test name
</h3>
Expand Down
30 changes: 20 additions & 10 deletions packages/ui/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,40 @@ export default defineConfig(({ mode }) => ({
rollupOptions: {
preserveSymlinks: true,
external: [
'helia',
'react',
'react-dom',
'react-i18next',
'@mui/material',
'@mui/icons-material',
'@emotion/react',
'@emotion/styled',
'@helia/unixfs',
'@libp2p/pnet',
'@mui/icons-material',
'@mui/material',
'@preact/signals-react',
'i18next',
'minidenticons',
'multiformats',
'file-type',
'helia',
'ipmc-core',
'ipmc-interfaces',
'minidenticons',
'multiformats',
'react',
'react-dom',
'shaka-player',
'file-type',
'wouter',
],
output: {
// Provide global variables to use in the UMD build
// for externalized deps
globals: {
'@emotion/react': 'react',
'@emotion/styled': 'emStyled',
'@mui/material': 'material',
'@preact/signals-react': 'signalsReact',
'file-type': 'fileType',
helia: 'helia',
react: 'React',
'ipmc-core': 'ipmcCore',
'ipmc-interfaces': 'ipmcInterfaces',
minidenticons: 'minidenticons',
'shaka-player': 'shaka',
wouter: 'wouter',
},
},
},
Expand Down
20 changes: 5 additions & 15 deletions packages/webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,28 @@
"build": "vite build"
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@helia/ipns": "^7.2.2",
"@helia/unixfs": "^3.0.6",
"@libp2p/kad-dht": "12.0.9",
"@mui/icons-material": "^5.15.15",
"@mui/material": "^5.15.15",
"@mui/styled-engine-sc": "^6.0.0-alpha.20",
"blockstore-idb": "^1.1.8",
"buffer": "^6.0.3",
"crypto": "^1.0.1",
"crypto-browserify": "^3.12.0",
"datastore-idb": "^2.1.9",
"helia": "^4.2.2",
"i18next": "^23.11.2",
"i18next-browser-languagedetector": "^7.2.1",
"ipmc-core": "workspace:^",
"libp2p": "^1.3.0",
"libp2p-pnet": "^0.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^14.1.1",
"styled-components": "^6.1.8",
"util": "^0.12.5",
"web-streams-polyfill": "^4.0.0"
},
"devDependencies": {
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"typescript": "^5.4.5",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"typescript": "^5.7.2",
"vite": "^5.2.11",
"vite-plugin-node-polyfills": "^0.21.0"
},
"packageManager": "[email protected]"
"vite-plugin-node-polyfills": "^0.22.0"
}
}
Loading

0 comments on commit 27cacce

Please sign in to comment.