Coder Social home page Coder Social logo

service-tooling's Introduction

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 runtime version for the provider. 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, --writeToDisk: 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.

  • 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 [email protected] 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 [email protected]

service-tooling's People

Contributors

ottah avatar pjbroadbent avatar bryangaleopenfin avatar ngunday avatar michaelmcoates avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.