Skip to content

Commit

Permalink
Add repository.directory field to package.jsons
Browse files Browse the repository at this point in the history
This change updates the `repository` field in all `package.json`s to add a `directory`.
This also modifies the scripts to get the repository URLs.

Closes GH-268.
Closes GH-269.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
ybiquitous authored Aug 16, 2021
1 parent b9d3848 commit 359cd08
Show file tree
Hide file tree
Showing 78 changed files with 411 additions and 94 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"private": true,
"license": "MIT",
"repository": "https://github.com/remarkjs/remark-lint",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-blockquote-indentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"indentation",
"indent"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-blockquote-indentation",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-blockquote-indentation"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-checkbox-character-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
"task",
"list"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-checkbox-character-style",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-checkbox-character-style"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-checkbox-content-indent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
"task",
"list"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-checkbox-content-indent",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-checkbox-content-indent"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-code-block-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"code",
"block"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-code-block-style",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-code-block-style"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-definition-case/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"definition",
"case"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-definition-case",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-definition-case"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-definition-spacing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"definition",
"spacing"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-definition-spacing",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-definition-spacing"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-emphasis-marker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"emphasis",
"marker"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-emphasis-marker",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-emphasis-marker"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-fenced-code-flag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
"flag",
"infostring"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-fenced-code-flag",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-fenced-code-flag"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-fenced-code-marker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"code",
"marker"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-fenced-code-marker",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-fenced-code-marker"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-file-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"extension",
"extname"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-file-extension",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-file-extension"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-final-definition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"position",
"final"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-final-definition",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-final-definition"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-final-newline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"newline",
"unix"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-final-newline",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-final-newline"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-first-heading-level/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
"level",
"depth"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-first-heading-level",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-first-heading-level"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-hard-break-spaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
"spaces",
"size"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-hard-break-spaces",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-hard-break-spaces"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-heading-increment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"increment",
"increase"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-heading-increment",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-heading-increment"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-heading-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
"atx",
"setext"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-heading-style",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-heading-style"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-linebreak-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
"crlf",
"lf"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-linebreak-style",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-linebreak-style"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-link-title-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
"definition",
"style"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-link-title-style",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-link-title-style"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-list-item-bullet-indent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"item",
"indent"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-bullet-indent",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-list-item-bullet-indent"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-list-item-content-indent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
"content",
"indent"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-content-indent",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-list-item-content-indent"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-list-item-indent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"item",
"indent"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-indent",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-list-item-indent"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-list-item-spacing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
"loose",
"tight"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-spacing",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-list-item-spacing"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-maximum-heading-length/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"heading",
"length"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-maximum-heading-length",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-maximum-heading-length"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-maximum-line-length/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"line",
"length"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-maximum-line-length",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-maximum-line-length"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"link",
"protocol"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-auto-link-without-protocol",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-no-auto-link-without-protocol"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"caret",
"marker"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-blockquote-without-marker",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-no-blockquote-without-marker"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-no-consecutive-blank-lines/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"blank",
"lines"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-consecutive-blank-lines",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-no-consecutive-blank-lines"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-no-duplicate-defined-urls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
"definition",
"url"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-duplicate-defined-urls",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-no-duplicate-defined-urls"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
6 changes: 5 additions & 1 deletion packages/remark-lint-no-duplicate-definitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"duplicate",
"definition"
],
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-duplicate-definitions",
"repository": {
"type": "git",
"url": "https://github.com/remarkjs/remark-lint",
"directory": "packages/remark-lint-no-duplicate-definitions"
},
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
Expand Down
Loading

0 comments on commit 359cd08

Please sign in to comment.