Skip to content

Commit

Permalink
Add homepage and repository properties for published package.json fil…
Browse files Browse the repository at this point in the history
…es (#1198)

* add homepage and repository for published package.json files

* add homepage to babel-plugin-package-import

* add repository.directory setting

Co-authored-by: Patrick Miller <>
  • Loading branch information
Patrick Miller authored Oct 4, 2020
1 parent 339a47f commit 0f50082
Show file tree
Hide file tree
Showing 31 changed files with 182 additions and 1 deletion.
6 changes: 6 additions & 0 deletions create-snowpack-app/app-scripts-lit-element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
"access": "public"
},
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-scripts-lit-element#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-scripts-lit-element"
},
"dependencies": {
"@babel/core": "^7.10.5",
"@snowpack/plugin-babel": "^2.1.1",
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/app-scripts-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
"access": "public"
},
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-scripts-preact#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-scripts-preact"
},
"dependencies": {
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/app-scripts-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
"access": "public"
},
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-scripts-react#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-scripts-react"
},
"dependencies": {
"@babel/core": "^7.10.5",
"@babel/preset-react": "^7.10.4",
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/app-scripts-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
"access": "public"
},
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-scripts-svelte#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-scripts-svelte"
},
"peerDependencies": {
"svelte": "^3.21.0"
},
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/app-scripts-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "1.8.6",
"main": "snowpack.config.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-scripts-vue#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-scripts-vue"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/app-template-11ty/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "@snowpack/app-template-11ty",
"version": "1.8.1",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-template-11ty#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-template-11ty"
},
"keywords": [
"csa-template"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "@snowpack/app-template-blank-typescript",
"version": "1.9.1",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-template-blank-typescript#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-template-blank-typescript"
},
"keywords": [
"csa-template"
],
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/app-template-blank/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "@snowpack/app-template-blank",
"version": "1.6.13",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-template-blank#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-template-blank"
},
"keywords": [
"csa-template"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "@snowpack/app-template-lit-element-typescript",
"version": "1.10.0",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-template-lit-element-typescript#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-template-lit-element-typescript"
},
"keywords": [
"csa-template"
],
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/app-template-lit-element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "@snowpack/app-template-lit-element",
"version": "1.9.0",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-template-lit-element#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-template-lit-element"
},
"keywords": [
"csa-template"
],
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/app-template-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "@snowpack/app-template-preact",
"version": "1.10.0",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-template-preact#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-template-preact"
},
"keywords": [
"csa-template"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "@snowpack/app-template-react-typescript",
"version": "1.12.0",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-template-react-typescript#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-template-react-typescript"
},
"keywords": [
"csa-template"
],
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/app-template-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "@snowpack/app-template-react",
"version": "1.10.0",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-template-react#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-template-react"
},
"keywords": [
"csa-template"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "@snowpack/app-template-svelte-typescript",
"version": "1.10.0",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-template-svelte-typescript#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-template-svelte-typescript"
},
"keywords": [
"csa-template"
],
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/app-template-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "@snowpack/app-template-svelte",
"version": "1.9.0",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-template-svelte#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-template-svelte"
},
"keywords": [
"csa-template"
],
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/app-template-vue-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "@snowpack/app-template-vue-typescript",
"version": "1.10.0",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-template-vue-typescript#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-template-vue-typescript"
},
"keywords": [
"csa-template"
],
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/app-template-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "@snowpack/app-template-vue",
"version": "1.10.0",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/app-template-vue#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/app-template-vue"
},
"keywords": [
"csa-template"
],
Expand Down
6 changes: 6 additions & 0 deletions create-snowpack-app/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "create-snowpack-app",
"version": "1.8.2",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/create-snowpack-app/cli#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "create-snowpack-app/cli"
},
"publishConfig": {
"access": "public"
},
Expand Down
3 changes: 2 additions & 1 deletion esinstall/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"homepage": "https://github.com/pikapkg/snowpack/tree/master/esinstall#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git"
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "esinstall"
},
"publishConfig": {
"access": "public"
Expand Down
6 changes: 6 additions & 0 deletions plugins/babel-plugin-package-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "1.1.3",
"main": "plugin.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/plugins/babel-plugin-package-import#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "plugins/babel-plugin-package-import"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions plugins/plugin-babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "2.1.1",
"main": "plugin.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/plugins/plugin-babel#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "plugins/plugin-babel"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions plugins/plugin-build-script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"name": "@snowpack/plugin-build-script",
"main": "plugin.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/plugins/plugin-build-script#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "plugins/plugin-build-script"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions plugins/plugin-dotenv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "2.0.2",
"main": "plugin.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/plugins/plugin-dotenv#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "plugins/plugin-dotenv"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions plugins/plugin-optimize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "0.2.2",
"main": "plugin.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/plugins/plugin-optimize#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "plugins/plugin-optimize"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions plugins/plugin-parcel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "2.0.4",
"main": "plugin.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/plugins/plugin-parcel#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "plugins/plugin-parcel"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions plugins/plugin-postcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "1.0.4",
"main": "plugin.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/plugins/plugin-postcss#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "plugins/plugin-postcss"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions plugins/plugin-react-refresh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "2.3.0",
"main": "plugin.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/plugins/plugin-react-refresh#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "plugins/plugin-react-refresh"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions plugins/plugin-run-script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"name": "@snowpack/plugin-run-script",
"main": "plugin.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/plugins/plugin-run-script#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "plugins/plugin-run-script"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions plugins/plugin-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "2.1.0",
"main": "plugin.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/plugins/plugin-svelte#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "plugins/plugin-svelte"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions plugins/plugin-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "2.2.1",
"main": "plugin.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/plugins/plugin-vue#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "plugins/plugin-vue"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions plugins/plugin-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "2.0.13",
"main": "plugin.js",
"license": "MIT",
"homepage": "https://github.com/pikapkg/snowpack/tree/master/plugins/plugin-webpack#readme",
"repository": {
"type": "git",
"url": "https://github.com/pikapkg/snowpack.git",
"directory": "plugins/plugin-webpack"
},
"publishConfig": {
"access": "public"
},
Expand Down

1 comment on commit 0f50082

@vercel
Copy link

@vercel vercel bot commented on 0f50082 Oct 4, 2020

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.