Skip to content

Commit

Permalink
Configure statusboard
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleytodd committed Aug 15, 2019
1 parent 86927a0 commit 820a225
Show file tree
Hide file tree
Showing 7 changed files with 13,143 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Run Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm it
91 changes: 91 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
build
data.db

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/
6 changes: 6 additions & 0 deletions bin/exsb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#! /usr/bin/env node
'use strict'
const { cli } = require('@pkgjs/statusboard')

// Construct the cli
cli(require('..'), process.argv.slice(2))
116 changes: 116 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
'use strict'
const path = require('path')
const statusboard = require('@pkgjs/statusboard')

module.exports = async (c) => {
const board = await statusboard(await config(c))
return board
}

const config = module.exports.config = async (c = {}) => {
return Object.assign({
// Status Board Config
db: path.join(__dirname, 'data.db'),
baseUrl: '/statusboard',
outputDirectory: path.join(__dirname, 'build'),

// Project configs
title: 'Express',
description: '',

issueTags: {
topPriority: 'top priority',
goodFirstIssue: 'good first issue',
helpWanted: 'help wanted',
discuss: 'discuss'
},

projects: [
'expressjs/express',
'expressjs/cors',
'expressjs/morgan',
'expressjs/response-time',
'expressjs/session',
'expressjs/multer',
'expressjs/body-parser',
'expressjs/compression',
'expressjs/serve-static',
'expressjs/errorhandler',
'expressjs/serve-index',
'expressjs/csurf',
'expressjs/timeout',
'expressjs/flash',
'expressjs/vhost',

'pillarjs/router',
'pillarjs/cookies',
'pillarjs/send',
'pillarjs/finalhandler',
'pillarjs/path-to-regexp',

'jshttp/cookie',
'jshttp/fresh',
'jshttp/content-disposition',
'jshttp/mime-db',
'jshttp/media-typer',
'jshttp/range-parser',
'jshttp/type-is',
'jshttp/accepts',
'jshttp/negotiator',
'jshttp/mime-types',
'jshttp/compressible',
'jshttp/content-type',
'jshttp/http-errors',
'jshttp/proxy-addr',
'jshttp/etag',
'jshttp/forwarded',
'jshttp/on-finished',
'jshttp/on-headers',
'jshttp/vary',
'jshttp/basic-auth',
'jshttp/methods',
'jshttp/statuses'
],

teams: {
technicalCommitee: [{
name: 'Doug Wilson',
github: 'dougwilson',
npm: 'dougwilson',
twitter: 'blipsofadoug',
email: '[email protected]'
}, {
name: 'Jonathan Ong',
github: 'jonathanong',
npm: 'jongleberry',
twitter: 'jongleberry',
email: '[email protected]',
avatar: '6e33cc0412b61cc01daac23c8989003c'
}, {
name: 'Jeremiah Senkpiel',
github: 'fishrock123',
npm: 'fishrock123',
twitter: 'fishrock123',
email: '[email protected]'
}, {
name: 'Alex Kocharin',
github: 'rlidwka',
npm: 'rlidwka',
twitter: 'rlidwka',
email: '[email protected]'
}, {
name: 'Linus Unnebäck',
github: 'LinusU',
npm: 'linusu',
twitter: 'LinusU',
email: '[email protected]'
}, {
name: 'Wes Todd',
github: 'wesleytodd',
npm: 'wesleytodd',
twitter: 'wesleytodd',
email: '[email protected]'
}]
}
}, c)
}
Loading

0 comments on commit 820a225

Please sign in to comment.