Home

Finished Goods Traceability DSU Wizard

Handles all finished goods DSU creation logic.

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:

{
  "wizard": {
    "deps": "../../../fgt-dsu-wizard:wizard",
    "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.