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

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

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.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 3 times, most recently from e04875b to c6e98d0 Compare July 18, 2024 13:43
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 6 times, most recently from f6b7ff9 to 7c56b6d Compare July 30, 2024 03:20
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 4 times, most recently from 771f73f to cebd52e Compare August 17, 2024 13:03
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 3 times, most recently from 0941fd7 to 8a5addf Compare August 22, 2024 10:58
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch from 8a5addf to de4af5f Compare September 2, 2024 01:49
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 3 times, most recently from 737c019 to bf4256f Compare September 17, 2024 08:19
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 3 times, most recently from cad6f7a to c7bc458 Compare October 6, 2024 09:30
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 2 times, most recently from aedec59 to caae6b4 Compare October 16, 2024 17:26
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch 3 times, most recently from 89ec48c to c74ba18 Compare October 26, 2024 23:52
@goraxe goraxe force-pushed the renovate/yeoman-generator-7.x branch from c74ba18 to ebb1c5f Compare October 28, 2024 01:46
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