-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add directory details to packages/*/package.json (#3301)
Specifying the directory as part of the `repository` field in a `package.json` allows third party tools to provide better support when working with monorepos. For example, it allows them to correctly construct a commit diff for a specific package. This format was accepted by npm in [npm/rfcs#19](npm/rfcs#19).
- Loading branch information
Showing
18 changed files
with
36 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,7 +72,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/core" | ||
}, | ||
"keywords": [ | ||
"palantir", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/datetime" | ||
}, | ||
"keywords": [ | ||
"palantir", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/docs-app" | ||
}, | ||
"keywords": [ | ||
"palantir", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/docs-data" | ||
}, | ||
"author": "Palantir Technologies", | ||
"license": "SEE LICENSE IN REPO ROOT" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/docs-theme" | ||
}, | ||
"keywords": [ | ||
"palantir", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/icons" | ||
}, | ||
"keywords": [ | ||
"palantir", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/karma-build-scripts" | ||
}, | ||
"author": "Palantir Technologies", | ||
"license": "SEE LICENSE IN LICENSE" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/labs" | ||
}, | ||
"keywords": [ | ||
"palantir", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/landing-app" | ||
}, | ||
"keywords": [ | ||
"blueprint", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/node-build-scripts" | ||
}, | ||
"author": "Palantir Technologies", | ||
"license": "SEE LICENSE IN LICENSE" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/select" | ||
}, | ||
"keywords": [ | ||
"palantir", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/table-dev-app" | ||
}, | ||
"author": "Palantir Technologies", | ||
"license": "SEE LICENSE IN REPO ROOT" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/table" | ||
}, | ||
"keywords": [ | ||
"palantir", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/test-commons" | ||
}, | ||
"author": "Palantir Technologies", | ||
"license": "SEE LICENSE IN LICENSE" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/test-react15" | ||
}, | ||
"author": "Palantir Technologies", | ||
"license": "SEE LICENSE IN REPO ROOT" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/timezone" | ||
}, | ||
"keywords": [ | ||
"palantir", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/tslint-config" | ||
}, | ||
"author": "Palantir Technologies", | ||
"license": "SEE LICENSE IN LICENSE" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,8 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:palantir/blueprint.git" | ||
"url": "[email protected]:palantir/blueprint.git", | ||
"directory": "packages/webpack-build-scripts" | ||
}, | ||
"author": "Palantir Technologies", | ||
"license": "SEE LICENSE IN LICENSE" | ||
|
40d2c22
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.
Add directory details to packages/*/package.json (#3301)
Previews: documentation | landing | table