markuplint 4.11.7 → 4.11.9-dev.110

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.11.8](https://github.com/markuplint/markuplint/compare/markuplint@4.11.7...markuplint@4.11.8) (2025-03-09)
7
+
8
+ **Note:** Version bump only for package markuplint
9
+
6
10
  ## [4.11.7](https://github.com/markuplint/markuplint/compare/markuplint@4.11.6...markuplint@4.11.7) (2025-02-27)
7
11
 
8
12
  **Note:** Version bump only for package markuplint
@@ -29,7 +29,7 @@ export async function initialize() {
29
29
  message: 'Which do you use template engines?',
30
30
  choices: Object.entries(langs).map(([key, name]) => ({ name, value: key })),
31
31
  });
32
- const autoInstall = await confirm('May I install them automatically?');
32
+ const autoInstall = await confirm('Install npm dependencies?');
33
33
  const customize = await confirm('Do you customize rules?');
34
34
  let ruleSettingMode = 'none';
35
35
  if (customize) {
@@ -57,7 +57,7 @@ export async function initialize() {
57
57
  await fs.writeFile(filePath, JSON.stringify(config, null, 2), { encoding: 'utf8' });
58
58
  process.stdout.write(`✨Created: ${filePath}\n`);
59
59
  if (autoInstall) {
60
- process.stdout.write('Install automatically\n');
60
+ process.stdout.write('Install the dependencies automatically\n');
61
61
  const modules = selectModules(selectedLangs);
62
62
  const result = await installModule(modules, true).catch(error_ => new Error(error_));
63
63
  if (result instanceof Error) {
@@ -1,7 +1,7 @@
1
- import { name, font, pad, getWidth, messageToString } from '@markuplint/cli-utils';
1
+ import { name, font, pad, getWidth, messageToString, xterm } from '@markuplint/cli-utils';
2
2
  const commandName = name.toLowerCase();
3
3
  const loggerError = font.red;
4
- const loggerWarning = font.xterm(208);
4
+ const loggerWarning = xterm(208);
5
5
  export function simpleReporter(results, options) {
6
6
  const sizes = {
7
7
  line: 0,
@@ -20,7 +20,7 @@ export function simpleReporter(results, options) {
20
20
  for (const violation of results.violations) {
21
21
  const s = violation.severity === 'error' ? loggerError('✖') : loggerWarning('⚠️');
22
22
  const meg = messageToString(violation.message, violation.reason);
23
- out.push(` ${font.cyan(`${pad(violation.line, sizes.line, true)}:${pad(violation.col, sizes.col)}`)} ${s} ${pad(meg, sizes.meg)} ${font.xterm(8)(violation.ruleId)} `);
23
+ out.push(` ${font.cyan(`${pad(violation.line, sizes.line, true)}:${pad(violation.col, sizes.col)}`)} ${s} ${pad(meg, sizes.meg)} ${xterm(8)(violation.ruleId)} `);
24
24
  }
25
25
  }
26
26
  else if (!options.problemOnly) {
@@ -1,7 +1,7 @@
1
- import { messageToString, font, name, invisibleSpace, space, pad, getWidth } from '@markuplint/cli-utils';
1
+ import { messageToString, font, name, invisibleSpace, space, pad, getWidth, xterm } from '@markuplint/cli-utils';
2
2
  const commandName = name.toLowerCase();
3
3
  const loggerError = font.red;
4
- const loggerWarning = font.xterm(208);
4
+ const loggerWarning = xterm(208);
5
5
  export function standardReporter(results, options) {
6
6
  const sizes = {
7
7
  line: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markuplint",
3
- "version": "4.11.7",
3
+ "version": "4.11.9-dev.110+16e148e6e",
4
4
  "description": "An HTML linter for all markup developers",
5
5
  "author": "Yusuke Hirao",
6
6
  "license": "MIT",
@@ -26,17 +26,17 @@
26
26
  "clean": "tsc --build --clean"
27
27
  },
28
28
  "dependencies": {
29
- "@markuplint/cli-utils": "4.4.10",
30
- "@markuplint/file-resolver": "4.9.12",
31
- "@markuplint/html-parser": "4.6.17",
32
- "@markuplint/html-spec": "4.14.0",
33
- "@markuplint/i18n": "4.6.0",
34
- "@markuplint/ml-ast": "4.4.9",
35
- "@markuplint/ml-config": "4.8.9",
36
- "@markuplint/ml-core": "4.12.2",
37
- "@markuplint/ml-spec": "4.9.4",
38
- "@markuplint/rules": "4.10.10",
39
- "@markuplint/shared": "4.4.10",
29
+ "@markuplint/cli-utils": "4.4.11-dev.350+16e148e6e",
30
+ "@markuplint/file-resolver": "4.9.14-dev.110+16e148e6e",
31
+ "@markuplint/html-parser": "4.6.19-dev.110+16e148e6e",
32
+ "@markuplint/html-spec": "4.14.2-dev.110+16e148e6e",
33
+ "@markuplint/i18n": "4.6.1-dev.350+16e148e6e",
34
+ "@markuplint/ml-ast": "4.4.10-dev.350+16e148e6e",
35
+ "@markuplint/ml-config": "4.8.11-dev.110+16e148e6e",
36
+ "@markuplint/ml-core": "4.12.4-dev.110+16e148e6e",
37
+ "@markuplint/ml-spec": "4.9.6-dev.110+16e148e6e",
38
+ "@markuplint/rules": "4.10.12-dev.110+16e148e6e",
39
+ "@markuplint/shared": "4.4.11-dev.350+16e148e6e",
40
40
  "@types/debug": "4.1.12",
41
41
  "chokidar": "4.0.3",
42
42
  "debug": "4.4.0",
@@ -45,7 +45,7 @@
45
45
  "os-locale": "6.0.2",
46
46
  "strict-event-emitter": "0.5.1",
47
47
  "strip-ansi": "7.1.0",
48
- "type-fest": "4.35.0"
48
+ "type-fest": "4.39.1"
49
49
  },
50
- "gitHead": "1b71e44a0a372662abca460ef77888053b66a78d"
50
+ "gitHead": "16e148e6ec2abac673c5ea1e42bbb666d421f357"
51
51
  }