Skip to content
Sign upLog in
← Back to Community

what are packager files and why are they in my repl

Profile icon
MartinRimes

does anyone know what packager files are they suddenly appeared in my repl when I tried a test run, are they in my repl because of how big my repl has gotten, is it to big with to many files and folders?

Answered by RayhanADev [earned 5 cycles]
View Answer
Voters
Profile icon
MartinRimes
Comments
hotnewtop
Profile icon
RYANTADIPARTHI

Package files are basically package that repl.it makes when you import an outside source, or install something. You choose your own packages too, by clicking on that icon.

Profile icon
MartinRimes

@RYANTADIPARTHI
what do you mean by package the repl.it?

Profile icon
RYANTADIPARTHI

@MartinRimes
so it's like a installation, something repl.it installs.

Profile icon
MartinRimes

@RYANTADIPARTHI
oh ok so I can not get rid of them then and probably should not get rid of them, right?

Profile icon
RayhanADev

@MartinRimes
well that’s not entirely correct. Package files are used for configuration of your project, which dependencies are needed, what tools the project uses, etc. It’s not just “what Repl imports”. You should keep them if you don’t want to recreate a package file again and again when your project starts.
~ Ray <3

Profile icon
RYANTADIPARTHI

@MartinRimes
yes. Also, if i helped, can you mark my answer? Thanks!

Profile icon
RayhanADev

@RYANTADIPARTHI
but you were wrong??? You weren’t even close to right???

Profile icon
MilescOde

@RYANTADIPARTHI
what icon?

Profile icon
RayhanADev

Heya
@MartinRimes

Package files are used for configuration of your project (project name, author, license, scripts), which dependencies are needed (it’s where Yarn and NPM store their dependencies), what tools the project uses (again, scripts, linter I believe), etc. It’s something practically any project creates to manage it (kinda like an “abstract“ of the project). You should keep them if you don’t want to recreate a package file again and again when your project starts.
~ Ray <3

Profile icon
28houssem28

000

Profile icon
chessmajor

Hey man, I'm having the same problem. I'm not sure if I should but I just delete them. But you're probably not going to see this considering you submitted this complaint a year ago. :)

Profile icon
MartinRimes

I think that even though python has back packager files I will keep them since I do not understand their code as I am a bit of a noob at coding and all of my programs just use the same like 5 lines pf code over and over and over again

Profile icon
RayhanADev

@MartinRimes
lol you’re fine it took a while for me to make real code too, but I suggest that you don’t get confused by RYANTADIPARTHI’s answer. A simple explanation of the packager files is that it contains all the configuration files for your project, not “what Repl imports”. For example, it has your project name, license, scripts, dependencies, etc. I suggest look at my post for the proper explanation because his is completely wrong!

Profile icon
MartinRimes

@RayhanADev

sorry for miss marking RYANTADIPARTHI's answer as correct. I've marked yours as correct. Thanks for the help! :D

Profile icon
[deleted]

Packager files are just modules. They are libraries which can make coding easier! You can make your own module. But one of the reason's I dont like Python is because it takes forever for the packager files to load.

Profile icon
RayhanADev

@CarlosRosiles
again, they aren’t just modules. The packager files are used to configure what your project name, license, scripts, author, repository, etc. is. It is also where npm and yarn store their dependencies. Also yeah, Python isn’t very good at load packager files xD.

Profile icon
[deleted]

@RayhanADev
Oh right. Forgot about all those things. And yeah Python is slow at loading the packager files lol

Profile icon
RayhanADev

@CarlosRosiles
it’s apparently not just you xD. Nobody seems to know the full purpose of them lmao. Also what is the Python poetry? Is it like the NPM or Yarn for JS?

Profile icon
[deleted]

@RayhanADev
Yeah its like npm

Profile icon
RayhanADev

@CarlosRosiles
sweet!