Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev] Update dependency tsdx to v0.14.1 #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 25, 2020

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
tsdx 0.13.3 -> 0.14.1 age adoption passing confidence

Release Notes

formium/tsdx (tsdx)

v0.14.1

Compare Source

Bugfixes
  • An upstream cache bug that affected certain combinations of build formats has been fixed

    • The error that was fixed would look similar to:
      (typescript) Error: ENOENT: no such file or directory, rename '[...]/my-lib/node_modules/.cache/rollup-plugin-typescript2/rpt2_4c61ae4392b9bd24f4d43d13a3f56419b8b5805d/code/cache_' -> '[...]/my-lib/node_modules/.cache/rollup-plugin-typescript2/rpt2_4c61ae4392b9bd24f4d43d13a3f56419b8b5805d/code/cache'
  • The built-in lodash -> lodash-es replacement no longer breaks imports of lodash/fp

Dependencies
  • The warning about incompatible peerDeps from eslint-config-react-app has been resolved

Commits
Lists of commits:
Bugfixes
  • fix/deps: upgrade rpts2 to fix cache issue (#​896) eaa1c3b
  • fix: don&#​39;t replace lodash/fp imports with lodash-es/fp (#​884) 8b91c74
Dependencies
  • Use compatible eslint-config-react-app and eslint-plugin-react-hooks. (#​890) 57f7dcc
GitHub
  • Create CODE_OF_CONDUCT.md (#​899) e3e80d6
Internal
  • test: add a smoke test that builds all formats (#​896) e2f1b76
  • test: ensure lodash-es replacement is done properly (#​884) 9c4ce68
All Contributors
  • docs: add tanem as a contributor (#​902) 81c8b2d
  • docs: add altrim as a contributor (#​895) d292dd9
  • docs: add ludofischer as a contributor (#​894) da53ea8
Commit Range

v0.14.0

Compare Source

BREAKING CHANGES
Slightly Breaking Changes
Node 10+

Updated the required Node version from 8 to 10.

While previous versions of TSDX began deprecating support for Node 8, it was not officially dropped.
In this release, we have officially dropped Node 8: TSDX now requires Node 10+ as many dependencies that were upgraded similarly do.

This should not impact most users as Node 8 has been EoL for ~9 months now.
Many packages had already required Node 10+ and the vast majority already have support for it.
Most users are on Node 12 or Node 14 already.

Jest 25

Updated the Jest version used by tsdx test from 24 to 25.

The main breaking change in Jest 25 is the upgrade of the default JSDOM environment from JSDOM v11 to JSDOM v15.
For most Jest users, this change either has no impact or will reduce configuration if you've manually set a more up-to-date jest-environment-jsdom in your jest.config.js.
In some rare cases, where code relied on the old version of JSDOM, this may result in breakage.

ts-jest and jest-plugin-typeahead have also been upgraded to support Jest 25.

Babel Changes
babel-plugin-transform-async-to-promises -> babel-plugin-polyfill-regenerator

async-to-promises has been unmaintained for around a year now and has several correctness issues, many of which have affected TSDX users. For that reason, we've switched to using babel-plugin-polyfill-regenerator instead, which will add a pure, non-polluting regenerator-runtime polyfill if your targets require it.

The vast majority of browsers (94.37%) now support async/await and generators with no polyfilling necessary, but the default preset-env will add it. If you don't already have one, we recommend adding a .browserslistrc (or preset-env targets) to specify the environments you're targeting.

This should be totally backward-compatible, but it may change the output quite a bit, including making bundles larger due to inclusion of regenerator-runtime.

babel-plugin-macros

TSDX's internal Babel plugin ordering has changed, moving babel-plugin-macros to be first.
This was done in order to support several use-cases like styled-components/macro, which previously did not work due to the ordering.

This shouldn't really break anything, but there is an off chance it might have an impact on some rare builds.

Improvements
  • Jest 25 / JSDOM 15 usage per above
  • Due to the babel-plugin-polyfill-regenerator change above, TSDX now supports polyfilling generators out-of-the-box. Previously we only supported async/await with babel-plugin-transform-async-to-promises and required users to configure their own plugins for generator polyfilling
  • styled-components/macro support per above
  • A --max-warnings flag has been added to tsdx lint, which works the same as ESLint's --max-warnings flag
Template Improvements
  • Storybook template has been updated to Storybook v6, which significantly simplifies the config and adds some features
  • Storybook template has now been configured to type-check during Storybook builds
  • size-limit has been added to all templates for bundle analysis via NPM/Yarn scripts and a GitHub Action
  • All templates' GitHub Actions now have matrix testing for different Node versions and OSes out-of-the-box
  • All templates' GitHub Actions now have simplified config and improved caching using bahmutov/npm-install
  • All templates' tsconfig.json now set skipLibCheck, forceConsistentCasingInFileNames, and noEmit
    • The former two are now recommended by TS and the latter one is just a usability improvement for those who use tsc for type-checking. skipLibCheck will also greatly increase performance of tsc's type-checking
  • All templates' tsconfig.json now have detailed comments explaining nearly every configuration option in use
Docs
  • patch-package is now officially listed as a customization option
Dependencies
  • Jest 25 and Node 10+ per above. Most deps were updated by a major or two.
  • @babel/preset-env was updated to the latest minor to support nullish coalescing and optional chaining without additional plugins, as well as to update the compatibility table.
    • If you have snapshots that rely on specific output from preset-env or Autoprefixer, as TSDX's internal test suite does, you may need to update those snapshots.
  • All vulnerabilities and deprecation warnings should now be resolved
  • Due to some upgrades, clean-up, and use of yarn-deduplicate, overall install size should have decreased a good bit

Commits
Lists of commits:
Improvements
  • Add --max-warnings flag to tsdx lint (#​858) dd92fec
Bugfixes
  • change: replace useBuiltIns with polyfill-regenerator (#​795) 6e405d5
  • change: replace async-to-promises with regenerator (#​795) 2aefc3d
  • (fix): change plugin order to make styled-components/macro work (#​644) 6d7257c
Template Improvements
  • feat: type-check stories during Storybook build (#​876) f1ddccb
  • feat: add test matrix to all templates' CI (#​882) 8449699
  • fix: use @​bahmutov/npm-install in templates' CI (#​882) f109fe9
  • Remove redundant CI=true from templates' github workflows (#​870) 6ba173f
  • docs: add comment that noUnused* overlaps with an ESLint rule (#​864) e50bc51
  • docs: add comments for nearly all tsconfig options in use (#​864) 10a6137
  • feat: add noEmit to templates' tsconfigs (#​864) c802b8b
  • feat: add skipLibCheck and forceConsistentCasingInFileNames (#​864) e0f79fe
  • feat: add size-limit bundle size analysis tool to templates (#​705) 2938ed9
  • update react-with-storybook template for Storybook v6 (#​805) 51e47a7
Docs
  • docs: remove reference to Node 10+ req for create (#​881) a95d2d8
  • multi-entry: temporarily change docs to singular "module" (#​862) ac98a73
  • docs: capitalize 'S' in TypeScript (#​752) da4b189
  • docs: add patch-package reference to Customization section (#​855) 08a8ef8
  • docs: update features and comparison with changes from past year (#​847) 1619bc1
  • docs/fix: missing "to" infinitive marker (#​843) 49fb303
Dependencies
  • deps: upgrade several more deps' majors (#​879) a9434f9
  • deps: update extractErrors plugin's evalToString file (#​878) 0e45050
  • deps: update extractErrors Babel plugins to Babel 7 (#​878) 33a6bde
  • license: add FB License header to all extractErrors code (#​878) 2caad24
  • Migrate from rollup-plugin-babel to @​rollup/plugin-babel (#​789) f592595
  • fix/deps: dependabot YAML doesn't support anchors/aliases (#​850) f8b8317
  • env/deps: remove greenkeeper.json, configure dependabot.yml (#​846) 45aea66
  • deps: upgrade Babel preset-env, remove now redundant plugins (#​838) 8e2d750
  • clean/deps: remove unused Babel plugins: transform-runtime, dynamic-import (#​837) 485e04b
  • deps: apply yarn-deduplicate and add deduplicate script (#​683) d053912
  • security/deps: audit fix several deps' vulnerabilities (#​824) 4966edd
  • (deps): upgrade to Jest 25 (#​679) 116a043
  • (deps): upgrade several deps' majors; require Node 10+ (#​678) e018210
GitHub
  • github: use envinfo for getting versions in issue reports (#​820) 349f299
Internal
  • ci: make internal job names more consistent w/ templates' (#​882) 49a3521
  • ci: update matrix to use Node 14 instead of Node 13 (#​880) dac1fd7
  • clean: bad whitespace and Flow types in extractErrors (#​878) 2d0f279
  • test: compatible targets shouldn't insert regeneratorRuntime (#​795) 794e5ad
  • test: add an async syntax regression test (#​795) 814c83b
  • refactor/test: move generator test to build-default (#​795) 2f8544d
  • ci: add deduplicate:check script and run on precommit and CI (#​683) 22133ce
  • deps: update np to fix MFA bug during publishes (#​816) fff9a43
All Contributors
  • docs: add felixmosh as a contributor (#​883) 427e5ad
  • docs: add vladdy-moses as a contributor (#​877) 7edf7ea
  • docs: add in19farkt as a contributor (#​875) ade9483
  • docs: add CyriacBr as a contributor (#​874) 0032086
  • docs: add seungdols as a contributor (#​873) ae15bd3
  • docs: add hb-seb as a contributor (#​872) 33c8317
  • docs: add KATT as a contributor (#​868) f6c296a
  • docs: add thany as a contributor (#​867) d996a0e
  • docs: add orta as a contributor (#​866) 198c16f
  • docs: add slikts as a contributor (#​865) 42f56a0
  • docs: add georgevarghese185 as a contributor (#​863) 22a0b7b
  • docs: add strdr4605 as a contributor (#​860) d4c3bb2
  • docs: add kyarik as a contributor (#​845) 826cd07
  • docs: add andresz1 as a contributor (#​842) aaa3dce
  • docs: add Bnaya as a contributor (#​836) dbdaba1
  • docs: add kylemh as a contributor (#​835) d5bbcf7
  • docs: add HipsterBrown as a contributor (#​834) 199841d
Commit Range

Postscript

Apologies again for the delay on getting to v0.14.0, COVID added a lot of stress and work had been busy, to say the least. Unfortunately I wasn't able to get to all the changes I wanted to into it, but v0.14.0 has been waiting long enough. Only two complex issues were left out and many more PRs added in, though not everything had made it into v0.13.x either.

I also wanted to push Rollup 2, TS 4.0, Prettier 2, and ESLint upgrades into this, but the breaking changes in the changelog started getting too big, so I decided to wait a bit to split those changes across more releases to not throw too much breakage at users at once.

If you're wondering, all of my co-workers, my team, and I were suddenly laid off just over a week ago, so that's why I had time (and want to distract myself) to push out ~2 dozen PRs the past week 😕

Best wishes and stay safe to everyone!


Configuration

📅 Schedule: Branch creation - "after 11pm every weekday,every weekend,before 8am every weekday" in timezone Australia/Melbourne, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 2 times, most recently from 596dd09 to cf9e8bb Compare October 13, 2020 13:10
@renovate renovate bot changed the title [dev] Update dependency tsdx to v0.14.0 [dev] Update dependency tsdx to v0.14.1 Oct 13, 2020
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 2 times, most recently from d22ac9a to b5997ea Compare October 18, 2020 00:51
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch from b5997ea to 9a0d4e7 Compare October 23, 2020 14:47
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 2 times, most recently from cba6c0f to d826d9a Compare February 13, 2021 23:47
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 3 times, most recently from 0ca6958 to 2a97873 Compare February 16, 2021 15:56
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 2 times, most recently from f77bfa0 to 60e05cb Compare March 12, 2021 17:41
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 2 times, most recently from a278218 to f57094e Compare March 26, 2021 15:52
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch from f57094e to 4e23575 Compare March 29, 2021 18:40
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 2 times, most recently from bed5522 to b876ea7 Compare April 29, 2021 20:30
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch from b876ea7 to ab71615 Compare May 8, 2021 00:06
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 2 times, most recently from 8497124 to 84a6228 Compare May 21, 2021 19:48
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch from 84a6228 to dc83c31 Compare May 29, 2021 03:48
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch from dc83c31 to 1cb5a8c Compare June 5, 2021 04:31
@renovate
Copy link
Contributor Author

renovate bot commented Mar 24, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 6 times, most recently from 5ac00f1 to ea13d77 Compare March 31, 2023 16:45
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 2 times, most recently from 613b65f to 82efd28 Compare October 4, 2023 15:48
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch from 82efd28 to 2b85a99 Compare October 14, 2023 02:09
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 4 times, most recently from b3b5c27 to 4edacae Compare October 22, 2023 01:56
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch from 4edacae to 7e45664 Compare November 3, 2023 16:41
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 3 times, most recently from da18d49 to 90924cf Compare November 11, 2023 07:22
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 5 times, most recently from 3404574 to e535fbe Compare November 25, 2023 13:26
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 2 times, most recently from 8b822b9 to 5506d88 Compare December 16, 2023 04:45
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch from 5506d88 to f26c2fd Compare December 31, 2023 18:12
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch from f26c2fd to 40b3734 Compare January 18, 2024 15:16
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch from 40b3734 to f93fa74 Compare February 5, 2024 13:41
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 3 times, most recently from d09abba to 51d3f61 Compare March 1, 2024 12:28
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch 3 times, most recently from 5ad6f5c to 423e948 Compare March 21, 2024 19:03
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch from 423e948 to f5f569c Compare March 29, 2024 16:03
@renovate renovate bot force-pushed the renovate/tsdx-0.x branch from f5f569c to 1958697 Compare April 29, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants