Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: eliminating ./base-directory-tree #9

Open
oliverturner opened this issue Sep 10, 2018 · 4 comments
Open

Proposal: eliminating ./base-directory-tree #9

oliverturner opened this issue Sep 10, 2018 · 4 comments
Labels
enhancement New feature or request PRs welcome

Comments

@oliverturner
Copy link

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-project saves an entire instance of Project Explorer per directory
  • Proposed:
    1. Running pexx my-project saves what is now saved as ./my-project/base-directory-tree/src/store.js as a single JSON file named ./my-project/.pexxrc;
    2. Running pexx my-project (or simply pexx within it) detects the existence of .pexxrc and serves a production build of a Vue app that reads .pexxrc and renders the same interface as now.

It's quite possible I'm missing context: feel free to dismiss if so!

@sdras
Copy link
Owner

sdras commented Sep 10, 2018

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.

@sdras sdras closed this as completed Sep 10, 2018
@sdras sdras reopened this Sep 10, 2018
@sdras
Copy link
Owner

sdras commented Sep 10, 2018

(closed by accident! sorry!)

@sdras sdras added enhancement New feature or request PRs welcome labels Sep 10, 2018
@oliverturner
Copy link
Author

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 :)

@sdras
Copy link
Owner

sdras commented Sep 11, 2018

Sounds great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PRs welcome
Projects
None yet
Development

No branches or pull requests

2 participants