Genesis Foundation Shell
npm install @genesislcap/foundation-shell

foundation-shell provides several exports for Genesis Application development. These include, but are
not limited to:
* App: Top-level App singleton used to manage various aspects of an integrated Genesis Application at runtime.
* importPBCAssets: A PBC import utility that dynamically adds PBCs to an integrated App.
These are available as subpath exports and should be imported
from these to optimise bundling and overall efficiency.
``ts`
import { App, getApp } from '@genesislcap/foundation-shell/app';
import { importPBCAssets } from '@genesislcap/foundation-shell/pbc';
Seed projects like the blank-app-seed will be
pre-integrated with App, meaning that any application created with genx init will be pre-integrated. It is also easyApp
to retrofit integration to pre-existing application codebases that wish to benefit from some of the capabilities
it provides.
Please see the App API Docs for more information.
To enable this module in your application, follow the steps below.
1. Add @genesislcap/foundation-shell as a dependency in your package.json file. Whenever you change the dependencies of your project, ensure you run the $ npm run bootstrap command again. You can find more information in the package.json basics page.
`json``
{
...
"dependencies": {
...
"@genesislcap/foundation-shell": "latest"
...
},
...
}
Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact Genesis Global for more details.