generator-nsis 0.12.1 → 0.12.2

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.
@@ -7,6 +7,7 @@ import spdxLicenseList from 'spdx-license-list/full.js';
7
7
  import terminalLink from 'terminal-link';
8
8
  import * as choices from '../../lib/choices.js';
9
9
  import { getAllLibraries, getLanguageChoices, licenseChoices } from '../../lib/helpers.js';
10
+ import $ from '../../package.json' with { type: 'json' };
10
11
 
11
12
  export default class extends Generator {
12
13
  constructor(args, opts) {
@@ -23,7 +24,7 @@ export default class extends Generator {
23
24
 
24
25
  async prompting() {
25
26
  globalThis.console.log(/* let it breathe */);
26
- this.clack.intro(inverse(` ${this.appname} `));
27
+ this.clack.intro(inverse(` ${$.name} `));
27
28
 
28
29
  // Pre-load async choices for proper storage support
29
30
  const includeChoices = this.options.firstParty ? choices.includes : await getAllLibraries();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-nsis",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "description": "Yeoman generator for NSIS scripts",
5
5
  "author": "Jan T. Sott",
6
6
  "license": "MIT",
@@ -27,36 +27,36 @@
27
27
  "node": ">=20"
28
28
  },
29
29
  "dependencies": {
30
- "@idleberg/yeoman-generator": "^0.1.4",
30
+ "@idleberg/yeoman-generator": "^0.1.5",
31
31
  "@nsis/language-data": "^0.9.3",
32
32
  "@sindresorhus/slugify": "^3.0.0",
33
- "glob": "^13.0.0",
33
+ "glob": "^13.0.1",
34
34
  "kleur": "^4.1.5",
35
35
  "makensis": "3.0.3",
36
- "semver": "^7.7.3",
36
+ "semver": "^7.7.4",
37
37
  "spdx-license-list": "^6.11.0",
38
38
  "terminal-link": "^5.0.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@commitlint/cli": "^20.3.1",
42
- "@commitlint/config-conventional": "^20.3.1",
43
- "@idleberg/configs": "^0.4.1",
41
+ "@commitlint/cli": "^20.4.1",
42
+ "@commitlint/config-conventional": "^20.4.1",
43
+ "@idleberg/configs": "^0.4.2",
44
44
  "@lukeed/uuid": "^2.0.1",
45
45
  "@types/node": "^24.5.2",
46
46
  "concurrently": "^9.2.1",
47
- "np": "^11.0.1",
47
+ "np": "^11.0.2",
48
48
  "tsm": "^2.3.0",
49
49
  "typescript": "^5.9.3",
50
50
  "uvu": "^0.5.6",
51
51
  "yeoman-assert": "^3.1.1",
52
- "yeoman-environment": "^5.1.2",
52
+ "yeoman-environment": "^5.1.3",
53
53
  "yeoman-test": "^11.2.0"
54
54
  },
55
55
  "scripts": {
56
56
  "lint:e18e": "e18e-cli analyze",
57
57
  "lint:code": "biome check",
58
58
  "lint": "concurrently --prefix '{name}' -c 'green,blue' 'npm:lint:*'",
59
- "publish:npm": "np --any-branch",
59
+ "publish:npm": "np",
60
60
  "test": "uvu --ignore tests/__helper.js"
61
61
  }
62
62
  }