Skip to content

Commit

Permalink
Changes repo link for sub-packages to point to respective directories (
Browse files Browse the repository at this point in the history
…#4288)

Every gatsby package currently points to the main gatsby repo from npm.
Changing their repository value to the sub-directory allows people to
find the source for gatsby packages more easily. This is how the Babel
project does it. One also had an incorrect repository value altogether,
`gatsby-remark-custom-blocks`
  • Loading branch information
lourd authored and KyleAMathews committed Feb 28, 2018
1 parent e03ca9f commit 0e8911e
Show file tree
Hide file tree
Showing 82 changed files with 83 additions and 322 deletions.
5 changes: 1 addition & 4 deletions packages/gatsby-1-config-css-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-1-config-css-modules",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@
],
"license": "MIT",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-cli",
"scripts": {
"build": "babel src --out-dir lib --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-dev-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-dev-cli",
"scripts": {
"build": "babel src --out-dir dist",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-module-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-module-loader#readme",
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-module-loader",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-aphrodite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-aphrodite",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-canonical-urls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-canonical-urls",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-catch-links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-coffeescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@
"gatsby": "^1.0.0"
},
"readme": "README.md",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-coffeescript",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-create-client-paths/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-create-client-paths",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-cxs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-cxs",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-emotion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
"emotion-server": "7 || 8 || 9",
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-emotion",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-feed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-feed",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-glamor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-glamor",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-glamorous/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-glamorous",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-analytics",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-google-tagmanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-tagmanager",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-jss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-jss",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-less/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-less",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__,theme-test.js",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-lodash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-lodash",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-manifest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-manifest",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-netlify-cms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-netlify-cms",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-netlify",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-no-sourcemaps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,5 @@
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
}
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-no-sourcemaps"
}
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-nprogress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-nprogress",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-offline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-offline",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-postcss-sass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@
"gatsby": "^1.0.0"
},
"readme": "README.md",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-postcss-sass",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-preact",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-react-css-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-css-modules",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-react-helmet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@
"gatsby": "^1.0.0",
"react-helmet": ">=5.1.3"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-helmet",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-react-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-next",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
5 changes: 1 addition & 4 deletions packages/gatsby-plugin-remove-trailing-slashes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@
"peerDependencies": {
"gatsby": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git"
},
"repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-remove-trailing-slashes",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production npm run build",
Expand Down
Loading

0 comments on commit 0e8911e

Please sign in to comment.