@robgietema/generator-nick 0.0.18 → 0.0.20

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.
@@ -1,7 +1,7 @@
1
1
  import path from 'path';
2
2
  import Generator from 'yeoman-generator';
3
3
  import updateNotifier from 'update-notifier';
4
- import packageJson from '../../package.json' assert { type: 'json' };
4
+ import packageJson from '../../package.json' with { type: 'json' };
5
5
 
6
6
  const currentDir = path.basename(process.cwd());
7
7
 
@@ -76,8 +76,8 @@ Run "npm install -g @robgietema/generator-nick" to update.`,
76
76
  this.globals,
77
77
  );
78
78
  this.fs.copyTpl(
79
- this.templatePath('config.js.tpl'),
80
- this.destinationPath(base, 'config.js'),
79
+ this.templatePath('config.ts.tpl'),
80
+ this.destinationPath(base, 'config.ts'),
81
81
  this.globals,
82
82
  );
83
83
 
@@ -100,7 +100,7 @@ Run "npm install -g @robgietema/generator-nick" to update.`,
100
100
  this.globals,
101
101
  );
102
102
 
103
- this.fs.delete(this.destinationPath(base, 'config.js.tpl'));
103
+ this.fs.delete(this.destinationPath(base, 'config.ts.tpl'));
104
104
  this.fs.delete(this.destinationPath(base, 'package.json.tpl'));
105
105
  this.fs.delete(this.destinationPath(base, '.gitignorefile'));
106
106
  }
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@robgietema/generator-nick",
3
3
  "description": "Generator for Nick",
4
+ "type": "module",
4
5
  "maintainers": [
5
6
  {
6
7
  "name": "Rob Gietema",
@@ -9,7 +10,7 @@
9
10
  }
10
11
  ],
11
12
  "license": "MIT",
12
- "version": "0.0.18",
13
+ "version": "0.0.20",
13
14
  "repository": {
14
15
  "type": "git",
15
16
  "url": "git@github.com:robgietema/nick.git"