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 — tools: rolled up lint-md by refack · Pull Request #20109 · nodejs/node

Conversation

@refack

@refack refack commented Apr 17, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

replace remark-cli and remark-preset-lint-node with a "rolled-up" single file.

  • Should solve all build & Makefile issue
  • very size economic (17KB instead of 20MB ~1300 files)
  • includes all recipes for re rolling & updating

/CC @wooorm @nodejs/build
H/T: @rollup

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

wooorm, lpinca, BridgeAR, gibfahn, and styfle reacted with thumbs up emoji
All reactions
  • 👍 5 reactions
@refack refack added wip Issues and PRs that are still a work in progress. doc Issues and PRs related to Node.js documentation. build Issues and PRs related to Node.js builds or CI infrastructure. tools Issues and PRs related to the tools directory. labels Apr 17, 2018
@refack refack self-assigned this Apr 17, 2018
@refack
refack requested review from MylesBorins, Trott, joyeecheung, targos, vsemozhetbyt and watilde April 17, 2018 16:40
@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. meta Issues and PRs related to the general management of the project. tools Issues and PRs related to the tools directory. labels Apr 17, 2018
@refack

refack commented Apr 17, 2018

Copy link
Copy Markdown
Contributor Author

https://ci.nodejs.org/job/node-test-commit-lite/709/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

vsemozhetbyt
vsemozhetbyt reviewed Apr 17, 2018
View reviewed changes
Comment thread tools/node-lint-md-cli-rollup/.gitignore Outdated

@vsemozhetbyt vsemozhetbyt Apr 17, 2018

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: missing line break at EOF.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
richardlau
richardlau reviewed Apr 17, 2018
View reviewed changes
Comment thread tools/remark-cli/LICENSE Outdated

@richardlau richardlau Apr 17, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please could you update

node/tools/license-builder.sh

Line 88 in e86b319

addlicense "remark-cli" "tools/remark-cli" "$(cat ${rootdir}/tools/remark-cli/LICENSE)"
?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gibfahn

gibfahn commented Apr 18, 2018

Copy link
Copy Markdown
Member

This sounds like a great solution to the problem. If it works we should probably consider doing the same for eslint.

joyeecheung, BridgeAR, and lpinca reacted with thumbs up emoji
All reactions
  • 👍 3 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

joyeecheung
joyeecheung reviewed Apr 19, 2018
View reviewed changes
Comment thread tools/node-lint-md-cli-rollup/package.json Outdated

@joyeecheung joyeecheung Apr 19, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The lint-md-build makefile target is removed, can you add it back with a command that runs this?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@refack refack Sep 6, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since our CI runs this for every lint, I've made make lint-md-build a no-op, and added make lint-md-rollup

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@joyeecheung

joyeecheung commented Apr 19, 2018

Copy link
Copy Markdown
Member

Very nice work. Thank you for working on this!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jasnell
jasnell approved these changes Apr 19, 2018
View reviewed changes
devsnek
devsnek approved these changes Apr 19, 2018
View reviewed changes
@BridgeAR

BridgeAR commented Apr 25, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

This is marked as WIP @refack is there anything else to do to get this landed (besides open comments)?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@refack

refack commented Apr 27, 2018

Copy link
Copy Markdown
Contributor Author

refack is there anything else to do to get this landed (besides open comments)?

I was hoping for some feedback on how we should track the license, and document this. Also i'm not sure how to test the new script...

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joyeecheung

joyeecheung commented Apr 28, 2018

Copy link
Copy Markdown
Member

@refack I think writing a bad .md in the root directory then running make lint-md expecting a non-zero exit code and some output complaining about it should be enough. Can be part of the doctool test suite. If we don't want to always run it we can just tweak the makefile and/or vcbuild.bat, it should be fine as long as it's run in the linter CI.

refack reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Apr 28, 2018
tools: don't create package-lock.json #17330
Closed
build: search missing dependencies on lint-md #19249
Closed
@bzoz bzoz mentioned this pull request May 2, 2018
win, build: add documentation support to vcbuild #19663
Closed
2 tasks done
@BridgeAR

BridgeAR commented May 15, 2018

Copy link
Copy Markdown
Member

Ping @refack

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BridgeAR

BridgeAR commented May 25, 2018

Copy link
Copy Markdown
Member

I guess it is a good idea to do this but I am going to close this due to no response. If anyone feels like taking a stab at this, that would be great.

@refack please reopen in case you want to continue working on this.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@refack

refack commented Sep 6, 2018

Copy link
Copy Markdown
Contributor Author

Why should this not trigger the rollup?

Also lint-md-rollup uses npm up, and there is some spesific workaround code in the rollup config that could break:
https://github.com/nodejs/node/blob/67b6082e119b85551e5dcf4243b09f08f50f42ce/tools/node-lint-md-cli-rollup/rollup.config.js#L28-L36

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@refack

