Closed haixuxu closed 2 years ago
Hi, thank you!
Alright, let's start from the beginning:
>=v15.9.13
), it has a dependency called 🐊Putout
to never break compatibility in User Menu and get things working. This is why it's possible : @putout/plugin-cloudcmd
;jscodeshift
is removed from 🐊Putout v23
;What kind of resources are you deployed and where? Is it docker
image or something?
Is there anything else I can help you?
I got it. Can you separate this feature? I just want to use the file management function of this package.
What do you mean by file manager function? How do you imagine this separation?
And why separate, you talking about chaotic dependencies but I see no numbers from you. What is the problem with current size of Cloud Commander
? What size do you prefer? What are you ready to do for it?
I don't really need user-defined menu function, but I need to install the whole putout to support it, which sounds too unfriendly.
I only installed one package, which has reached 278m in size.
/tmp/test123/ cat package.json
{
"name": "test123",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"cloudcmd": "^15.9.13"
}
}
/tmp/test123/ du -d 1 -h |sort -n
278M ./node_modules
279M .
I don't really need user-defined menu function, but I need to install the whole putout to support it, which sounds too unfriendly.
How do you suggest split Cloud Commander
? User Menu
is a feature one of users asked for (https://github.com/coderaiser/cloudcmd/issues/221). Other two panels file manager also have it. You definitely should learn how to use this very useful instrument which I spend a lot of time!
279M
So what? Are you using dial-up
or something? What size do you think is better?
What do you suggest? And what is your usecase?
oh ha! Thank you for your work. Thank you for your patience. I achieved my goal by copying the source code into the project and removing some code. Of course, it's ugly.
In addition, I tried user menu on package version 15.9.13 and the latest docker image, and found that this feature is invalid.. Maybe I used it improperly.
I intend to close the problem to avoid delaying you more time. Do you agree with it
I achieved my goal by copying the source code into the project and removing some code. Of course, it's ugly.
What kind of code did you removed? How much in size you win?
In addition, I tried user menu on package version 15.9.13 and the latest docker image, and found that this feature is invalid.. Maybe I used it improperly.
What exactly didn't work? Describe steps and errors you find.
Actually every time you renaming a file with F2
key - you are dealing with User Menu
:), so if it doesn't work you can rename nothing. User Menu
made so people can extend file manager in a way they like. So Cloud Commander
was more like a framework.
cloudcmd -v
): allnode -v
: ignoreuname -a
on Linux): ignoreI use it as a basic package, but the dependencies in it are so chaotic that the resources deployed are too large.
@babel/core is used
babel-core is used.