chore: dependencies

This commit is contained in:
cha0s 2024-02-07 21:18:07 -06:00
parent 43cf6be0a3
commit 55ac6b35d0
8 changed files with 22936 additions and 35 deletions

View File

@ -2,6 +2,5 @@
"packages": [ "packages": [
"packages/*" "packages/*"
], ],
"useNx": true,
"version": "4.0.0" "version": "4.0.0"
} }

22896
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -21,6 +21,10 @@
"@flecks/create-fleck": "3.0.0" "@flecks/create-fleck": "3.0.0"
}, },
"dependencies": { "dependencies": {
"husky": "^9.0.7",
"lerna": "^8.0.2" "lerna": "^8.0.2"
} },
"workspaces": [
"packages/*"
]
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@avocado/filters", "name": "@avocado/filters",
"version": "4.0.0", "version": "4.0.1",
"scripts": { "scripts": {
"build": "flecks build", "build": "flecks build",
"clean": "flecks clean", "clean": "flecks clean",
@ -13,8 +13,8 @@
], ],
"dependencies": { "dependencies": {
"@flecks/core": "^3.1.3", "@flecks/core": "^3.1.3",
"@pixi/core": "^5.3.9", "@pixi/core": "^6.0.0",
"@pixi/filter-color-matrix": "^5.3.9", "@pixi/filter-color-matrix": "^6.0.0",
"webpack-glsl-loader": "^1.0.1" "webpack-glsl-loader": "^1.0.1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -27,17 +27,17 @@
"@flecks/react": "^3.1.3", "@flecks/react": "^3.1.3",
"@flecks/server": "^3.1.3", "@flecks/server": "^3.1.3",
"@flecks/web": "^3.1.3", "@flecks/web": "^3.1.3",
"@pixi/constants": "^5.3.9", "@pixi/constants": "^6.0.0",
"@pixi/core": "^5.3.9", "@pixi/core": "^6.0.0",
"@pixi/display": "^5.3.9", "@pixi/display": "^6.0.0",
"@pixi/filter-adjustment": "^3.1.1", "@pixi/filter-adjustment": "^4.0.0",
"@pixi/filter-advanced-bloom": "^3.2.0", "@pixi/filter-advanced-bloom": "^4.0.0",
"@pixi/filter-color-overlay": "^4.1.3", "@pixi/filter-color-overlay": "^4.0.0",
"@pixi/filter-glow": "^3.2.0", "@pixi/filter-glow": "^4.0.0",
"@pixi/graphics": "^5.3.9", "@pixi/graphics": "^6.0.0",
"@pixi/settings": "^5.3.9", "@pixi/settings": "^6.0.0",
"@pixi/sprite": "^5.3.9", "@pixi/sprite": "^6.0.0",
"@pixi/text": "^5.3.9", "@pixi/text": "^6.0.0",
"image-size": "^0.9.3", "image-size": "^0.9.3",
"kefir": "^3.8.8", "kefir": "^3.8.8",
"lru-cache": "^6.0.0" "lru-cache": "^6.0.0"

View File

@ -21,7 +21,7 @@
"@flecks/react": "^3.1.3", "@flecks/react": "^3.1.3",
"ace-builds": "^1.4.12", "ace-builds": "^1.4.12",
"deepmerge": "^4.2.2", "deepmerge": "^4.2.2",
"react-ace": "^9.4.0", "react-ace": "^10.1.0",
"react-json-editor-ajrm": "^2.5.13", "react-json-editor-ajrm": "^2.5.13",
"react-modal": "^3.12.1" "react-modal": "^3.12.1"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "@avocado/resource", "name": "@avocado/resource",
"version": "4.0.0", "version": "4.0.1",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.hq.cha0s.io/cha0s/avocado.git", "url": "https://git.hq.cha0s.io/cha0s/avocado.git",
@ -28,12 +28,13 @@
"@flecks/redux": "^3.1.3", "@flecks/redux": "^3.1.3",
"deepmerge": "^4.2.2", "deepmerge": "^4.2.2",
"fast-json-patch": "^3.0.0-1", "fast-json-patch": "^3.0.0-1",
"lru-cache": "^6.0.0", "lru-cache": "^6.0.0"
"react-hex-editor": "^0.3.0",
"styled-components": "^5.2.1"
}, },
"devDependencies": { "devDependencies": {
"@flecks/build": "^3.1.3", "@flecks/build": "^3.1.3",
"@flecks/fleck": "^3.1.3" "@flecks/fleck": "^3.1.3"
},
"overrides": {
"react@<18": "^18.0.0"
} }
} }

View File

@ -2,25 +2,26 @@ import './component.scss';
import {controller as controllerPropTypes} from '@avocado/resource/persea/prop-types'; import {controller as controllerPropTypes} from '@avocado/resource/persea/prop-types';
import {React} from '@flecks/react'; import {React} from '@flecks/react';
import HexEditor from 'react-hex-editor'; // import HexEditor from 'react-hex-editor';
import oneDarkPro from 'react-hex-editor/themes/oneDarkPro'; // import oneDarkPro from 'react-hex-editor/themes/oneDarkPro';
import toBuffer from './to-buffer'; import toBuffer from './to-buffer';
const Binary = ({resource}) => { const Binary = ({resource}) => {
const buffer = toBuffer(resource); const buffer = toBuffer(resource);
return ( return <div>{buffer.toString('hex')}</div>;
<HexEditor // return (
className="binary-renderer" // <HexEditor
columns={0x10} // className="binary-renderer"
data={new Uint8Array(buffer.buffer)} // columns={0x10}
showAscii // data={new Uint8Array(buffer.buffer)}
showColumnLabels // showAscii
showRowLabels // showColumnLabels
theme={{hexEditor: oneDarkPro}} // showRowLabels
rows={Math.min(30, Math.ceil(buffer.length / 0x10))} // theme={{hexEditor: oneDarkPro}}
/> // rows={Math.min(30, Math.ceil(buffer.length / 0x10))}
); // />
// );
}; };
Binary.displayName = 'Binary'; Binary.displayName = 'Binary';