1. 01 Jun, 2018 2 commits
    • Renée Kooi's avatar
      ci: Use Node 10 on Appveyor. · 6ddc8d18
      Renée Kooi authored
      6ddc8d18
    • Renée Kooi's avatar
      Console panel (#468) · 91826ab7
      Renée Kooi authored
      <!--
      Thanks for creating a Pull Request 😄 ! Before you submit, please read the following:
      - Read our CONTRIBUTING.md file before submitting a patch.
      - By making a contribution, you agree to our Developer Certificate of Origin.
      -->
      
      This is a 🙋 feature
      
      <!-- Provide a general summary of the changes in the title above -->
      
      This implements the 2nd panel for `bankai start`, showing console output from the server rendered app (don't know if there's anything else?).
      
      SSR uses a separate Console instance, injected as a global `console` variable using [require-with-global](https://github.com/goto-bus-stop/require-with-global). That `console` writes to a stream which is saved by lib/ui.js. Pressing 2 in the `bankai start` TUI will switch to the console panel, which is an [ansi-scrollbox](https://github.com/goto-bus-stop/ansi-scrollbox) that renders the saved console output. ansi-scrollbox still needs more features and optimization (it's currently probably very slow for many thousands of lines) but it does sort of work.
      
      ## Checklist
      <!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->
      - [ ] tests pass
      - [ ] tests and/or benchmarks are included
      - [ ] documentation is changed or added
      
      ## Semver Changes
      Minor
      91826ab7
  2. 30 May, 2018 4 commits
  3. 25 May, 2018 2 commits
    • 周汉成's avatar
      Init bankai after mkdirp (#489) · 1b5c9591
      周汉成 authored
      This is a 🐛 
      
      When I was trying to add the faviconTag to the document I found this bug. I created a `faviconNode`, called `createEdge()` inside it, then the graph's change event was emited, then it [emits the compiler's change event](https://github.com/choojs/bankai/blob/master/index.js#L56) immediately, but at this moment, [compiler's change event](https://github.com/choojs/bankai/blob/master/lib/cmd-build.js#L47) has not yet been listened.
      
      <!-- Provide a general summary of the changes in the title above -->
      
      ## Checklist
      <!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->
      - [x] tests pass
      - [ ] tests and/or benchmarks are included
      - [ ] documentation is changed or added
      
      ## Context
      No
      
      ## Semver Changes
      minor
      1b5c9591
    • Renée Kooi's avatar
      Switch to nanohtml. (#488) · f894c981
      Renée Kooi authored
      ## Checklist
      <!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->
      - [x] tests pass
      
      ## Semver Changes
      Patch
      f894c981
  4. 23 May, 2018 1 commit
  5. 17 May, 2018 1 commit
  6. 16 May, 2018 3 commits
  7. 08 May, 2018 4 commits
  8. 02 May, 2018 2 commits
  9. 27 Apr, 2018 1 commit
  10. 23 Apr, 2018 2 commits
  11. 20 Apr, 2018 1 commit
  12. 18 Apr, 2018 1 commit
    • Renée Kooi's avatar
      Add quotes around theme-color `content`. (#466) · e6b5f90d
      Renée Kooi authored
      Probably missed this in the mime types PR. That moved the theme color
      onto metadata, without surrounding it with quotes first.
      
      Before:
      
          <meta name="theme-color" content=#fff>
      
      After:
      
          <meta name="theme-color" content="#fff">
      e6b5f90d
  13. 13 Apr, 2018 4 commits
  14. 12 Apr, 2018 1 commit
    • Renée Kooi's avatar
      Replace findup by @choojs/findup (#465) · 7c6e0788
      Renée Kooi authored
      @choojs/findup is a fork of findup that removes the `colors` dependency.
      `colors` adds lots of properties to the String prototype, which was
      causing big slowdowns in bankai. About 300ms was spent calling `colors`
      getters that were never expected to be there (mostly by the CSS parser).
      7c6e0788
  15. 11 Apr, 2018 2 commits
    • Renée Kooi's avatar
      Move UI code out of http.js (#417) · cae451d1
      Renée Kooi authored
      * WIP -  non-fancy log output
      
      * Split UI from HTTP
      
      * Move more UI things out of /http
      
      * Lint fixes
      
      * trim unused UI code
      
      * lint
      
      * Only switch to alternate buffer for fancy ui
      
      * Rerender terminal UI when SSR completes
      
      * Make progress work
      
      * Initialise UI earlier
      
      * Fix lint and extract fatal error formatter helper
      cae451d1
    • Arve Knudsen's avatar
      Upgrade standard (#464) · 5134829b
      Arve Knudsen authored
      5134829b
  16. 08 Apr, 2018 2 commits
  17. 07 Apr, 2018 1 commit
  18. 06 Apr, 2018 3 commits
  19. 29 Mar, 2018 2 commits
  20. 22 Mar, 2018 1 commit