vigetlabs / blendid

A delicious blend of gulp tasks combined into a configurable asset pipeline and static site builder
MIT License
4.97k stars 682 forks source link

Dependency updates #573

Closed olets closed 5 years ago

olets commented 5 years ago

Introduces breaking changes: in task-config.js's javascripts.babel.presets, es2015 must be replaced with env. e.g.

    babel: {
      presets: ['es2015', 'stage-1']
    }

would become

    babel: {
      presets: ['env', 'stage-1']
    }

What this PR does

What this PR doesn't do

Steps to test:

1. Dummy project

# Set up a new Blendid project
mkdir <a new directory>
cd <that directory>
yarn init

# Add this PR's version of Blendid
yarn add ssh://git@github.com:vigetlabs/blendid.git#dependency-updates
yarn

# Verify that the basic functionality works
yarn run blendid init
yarn run blendid
# check live site in browser: html and js changes should trigger reload, stylesheet changes should hot update

# Verify that revving works
yarn run blendid build
# check static file in browser
yarn run blendid build
# verify that all references updated

2. Existing projects

To use this update in an existing project, run

yarn add ssh://git@github.com:vigetlabs/blendid.git#dependency-updates

and then in task-config.js change es2015 to env as explained at the top of this post.

  1. Try on an exisiting project that uses data
  2. Try on an exisiting Craft project

To revert your project to the latest version of Blendid run

yarn add blendid

To restore an older version of Blendid, run yarn add blendid@<version> or yarn add blendid@"<semver>". Or just discard the changes, delete the node_modules folder, and run yarn.

Changes

Where significant work was done that isn't clearly reflected in the diff, command history is included in the commit message.

Security-motivated updates

Warning resolution-motivated updates

General upkeep-motivated updates

Modernization-motivated updates: