-
-
Notifications
You must be signed in to change notification settings - Fork 219
Tweak npm scripts #1186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tweak npm scripts #1186
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
run: npm ci | ||
|
||
- name: Build docs | ||
run: mkdocs build --strict | ||
run: npm run build | ||
|
||
- name: Test | ||
run: npm test |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,11 +16,12 @@ | |
}, | ||
"homepage": "https://docs.pi-hole.net/", | ||
"scripts": { | ||
"build": "mkdocs build --clean", | ||
"build": "mkdocs build --clean --strict", | ||
"markdownlint": "markdownlint-cli2 \"**/*.md\" \"!**/node_modules/**\"", | ||
"linkinator": "npm run build && linkinator site --recurse --silent --skip \"^(?!http://localhost)\"", | ||
"linkinator": "linkinator site --recurse --silent --skip \"^(?!http://localhost)\"", | ||
"test": "npm run markdownlint && npm run linkinator", | ||
"serve": "mkdocs serve --dev-addr 0.0.0.0:8000" | ||
"serve": "mkdocs serve --dev-addr 0.0.0.0:8000", | ||
"start": "npm run serve" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I'm a bit undecided about this. There is not much difference in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The difference is that one can do |
||
}, | ||
"devDependencies": { | ||
"linkinator": "^6.1.2", | ||
|
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.
Personally, I'd like to keep this the same as Netlify. So, let's wait after #1194 is done.