GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: refresh markdown lint dependencies on lockfile changes · nodejs/node@829afea

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Makefile
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+5-4Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,10 +1475,11 @@ bench-addons-clean:
14751475
$(RM) -r benchmark/napi/*/build
14761476
$(RM) benchmark/napi/.buildstamp
14771477

1478-
ifeq ("$(wildcard tools/.mdlintstamp)","")
1479-
LINT_MD_NEWER =
1480-
else
1478+
# Recheck all Markdown when the lint dependencies change.
1479+
ifeq ($(shell test tools/.mdlintstamp -nt tools/lint-md/package-lock.json && echo 1),1)
14811480
LINT_MD_NEWER = -newer tools/.mdlintstamp
1481+
else
1482+
LINT_MD_NEWER =
14821483
endif
14831484

14841485
LINT_MD_TARGETS = doc src lib benchmark test tools/doc tools/icu $(filter-out CLAUDE.md,$(wildcard *.md))
@@ -1488,7 +1489,7 @@ LINT_MD_FILES = $(shell $(FIND) $(LINT_MD_TARGETS) -type f \
14881489
run-lint-md = tools/lint-md/lint-md.mjs $(LINT_MD_FILES)
14891490

14901491
# Check for a specific file, as (empty) directories are persisted in git.
1491-
tools/lint-md/node_modules/remark-parse/package.json:
1492+
tools/lint-md/node_modules/remark-parse/package.json: tools/lint-md/package-lock.json
14921493
-cd tools/lint-md && $(call available-node,$(run-npm-ci))
14931494

14941495
# Lint all changed markdown files maintained by us

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.