Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

[low priority idea] js-detector-utils #66

@swyxio

Description

@swyxio

make it easier to write detectors for js and not forget a bunch of important steps.

// shared code for js ecosystem
// so we dont forget to implement stuff
const { existsSync, readFileSync } = require('fs')

module.exports = function(obj) {
  /**
   * obj has this shape which 
   * reflects the standard setup for the SSG
   * 
   * {
   *  port
   *  proxyPort
   *  env
   *  dist
   * }
   * 
   * requiredFiles is an array of strings
   * required deps is an array of strings
   * 
   */
  return function() {
	// etc
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions