From f9f2da458d9915da044dc2363663165bec58a33d Mon Sep 17 00:00:00 2001 From: Caleb Jasik Date: Wed, 16 Jun 2021 13:09:35 -0500 Subject: [PATCH] Add repository remotes for all astro packages (#458) * Add repository remotes for all astro packages * Add repository.directory key instead of adding the path to repository.url * Include changeset * Add repository key to create-astro --- .changeset/eleven-cats-tan.md | 8 ++++++++ .changeset/rare-weeks-explode.md | 5 +++++ package.json | 4 ++++ packages/astro-parser/package.json | 5 +++++ packages/astro-prism/package.json | 5 +++++ packages/astro/package.json | 5 +++++ packages/create-astro/package.json | 5 +++++ packages/markdown-support/package.json | 5 +++++ 8 files changed, 42 insertions(+) create mode 100644 .changeset/eleven-cats-tan.md create mode 100644 .changeset/rare-weeks-explode.md diff --git a/.changeset/eleven-cats-tan.md b/.changeset/eleven-cats-tan.md new file mode 100644 index 000000000..efd90ac07 --- /dev/null +++ b/.changeset/eleven-cats-tan.md @@ -0,0 +1,8 @@ +--- +'astro': patch +'@astrojs/parser': patch +'@astrojs/prism': patch +'@astrojs/markdown-support': patch +--- + +Add repository key to all package.json diff --git a/.changeset/rare-weeks-explode.md b/.changeset/rare-weeks-explode.md new file mode 100644 index 000000000..4b2023c5d --- /dev/null +++ b/.changeset/rare-weeks-explode.md @@ -0,0 +1,5 @@ +--- +'create-astro': patch +--- + +Add repository key to package.json for create-astro diff --git a/package.json b/package.json index 507503b30..f836f2974 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,10 @@ "name": "root", "version": "0.0.0", "private": true, + "repository": { + "type": "git", + "url": "https://github.com/snowpackjs/astro.git" + }, "scripts": { "release": "yarn build && yarn changeset publish", "benchmark": "yarn workspace astro run benchmark", diff --git a/packages/astro-parser/package.json b/packages/astro-parser/package.json index f9feb3102..ced87269b 100644 --- a/packages/astro-parser/package.json +++ b/packages/astro-parser/package.json @@ -6,6 +6,11 @@ "type": "commonjs", "main": "./dist/index.js", "types": "./dist/index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/snowpackjs/astro.git", + "directory": "packages/astro-parser" + }, "files": [ "dist" ], diff --git a/packages/astro-prism/package.json b/packages/astro-prism/package.json index fc4af332e..a392b9576 100644 --- a/packages/astro-prism/package.json +++ b/packages/astro-prism/package.json @@ -3,6 +3,11 @@ "version": "0.2.1", "description": "IYKYK", "main": "index.mjs", + "repository": { + "type": "git", + "url": "https://github.com/snowpackjs/astro.git", + "directory": "packages/astro-prism" + }, "scripts": { "build": "echo 'build'", "test": "echo \"Error: no test specified\" && exit 1" diff --git a/packages/astro/package.json b/packages/astro/package.json index 78a9ab84d..2c9dc34a4 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -5,6 +5,11 @@ "license": "MIT", "type": "module", "types": "./dist/types", + "repository": { + "type": "git", + "url": "https://github.com/snowpackjs/astro.git", + "directory": "packages/astro" + }, "exports": { ".": "./astro.mjs", "./package.json": "./package.json", diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index 300f6b1b7..95bc2417d 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -2,6 +2,11 @@ "name": "create-astro", "version": "0.3.2", "type": "module", + "repository": { + "type": "git", + "url": "https://github.com/snowpackjs/astro.git", + "directory": "packages/create-astro" + }, "exports": { ".": "./create-astro.js" }, diff --git a/packages/markdown-support/package.json b/packages/markdown-support/package.json index f1418a1e5..204f6811c 100644 --- a/packages/markdown-support/package.json +++ b/packages/markdown-support/package.json @@ -3,6 +3,11 @@ "version": "0.1.1", "main": "./dist/index.js", "type": "commonjs", + "repository": { + "type": "git", + "url": "https://github.com/snowpackjs/astro.git", + "directory": "packages/markdown-support" + }, "exports": { ".": "./dist/index.js" },