Skip to content

A script that shows you how to decompose the famous dreamhouseapp/dreamhouse-sfdx into multiple package directors

License

Notifications You must be signed in to change notification settings

wadewegner/sfdx-dh-decompose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

sfdx-dh-decompose

A script that shows you how to decompose the famous dreamhouseapp/dreamhouse-sfdx into multiple package directories.

Here's what the final package directory structure will look like:

dreamhouse-sfdx/
├── force-app/schema
├── force-app/bl
├── force-app/ui
└── force-app/perms

What is this showing?

  • It shows how we can logically split the Dreamhouse application into four package directories
  • It demonstrates that there are relationships between the package directories
    • schema is logically contained
    • bl depends on schema
    • ui depends on a combination of schema and bl
    • perms depends on the rest
  • It shows we can compose the tiers such that dependencies are properly encapsulated
  • It shows we can push our source successfully as each tier is added to the project
  • It shows that we can also push the entire project (with all four package directories) at the same time

Dependencies

Install my handy plugin: sfdx plugins:install sfdx-waw-plugin

Try it

chmod +x decomp.sh
./decomp.sh

When complete, you'll have two new scratch orgs:

  1. decomporg1 which had source pushed one package directory at a time
  2. decomporg2 which had all the source pushed at once

Future

Soon we'll wire up each package directory with a Developer Controlled Package (DCP).

About

A script that shows you how to decompose the famous dreamhouseapp/dreamhouse-sfdx into multiple package directors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages