Home

PDM's DSU Toolkit

Proposes a Standardized Architecture for SSApps and provides the base implementation for that architecture.

Build Status JavaScript Style Guide: Good Parts Known Vulnerabilities

SSApp Architecture

Bundling

THis Module was developed with ease of test in mind, using node syntax, incompatible with the browsers.

Therefore bundling (via privatesky's implementation of `browserify``) is required.

a configuration placed at build/build.json eg:

{
  "toolkit": {
    "deps": "../../../pdm-dsu-toolkit:toolkit",
    "autoLoad":  true
  }
}

used by the bundle command in octopus.json:

"prebuild": [
    {
      "name": "Bundles",
      "src": "",
      "actions": [
        {
          "type": "execute",
          "cmd": "node ../privatesky/psknode/bin/scripts/pskbuild.js --projectMap=./build/build.json  --prod=true --output=./build/bundles"
        },
        {
          "type": "remove",
          "target": "./builds"
        }]
    }

outputs the build/bundles/wizard.js bundle file that will then be copied onto each ssapp during their own build processes.