@genesislcap/foundation-shell
TypeScript icon, indicating that this package has built-in type declarations

14.181.1 • Public • Published

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"
    ...
  },
  ...
}

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

Readme

Keywords

none

Package Sidebar

Install

npm i @genesislcap/foundation-shell

Weekly Downloads

1,228

Version

14.181.1

License

SEE LICENSE IN license.txt

Unpacked Size

1.21 MB

Total Files

227

Last publish

Collaborators

  • genesisnpm