Update dependency yeoman-generator to v6 - autoclosed #314
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.24.1
->^6.0.0
By merging this PR, the below issues will be automatically resolved and closed:
Release Notes
yeoman/generator (yeoman-generator)
v6.0.0
Compare Source
The
yeoman-generator
package now export a native ESM module. (Learn more about ESM)Notable changes:
^3.18.4
.@yeoman/types
for environment/generator interoperability. May conflict with@types/yeoman-*
types.c12806a
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:_postConstruct
orbeforeQueue
.composeWith(generator, composeOptions
signature.v5.10.0
Compare Source
a8c526b
v5.9.0
Compare Source
553537b
v5.8.0
Compare Source
7bec553
v5.7.1
Compare Source
dac0db6
v5.7.0
Compare Source
ea460eb
92cc534
v5.6.1
Compare Source
ef3f702
d2f4274
f6e1e67
52ac34c
v5.6.0
Compare Source
9c798e6
0bfb51a
2a6cf47
v5.5.2
Compare Source
185a408
v5.5.1
Compare Source
82db7d0
v5.5.0
Compare Source
dac452e
cf8580f
cf2e53f
v5.4.2
Compare Source
4b7f115
v5.4.1
Compare Source
979b63d
v5.4.0
Compare Source
8fd5c86
b8747da
v5.3.0
Compare Source
9cab8c9
8bc6267
c1c847d
ce12e7f
84551ee
5f3b2fb
d8dfd10
3579322
a0313cd
b44ec7d
v5.2.0
Compare Source
de61c24
,4587a29
,d101a41
,0898158
26797e6
93e01ea
4dcda8a
d952868
v5.1.0
Compare Source
9729a58
86d1ad3
v5.0.1
Compare Source
3f51315
v5.0.0
Compare Source
Breaking changes
[email protected]
(unreleased yo@4).addDependencies({dependency: 'version'})
addDevDependencies({dependency: 'version'})
this.packageJson
storage. Eg:this.packageJson.merge({scripts: {test: 'mocha'}})
;package.json
changes.unique: 'namespace'
orunique: 'argument'
.this.(spawnCommand/spawnCommandSync)
switched toexeca
and now defaultscwd
tothis.destinationRoot()
.composeWith()
isn't chainable anymore and delegates the running to the Environment for singleton checks.registerTransformStream
withqueueTransformStream
.New api executes transformations before the commit operation, and is executed for every generator.
v4.13.0
Compare Source
cd1b557
337dddf
bc08bee
384e1bb
v4.12.0
Compare Source
v4.11.0
Compare Source
v4.10.1
Compare Source
Cache prompt suggestions only to global yo-rc.
v4.10.0
Compare Source
v4.9.0
Compare Source
this.prompt(prompts, this.config);
will use the storage to read/write answers.!== undefined
(pass --ask-answered to force the prompt to be shown, stored value is the default value)v4.8.3
Compare Source
It doesn’t work due to multiple scheduled runs.
v4.8.2
Compare Source
v4.8.1
Compare Source
v4.8.0
Compare Source
v4.7.2
Compare Source
v4.7.1
Compare Source
v4.7.0
Compare Source
v4.6.0
Compare Source
Emit event on environment once queued task is done. (#1172, #1177)
Improvements to custom queues (#1158)
Implement createStorage convenience method (#1168)
Implement localConfigOnly option. (#1161)
Add returnNewGenerator option to composeWith (#1157, #1170, #1178)
Documentation fixes and improvements.
v4.5.0
Compare Source
v4.4.0
Compare Source
v4.3.0
Compare Source
v4.2.0
Compare Source
yo node --no-whitespace
Generator#composeWith()
can now be called with an array of generators.exports.default
(like when compiling es6 modules with Babel)v4.1.0
Compare Source
--bail
flag who'll exit the generator as soon as a conflict occurs.generator#queueMethod()
allows generator to programmatically schedule tasks on the queue. This can be useful for parents generator who're inherited by children generators to schedule some default tasks automatically. (not a very common use, but might be useful in some edge cases)v4.0.2
Compare Source
v4.0.1
Compare Source
v4.0.0
Compare Source
Breaking
v3.2.0
Compare Source
Added a new optional syntax to use
composeWith
:v3.1.1
Compare Source
Fix some issues with
--force-install
not being detected properly from the command line arguments.v3.1.0
Compare Source
Add
--force-install
flag which will cause the generator to throw if the installation phase fail.v3.0.0
Compare Source
Maintenance release with a few breaking change that shouldn't impact most users.
Breaking
mem-fs-editor
updated to latest release. A sub-dependency moved fromnode-glob
tofast-glob
, so some of thethis.fs
methods glob options will change.npmInstall
,bowerInstall
,yarnInstall
andinstallDependencies
do not return promises anymore. This behavior was confusing and a major source of bugs. To handle actions after the install might've run (if user didn't specify--skip-install
), use theend
run loop phase.runInstall
toscheduleInstallTask
New
generator.run()
now returns a promise as well as taking a callback (the callback will keep working for the foreseeable future as we need to maintains backward compatibility with older generators)v2.0.5
Compare Source
Output more useful information to end user when a command fails or is skipped.
v2.0.4
Compare Source
efc52c9
Change options and args order (#1063)v2.0.3
Compare Source
v2.0.2
Compare Source
choices
options is provided as a function instead of an array. (Drawback: this will turn off Yeoman reuse of the previously provided answer)v2.0.1
Compare Source
debug
)v2.0.0
Compare Source
This release fix a few bugs and focus on modernizing our codebase to ES6 style.
Breaking changes
Generator.extend()
is replaced in favor ofclass extends Generator {}
Generator#github.username()
now returns a promise instead of taking a callbackinstallDependencies
,runInstall
,bowerInstall
,npmInstall
andyarnInstall
)New features
installDependencies
now accept command line arguments as options for each sub-command (#1014)Fix
v1.1.1
Compare Source
af3048f
Fix issue with API documentation deploy script74cb46f
Document legacy Generator.extend method properly - rel #9966d267f0
Use XO17173a2
chore(package): update yeoman-assert to version 3.0.0 (#1004)59d0120
Add eslint as direct dev dependencycf67f66
Bump dependenciesac542ba
Bump dev dependencies0b06786
Improve option name validation message67b90f4
Add failing test for Boolean options starting with no-51414c0
Update Travis test matrixv1.1.0
Compare Source
this.fs.append()
method, and fix bugs withcopy
anddelete
operating on non-committed directories.v1.0.1
Compare Source
v1.0.0
: 🎉Compare Source
Say allo' to yeoman-generator 1.0 🎉
Most important changes
See blog post for detailed information about the changes and hints for migrating your generator.
Full changelog
138ed98
v1.0.0871ed39
v1.0.0-rc1df7012f
Fix composeWith to allow passing explicit arguments for yeoman-generator@<1.09aa4e02
Alias desc to description in argument/option config1b6eede
Remove Gruntfile api - Fix #744fedb2fb
Update composeWith to take path or namespace as first argument - Fix #9831885dec
Single way of passing both arguments and options to composed generatora852f62
Allow passing arguments to a Generator constructor in the same way as we pass optionsf6f4dda
Fix issue #947 (#982)e1b95d8
Refactor arguments and options parsinga3cab64
Disambiguate cli options from spawn options - Fix #754687b9be
Conflicter to handle null file.contents - Fix #950d6345f7
Pass default options to composed generators automatically - Fix #745bddb942
Fix yarnInstall to add new package - Fix #980cd5e34d
Simplify root exports3601531
Get rid of yeoman-environment proxying006577a
Update tes matrixf633dae
Remove NamedBase16084c6
Remove jshintrcec9c448
Remove legacy files functions49ce5f3
Remove deprecated modulesf3fb1d5
Save current config to .yo-rc.json (#963)4eccb2a
Add yarnInstall methodf632f01
Add version number to generated docs (#978)7cf5875
Update logo url in api doccf64f57
Switch JSDoc template (#977)102dd97
Only build and deploy docs on a specific node version (#976)87b210b
Prevent multiple commits of docs in gh-pages branch (#975)2c34bde
npm cache by default (#940)