@zairakai/js-dev-tools 3.20.0 → 3.22.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 (53) hide show
  1. package/.editorconfig +11 -72
  2. package/.gitlab/ci/parts/base.yml +95 -0
  3. package/.gitlab/ci/parts/publish.yml +156 -0
  4. package/.gitlab/ci/parts/quality.yml +161 -0
  5. package/.gitlab/ci/parts/security.yml +40 -0
  6. package/.gitlab/ci/parts/updates.yml +60 -0
  7. package/.gitlab/ci/pipeline-js-app.yml +19 -38
  8. package/.gitlab/ci/pipeline-js-package.yml +23 -528
  9. package/README.md +92 -11
  10. package/config/.markdownlintignore +8 -1
  11. package/config/.prettierignore +13 -0
  12. package/config/.stylelintignore +13 -3
  13. package/config/eslint.config.js +7 -1
  14. package/config/knip.config.js +7 -3
  15. package/config/stylelint.config.js +1 -0
  16. package/package.json +46 -29
  17. package/scripts/build.sh +28 -28
  18. package/scripts/ci-quality.sh +6 -6
  19. package/scripts/config.sh +164 -148
  20. package/scripts/doctor.sh +12 -12
  21. package/scripts/eslint-fix.sh +8 -8
  22. package/scripts/eslint.sh +15 -15
  23. package/scripts/install-bats.sh +143 -146
  24. package/scripts/install-hooks.sh +108 -111
  25. package/scripts/install-markdownlint.sh +4 -4
  26. package/scripts/install-shellcheck.sh +135 -138
  27. package/scripts/knip.sh +7 -7
  28. package/scripts/markdownlint.sh +38 -38
  29. package/scripts/outdated.sh +30 -29
  30. package/scripts/prettier-fix.sh +13 -13
  31. package/scripts/prettier.sh +13 -13
  32. package/scripts/setup-project.sh +691 -629
  33. package/scripts/stylelint-fix.sh +26 -19
  34. package/scripts/stylelint.sh +27 -20
  35. package/scripts/test.sh +13 -11
  36. package/scripts/typecheck.sh +11 -11
  37. package/scripts/update-dependencies.mjs +552 -181
  38. package/scripts/validate-shellcheck.sh +18 -18
  39. package/stubs/githooks/commit-msg +24 -21
  40. package/stubs/githooks/pre-commit +19 -19
  41. package/stubs/githooks/pre-push +18 -18
  42. package/stubs/githooks/prepare-commit-msg +6 -6
  43. package/stubs/gitlab-ci/gitlab-ci.yml.stub +1 -1
  44. package/stubs/governance/CONTRIBUTING.md.stub +5 -3
  45. package/stubs/quality/eslint.config.js.stub +1 -1
  46. package/stubs/quality/knip.config.js.stub +1 -1
  47. package/stubs/style/prettier.config.js.stub +3 -3
  48. package/stubs/style/stylelint.config.js.stub +8 -1
  49. package/stubs/testing/vitest.config.js.stub +1 -1
  50. package/tools/make/bats.mk +3 -3
  51. package/tools/make/core.mk +3 -3
  52. package/tools/make/quality.mk +2 -1
  53. package/tools/make/variables.mk +1 -1
@@ -23,11 +23,11 @@ log_info "Severity: ${SEVERITY}"
23
23
  log_info "Format: ${FORMAT}"
24
24
 
25
25
  if ! command_exists shellcheck; then
26
- log_error "ShellCheck not found. Please install shellcheck."
27
- log_info " Alpine: apk add shellcheck"
28
- log_info " Debian/Ubuntu: apt-get install shellcheck"
29
- log_info " macOS: brew install shellcheck"
30
- exit 1
26
+ log_error "ShellCheck not found. Please install shellcheck."
27
+ log_info " Alpine: apk add shellcheck"
28
+ log_info " Debian/Ubuntu: apt-get install shellcheck"
29
+ log_info " macOS: brew install shellcheck"
30
+ exit 1
31
31
  fi
32
32
 
33
33
  SHELLCHECK_VERSION="$(shellcheck --version | grep "version:" | awk '{print $2}')"
@@ -41,8 +41,8 @@ SCRIPT_COUNT=${#SHELL_SCRIPTS[@]}
41
41
  log_info "Found ${SCRIPT_COUNT} shell scripts"
42
42
 
43
43
  if [[ ${SCRIPT_COUNT} -eq 0 ]]; then
44
- log_warning "No shell scripts found"
45
- exit 0
44
+ log_warning "No shell scripts found"
45
+ exit 0
46
46
  fi
47
47
 
48
48
  log_info "→ Running ShellCheck validation…"
@@ -51,20 +51,20 @@ FAILED=0
51
51
  TOTAL=0
52
52
 
53
53
  for script in "${SHELL_SCRIPTS[@]}"; do
54
- TOTAL=$((TOTAL + 1))
54
+ TOTAL=$((TOTAL + 1))
55
55
 
56
- if shellcheck --severity="${SEVERITY}" --format="${FORMAT}" "${script}"; then
57
- :
58
- else
59
- log_error " ✗ ${script} — ShellCheck failed"
60
- FAILED=$((FAILED + 1))
61
- fi
56
+ if shellcheck --severity="${SEVERITY}" --format="${FORMAT}" "${script}"; then
57
+ :
58
+ else
59
+ log_error " ✗ ${script} - ShellCheck failed"
60
+ FAILED=$((FAILED + 1))
61
+ fi
62
62
  done
63
63
 
64
64
  if [[ ${FAILED} -eq 0 ]]; then
65
- log_success "All ${TOTAL} scripts passed ShellCheck"
66
- exit 0
65
+ log_success "All ${TOTAL} scripts passed ShellCheck"
66
+ exit 0
67
67
  else
68
- log_error "${FAILED}/${TOTAL} scripts failed ShellCheck"
69
- exit 1
68
+ log_error "${FAILED}/${TOTAL} scripts failed ShellCheck"
69
+ exit 1
70
70
  fi
@@ -8,7 +8,7 @@
8
8
  # - type: feat, fix, docs, style, refactor, perf, test, chore, ci or build
9
9
  # - scope: optional, in lowercase
10
10
  # - #TICKET: the number of the issue
11
- # - the first line has 72 characters at most, and the second line is blank
11
+ # - the subject (the text after the ticket) has 50 characters at most (Pro Git), and the second line is blank
12
12
  #
13
13
  # A work in progress follows the same format. The messages that Git writes itself
14
14
  # (Merge, Revert, fixup!, squash!) are accepted as they are.
@@ -21,38 +21,41 @@ first_line=$(sed -n 1p "$commit_msg_file")
21
21
  second_line=$(sed -n 2p "$commit_msg_file")
22
22
 
23
23
  case "$first_line" in
24
- "Merge "* | "Revert \""* | "fixup! "* | "squash! "* | "amend! "*) exit 0 ;;
24
+ "Merge "* | "Revert \""* | "fixup! "* | "squash! "* | "amend! "*) exit 0 ;;
25
25
  esac
26
26
 
27
- PATTERN='^(feat|fix|docs|style|refactor|perf|test|chore|ci|build)(\([a-z0-9][a-z0-9._/-]*\))?: #[0-9]+ [^[:space:]].*$'
27
+ PATTERN='^(feat|fix|docs|style|refactor|perf|test|chore|ci|build)(\([a-z0-9][a-z0-9._/-]*\))?: #[0-9]+ ([^[:space:]].*)$'
28
28
 
29
29
  fail() {
30
- echo ""
31
- echo "❌ $1"
32
- echo ""
33
- echo " Format of the zairakai handbook: <type>(<scope>): #TICKET <subject>"
34
- echo " Types: feat, fix, docs, style, refactor, perf, test, chore, ci, build"
35
- echo ""
36
- echo " Your message: \"$first_line\""
37
- echo ""
38
- echo " Examples:"
39
- echo " feat(auth): #102 add OAuth2 provider support"
40
- echo " fix(api): #87 handle null response from payment gateway"
41
- echo " docs: #31 update installation instructions"
42
- echo ""
43
- exit 1
30
+ echo ""
31
+ echo "❌ $1"
32
+ echo ""
33
+ echo " Format of the zairakai handbook: <type>(<scope>): #TICKET <subject>"
34
+ echo " Types: feat, fix, docs, style, refactor, perf, test, chore, ci, build"
35
+ echo ""
36
+ echo " Your message: \"$first_line\""
37
+ echo ""
38
+ echo " Examples:"
39
+ echo " feat(auth): #102 add OAuth2 provider support"
40
+ echo " fix(api): #87 handle null response from payment gateway"
41
+ echo " docs: #31 update installation instructions"
42
+ echo ""
43
+ exit 1
44
44
  }
