generator-nlf 0.3.1 → 0.3.3

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,8 +1,8 @@
1
1
  import { GeneratorCompat as Generator } from '@idleberg/yeoman-generator';
2
2
  import { languages } from '@nsis/language-data';
3
- import slugify from '@sindresorhus/slugify';
4
3
  import { pascalCase } from 'change-case';
5
4
  import { inverse } from 'kleur/colors';
5
+ import $ from '../../package.json' with { type: 'json' };
6
6
 
7
7
  export default class extends Generator {
8
8
  constructor(args, opts) {
@@ -25,7 +25,7 @@ export default class extends Generator {
25
25
  async prompting() {
26
26
  console.log(/* let it breathe */);
27
27
 
28
- this.clack.intro(inverse(` ${slugify(this.appname)} `));
28
+ this.clack.intro(inverse(` ${$.name} `));
29
29
 
30
30
  const answers = await this.prompt([
31
31
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-nlf",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "Yeoman generator for NSIS Language Files (.nlf)",
5
5
  "author": "Jan T. Sott",
6
6
  "license": "MIT",
@@ -23,22 +23,22 @@
23
23
  "node": ">=20.0.0"
24
24
  },
25
25
  "dependencies": {
26
- "@idleberg/yeoman-generator": "^0.1.3",
26
+ "@idleberg/yeoman-generator": "^0.1.5",
27
27
  "@nsis/language-data": "^0.9.0",
28
28
  "@sindresorhus/slugify": "^3.0.0",
29
29
  "change-case": "^5.4.4",
30
30
  "kleur": "^4.1.5"
31
31
  },
32
32
  "devDependencies": {
33
- "@commitlint/cli": "^20.3.1",
34
- "@commitlint/config-conventional": "^20.3.1",
35
- "@idleberg/configs": "^0.4.1",
33
+ "@commitlint/cli": "^20.4.1",
34
+ "@commitlint/config-conventional": "^20.4.1",
35
+ "@idleberg/configs": "^0.4.2",
36
36
  "@types/node": "^24.10.4",
37
37
  "@types/yeoman-assert": "^3.1.4",
38
38
  "@yeoman/adapter": "^4.0.1",
39
39
  "@yeoman/types": "^1.8.0",
40
40
  "concurrently": "^9.2.1",
41
- "np": "^11.0.1",
41
+ "np": "^11.0.2",
42
42
  "typescript": "^5.9.3",
43
43
  "vitest": "^4.0.18",
44
44
  "yeoman-assert": "^3.1.1",
@@ -48,7 +48,7 @@
48
48
  "lint:e18e": "e18e-cli analyze",
49
49
  "lint:code": "biome check",
50
50
  "lint": "concurrently --prefix '{name}' -c 'green,blue' 'npm:lint:*'",
51
- "publish:npm": "np --no-yarn",
51
+ "publish:npm": "np",
52
52
  "test": "vitest run"
53
53
  }
54
54
  }