openfin-service-tooling

1.0.43 • Public • Published

OpenFin Service Tooling

Overview

Extracts out common build and server components which can be shared across different service development environments.

Dependencies

  • None.

Features

  • Common build utils
  • Common server and demo launching utils

API

  • svc-tools start [...options]

    Starts the build and serves the project.

    • Options:
      • -v, --providerVersion : Sets the version of the provider to use. Defaults to "local". Options: local | staging | stable | w.x.y.z'.
      • -m, --mode : Sets the webpack mode. Defaults to "development". Options: development | production | none'
      • -n, --noDemo: Runs the server but will not launch the demo application.
      • -s, --static: Launches the server and application using pre-built files.
      • -w, --write: Writes and serves the built files from disk.
  • svc-tools build [...options]

    Invokes webpack to build the project.

    • Options:
      • -m, --mode : Sets the webpack mode. Defaults to "production".
  • svc-tools zip

    Zips the project.

  • svc-tools asar

    Creates and signs asar of the project.

  • Exports

    These are exported by the project and can be used by importing the package.

    • webpack
      • createConfig: Creates a webpack configuration
      • versionPlugin: Replaces 'PACKAGE_VERSION' constant in source files with the current version of the service
      • manifestPlugin: Provider temporarily requires an extra plugin to override index.html within provider app.json

Roadmap

This is a WIP as services continue to evolve.

Usage

An in-depth usage guide and additional documentation will be published in due course.

Getting Started

Install as a node module to your existing service project.

Setup

  • After installing, add a script to your projects package.json with the command: svc-tools start
  • In your webpack.config.js, import openfin-service-tooling - this will expose the common webpack utils to create configurations and export.

You can then invoke svc-tools start added previously to build and serve your project.

Startup

Once dependencies are installed and imported, you can invoke svc-tools start to build and serve your project.

Known Issues

A list of known issues will be here.

License

This project uses the Apache2 license

However, if you run this code, it may call on the OpenFin RVM or OpenFin Runtime, which are covered by OpenFin's Developer, Community, and Enterprise licenses. You can learn more about OpenFin licensing at the links listed below or just email us at support@openfin.co with questions.

https://openfin.co/developer-agreement/ https://openfin.co/licensing/

Support

This is an open source project and all are encouraged to contribute. Please enter an issue in the repo for any questions or problems. Alternatively, please contact us at support@openfin.co

Readme

Keywords

none

Package Sidebar

Install

npm i openfin-service-tooling

Weekly Downloads

123

Version

1.0.43

License

ISC

Unpacked Size

160 kB

Total Files

57

Last publish

Collaborators

  • yoge-openfin
  • nil.ffej
  • gilesstevenson-openfin
  • eheyder
  • newaz.sharif
  • efraim-herstic
  • royhafin
  • openfincolinhu
  • openfin-johans
  • alan15008
  • openfin-ci-gh
  • hina-khalid
  • ife-dev1
  • mjosling
  • elliott.burr
  • vsaw3
  • aykochubey
  • gallak-openfin
  • galim.kaudinov
  • dewinner
  • hzhi0209
  • andy.westacott
  • __tomasz__
  • cameronopenfin
  • jennrondeau
  • dhilan
  • benstubbington
  • davidcoxon-of
  • openfin-jeff
  • gouthamc
  • hannahmcmillen
  • xyopenfin
  • smocarski
  • eugeneross-openfin
  • imansuri
  • manamiueda
  • sakibahmad
  • shahossain
  • openfinbrandon
  • pierrebaize
  • noyangunday
  • michaelmcoates
  • johnmandia-openfin
  • rdepena
  • tgoc99
  • wenjunche
  • harsimran.openfin.singh
  • luiemilio
  • licui3936
  • connormccafferty
  • adam.saland
  • openfin-ci
  • chrishobsonexpero
  • richbrowne-openfin
  • azizyok
  • openfin-gavin
  • oblarg
  • dwaynekj
  • pjbroadbent