loopback-next
loopback-next copied to clipboard
chore: update yeoman packages (major)
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
yeoman-environment (source) | ^2.10.3 -> ^3.10.0 |
||||
yeoman-generator (source) | ^4.13.0 -> ^5.7.0 |
||||
yeoman-test (source) | ^4.0.2 -> ^6.3.0 |
Release Notes
yeoman/environment
v3.10.0
- 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
v3.9.0
v3.8.1
v3.8.0
- Implement patternFilter and patternSpy. (#370)
9c3cbe5
- Add exports field to package.json (#369)
28b492a
- Simplify
namespace()
using slash and resolve repository namespaces. (#368)b5baf0e
v3.7.0
- Bump dependencies.
- Implement conflicterStatus. (#334)
8833c47
- Format using new standards. (#333)
cb46b68
- Improve Node 16 support. (#330)
7017557
- Force write .yo-resolve files.
06c2c9b
- Add ignore to conflicter action.
810b0bd
- ESM generator fix.
a6071e1
- fix: error message when generator not found
cc90fd9
v3.6.0
- Add _postConstruct callback for async operations.
927d6af
v3.5.1
- Fix queueGenerator schedule
a605527
v3.5.0
- 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
v3.4.0
- Fix conflicter force (#297)
5507571
- Allow uniqueBy for path. (#303)
224bc61
- Initial support to esm generators. (#301)
95f33c7
, (#304)7aa29f8
v3.3.0
May affect custom transform due to internal behavior changes in file state processing at mem-fs-editor.
- Implement custom isBinary function. (#291)
f710584
- Improvements to commander support (#289)
901569a
, (#290)b5f85e9
- Changes to commit. (#287)
462deee
, (#293)2d10937
- Implement out of order transform (#285)
8d65397
- Simplify transform utilities. (#284)
e262506
- Accept mem-fs-editor@9 as dependency. (#294)
699aa97
- Bump mem-fs to 2.0.0 and mem-fs-editor to 8.1.2 and add peer dependency (#283)
fad0054
, (#288)fdb19b9
- Conflicter: improvements and fixes (#279)
9d329df
, (#281)51bc29d
- Fix log location. (#278)
f106bf4
v3.2.0
- 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
- 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
- Revert prompt callback for backward compatibility.
6a54b69
v3.0.0
- 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
v5.6.1
- 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
- Bump version of shelljs to avoid vulnerable 0.8.4 version (#1325)
9c798e6
- Return earlier at extractTasksFromPriority (#1324)
0bfb51a
- Allow to edit priorities. (#1323)
2a6cf47
v5.5.2
- Fix createStorage with options.
185a408
v5.5.1
- Add options parameter to createStorage.
82db7d0
v5.5.0
- Rework private methods.
dac452e
- Add args to queueTask.
cf8580f
- Add optional support to sorted Storage.
cf2e53f
- Documentation improvements.
v5.4.2
v5.4.1
- Fix for esm generator.
979b63d
v5.4.0
v5.3.0
- Implement async fs methods. (#1301)
9cab8c9
- Add test for path unsafe string. (#1300)
8bc6267
- Answer stored inside config should take precedence over suggestions. (#1297)
c1c847d
- Bump mem-fs-editor to 9.0.0 (#1298)
ce12e7f
- Implement taskPrefix feature. (#1296)
84551ee
- Bump yeoman-test to 6.0.0 (#1295)
5f3b2fb
- Bump mem-fs to 2.0.0 and mem-fs-editor to 8.1.2 (#1290)
d8dfd10
- Load environment resources when running help. (#1288)
3579322
- Fix 4.x api documentation link.
a0313cd
- Add api documentation link for 4.x
b44ec7d
v5.2.0
- 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
v5.0.1
- Bump xo to 0.38.1 and move to devDependencies.
3f51315
v5.0.0
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:
- Replaced by package.json manipulation
const Generator = require('yeoman-generator');
-_.extend(Generator.prototype, require('yeoman-generator/lib/actions/install'));
- Singleton Generators support passing
unique: 'namespace'
orunique: 'argument'
.
constructor(args, options = {}) {
super(args, {...options, unique: 'namespace'}
}
- Misc
-
this.(spawnCommand/spawnCommandSync)
switched toexeca
and now defaultscwd
tothis.destinationRoot()
. - Dropped support for kebab case options.
-
composeWith()
isn't chainable anymore and delegates the running to the Environment for singleton checks. - Replaced
registerTransformStream
withqueueTransformStream
. New api executes transformations before the commit operation, and is executed for every generator. - Dependencies update.
-
yeoman/yeoman-test
v6.3.0
v6.2.0
- Forward generator to the RunResult.
9dd4c2a
v6.1.0
- Fix test using promised generator. (#152)
46d71c2
- Implement getStateSnapshot (#153)
735a86c
- Fix RunResult doc. (#150)
42f5d56
v6.0.0
Dropped support for yeoman-environment < 3.3.0
- Bump dependencies. (#147)
cd7d892
- Update yeoman-environment to 3.3.0 for updated mem-fs. (#146)
b0067fa
- Implement getSnapshot (#143)
479fcde
, (#144)37b4768
v5.1.0
- 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
- Loosen yeoman-generator version.
88be203
v5.0.0
Migration:
yeoman-environment
and 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.
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 | |
---|---|
Change from base Build 2816155560: | 0.0% |
Covered Lines: | 9558 |
Relevant Lines: | 12429 |