@highpoint/compile-branding
Utility to compile HighPoint application branding
Last updated a year ago by jkrehm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @highpoint/compile-branding 
SYNC missed versions from official npm registry.

Compile Branding

Utility to compile HighPoint application branding.

Installation

yarn add -D @highpoint/compile-branding

Usage

Copy .env-sample to your application's root directory and name it .env. Populate the values. You can reference the table below for examples of what values should be used. This file should not be included in your source control, so add it to your .gitignore (or similar) file.

Environment Variables

Variable Example
PS_HOSTNAME cs92-devo.mhighpoint.com
PS_ENVIRONMENT csdev92
PS_NODE SA
PS_USERNAME PS
PS_PASSWORD mysupersecretpassword
HTTP_USERNAME PS
HTTP_PASSWORD mysupersecretpassword

API

compileBranding

Produces a compiled version of the branding in a local directory.

Variables

app

The abbreviation of the application whose branding is being compiled.

Examples: app, dp, mc, sb

inFile

The absolute path to the SCSS file that acts as the template for compiling branding.

Example: path.resolve('./scss/main.scss')

outDir

The absolute path to the directory that the compiled CSS files should be outputted to.

Example: path.resolve('./dist')

weblib

The PeopleSoft web library that will be called. It needs to have the following functions:

  • IScript_GetVars
  • IScript_CompileTemplate

Example: WEBLIB_H_BRNDNG

triggerCompile

Triggers branding compilation remotely. This is primarily used by continuous integration services (e.g. Jenkins) to tell PeopleSoft that it should compile the branding.

Variables

weblib

The PeopleSoft web library that will be called. It needs to have the following function:

  • IScript_Compile

Current Tags

  • 2.0.0                                ...           latest (a year ago)

2 Versions

  • 2.0.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 3
Dependencies (7)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |