Skip to content

Commit

Permalink
tools: relocate remark-preset-lint-node
Browse files Browse the repository at this point in the history
PR-URL: #20109
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
refack authored and targos committed Sep 11, 2018
1 parent 25e1060 commit 350a3e1
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .remarkrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"plugins": [
"./tools/remark-preset-lint-node/"
"./tools/node-lint-md-cli-rollup/remark-preset-lint-node/"
]
}
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1058,22 +1058,22 @@ bench-addons-clean:
.PHONY: lint-md-clean
lint-md-clean:
$(RM) -r tools/remark-cli/node_modules
$(RM) -r tools/remark-preset-lint-node/node_modules
$(RM) -r tools/node-lint-md-cli-rollup/remark-preset-lint-node/node_modules
$(RM) tools/.*mdlintstamp

tools/remark-cli/node_modules: tools/remark-cli/package.json
@echo "Markdown linter: installing remark-cli into tools/"
@cd tools/remark-cli && $(call available-node,$(run-npm-ci))

tools/remark-preset-lint-node/node_modules: \
tools/remark-preset-lint-node/package.json
@echo "Markdown linter: installing remark-preset-lint-node into tools/"
@cd tools/remark-preset-lint-node && $(call available-node,$(run-npm-ci))
tools/node-lint-md-cli-rollup/remark-preset-lint-node/node_modules: \
tools/node-lint-md-cli-rollup/remark-preset-lint-node/package.json
@echo "Markdown linter: installing remark-preset-lint-node"
@cd tools/node-lint-md-cli-rollup/remark-preset-lint-node && $(call available-node,$(run-npm-ci))

.PHONY: lint-md-build
lint-md-build: tools/remark-cli/node_modules \
tools/doc/node_modules \
tools/remark-preset-lint-node/node_modules
tools/node-lint-md-cli-rollup/remark-preset-lint-node/node_modules

tools/doc/node_modules: tools/doc/package.json
ifeq ($(node_use_openssl),true)
Expand Down
3 changes: 2 additions & 1 deletion tools/node-lint-md-cli-rollup/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/node_modules/
/dist/
/remark-preset-lint-node/node_modules/
/dist/
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 350a3e1

Please sign in to comment.