@robgietema/generator-nick 0.0.16 → 0.0.17
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/generators/app/index.js +2 -2
- package/package.json +1 -1
package/generators/app/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import path from 'path';
|
|
2
2
|
import Generator from 'yeoman-generator';
|
|
3
|
+
import updateNotifier from 'update-notifier';
|
|
3
4
|
|
|
4
5
|
const currentDir = path.basename(process.cwd());
|
|
5
6
|
|
|
@@ -20,8 +21,7 @@ export default class extends Generator {
|
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
async prompting() {
|
|
23
|
-
const
|
|
24
|
-
const pkg = import('../../package.json');
|
|
24
|
+
const pkg = await import('../../package.json');
|
|
25
25
|
const notifier = updateNotifier({
|
|
26
26
|
pkg,
|
|
27
27
|
shouldNotifyInNpmScript: true,
|