generator-sublimelinter 0.4.1 → 0.4.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.
- package/generators/app/index.js +2 -1
- package/package.json +10 -10
package/generators/app/index.js
CHANGED
|
@@ -8,6 +8,7 @@ import semver from 'semver';
|
|
|
8
8
|
import spdxLicenseList from 'spdx-license-list/full.js';
|
|
9
9
|
import terminalLink from 'terminal-link';
|
|
10
10
|
import { fileExists, getDefaultSelector, licenseChoices, validateName } from '../../lib/helpers.js';
|
|
11
|
+
import $ from '../../package.json' with { type: 'json' };
|
|
11
12
|
|
|
12
13
|
export default class extends Generator {
|
|
13
14
|
constructor(args, options) {
|
|
@@ -23,7 +24,7 @@ export default class extends Generator {
|
|
|
23
24
|
|
|
24
25
|
async prompting() {
|
|
25
26
|
console.log(/* let it breathe */);
|
|
26
|
-
this.clack.intro(inverse(` ${
|
|
27
|
+
this.clack.intro(inverse(` ${$.name} `));
|
|
27
28
|
|
|
28
29
|
const answers = await this.prompt([
|
|
29
30
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-sublimelinter",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Yeoman generator for SublimeLinter plugins",
|
|
5
5
|
"author": "Jan T. Sott",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
"node": ">=20"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@idleberg/yeoman-generator": "^0.1.
|
|
29
|
+
"@idleberg/yeoman-generator": "^0.1.5",
|
|
30
30
|
"@sindresorhus/slugify": "^3.0.0",
|
|
31
31
|
"change-case": "^5.4.4",
|
|
32
|
-
"semver": "^7.7.
|
|
32
|
+
"semver": "^7.7.4",
|
|
33
33
|
"spdx-license-list": "^6.11.0",
|
|
34
34
|
"terminal-link": "^5.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@commitlint/cli": "^20.
|
|
38
|
-
"@commitlint/config-conventional": "^20.
|
|
39
|
-
"@idleberg/configs": "^0.4.
|
|
37
|
+
"@commitlint/cli": "^20.4.1",
|
|
38
|
+
"@commitlint/config-conventional": "^20.4.1",
|
|
39
|
+
"@idleberg/configs": "^0.4.2",
|
|
40
40
|
"@types/node": "^24.10.4",
|
|
41
41
|
"@types/yeoman-assert": "^3.1.4",
|
|
42
42
|
"@yeoman/adapter": "^4.0.1",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"concurrently": "^9.2.1",
|
|
45
45
|
"kleur": "^4.1.5",
|
|
46
46
|
"mem-fs": "^4.1.3",
|
|
47
|
-
"np": "^
|
|
48
|
-
"vitest": "^4.0.
|
|
47
|
+
"np": "^11.0.2",
|
|
48
|
+
"vitest": "^4.0.18",
|
|
49
49
|
"yeoman-assert": "^3.1.1",
|
|
50
|
-
"yeoman-environment": "^5.1.
|
|
50
|
+
"yeoman-environment": "^5.1.3",
|
|
51
51
|
"yeoman-generator": "^7.5.1",
|
|
52
52
|
"yeoman-test": "^11.2.0"
|
|
53
53
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"lint:e18e": "e18e-cli analyze",
|
|
56
56
|
"lint:code": "biome check",
|
|
57
57
|
"lint": "concurrently --prefix '{name}' -c 'green,blue' 'npm:lint:*'",
|
|
58
|
-
"publish:npm": "np
|
|
58
|
+
"publish:npm": "np",
|
|
59
59
|
"test": "vitest run",
|
|
60
60
|
"test:watch": "vitest"
|
|
61
61
|
}
|