Skip to content

Consider moving frontend and scripts code to a second tier dir like functions #161

@SamBroner

Description

@SamBroner

I'm starting to play around a little more with the file structure, and I keep interacting with the functions dir unexpectedly.

It seems like an anti pattern to have a full project sitting below a top level project. It'd be one thing if we shared dependencies (shared node_modules), and then treeshaked to trim.

My suggestion is to move scripts, public, src to another second tier dir.

firefly/
---functions/
---+--- existing
---+---package.json
---scripts/
---+---existing
---frontend (or something else)
---+---public/
---+---src/
---+---.env.stage
---+---package.json
---+---etc
---.gitignore
---README.md
---firebase
---etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions