@diplodoc/lint 1.10.3 → 1.11.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.
package/.husky/commit-msg CHANGED
@@ -3,7 +3,7 @@ COMMIT_MSG=$(cat "$COMMIT_MSG_FILE")
3
3
 
4
4
  # Check if commit message contains Cyrillic characters
5
5
  # All commit messages must be in English per .agents/style-and-testing.md
6
- if echo "$COMMIT_MSG" | LC_ALL=C grep -q '[А-Яа-яЁё]'; then
6
+ if echo "$COMMIT_MSG" | grep -q '[А-Яа-яЁё]'; then
7
7
  echo "❌ Error: Commit message contains Cyrillic characters."
8
8
  echo ""
9
9
  echo "All commit messages must be in English per .agents/style-and-testing.md"
@@ -18,14 +18,14 @@ fi
18
18
  SUBJECT=$(echo "$COMMIT_MSG" | head -n1)
19
19
 
20
20
  # Allow fixup! and squash! prefixes (for git commit --fixup and --squash)
21
- if echo "$SUBJECT" | LC_ALL=C grep -qE '^(fixup!|squash!)'; then
21
+ if echo "$SUBJECT" | grep -qE '^(fixup!|squash!)'; then
22
22
  exit 0
23
23
  fi
24
24
 
25
25
  # Check Conventional Commits format: <type>(<scope>): <subject>
26
26
  # Types: feat, fix, perf, refactor, docs, chore, revert, deps
27
27
  # Scope is optional
28
- if ! echo "$SUBJECT" | LC_ALL=C grep -qE '^(feat|fix|perf|refactor|docs|chore|revert|deps)(\([^)]+\))?: .+'; then
28
+ if ! echo "$SUBJECT" | grep -qE '^(feat|fix|perf|refactor|docs|chore|revert|deps)(\([^)]+\))?: .+'; then
29
29
  echo "❌ Error: Commit message does not follow Conventional Commits format."
30
30
  echo ""
31
31
  echo "Expected format: <type>(<scope>): <subject>"
@@ -34,7 +34,7 @@ if ! echo "$SUBJECT" | LC_ALL=C grep -qE '^(feat|fix|perf|refactor|docs|chore|re
34
34
  echo "Scope is optional"
35
35
  echo ""
36
36
  echo "Examples:"
37
- echo " feat(lint): add new command"
37
+ echo " feat(cli): add new command"
38
38
  echo " fix(transform): handle edge case"
39
39
  echo " docs(readme): update installation"
40
40
  echo ""
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "1.10.3"
2
+ ".": "1.11.0"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.11.0](https://github.com/diplodoc-platform/lint/compare/v1.10.3...v1.11.0) (2026-02-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * add esbuild subpath export and dependency ([add2e55](https://github.com/diplodoc-platform/lint/commit/add2e5556c34e6f48ba1be8923d8dd0d820f42e9))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **infra:** add prerelease in workflow ([6615364](https://github.com/diplodoc-platform/lint/commit/66153649c68d297ce2ace30b71ba89db87c95dbe))
14
+
3
15
  ## [1.10.3](https://github.com/diplodoc-platform/lint/compare/v1.10.2...v1.10.3) (2026-01-28)
4
16
 
5
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/lint",
3
- "version": "1.10.3",
3
+ "version": "1.11.0",
4
4
  "description": "Diplodoc platform internal utility set for linting",
5
5
  "bin": {
6
6
  "lint": "./bin/lint.js",
@@ -31,6 +31,11 @@
31
31
  "build": "exit 0"
32
32
  },
33
33
  "exports": {
34
+ "./esbuild": {
35
+ "types": "./lib/esbuild.d.ts",
36
+ "import": "./lib/esbuild.mjs",
37
+ "default": "./lib/esbuild.cjs"
38
+ },
34
39
  "./eslint-config": "./eslint-common-config.js",
35
40
  "./eslint-config/client": "./eslint-client-config.js",
36
41
  "./eslint-config/node": "./eslint-node-config.js",
@@ -48,6 +53,7 @@
48
53
  "@gravity-ui/stylelint-config": "^4.0.1",
49
54
  "@typescript-eslint/eslint-plugin": "^8.40.0",
50
55
  "@typescript-eslint/parser": "^8.40.0",
56
+ "esbuild": "^0.27.3",
51
57
  "eslint": "^8.57.0",
52
58
  "eslint-config-prettier": "^9.1.0",
53
59
  "eslint-import-resolver-typescript": "^3.6.1",