Skip to content

Commit a3c9d0a

Browse files
committed
Updated repository in package.json
- This is a more modern / up-to-date structure for repository - It's correct according to package.json docs (unlike using a URL directly) - I'm updating this where I find it - for consistency
1 parent d01adf4 commit a3c9d0a

File tree

19 files changed

+87
-19
lines changed

19 files changed

+87
-19
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"private": true,
3-
"repository": "https://github.com/TryGhost/SDK",
3+
"repository": {
4+
"type": "git",
5+
"url": "git+https://github.com/TryGhost/SDK.git"
6+
},
47
"author": "Ghost Foundation",
58
"license": "MIT",
69
"workspaces": [

packages/adapter-base-cache/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.15",
44
"repository": {
55
"type": "git",
6-
"url": "https://github.com/TryGhost/SDK.git",
6+
"url": "git+https://github.com/TryGhost/SDK.git",
77
"directory": "packages/adapter-base-cache"
88
},
99
"author": "Ghost Foundation",

packages/admin-api-schema/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"name": "@tryghost/admin-api-schema",
33
"version": "4.5.8",
4-
"repository": "https://github.com/TryGhost/SDK/tree/main/packages/admin-api-schema",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/TryGhost/SDK.git",
7+
"directory": "packages/admin-api-schema"
8+
},
59
"author": "Ghost Foundation",
610
"license": "MIT",
711
"main": "index.js",

packages/admin-api/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"name": "@tryghost/admin-api",
33
"version": "1.13.15",
4-
"repository": "https://github.com/TryGhost/SDK/tree/main/packages/admin-api",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/TryGhost/SDK.git",
7+
"directory": "packages/admin-api"
8+
},
59
"author": "Ghost Foundation",
610
"license": "MIT",
711
"main": "index.js",

packages/color-utils/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"name": "@tryghost/color-utils",
33
"version": "0.2.5",
4-
"repository": "https://github.com/TryGhost/SDK/tree/main/packages/color-utils",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/TryGhost/SDK.git",
7+
"directory": "packages/color-utils"
8+
},
59
"author": "Ghost Foundation",
610
"license": "MIT",
711
"main": "cjs/color-utils.js",

packages/config-url-helpers/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"name": "@tryghost/config-url-helpers",
33
"version": "1.0.15",
4-
"repository": "https://github.com/TryGhost/SDK/tree/main/packages/config-url-helpers",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/TryGhost/SDK.git",
7+
"directory": "packages/config-url-helpers"
8+
},
59
"author": "Ghost Foundation",
610
"license": "MIT",
711
"main": "index.js",

packages/content-api/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"name": "@tryghost/content-api",
33
"version": "1.11.24",
4-
"repository": "https://github.com/TryGhost/SDK/tree/main/packages/content-api",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/TryGhost/SDK.git",
7+
"directory": "packages/content-api"
8+
},
59
"author": "Ghost Foundation",
610
"license": "MIT",
711
"main": "cjs/content-api.js",

packages/custom-fonts/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"name": "@tryghost/custom-fonts",
33
"version": "1.0.0",
4-
"repository": "https://github.com/TryGhost/SDK/tree/main/packages/custom-fonts",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/TryGhost/SDK.git",
7+
"directory": "packages/custom-fonts"
8+
},
59
"author": "Ghost Foundation",
610
"publishConfig": {
711
"access": "public"

packages/helpers-gatsby/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"name": "@tryghost/helpers-gatsby",
33
"version": "2.0.24",
4-
"repository": "https://github.com/TryGhost/SDK/tree/main/packages/helpers-gatsby",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/TryGhost/SDK.git",
7+
"directory": "packages/helpers-gatsby"
8+
},
59
"author": "Ghost Foundation",
610
"license": "MIT",
711
"main": "./lib/index.js",

packages/helpers/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"name": "@tryghost/helpers",
33
"version": "1.1.93",
4-
"repository": "https://github.com/TryGhost/SDK/tree/main/packages/helpers",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/TryGhost/SDK.git",
7+
"directory": "packages/helpers"
8+
},
59
"author": "Ghost Foundation",
610
"license": "MIT",
711
"main": "cjs/helpers.js",

0 commit comments

Comments
 (0)