From 5f5dc60976254750e1c51c15ce6327adbd5a21ab Mon Sep 17 00:00:00 2001 From: Francois Valdy Date: Mon, 13 Dec 2021 22:14:34 +0100 Subject: [PATCH] Add missing licenses to published packages (#2166) * chore: add missing licenses * chore: update package.json info Co-authored-by: Nate Moore --- packages/astro-parser/package.json | 10 ++++++---- packages/astro-prism/package.json | 10 ++++++---- packages/astro/package.json | 7 ++++--- packages/create-astro/package.json | 4 ++++ packages/markdown/remark/package.json | 6 +++++- packages/renderers/renderer-lit/package.json | 6 +++++- packages/renderers/renderer-preact/package.json | 6 +++++- packages/renderers/renderer-react/package.json | 6 +++++- packages/renderers/renderer-solid/package.json | 6 +++++- packages/renderers/renderer-svelte/package.json | 6 +++++- packages/renderers/renderer-vue/package.json | 6 +++++- 11 files changed, 55 insertions(+), 18 deletions(-) diff --git a/packages/astro-parser/package.json b/packages/astro-parser/package.json index 3f4793dbf..7b8774b82 100644 --- a/packages/astro-parser/package.json +++ b/packages/astro-parser/package.json @@ -1,16 +1,18 @@ { "name": "@astrojs/parser", "version": "0.20.3", - "author": "Skypack", - "license": "MIT", "type": "commonjs", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "author": "withastro", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/withastro/astro.git", "directory": "packages/astro-parser" }, + "bugs": "https://github.com/withastro/astro/issues", + "homepage": "https://astro.build", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", "files": [ "dist" ], diff --git a/packages/astro-prism/package.json b/packages/astro-prism/package.json index 542b5b6ee..61353f9c5 100644 --- a/packages/astro-prism/package.json +++ b/packages/astro-prism/package.json @@ -1,21 +1,23 @@ { "name": "@astrojs/prism", "version": "0.3.0", - "description": "IYKYK", - "main": "index.mjs", + "description": "Supports Prism highlighting in Astro projects", + "author": "withastro", + "license": "MIT", + "bugs": "https://github.com/withastro/astro/issues", "repository": { "type": "git", "url": "https://github.com/withastro/astro.git", "directory": "packages/astro-prism" }, + "homepage": "https://astro.build", + "main": "index.mjs", "scripts": {}, "exports": { ".": "./index.mjs" }, "types": "./index.d.ts", "keywords": [], - "author": "Skypack", - "license": "MIT", "devDependencies": { "prismjs": "^1.23.0" }, diff --git a/packages/astro/package.json b/packages/astro/package.json index b706e1916..4617c0a6b 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -2,16 +2,17 @@ "name": "astro", "version": "0.21.12", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", + "type": "module", "author": "withastro", "license": "MIT", - "homepage": "https://astro.build", - "type": "module", - "types": "./dist/types/@types/astro.d.ts", "repository": { "type": "git", "url": "https://github.com/withastro/astro.git", "directory": "packages/astro" }, + "bugs": "https://github.com/withastro/astro/issues", + "homepage": "https://astro.build", + "types": "./dist/types/@types/astro.d.ts", "exports": { ".": "./astro.js", "./client/*": "./dist/runtime/client/*", diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index 58b278406..31aff2cb1 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -2,11 +2,15 @@ "name": "create-astro", "version": "0.6.10", "type": "module", + "author": "withastro", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/withastro/astro.git", "directory": "packages/create-astro" }, + "bugs": "https://github.com/withastro/astro/issues", + "homepage": "https://astro.build", "exports": { ".": "./create-astro.mjs" }, diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 089dc341d..7aa98acb2 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,13 +1,17 @@ { "name": "@astrojs/markdown-remark", "version": "0.5.0", - "main": "./dist/index.js", "type": "module", + "author": "withastro", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/withastro/astro.git", "directory": "packages/markdown/remark" }, + "bugs": "https://github.com/withastro/astro/issues", + "homepage": "https://astro.build", + "main": "./dist/index.js", "exports": { ".": "./dist/index.js" }, diff --git a/packages/renderers/renderer-lit/package.json b/packages/renderers/renderer-lit/package.json index 56c35211e..4f4b667d7 100644 --- a/packages/renderers/renderer-lit/package.json +++ b/packages/renderers/renderer-lit/package.json @@ -2,12 +2,16 @@ "name": "@astrojs/renderer-lit", "version": "0.2.1", "description": "Use Lit components within Astro", + "type": "module", + "author": "withastro", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/withastro/astro.git", "directory": "packages/renderers/renderer-lit" }, - "type": "module", + "bugs": "https://github.com/withastro/astro/issues", + "homepage": "https://astro.build", "exports": { ".": "./index.js", "./*": "./*", diff --git a/packages/renderers/renderer-preact/package.json b/packages/renderers/renderer-preact/package.json index c9e174f33..2312ae228 100644 --- a/packages/renderers/renderer-preact/package.json +++ b/packages/renderers/renderer-preact/package.json @@ -2,12 +2,16 @@ "name": "@astrojs/renderer-preact", "description": "Use Preact components within Astro", "version": "0.3.2", + "type": "module", + "author": "withastro", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/withastro/astro.git", "directory": "packages/renderers/renderer-preact" }, - "type": "module", + "bugs": "https://github.com/withastro/astro/issues", + "homepage": "https://astro.build", "exports": { ".": "./index.js", "./*": "./*", diff --git a/packages/renderers/renderer-react/package.json b/packages/renderers/renderer-react/package.json index 5ce51e84d..3437704f9 100644 --- a/packages/renderers/renderer-react/package.json +++ b/packages/renderers/renderer-react/package.json @@ -2,12 +2,16 @@ "name": "@astrojs/renderer-react", "description": "Use React components within Astro", "version": "0.3.1", + "type": "module", + "author": "withastro", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/withastro/astro.git", "directory": "packages/renderers/renderer-react" }, - "type": "module", + "bugs": "https://github.com/withastro/astro/issues", + "homepage": "https://astro.build", "exports": { ".": "./index.js", "./*": "./*", diff --git a/packages/renderers/renderer-solid/package.json b/packages/renderers/renderer-solid/package.json index 15b3cba36..7c2720d47 100644 --- a/packages/renderers/renderer-solid/package.json +++ b/packages/renderers/renderer-solid/package.json @@ -2,12 +2,16 @@ "name": "@astrojs/renderer-solid", "version": "0.2.1", "description": "Use Solid components within Astro", + "type": "module", + "author": "withastro", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/withastro/astro.git", "directory": "packages/renderers/renderer-solid" }, - "type": "module", + "bugs": "https://github.com/withastro/astro/issues", + "homepage": "https://astro.build", "exports": { ".": "./index.js", "./*": "./*", diff --git a/packages/renderers/renderer-svelte/package.json b/packages/renderers/renderer-svelte/package.json index 531f0cfb6..4d72fec2e 100644 --- a/packages/renderers/renderer-svelte/package.json +++ b/packages/renderers/renderer-svelte/package.json @@ -2,12 +2,16 @@ "name": "@astrojs/renderer-svelte", "version": "0.2.2", "description": "Use Svelte components within Astro", + "type": "module", + "author": "withastro", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/withastro/astro.git", "directory": "packages/renderers/renderer-svelte" }, - "type": "module", + "bugs": "https://github.com/withastro/astro/issues", + "homepage": "https://astro.build", "exports": { ".": "./index.js", "./*": "./*", diff --git a/packages/renderers/renderer-vue/package.json b/packages/renderers/renderer-vue/package.json index 99c7bdf64..c111bd331 100644 --- a/packages/renderers/renderer-vue/package.json +++ b/packages/renderers/renderer-vue/package.json @@ -2,12 +2,16 @@ "name": "@astrojs/renderer-vue", "version": "0.2.1", "description": "Use Vue components within Astro", + "type": "module", + "author": "withastro", + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/withastro/astro.git", "directory": "packages/renderers/renderer-vue" }, - "type": "module", + "bugs": "https://github.com/withastro/astro/issues", + "homepage": "https://astro.build", "exports": { ".": "./index.js", "./*": "./*",