project-explorer
project-explorer copied to clipboard
Proposal: eliminating ./base-directory-tree
First, thank you for making this: it has so much potential to help people get a better understanding of how projects & libraries work. It's also beautifully designed and executed.
My question: since we're installing pexx globally, could the global lib not also contain the necessary infrastructure for rendering the UI?
- Current: running
pexx my-projectsaves an entire instance of Project Explorer per directory - Proposed:
- Running
pexx my-projectsaves what is now saved as./my-project/base-directory-tree/src/store.jsas a single JSON file named./my-project/.pexxrc; - Running
pexx my-project(or simplypexxwithin it) detects the existence of.pexxrcand serves a production build of a Vue app that reads.pexxrcand renders the same interface as now.
- Running
It's quite possible I'm missing context: feel free to dismiss if so!
Hi Oliver! 👋
That's a great idea! Hm. Let me think of the best way to add this. I have a couple of other lower hanging fruit to tackle first but I think this is a brilliant suggestion, thanks for making it! PRs also welcome.
(closed by accident! sorry!)
Completely understood. It's absolutely worth taking the time to think things through, because a major consideration is keeping things flexible enough to make ongoing development easy. An unfortunate choice of structure for .pexxrc could make future features hard to add.
Glad you like the idea: will have a play with some ideas and get back to you :)
Sounds great, thanks!