refack commented Sep 7, 2018

Copy link
Copy Markdown
Contributor Author

https://ci.nodejs.org/job/node-test-pull-request/17071/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

refack added 5 commits September 11, 2018 14:12
@refack
tools: vendor in node-lint-md-cli-rollup
d3442f2
PR-URL: nodejs#20109
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
@refack
tools: update node-lint-md-cli-rollup
2120dac
PR-URL: nodejs#20109
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
@refack
tools: relocate remark-preset-lint-node
7fcc178
PR-URL: nodejs#20109
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
@refack
tools: make lint-md-rollup & checkin lint-md.js
fe6c74c
PR-URL: nodejs#20109
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
@refack
tools: use lint-md.js
e4dd213
* remove unused `tools/remark-cli`
* vcbuild tested with `vcbuild nobuild noprojgen lint-md-build lint-md`

PR-URL: nodejs#20109
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
@refack
refack force-pushed the rolled-up-lint-md branch from 67b6082 to e4dd213 Compare September 11, 2018 18:13
@refack
refack merged commit e4dd213 into nodejs:master Sep 11, 2018
@refack

refack commented Sep 11, 2018

Copy link
Copy Markdown
Contributor Author

Landed in
d3442f2
2120dac
7fcc178
fe6c74c
e4dd213

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@refack
refack deleted the rolled-up-lint-md branch September 11, 2018 18:14
targos pushed a commit that referenced this pull request Sep 11, 2018
@refack @targos
tools: vendor in node-lint-md-cli-rollup
37b27a5
PR-URL: #20109
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
targos pushed a commit that referenced this pull request Sep 11, 2018
@refack @targos
tools: update node-lint-md-cli-rollup
25e1060
PR-URL: #20109
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
targos pushed a commit that referenced this pull request Sep 11, 2018
@refack @targos
tools: relocate remark-preset-lint-node
350a3e1
PR-URL: #20109
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
targos pushed a commit that referenced this pull request Sep 11, 2018
@refack @targos
tools: make lint-md-rollup & checkin lint-md.js
22fefae
PR-URL: #20109
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
targos pushed a commit that referenced this pull request Sep 11, 2018
@refack @targos
tools: use lint-md.js
d03ce9d
* remove unused `tools/remark-cli`
* vcbuild tested with `vcbuild nobuild noprojgen lint-md-build lint-md`

PR-URL: #20109
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
@targos targos mentioned this pull request Sep 18, 2018
Release proposal: v10.11.0 #22932
Merged
targos added a commit to targos/node that referenced this pull request Sep 21, 2018
@targos
build,doc: remove outdated lint-md-build
07cd754
- In release guide
- In Travis config

Refs: nodejs#20109
@targos targos mentioned this pull request Sep 21, 2018
build,doc: remove outdated lint-md-build #22991
Closed
addaleax pushed a commit that referenced this pull request Sep 22, 2018
@targos @addaleax
build,doc: remove outdated lint-md-build
70f168b
- In release guide
- In Travis config

Refs: #20109

PR-URL: #22991
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
targos added a commit that referenced this pull request Sep 23, 2018
@targos
build,doc: remove outdated lint-md-build
4db9e36
- In release guide
- In Travis config

Refs: #20109

PR-URL: #22991
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@refack refack removed their assignment Oct 12, 2018
@richardlau richardlau mentioned this pull request Nov 5, 2018
possible make lint-md-build bug #21648
Closed
MylesBorins pushed a commit that referenced this pull request Nov 26, 2018
@targos @MylesBorins
build,doc: remove outdated lint-md-build
0f608e9
- In release guide
- In Travis config

Refs: #20109

PR-URL: #22991
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
rvagg pushed a commit that referenced this pull request Nov 28, 2018
@targos @rvagg
build,doc: remove outdated lint-md-build
15d1f67
- In release guide
- In Travis config

Refs: #20109

PR-URL: #22991
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@joyeecheung joyeecheung joyeecheung left review comments
@richardlau richardlau richardlau left review comments
@jasnell jasnell jasnell approved these changes
@BridgeAR BridgeAR BridgeAR approved these changes
@Trott Trott Awaiting requested review from Trott
@watilde watilde Awaiting requested review from watilde
@silverwind silverwind Awaiting requested review from silverwind
+2 more reviewers
@vsemozhetbyt vsemozhetbyt vsemozhetbyt left review comments
@devsnek devsnek devsnek approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. doc Issues and PRs related to Node.js documentation. tools Issues and PRs related to the tools directory.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

9 participants

@refack @gibfahn @joyeecheung @BridgeAR @jasnell @richardlau @devsnek @vsemozhetbyt @nodejs-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.