Skip to content

Refactor CLI and website; replace JSON configs#12

Open
Philip-Evans wants to merge 3 commits intoFAXES:mainfrom
Philip-Evans:main
Open

Refactor CLI and website; replace JSON configs#12
Philip-Evans wants to merge 3 commits intoFAXES:mainfrom
Philip-Evans:main

Conversation

@Philip-Evans
Copy link
Copy Markdown

Convert JSON configs to JS modules and refactor both script and website code to use the new config objects. script/index.js and website/index.js were rewritten: synchronous file ops replaced with promise-based flows, improved logging and prompt helpers, better handling of compilation/backups via bytenode, and more robust directory/file processing. Update package.json files to remove/adjust unused deps (chalk removed, ejs and dependency list updated). Remove many placeholder README and legacy assets (including the large CSS file) and add small temp placeholder files where appropriate. Overall this streamlines config management and modernizes the compile/web workflows.

Convert JSON configs to JS modules and refactor both script and website code to use the new config objects. script/index.js and website/index.js were rewritten: synchronous file ops replaced with promise-based flows, improved logging and prompt helpers, better handling of compilation/backups via bytenode, and more robust directory/file processing. Update package.json files to remove/adjust unused deps (chalk removed, ejs and dependency list updated). Remove many placeholder README and legacy assets (including the large CSS file) and add small temp placeholder files where appropriate. Overall this streamlines config management and modernizes the compile/web workflows.
@FAXES
Copy link
Copy Markdown
Owner

FAXES commented Mar 20, 2026

Looks good, only things I'd suggest is using lowercase in the folder names, I saw in the script capitalization is used which could cause issues cross-platform.

And making the config file more generic as it appears they're set up for an existing project.

@Philip-Evans
Copy link
Copy Markdown
Author

Thanks for the feedback!

Good catch on the folder naming I’ll switch everything to lowercase to avoid any cross-platform issues.

I’ll also refactor the config to make it more generic and not tied to the existing project setup.

Appreciate you taking the time to review it 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants