Skip to content

fix(deps): update dependency yeoman-generator to v7 #62

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

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

Conversation

goraxe
Copy link
Owner

@goraxe goraxe commented Dec 14, 2023

This PR contains the following updates:

Package Type Update Change
yeoman-generator (source) dependencies major ^4.5.0 -> ^7.0.0

Release Notes

yeoman/generator (yeoman-generator)

v7.5.1

Compare Source

What's Changed

Full Changelog: yeoman/generator@v7.5.0...v7.5.1

v7.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: yeoman/generator@v7.4.0...v7.5.0

v7.4.0

Compare Source

What's Changed

New Contributors

Full Changelog: yeoman/generator@v7.3.3...v7.4.0

v7.3.3

Compare Source

  • migrate to eslint 9 and test adjusts
  • permissive @types/node dependency.

v7.3.2

Compare Source

What's Changed

Full Changelog: yeoman/generator@v7.3.1...v7.3.2

v7.3.1

Compare Source

What's Changed

Full Changelog: yeoman/generator@v7.3.0...v7.3.1

v7.3.0

Compare Source

What's Changed

Full Changelog: yeoman/generator@v7.2.0...v7.3.0

v7.2.0

Compare Source

v7.1.1

Compare Source

v7.1.0

Compare Source

  • add pipeline() method and improve types a459b00

v7.0.0

Compare Source

  • bump required node versions ea4fd51
  • bump yeoman-environment to v4.0.0 e5eb6f6
  • fs.test.ts: Improve readbility, add types to fix TS problems (#​1482) 3dd4c2d

v6.0.1

Compare Source

  • set sourceRoot before help 16b16fb

v6.0.0

Compare Source

The yeoman-generator package now export a native ESM module. (Learn more about ESM)

Notable changes:

  • Convert to typescript
  • Drop node 12/14 support.
  • Requires yeoman-environment ^3.18.4.
  • Provides built-in types.
  • Uses new @yeoman/types for environment/generator interoperability. May conflict with @types/yeoman-* types.
  • Move skipParseOptions and customPriorities to features c12806a
  • Drop deprecated install (and not included by default) action 1a856b1
    Install action was not scalable. A separated task package can be considered at yeoman-api.
  • run-async is not provided anymore:
    Convert to Promises or use run-async v3:
import runAsync from 'run-async';
class Gen {
  asyncTaskWithCallback: runAsync(function() {
    const done = this.async();
    asyncMethod(done);
  }),
}
  • composeWith is async:
    • If used inside constructor, move it to _postConstruct or beforeQueue.
    • Due to complexity, prefer composeWith(generator, composeOptions signature.

v5.10.0

Compare Source

  • accept yeoman-environment v4 a8c526b

v5.9.0

Compare Source

v5.8.0

Compare Source

  • always create a new mem-fs-editor instance instead of using shared instance. 7bec553

v5.7.1

Compare Source

  • add options to queueTransformStream. dac0db6

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.

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 is behind base branch, 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 has been generated by Renovate Bot.

@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 9 times, most recently from a67f78a to 31f6cc0 Compare December 19, 2023 00:17
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 2 times, most recently from 01b1ba4 to 8640b04 Compare December 31, 2023 09:03
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 6 times, most recently from e92810a to f509a87 Compare January 13, 2024 01:28
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 4 times, most recently from 52b5a9c to c1666df Compare January 19, 2024 01:31
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 8 times, most recently from f9cf2f7 to f242449 Compare February 1, 2024 01:45
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch from f242449 to 62e4d6a Compare February 1, 2024 18:25
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch from dc8c2f3 to fe8800d Compare February 22, 2025 05:01
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 2 times, most recently from c5ac43f to f6d30aa Compare March 3, 2025 17:37
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 5 times, most recently from 9b7df8f to dcea8f8 Compare March 28, 2025 22:29
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch from dcea8f8 to 4e021db Compare April 2, 2025 16:37
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 2 times, most recently from 5c9dd44 to c4e2e9d Compare April 11, 2025 18:18
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 7 times, most recently from 27baa65 to c5f654c Compare May 7, 2025 07:12
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 2 times, most recently from 2c9a9e6 to 46b447a Compare May 11, 2025 02:38
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 5 times, most recently from 1d90b1b to 3f7ecda Compare May 24, 2025 05:19
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 3 times, most recently from 47fc52b to 9b0c04f Compare May 31, 2025 04:47
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch from 9b0c04f to bdf37f7 Compare May 31, 2025 05:06
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.

2 participants