This package has been deprecated

    Author message:

    Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

    ui5-toolkit-gulp

    1.4.4 • Public • Published

    UI5-Toolkit-Gulp

    No more fiddling and manually updating your gulpfile in over 9000 repositories because your preload task needed one minor improvement. No more moaning because some senior ABAP developer doesn't understand your gulpfile of a few hundred lines

    The ui5-toolkit has a one-size-fits-all model with predefined tasks.

    • Features
      • Every project has the same configuration.
      • Testing and code qulity rules, applyied automatically
      • Support for NetWeaver and Cloud Deployment
      • Seperated Test package availible, use Karma even in a CLI
      • SSO Login by proxy server

    Rapid Start: Sample Project & Tutorials

    Please checkout the gulp-based example project or the UI5-toolkit itself.

    • Tutorials

    Settings

    UI5 bootstrapping

    The UI5 resource location can be change by the configuration.

    • dev is used while developing
    • dist is injected into index.html while building, you can find this under "dist" after bulding.
    {
       "ui5Resources":{
          "version": "manifest",
          "dev": { 
            "source":  "CDN_UI5"
          },
          "dist": {
            "source": false
          }
        },
    }
    • source
      • CDN_UI5 (default)
      • CDN_OpenUI5
      • BSP
      • SCP
      • any string e.g a relative or absolute url
    • version
      • manifest (default): version as defined in manifest
      • false: nothing is appended
      • 1.44.12: any CDN supported version e.g.

    BSP & SCP refer always relative to the application. These settings make no sense for dist.source clear browser cache, if you change anything

    GULP-Tasks

    Developer

    • default
      • start a local server and develop
    • test
      • static tests & lint

    Internal

    Internal tasks, there should be no need to call this

    • connectWatch
    • clean
    • copy
    • ui5preload
    • stest
    • lint
    • beautify
    • build
    • nwbcUpload
    • karma

    Deployment

    • Two deployment setups are supported
      • direct and via CI
    • One Target is supported
      • NWBC (SAP Gateway)

    Target NWBC

    Maintain in configs/build.json

    {
        "sap": {
            "nwbc": {
                "protocol": "http",
                "server": "myServer.com",
                "port": "80",
                "bspContainer": "ZZ_WORKLIST_TEM",
                "bspContainerText": "ZZ_Worklist_template",
                "package": "$TMP",
                "transport": null
            }
        }
    }

    Direct

    not recomended

    => nwbc

    gulp deploy

    => hcp

    gulp deploySCP

    CI-Integration

    You can supply username and pw by CI:

    • nwbc = nwbcUser + nwbcPw
    • scp = scpUser + scpPw

    Install

    npm i ui5-toolkit-gulp

    DownloadsWeekly Downloads

    0

    Version

    1.4.4

    License

    ISC

    Unpacked Size

    72.5 kB

    Total Files

    28

    Last publish

    Collaborators

    • bkrrr
    • mschleeweiss