generator-nsis 0.12.2 → 0.13.0

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.
Files changed (2) hide show
  1. package/lib/helpers.js +8 -4
  2. package/package.json +9 -10
package/lib/helpers.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { basename, extname, resolve } from 'node:path';
2
2
  import { meta as languageData } from '@nsis/language-data';
3
- import { glob } from 'glob';
4
3
  import { nsisDir } from 'makensis';
5
4
  import spdxLicenseList from 'spdx-license-list/full.js';
6
5
  import terminalLink from 'terminal-link';
@@ -22,9 +21,14 @@ export const getAllLibraries = async () => {
22
21
  const nsisPath = await nsisDir();
23
22
  const includeDir = resolve(nsisPath, 'Include');
24
23
 
25
- const headerFiles = await glob([`${includeDir}/*.nsh`, `!${includeDir}/MUI.nsh`], {
26
- ignore: bundledLibraries.map((excludedFile) => `${includeDir}/${excludedFile.value}.nsh`),
27
- });
24
+ const headerFiles = await Array.fromAsync(
25
+ glob(`${includeDir}/*.nsh`, {
26
+ exclude: [
27
+ ...bundledLibraries.map((excludedFile) => `${includeDir}/${excludedFile.value}.nsh`),
28
+ `!${includeDir}/MUI.nsh`,
29
+ ],
30
+ }),
31
+ );
28
32
 
29
33
  const customHeaders = headerFiles.map((headerFile) => {
30
34
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-nsis",
3
- "version": "0.12.2",
3
+ "version": "0.13.0",
4
4
  "description": "Yeoman generator for NSIS scripts",
5
5
  "author": "Jan T. Sott",
6
6
  "license": "MIT",
@@ -24,22 +24,21 @@
24
24
  "url": "git+https://github.com/idleberg/generator-nsis.git"
25
25
  },
26
26
  "engines": {
27
- "node": ">=20"
27
+ "node": ">=22"
28
28
  },
29
29
  "dependencies": {
30
- "@idleberg/yeoman-generator": "^0.1.5",
31
- "@nsis/language-data": "^0.9.3",
30
+ "@idleberg/yeoman-generator": "^0.1.7",
31
+ "@nsis/language-data": "^0.11.0",
32
32
  "@sindresorhus/slugify": "^3.0.0",
33
- "glob": "^13.0.1",
34
33
  "kleur": "^4.1.5",
35
- "makensis": "3.0.3",
34
+ "makensis": "3.0.4",
36
35
  "semver": "^7.7.4",
37
36
  "spdx-license-list": "^6.11.0",
38
37
  "terminal-link": "^5.0.0"
39
38
  },
40
39
  "devDependencies": {
41
- "@commitlint/cli": "^20.4.1",
42
- "@commitlint/config-conventional": "^20.4.1",
40
+ "@commitlint/cli": "^20.5.0",
41
+ "@commitlint/config-conventional": "^20.5.0",
43
42
  "@idleberg/configs": "^0.4.2",
44
43
  "@lukeed/uuid": "^2.0.1",
45
44
  "@types/node": "^24.5.2",
@@ -49,8 +48,8 @@
49
48
  "typescript": "^5.9.3",
50
49
  "uvu": "^0.5.6",
51
50
  "yeoman-assert": "^3.1.1",
52
- "yeoman-environment": "^5.1.3",
53
- "yeoman-test": "^11.2.0"
51
+ "yeoman-environment": "^6.0.0",
52
+ "yeoman-test": "^11.3.1"
54
53
  },
55
54
  "scripts": {
56
55
  "lint:e18e": "e18e-cli analyze",