travel-expense-manager icon indicating copy to clipboard operation
travel-expense-manager copied to clipboard

Bump next-transpile-modules from 2.3.1 to 3.0.0 in /clients/web

Open dependabot-preview[bot] opened this issue 4 years ago • 1 comments

Bumps next-transpile-modules from 2.3.1 to 3.0.0.

Release notes

Sourced from next-transpile-modules's releases.

3.0.0

next-transpile-modules-3.0 introduces some important new features, bugfixes, and a new syntax. The breaking changes are indicated by the ⚠️ icon.

If you face problems with this new version please open an issue :)

⚠️ New plugin invocation

To avoid polluting the global config object with the transpileModule property, next-transpile-modules now exposes a function that takes an array of strings (the modules you want to transpile) as its first parameter.

In action:

// next.config.js
- const withTM = require('next-transpile-modules');
+ const withTM = require('next-transpile-modules')(['somemodule', 'and-another']);

module.exports = withTM({

  • transpileModules: ['somemodule', 'and-another'] });

This notation was inspired by @next/bundle-analyzer.

Added support Next.js 9.2 CSS features

In [email protected] was added support for CSS files (as CSS modules or global CSS). next-transpile-modules will now let your transpiled packages include CSS, and will allow you to import global CSS in pages/_app.js.

More details are available in the documentation.

Bugfixes

Potentially breaking bugfixes depending on your setup:

  • ⚠️ a transpiled module whose name was a substring of another module (let's call it A) won't make A to be transpiled anymore

For example: transpiling core won't make core-js to be transpiled too anymore.

  • ⚠️ nested node_modules directories are now correctly ignored.

For example, if you want to transpile @shared/ui, @share/ui/node_modules/lodash won't get transpiled anymore.

Misc

  • Unit-tests were refined to handle some edgecases
  • End-to-end tests were added to ensure developing/refactoring this plugin with more confidence
  • Added Prettier
Commits
  • ccbf977 3.0.0
  • 1640ad2 Merge pull request #58 from martpie/next
  • 889006e Add badges
  • fb280eb Refine CSS support documentation
  • 5e87ca5 Add documentation for CSS modules
  • 6aa223e Add Global CSS test
  • 89e9312 Fix className check for CSS modules end-to-end tests
  • 1cb6190 Add support for CSS modules (Next.js 9.2)
  • 091c787 Merge all end-to-end tests in a single bigger one
  • 127e257 Remove dead code
  • Additional commits viewable in compare view

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.


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:

  • 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] avatar Jan 21 '20 04:01 dependabot-preview[bot]