GSA/sam-design-system-site

Modules without package management

Opened this issue · 0 comments

This folder structure exists in the environment.

/main-application (git)
    /node_modules
        /[vendor]
            /ui-kit
            /api-kit

/dependencies
    /ui-kit (git)
    /api-kit (git)

We would have develop, where each git repository would have the develop branch checked out. The build would copy everything from /dependencies into /node_modules...at which point, the application would consider them the same as it would any other Node module.

Then, we would have a master, where each git repository...

Then, we could branch off 9.4.0 - and it has no linkage to the outside world; therefore, is locked. If we run into a situation where we need to do a quick fix or change, we can branch off of 9.4.0 and create 9.4.1...and it doesn't matter what has happened in the "real world".