Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@highpoint/compile-branding

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@highpoint/compile-branding

Utility to compile HighPoint application branding

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

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

VariableExample
PS_HOSTNAMEcs92-devo.mhighpoint.com
PS_ENVIRONMENTcsdev92
PS_NODESA
PS_USERNAMEPS
PS_PASSWORDmysupersecretpassword
HTTP_USERNAMEPS
HTTP_PASSWORDmysupersecretpassword

API

compileBranding

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

Example

const { compileBranding } = require('@highpoint/compile-branding');
const { resolve } = require('path');

compileBranding({
  app: 'app',
  inFile: resolve(`./src/main.scss`),
  outDir: resolve('./dist'),
  weblib: 'WEBLIB_H_BRNDNG'
}).catch(({ message }) => console.error(message));

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.

Example

const { triggerCompile } = require('@highpoint/compile-branding');

triggerCompile({ weblib: 'WEBLIB_H_BRNDNG' }).catch(({ message }) => {
  console.error(message);
  process.exit(1);
});

Variables

weblib

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

  • IScript_Compile

FAQs

Package last updated on 07 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc