yeoman-environment 4.0.0-beta.4 → 4.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/environment-base.js +3 -2
- package/package.json +3 -3
package/dist/environment-base.js
CHANGED
|
@@ -609,6 +609,9 @@ export default class EnvironmentBase extends EventEmitter {
|
|
|
609
609
|
const queueCommit = () => {
|
|
610
610
|
debug('Queueing conflicts task');
|
|
611
611
|
this.queueTask('environment:conflicts', async () => {
|
|
612
|
+
debug('Adding queueCommit listener');
|
|
613
|
+
// Conflicter can change files add listener before commit task.
|
|
614
|
+
this.sharedFs.once('change', queueCommit);
|
|
612
615
|
debug('Running conflicts');
|
|
613
616
|
const { customCommitTask = () => commitSharedFsTask(this) } = this.composedStore;
|
|
614
617
|
if (typeof customCommitTask === 'function') {
|
|
@@ -617,8 +620,6 @@ export default class EnvironmentBase extends EventEmitter {
|
|
|
617
620
|
else {
|
|
618
621
|
debug('Ignoring commit, custom commit was provided');
|
|
619
622
|
}
|
|
620
|
-
debug('Adding queueCommit listener');
|
|
621
|
-
this.sharedFs.once('change', queueCommit);
|
|
622
623
|
}, {
|
|
623
624
|
once: 'write memory fs to disk',
|
|
624
625
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yeoman-environment",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.5",
|
|
4
4
|
"description": "Handles the lifecyle and bootstrapping of generators in a specific environment",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"development",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@yeoman/adapter": "^1.1.0",
|
|
61
|
-
"@yeoman/conflicter": "^1.0.
|
|
61
|
+
"@yeoman/conflicter": "^1.0.10",
|
|
62
62
|
"@yeoman/namespace": "^1.0.0",
|
|
63
63
|
"@yeoman/transform": "^1.2.0",
|
|
64
64
|
"arrify": "^3.0.0",
|
|
@@ -105,6 +105,6 @@
|
|
|
105
105
|
"mem-fs": "^3.0.0"
|
|
106
106
|
},
|
|
107
107
|
"engines": {
|
|
108
|
-
"node": "^
|
|
108
|
+
"node": "^18.17.0 || >=20.5.0"
|
|
109
109
|
}
|
|
110
110
|
}
|