Giter Club home page Giter Club logo

ui-platform-dashboard's Introduction

Steps to Follow When...

A repository is added or removed from the purview of the Frost Foundation

  1. The data/repositories.json is manually updated to reflect the change
  2. npm run capture-node-data is ran to generate new node data files
  3. These changes are committed and pushed

A repository is added or removed from the Ciena organization

  1. The data/repositories.json is manually updated to reflect the change
  2. npm run capture-node-data is ran to generate new node data files
  3. These changes are committed and pushed

Explanation of files

data/repositories.json

The data in this file is the foundation of all of the data used and generated by this application.

lib/dependency-graph/index.js

This script is meant to be the possible API interface into the dependency graph data. These are examples of how can use the code:

#!/usr/bin/env node

const DependencyGraph = require('./dependency-graph')
const graph = new DependencyGraph()

console.log(graph.getAll())
console.log(graph.getDependantsOf('ember-frost-sort'))
console.log(graph.getDependenciesOf('ember-frost-date-picker'))
console.log(graph.getStartingAt('ember-frost-date-picker'))
console.log(graph.hasNode('ember-frost-date-picker'))

The DependencyGraph() class can be instantiated with a boolean value indicating whether the data/node-all.json or data/node-foundation.json data should be interrogated.

Commands

npm run capture-node-data

This command uses the data in the data/repositories.json file to identify dependencies the repositories have to themselves. It generates the data/node-all.json and data/node-foundation.json files for use by the npm run cli command and lib/dependency-graph/index.js script.

npm run cli

Running just npm run cli will execute the script with default values. If you wish you to pass options to the script you can do so via npm run cli -- --option=value where the options and values can be found by running npm run cli -- --help.

ui-platform-dashboard's People

Contributors

notmessenger avatar ember-tomster avatar

Watchers

 avatar James Cloos avatar Michael Carroll 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.