GithubHelp home page GithubHelp logo

abychat / sfdx-dh-decompose Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wadewegner/sfdx-dh-decompose

0.0 2.0 0.0 15 KB

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

License: Apache License 2.0

Shell 100.00%

sfdx-dh-decompose's Introduction

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

sfdx-dh-decompose's People

Contributors

wadewegner avatar

Watchers

James Cloos avatar Abhishek Chaturvedi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.