Skip to content

Commit

Permalink
[chore] Provide repository subdirectory in package manifests (#2210)
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Jan 5, 2021
1 parent f4b66a8 commit e68a435
Show file tree
Hide file tree
Showing 56 changed files with 135 additions and 63 deletions.
3 changes: 2 additions & 1 deletion examples/blog-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/blog-studio"
}
}
3 changes: 2 additions & 1 deletion examples/clean-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/clean-studio"
}
}
16 changes: 15 additions & 1 deletion examples/design-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
"start": "sanity start --port 4000"
},
"keywords": [
"sanity"
"sanity",
"cms",
"headless",
"realtime",
"content",
"design-studio"
],
"dependencies": {
"@sanity/base": "2.1.3",
Expand All @@ -31,5 +36,14 @@
},
"devDependencies": {
"typescript-plugin-css-modules": "^2.4.0"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
},
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/design-studio"
}
}
3 changes: 2 additions & 1 deletion examples/ecommerce-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/ecommerce-studio"
}
}
3 changes: 2 additions & 1 deletion examples/example-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/example-studio"
}
}
3 changes: 2 additions & 1 deletion examples/movies-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/movies-studio"
}
}
3 changes: 2 additions & 1 deletion examples/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/storybook"
}
}
3 changes: 2 additions & 1 deletion examples/test-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/test-studio"
}
}
3 changes: 2 additions & 1 deletion packages/@sanity/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/base"
},
"keywords": [
"sanity",
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/block-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/block-tools"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/cli"
},
"keywords": [
"sanity",
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/client"
},
"keywords": [
"sanity",
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/code-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/code-input"
}
}
3 changes: 2 additions & 1 deletion packages/@sanity/color-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/color-input"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/components"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/core"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/dashboard"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/data-aspects/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/data-aspects"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/default-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/default-layout"
},
"keywords": [
"sanity",
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/default-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/default-login"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/desk-tool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/desk-tool"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/diff"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/eventsource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"scripts": {},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/eventsource"
},
"keywords": [
"sanity",
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/export"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
4 changes: 3 additions & 1 deletion packages/@sanity/field/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"headless",
"realtime",
"content",
"field",
"diff"
],
"publishConfig": {
Expand All @@ -42,7 +43,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/field"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/form-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/form-builder"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/generate-help-url/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/generate-help-url"
},
"keywords": [
"sanity",
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/google-maps-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/google-maps-input"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/imagetool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/imagetool"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/import-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/import-cli"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/import"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/initial-value-templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/initial-value-templates"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/language-filter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/language-filter"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/mutator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/mutator"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/plugin-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/plugin-loader"
},
"keywords": [
"sanity",
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/preview"
}
}
3 changes: 2 additions & 1 deletion packages/@sanity/production-preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/production-preview"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/react-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
"url": "git+https://github.com/sanity-io/sanity.git",
"directory": "packages/@sanity/react-hooks"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
Loading

1 comment on commit e68a435

@vercel
Copy link

@vercel vercel bot commented on e68a435 Jan 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.