summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Caleb Jasik <calebjasik@jasik.xyz> 2021-06-16 13:09:35 -0500
committerGravatar GitHub <noreply@github.com> 2021-06-16 14:09:35 -0400
commitf9f2da458d9915da044dc2363663165bec58a33d (patch)
treea2d2b027ea737d9bbc93f2a5369f75fb5c593e9a
parent7fdb7ceca6da1fe57cabb29ba4b095260bfda71b (diff)
downloadastro-f9f2da458d9915da044dc2363663165bec58a33d.tar.gz
astro-f9f2da458d9915da044dc2363663165bec58a33d.tar.zst
astro-f9f2da458d9915da044dc2363663165bec58a33d.zip
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
-rw-r--r--.changeset/eleven-cats-tan.md8
-rw-r--r--.changeset/rare-weeks-explode.md5
-rw-r--r--package.json4
-rw-r--r--packages/astro-parser/package.json5
-rw-r--r--packages/astro-prism/package.json5
-rw-r--r--packages/astro/package.json5
-rw-r--r--packages/create-astro/package.json5
-rw-r--r--packages/markdown-support/package.json5
8 files changed, 42 insertions, 0 deletions
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"
},