1. 24 Jan, 2019 6 commits
  2. 20 Dec, 2018 1 commit
  3. 18 Dec, 2018 4 commits
  4. 28 Nov, 2018 1 commit
  5. 12 Nov, 2018 3 commits
    • Jeremy Morrell's avatar
      Update changelog (#588) · c38e2af1
      Jeremy Morrell authored
      c38e2af1
    • Jeremy Morrell's avatar
      Move cached directories one level down within the node cache (#587) · 59357363
      Jeremy Morrell authored
      This is a pre-requisite for making better use of the cache.
      
      The current cache layout puts everything that the Node buildpack wants in the cache at: $CACHE_DIR/node including custom directories.
      
      This creates a naming issue, since a user could cache anything. We currently keep a cache signature at: $CACHE_DIR/node/signature, but if a user declared a custom cache of a signature file, these would conflict and break things.
      
      Adding anything else to the Node cache would make this problem worse, so let's fix it.
      
      This adds one more level where all of the cached directories can live. Now if a user wants to cache a signature file, the cache layout would look like this:
      
      node/
        - cache/
          - signature
        - signature
      so there is no longer a conflict.
      
      Deploying this will cause a cache miss for all users since the new code is looking in a new spot, but this is a common enough occurrence that I don't expect it to be significant for anyone. To ensure that the old cache will be discarded, I've added a version to the signature file.
      59357363
    • Jeremy Morrell's avatar
      388009ab
  6. 07 Nov, 2018 1 commit
  7. 06 Nov, 2018 1 commit
    • Jeremy Morrell's avatar
      Add new build script behavior behind a flag (#584) · 437b5f1c
      Jeremy Morrell authored
      This adds a new logic branch that will run the 'build' script by default, and run the 'heroku-postbuild' script instead if it is defined.
      
      This branch will not be run for any user yet. Further changes will start to enable this.
      437b5f1c
  8. 31 Oct, 2018 3 commits
  9. 30 Oct, 2018 1 commit
  10. 08 Oct, 2018 1 commit
  11. 03 Oct, 2018 1 commit
  12. 02 Oct, 2018 4 commits
  13. 13 Sep, 2018 2 commits
  14. 07 Sep, 2018 3 commits
  15. 06 Sep, 2018 1 commit
  16. 04 Sep, 2018 3 commits
    • Jeremy Morrell's avatar
      Increase Node memory default during builds (#561) · 9fa6f571
      Jeremy Morrell authored
      We've seen an increasing failures due to frontend build exceeding Node
      default 1.5GB memory limit during build. Heroku runs these builds on
      machines with 2.5GB of memory. This increases the default limit for
      Node 8 and above by passing commands via `NODE_OPTIONS` during build
      if the user has not set this manually
      9fa6f571
    • Jeremy Morrell's avatar
      Rework output when caching directories (#559) · a8372ab8
      Jeremy Morrell authored
      * Rework output when caching directories
      
      This splits the logic when the buildpack saves and restores the cache
      into two separate branches:
      
      - when the user hasn't specified specific directories to cache (most everyone)
      - when the user has given a list of specific directories to cache (power users)
      
      This gives us more control over the default messaging, which has
      included messaging for bower_components forever, even though most users
      will never use bower, nor should we encourage them to.
      
      These changes silence and minimize the messaging for the default case
      a8372ab8
    • Jeremy Morrell's avatar
  17. 31 Aug, 2018 1 commit
  18. 28 Aug, 2018 2 commits
  19. 27 Aug, 2018 1 commit