codeforboston / windfall-elimination

Windfall Elimination Provision Awareness Project: improving the experience of retirees around an obscure Social Security rule affecting 8+ states (previously https://ssacalculator.org)
https://windfall-develop.netlify.app/
MIT License
24 stars 45 forks source link

Bump babel-preset-gatsby from 0.5.16 to 0.9.1 #256

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps babel-preset-gatsby from 0.5.16 to 0.9.1.

Release notes

Sourced from babel-preset-gatsby's releases.

Tests!, bug fixes, DX improvements

New tests!

@benstepp waded into the center of Gatsby and refactored one of the core functions AND setup a test framework AND added a number of tests. Awesome! gatsbyjs/gatsby#232

Bug fixes

Developer Experience (DX) improvements

  • @michaeljdeeb added a check that hard-coded paths in pages have a path prefix. This is a problem that's bit several people as it's easy to miss gatsbyjs/gatsby#223. Invariants are awesome!
  • @alehlopeh added a new cli command gatsby serve-build so you can easily check that your built site is working as expected. gatsbyjs/gatsby#237

Thanks everyone!

Babel 6! Require local install of Gatsby! 2500 stars!

Another release with two nice DX improvements.

Also we hit 2500 stars as I was writing this review :tada:

Babel 6

Gatsby started its life on Babel 5 but Babel 6 is out and stable so we'll upgrade along with the rest of the ecosystem and take advantage of its improved performance and awesome new plugin api.

Gatsby must now be installed as a dependency of the site

The global Gatsby install now defers to the local install of Gatsby (and throws if it can't find one). This means you can build a site and not worry about needing to upgrade it again as Gatsby accumulates breaking changes. This also helps ensure Gatsby works in environments where you don't want a global install e.g. build servers.

Upgrade instructions

  • Install Gatsby — npm install --save gatsby
  • Install new Babel 6 dependencies (they must be installed locally) — npm install --save babel-plugin-add-module-exports babel-preset-es2015 babel-preset-react babel-preset-stage-1 and npm install --save-dev babel-preset-react-hmre.
  • Uninstall old Babel 5 dependencies (if you added any).
  • The link function from gatsby-helpers.js was renamed to prefixLink to clarify its purpose.
  • Your .babelrc file needs to be upgraded to look like:
{
  "presets": ['react', 'es2015', 'stage-1'],
  "plugins": ['add-module-exports']
}
  • If you modified the default Webpack config in gatsby.config.js, this functionality is now moved to gatsby-node.js and instead of using module.exports, export your config modification function as modifyWebpackConfig. See the updated instructions in the README.
  • If you were differentiating between pages with content (like .md files) and pages without (like pages/profile.js) by looking for truthy page.data, you'll now need check for truthy page.data.body.
  • If your site is under version control, you might want to ignore the new auto-written module .gatsby-context.js.
  • rare if you used the rewritePath, onRouteChange hooks in your app.js — app.js is now not supported. Instead you should export rewritePath in gatsby-node.js and onRouteChange in gatsby-browser.js. The function signatures didn't change. These new files will be gaining more functionality in future releases.

That's it! See you in the issue queues :-)

Add support for JSON/YAML/TOML files + option to disable bundle.js for production build

Changelog

Sourced from babel-preset-gatsby's changelog.

0.9.1 (2020-12-23)

Note: Version bump only for package babel-preset-gatsby

0.9.0 (2020-12-15)

Note: Version bump only for package babel-preset-gatsby

0.9.0-next.0 (2020-11-26)

Note: Version bump only for package babel-preset-gatsby

0.8.0-next.0 (2020-11-18)

Note: Version bump only for package babel-preset-gatsby

0.6.0-next.1 (2020-11-10)

Note: Version bump only for package babel-preset-gatsby

0.5.15 (2020-11-02)

Note: Version bump only for package babel-preset-gatsby

0.5.14 (2020-10-13)

Note: Version bump only for package babel-preset-gatsby

0.5.13 (2020-10-06)

Note: Version bump only for package babel-preset-gatsby

0.5.12 (2020-10-01)

Note: Version bump only for package babel-preset-gatsby

0.5.11 (2020-09-28)

Note: Version bump only for package babel-preset-gatsby

0.5.10 (2020-09-15)

Note: Version bump only for package babel-preset-gatsby

0.5.9 (2020-09-07)

Note: Version bump only for package babel-preset-gatsby

0.5.8 (2020-08-28)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #261.