GithubHelp home page GithubHelp logo

Config system about gimbal HOT 2 CLOSED

moduscreateorg avatar moduscreateorg commented on June 15, 2024
Config system

from gimbal.

Comments (2)

mitchellsimoens avatar mitchellsimoens commented on June 15, 2024

A sample yaml config could look like:

configs:
  bundle-size:
    -
      path: ./build/precache-*.js
      maxSize: 50 KB
    -
      path: ./build/static/js/*.chunk.js
      maxSize: 200 KB
    -
      path: ./build/static/js/runtime*.js
      maxSize: 30 KB
  lighthouse:
    extends: lighthouse:default
    settings:
      skipAudits:
        - uses-http2
        - redirects-http
        - uses-long-cache-ttl

output:
  json: path/to/results.json
  html: foo/results.html
  markdown: fun/stuff.md

I'd like to nest configs as we may look at making a jobs section like in many CIs so you just have to run gimbal and it'd pickup the config file and run what it's told to run.

from gimbal.

mitchellsimoens avatar mitchellsimoens commented on June 15, 2024

Need a default name that can be checked like some tolls like ESLint look for. So if the --cwd contains something like .gimbal.yml then use it. If we use the config module, then we get lots of different extension support including .js for programmatic return.

from gimbal.

Related Issues (20)

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.