45
45
 
46
46
  if ! [[ $first_line =~ $PATTERN ]]; then
47
- fail "Invalid commit message format"
47
+ fail "Invalid commit message format"
48
48
  fi
49
49
 
50
- if [[ ${#first_line} -gt 72 ]]; then
51
- fail "The first line has ${#first_line} characters: the limit is 72"
50
+ # The limit counts the subject only: the type, the scope and the ticket do not use its 50 characters
51
+ subject="${BASH_REMATCH[3]}"
52
+
53
+ if [[ ${#subject} -gt 50 ]]; then
54
+ fail "The subject has ${#subject} characters: the limit is 50"
52
55
  fi
53
56
 
54
57
  if [[ -n $second_line ]]; then
55
- fail "The second line must be blank"
58
+ fail "The second line must be blank"
56
59
  fi
57
60
 
58
61
  echo "✅ Commit message OK"
@@ -28,9 +28,9 @@ cd "$PROJECT_ROOT"
28
28
 
29
29
  # Check if make is available
30
30
  if ! command -v make &>/dev/null; then
31
- echo -e "${RED}❌ make not found - skipping quality checks${NC}"
32
- echo ""
33
- exit 0
31
+ echo -e "${RED}❌ make not found - skipping quality checks${NC}"
32
+ echo ""
33
+ exit 0
34
34
  fi
35
35
 
36
36
  # Run fast quality checks (eslint + prettier + markdown)
@@ -38,21 +38,21 @@ echo -e "${BLUE}→${NC} Running: ${CYAN}make quality-fast${NC}"
38
38
  echo ""
39
39
 
40
40
  if make quality-fast; then
41
- echo ""
42
- echo -e "${GREEN}✅ Quality checks passed - commit allowed${NC}"
43
- echo ""
44
- exit 0
41
+ echo ""
42
+ echo -e "${GREEN}✅ Quality checks passed - commit allowed${NC}"
43
+ echo ""
44
+ exit 0
45
45
  else
46
- echo ""
47
- echo -e "${RED}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
48
- echo -e "${RED} ❌ Quality checks failed!${NC}"
49
- echo -e "${RED}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
50
- echo ""
51
- echo -e "${YELLOW}Fix issues with:${NC}"
52
- echo -e " ${CYAN}make quality-fix${NC} ${YELLOW}# Auto-fix what can be fixed${NC}"
53
- echo ""
54
- echo -e "${YELLOW}Or bypass (NOT recommended):${NC}"
55
- echo -e " ${CYAN}git commit --no-verify${NC}"
56
- echo ""
57
- exit 1
46
+ echo ""
47
+ echo -e "${RED}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
48
+ echo -e "${RED} ❌ Quality checks failed!${NC}"
49
+ echo -e "${RED}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
50
+ echo ""
51
+ echo -e "${YELLOW}Fix issues with:${NC}"
52
+ echo -e " ${CYAN}make quality-fix${NC} ${YELLOW}# Auto-fix what can be fixed${NC}"
53
+ echo ""
54
+ echo -e "${YELLOW}Or bypass (NOT recommended):${NC}"
55
+ echo -e " ${CYAN}git commit --no-verify${NC}"
56
+ echo ""
57
+ exit 1
58
58
  fi
@@ -28,9 +28,9 @@ cd "$PROJECT_ROOT"
28
28
 
29
29
  # Check if make is available
30
30
  if ! command -v make &>/dev/null; then
31
- echo -e "${RED}❌ make not found - skipping quality checks${NC}"
32
- echo ""
33
- exit 0
31
+ echo -e "${RED}❌ make not found - skipping quality checks${NC}"
32
+ echo ""
33
+ exit 0
34
34
  fi
35
35
 
36
36
  # Run full quality gate (quality + tests)
@@ -38,20 +38,20 @@ echo -e "${BLUE}→${NC} Running: ${CYAN}make ci${NC}"
38
38
  echo ""
39
39
 
40
40
  if make ci; then
41
- echo ""
42
- echo -e "${GREEN}✅ All quality gates passed - push allowed${NC}"
43
- echo ""
44
- exit 0
41
+ echo ""
42
+ echo -e "${GREEN}✅ All quality gates passed - push allowed${NC}"
43
+ echo ""
44
+ exit 0
45
45
  else
46
- echo ""
47
- echo -e "${RED}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
48
- echo -e "${RED} ❌ Quality gate failed!${NC}"
49
- echo -e "${RED}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
50
- echo ""
51
- echo -e "${YELLOW}Fix issues or run local tests before pushing.${NC}"
52
- echo ""
53
- echo -e "${YELLOW}Or bypass (NOT recommended):${NC}"
54
- echo -e " ${CYAN}git push --no-verify${NC}"
55
- echo ""
56
- exit 1
46
+ echo ""
47
+ echo -e "${RED}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
48
+ echo -e "${RED} ❌ Quality gate failed!${NC}"
49
+ echo -e "${RED}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
50
+ echo ""
51
+ echo -e "${YELLOW}Fix issues or run local tests before pushing.${NC}"
52
+ echo ""
53
+ echo -e "${YELLOW}Or bypass (NOT recommended):${NC}"
54
+ echo -e " ${CYAN}git push --no-verify${NC}"
55
+ echo ""
56
+ exit 1
57
57
  fi
@@ -15,19 +15,19 @@ commit_msg_file="$1"
15
15
  commit_source="$2"
16
16
 
17
17
  case "$commit_source" in
18
- merge | squash | commit) exit 0 ;;
18
+ merge | squash | commit) exit 0 ;;
19
19
  esac
20
20
 
21
21
  branch=$(git symbolic-ref --short HEAD 2>/dev/null)
22
22
 
23
23
  # Extract the ticket from a branch named type/#NUMBER-description
24
24
  if [[ $branch =~ (feature|fix|hotfix)/#([0-9]+) ]]; then
25
- ticket="#${BASH_REMATCH[2]}"
25
+ ticket="#${BASH_REMATCH[2]}"
26
26
 
27
- if ! grep -qE "${ticket}([^0-9]|$)" "$commit_msg_file"; then
28
- sed -i.bak -E "1s/^([a-z]+(\([^)]*\))?: )/\1${ticket} /" "$commit_msg_file"
29
- rm -f "$commit_msg_file.bak"
30
- fi
27
+ if ! grep -qE "${ticket}([^0-9]|$)" "$commit_msg_file"; then
28
+ sed -i.bak -E "1s/^([a-z]+(\([^)]*\))?: )/\1${ticket} /" "$commit_msg_file"
29
+ rm -f "$commit_msg_file.bak"
30
+ fi
31
31
  fi
32
32
 
33
33
  exit 0
@@ -1,6 +1,6 @@
1
1
  # .gitlab-ci.yml
2
2
  # Generated by @zairakai/js-dev-tools setup-project.sh
3
- # Inherits the full shared template — only project-specific variables are defined here.
3
+ # Inherits the full shared template - only project-specific variables are defined here.
4
4
  #
5
5
  # To regenerate:
6
6
  # bash node_modules/@zairakai/js-dev-tools/scripts/setup-project.sh --publish=gitlab-ci --force
@@ -10,12 +10,12 @@
10
10
  | Step | Command / Action | Description |
11
11
  | :--- | :--- | :--- |
12
12
  | **1. Install** | `npm install && bash scripts/install-hooks.sh` | Install dependencies and set up git hooks. |
13
- | **2. Branch** | `git checkout -b feature/#TICKET-name` | Create a feature branch from `main`. |
13
+ | **2. Branch** | `git checkout -b feature/#TICKET-name` | Create a feature branch from `develop`. |
14
14
  | **3. Code** | *(your IDE)* | Implement your changes following quality standards. |
15
15
  | **4. Quality** | `make quality` | Run the full quality gate. |
16
16
  | **5. Test** | `make test-all` | Ensure all tests (Vitest + BATS) are passing. |
17
17
  | **6. Commit** | `git commit -m "type(scope): #TICKET subject"` | Use [Conventional Commits][git-rules] format. |
18
- | **7. Push** | `git push origin feature/#TICKET-name` | Push and open a Merge Request to `main`. |
18
+ | **7. Push** | `git push origin feature/#TICKET-name` | Push and open a Merge Request to `develop`. |
19
19
 
20
20
  ---
21
21
 
@@ -24,12 +24,14 @@
24
24
  | Command | Tool | Description |
25
25
  | :--- | :--- | :--- |
26
26
  | `make quality` | All | Full static analysis and formatting gate. |
27
+ | `make quality-fix` | All | Apply the fixes that the tools can make. |
27
28
  | `make eslint` | ESLint | Run JS/TS static analysis. |
28
29
  | `make prettier` | Prettier | Check code formatting. |
29
30
  | `make stylelint` | Stylelint | Run SCSS/CSS static analysis. |
30
31
  | `make typecheck` | TSC | Run TypeScript type checking. |
31
32
  | `make markdownlint` | Markdownlint | Validate Markdown documentation. |
32
- | `make test` | Vitest | Run unit tests with coverage. |
33
+ | `make test` | Vitest | Run the unit tests. |
34
+ | `make test-coverage` | Vitest | Run the unit tests with the coverage report (`coverage/`): 75 % at least, as the base requires. |
33
35
  | `make bats` | BATS | Run shell script integration tests. |
34
36
 
35
37
  ---
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Project ESLint configuration.
3
- * Extends the @zairakai/js-dev-tools base config — customize as needed.
3
+ * Extends the @zairakai/js-dev-tools base config - customize as needed.
4
4
  *
5
5
  * Example of adding project-specific rules:
6
6
  * export default [
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Knip configuration — extends the @zairakai/js-dev-tools base config.
2
+ * Knip configuration - extends the @zairakai/js-dev-tools base config.
3
3
  * @see https://knip.dev/reference/configuration
4
4
  */
5
5
 
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Project Prettier configuration.
3
- * Extends the @zairakai/js-dev-tools base config — customize as needed.
3
+ * Extends the @zairakai/js-dev-tools base config - customize as needed.
4
4
  *
5
- * Example of adding project-specific overrides:
5
+ * Example of adding a project-specific plugin (the formatting options stay the ones of the base):
6
6
  * import baseConfig from '@zairakai/js-dev-tools/config/prettier.config.js'
7
7
  * export default {
8
8
  * ...baseConfig,
9
- * printWidth: 100,
9
+ * plugins: [...baseConfig.plugins, 'prettier-plugin-tailwindcss'],
10
10
  * }
11
11
  */
12
12
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Project Stylelint configuration.
3
- * Extends the @zairakai/js-dev-tools base config — customize as needed.
3
+ * Extends the @zairakai/js-dev-tools base config - customize as needed.
4
4
  *
5
5
  * Example of adding project-specific rules:
6
6
  * export default {
@@ -10,6 +10,13 @@
10
10
  * 'color-no-invalid-hex': true,
11
11
  * },
12
12
  * }
13
+ *
14
+ * Example of changing the order of the properties (each option receives a copy of the list and returns the new one):
15
+ * import { createStylelintConfig } from '@zairakai/js-dev-tools/config/stylelint.config.js'
16
+ *
17
+ * export default createStylelintConfig({
18
+ * properties: (list) => list.filter((property) => property !== 'float'),
19
+ * })
13
20
  */
14
21
 
15
22
  import baseConfig from '@zairakai/js-dev-tools/config/stylelint.config.js'
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Project Vitest configuration.
3
- * Extends the @zairakai/js-dev-tools base config — customize as needed.
3
+ * Extends the @zairakai/js-dev-tools base config - customize as needed.
4
4
  *
5
5
  * Example of adding project-specific settings (e.g. Vue plugin, jsdom):
6
6
  * import vue from '@vitejs/plugin-vue'
@@ -10,7 +10,7 @@ bats:: ## Run shell script tests (BATS)
10
10
  fi; \
11
11
  FILES=$$(find tests/bats -name "*.bats" 2>/dev/null); \
12
12
  if [ -z "$$FILES" ]; then \
13
- echo "ℹ️ No BATS tests found — skipping"; \
13
+ echo "ℹ️ No BATS tests found, skipping"; \
14
14
  else \
15
15
  bats $$FILES; \
16
16
  fi
@@ -22,7 +22,7 @@ bats-unit:: ## Run BATS unit tests
22
22
  exit 1; \
23
23
  fi; \
24
24
  if [ ! -d tests/bats/unit ] || [ -z "$$(find tests/bats/unit -name "*.bats" 2>/dev/null)" ]; then \
25
- echo "ℹ️ No BATS unit tests found — skipping"; \
25
+ echo "ℹ️ No BATS unit tests found, skipping"; \
26
26
  else \
27
27
  bats tests/bats/unit/*.bats; \
28
28
  fi
@@ -34,7 +34,7 @@ bats-integration:: ## Run BATS integration tests
34
34
  exit 1; \
35
35
  fi; \
36
36
  if [ ! -d tests/bats/integration ] || [ -z "$$(find tests/bats/integration -name "*.bats" 2>/dev/null)" ]; then \
37
- echo "ℹ️ No BATS integration tests found — skipping"; \
37
+ echo "ℹ️ No BATS integration tests found, skipping"; \
38
38
  else \
39
39
  bats tests/bats/integration/*.bats; \
40
40
  fi
@@ -1,4 +1,4 @@
1
- # Core Makefile — Zairakai NPM Dev Tools
1
+ # Core Makefile: Zairakai NPM Dev Tools
2
2
  # Aggregates all modular targets for JavaScript/TypeScript/Vue projects.
3
3
  #
4
4
  # Usage in a consumer project (Makefile):
@@ -31,10 +31,10 @@ include $(NPM_DIRECTORY_TOOLS_MAKE_DIR)markdownlint.mk
31
31
  # 3. ShellCheck validation
32
32
  include $(NPM_DIRECTORY_TOOLS_MAKE_DIR)shellcheck.mk
33
33
 
34
- # 4. Code style — ESLint + Prettier
34
+ # 4. Code style: ESLint + Prettier
35
35
  include $(NPM_DIRECTORY_TOOLS_MAKE_DIR)code-style.mk
36
36
 
37
- # 5. CSS/SCSS — Stylelint (optional)
37
+ # 5. CSS/SCSS: Stylelint (optional)
38
38
  include $(NPM_DIRECTORY_TOOLS_MAKE_DIR)stylelint.mk
39
39
 
40
40
  # 6. Dead code detection (Knip)
@@ -6,7 +6,8 @@ quality:: markdownlint shellcheck eslint prettier stylelint knip ## Run all qual
6
6
  @echo "✅ All quality checks passed"
7
7
 
8
8
  .PHONY: quality-fix
9
- quality-fix:: eslint-fix prettier-fix stylelint-fix markdownlint-fix ## Auto-fix all fixable issues
9
+ # Stylelint before Prettier: the fix of a style attribute leaves it badly spaced, and Prettier formats it again
10
+ quality-fix:: eslint-fix stylelint-fix prettier-fix markdownlint-fix ## Auto-fix all fixable issues
10
11
  @echo "✅ All auto-fixes applied"
11
12
 
12
13
  .PHONY: quality-fast
@@ -1,7 +1,7 @@
1
1
  # Variables - Zairakai NPM Dev Tools
2
2
  # Shared configuration and styling
3
3
 
4
- # Critical path detection — works from any inclusion depth
4
+ # Critical path detection: works from any inclusion depth
5
5
  NPM_DIRECTORY_TOOLS_MAKE_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
6
6
  NPM_DIRECTORY_TOOLS_PACKAGE_ROOT := $(abspath $(NPM_DIRECTORY_TOOLS_MAKE_DIR)../../)/
7
7
  NPM_DIRECTORY_TOOLS_SCRIPTS_DIR := $(NPM_DIRECTORY_TOOLS_PACKAGE_ROOT)scripts/