npm.io
15.111.5 • Published 2d ago

@genesislcap/foundation-shell

Licence
SEE LICENSE IN license.txt
Version
15.111.5
Deps
11
Size
831 kB
Vulns
0
Weekly
0

Foundation Shell

lerna TypeScript

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.

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 easy to retrofit App 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.

Installation

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.
{
  ...
  "dependencies": {
    ...
    "@genesislcap/foundation-shell": "latest"
    ...
  },
  ...
}

API Docs

License

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.

Licensed components

Genesis low-code platform