loopback-next icon indicating copy to clipboard operation
loopback-next copied to clipboard

chore: update yeoman packages (major)

Open renovate[bot] opened this issue 2 years ago • 1 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
yeoman-environment (source) ^2.10.3 -> ^3.10.0 age adoption passing confidence
yeoman-generator (source) ^4.13.0 -> ^5.7.0 age adoption passing confidence
yeoman-test (source) ^4.0.2 -> ^6.3.0 age adoption passing confidence

Release Notes

yeoman/environment

v3.10.0

Compare Source

  • add dependency on isbinaryfile e81c22b
  • fix isPackageRegistered and create with generator with invalid namespace but aliased to a valid one 90504ae
  • throw error when set a invalid namespace f4bf52c
  • fix: allow to override a generator. (#​418) 2f7fe9f
  • fix: conflict on file permission change. (#​415) a8fb7d3

v3.9.1

Compare Source

v3.9.0

Compare Source

v3.8.1

Compare Source

v3.8.0

Compare Source

v3.7.0

Compare Source

v3.6.0

Compare Source

  • Add _postConstruct callback for async operations. 927d6af

v3.5.1

Compare Source

  • Fix queueGenerator schedule a605527

v3.5.0

Compare Source

  • Add support to async queueGenerator. e4a8143
  • Add support to don't schedule generator queue at composeWith. 2e65ccb
  • Fix callback assertion. (#​314) 36c6feb

v3.4.1

Compare Source

v3.4.0

Compare Source

v3.3.0

Compare Source

May affect custom transform due to internal behavior changes in file state processing at mem-fs-editor.

v3.2.0

Compare Source

  • Add reload and edit options to conflicter. 6b038f5
  • Allow generators to use a customCommitTask and a customInstallTask. 02b5d27
  • When passing empty version to resolvePackage, it should resolve to latest. b65334d

v3.1.0

Compare Source

  • Load some options passed to the Generator into Environment. 700e8f9
  • Fallback to npm if package manager was not detected and not provided. 7b88bca, ff30d6c
  • Environment options should take priority over generator options. cfb8daf

v3.0.1

Compare Source

  • Revert prompt callback for backward compatibility. 6a54b69

v3.0.0

Compare Source

  • Conflicter is an environment feature now.
    • Removed first come, first serve restriction when using new api.
    • Remove not required apis.
    • Don't regenerate a file when identical (by default).
    • Logs and prompts are queued to a grouped-queue for out of order processing and optimized disc access. Every log is printed before going to next prompt.
    • Implement .yo-resolve file for pre-defined actions (skip, force).
    • Added transform and environment:conflicts priorities for new transform api and backward compatibility.
  • Integrate and improve commit logic.
    • Conflicts checker are executed in parallel and completed out of order. Prompts don't block the entire process.
    • Add api for custom commit process.
  • Integrated node package manager install execution.
    • Detects package.json in the root of the environment dir.
    • Detects the preferred package manager.
    • Executes package manager install in case of package.json have changed.
  • Local generator repository.
    • Migrated to pacote and arborist.
    • Convert to async most of the api, due to no sync alternative.
  • Singleton generators
    • Allow a generator to define a uniqueBy property. It will be unique for the Environment.
  • Experimental standalone cli.
  • Drop callbacks and migrate to Promises.

Improved workflow requires yeoman-generator >= 5.0.0.

yeoman/generator

v5.7.0

Compare Source

  • make prompt default value dynamic ea460eb
  • show error message when task fails. 92cc534

v5.6.1

Compare Source

  • Move custom args inside the runAsync for better error handling ef3f702
  • Allow task to override taskPrefix. d2f4274
  • Fix destinationRoot overridden by current value. f6e1e67
  • Fix resolved when not passed by options. 52ac34c

v5.6.0

Compare Source

v5.5.2

Compare Source

  • Fix createStorage with options. 185a408

v5.5.1

Compare Source

  • Add options parameter to createStorage. 82db7d0

v5.5.0

Compare Source

  • Rework private methods. dac452e
  • Add args to queueTask. cf8580f
  • Add optional support to sorted Storage. cf2e53f
  • Documentation improvements.

v5.4.2

Compare Source

v5.4.1

Compare Source

v5.4.0

Compare Source

  • Add immediately parameter to composeWith 8fd5c86
  • Add support to beforeQueue. b8747da

v5.3.0

Compare Source

v5.2.0

Compare Source

  • Changes to required/recommended yeoman-environment version. de61c24, 4587a29, d101a41, 0898158
  • Add optional peer dependency on yeoman-environment 26797e6
  • Add support to tasksMatchingPriority feature. 93e01ea
  • Move uniqueBy calculation to the constructor. 4dcda8a
  • Resolve dependencies with empty versions to latest. d952868

v5.1.0

Compare Source

  • Add features argument to constructor. 9729a58
  • Delete option instead of setting undefined. 86d1ad3

v5.0.1

Compare Source

  • Bump xo to 0.38.1 and move to devDependencies. 3f51315

v5.0.0

Compare Source

Breaking changes

  • Requires node 12.
  • Requires [email protected] (unreleased yo@4).
  • Conflicter moved to the Environment.
  • Install action is deprecated and is not included by default.
    • Replaced by package.json manipulation
      • addDependencies({dependency: 'version'})
      • addDevDependencies({dependency: 'version'})
      • this.packageJson storage. Eg: this.packageJson.merge({scripts: {test: 'mocha'}});
    • Install task will be executed later by the Environment when package.json changes.
    • To load it:
const Generator = require('yeoman-generator');
-_.extend(Generator.prototype, require('yeoman-generator/lib/actions/install'));
  • Singleton Generators support passing unique: 'namespace' or unique: 'argument'.
  constructor(args, options = {}) {
    super(args, {...options, unique: 'namespace'}
  }
  • Misc
    • this.(spawnCommand/spawnCommandSync) switched to execa and now defaults cwd to this.destinationRoot().
    • Dropped support for kebab case options.
    • composeWith() isn't chainable anymore and delegates the running to the Environment for singleton checks.
    • Replaced registerTransformStream with queueTransformStream. New api executes transformations before the commit operation, and is executed for every generator.
    • Dependencies update.
yeoman/yeoman-test

v6.3.0

Compare Source

v6.2.0

Compare Source

  • Forward generator to the RunResult. 9dd4c2a

v6.1.0

Compare Source

v6.0.0

Compare Source

Dropped support for yeoman-environment < 3.3.0

v5.1.0

Compare Source

  • Foward targetDirectory as cwd to Environment. 799c028, bfc749c
  • Convert helpers into a class for easy customization. d870dd3, 161076f
  • Forward options to Environment options. a5bd580
  • Make mockedGenerator instances to extends Generator class. cf8e373, c6e3493
  • Move mem-fs-editor dependency to prod. 8a9baf0

v5.0.1

Compare Source

  • Loosen yeoman-generator version. 88be203

v5.0.0

Compare Source

Migration:

yeoman-environmentand yeoman-generator moved to peerDependencies and bumped to latest major versions. Action: install the versions you are targeting manually. When targeting yo 3.x use yeoman-environment ^2.10.3 and yeoman-generator <5.0.0. When targeting yo 4.x use yeoman-environment ^3.0.0.

  • Bump yeoman-generator and yeoman-environment and move to peer. ff0c7be

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Mar 05 '22 00:03 renovate[bot]

Pull Request Test Coverage Report for Build 2816248065

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 55.335%

Totals Coverage Status
Change from base Build 2816155560: 0.0%
Covered Lines: 9558
Relevant Lines: 12429

💛 - Coveralls

coveralls avatar May 30 '22 08:05 coveralls