From f9c1606ca3579a6ce5448428caa11eadd7e85d72 Mon Sep 17 00:00:00 2001 From: Pat Cavit Date: Fri, 15 Feb 2019 23:04:01 -0800 Subject: [PATCH] fix: add homepage & repo directory fields For npm@6.8.0 to pick up --- package.json | 1 + packages/aliases/package.json | 7 ++++++- packages/browserify/package.json | 7 ++++++- packages/cli/package.json | 7 ++++++- packages/glob/package.json | 7 ++++++- packages/namer/package.json | 9 +++++++-- packages/paths/package.json | 7 ++++++- packages/postcss/package.json | 7 ++++++- packages/processor/package.json | 7 ++++++- packages/rollup-rewriter/package.json | 7 ++++++- packages/rollup/package.json | 7 ++++++- packages/scratchpad/package.json | 7 ++++++- packages/svelte/package.json | 7 ++++++- packages/test-utils/package.json | 7 ++++++- packages/webpack/package.json | 7 ++++++- packages/www/package.json | 1 + 16 files changed, 87 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index f4dcd02a2..575aa4bc7 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.0.0", "private": true, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "repository": "tivac/modular-css", "bugs": { diff --git a/packages/aliases/package.json b/packages/aliases/package.json index 0f4d6e5d3..886372617 100644 --- a/packages/aliases/package.json +++ b/packages/aliases/package.json @@ -3,11 +3,16 @@ "version": "22.0.0", "description": "Custom file resolver supporting directory aliases for modular-css", "main": "./aliases.js", - "repository": "tivac/modular-css", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/aliases" + }, "bugs": { "url": "https://github.com/tivac/modular-css/issues" }, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/browserify/package.json b/packages/browserify/package.json index 1ddba875f..d655b1b49 100644 --- a/packages/browserify/package.json +++ b/packages/browserify/package.json @@ -3,11 +3,16 @@ "version": "22.1.2", "description": "Browserify transform for modular-css", "main": "./browserify.js", - "repository": "tivac/modular-css", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/browserify" + }, "bugs": { "url": "https://github.com/tivac/modular-css/issues" }, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/cli/package.json b/packages/cli/package.json index 600a0081a..149ae385e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -6,11 +6,16 @@ "bin": { "modular-css": "./cli.js" }, - "repository": "tivac/modular-css", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/cli" + }, "bugs": { "url": "https://github.com/tivac/modular-css/issues" }, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/glob/package.json b/packages/glob/package.json index 1592621dc..3494b21ec 100644 --- a/packages/glob/package.json +++ b/packages/glob/package.json @@ -3,11 +3,16 @@ "version": "22.1.2", "description": "Glob support for modular-css", "main": "./glob.js", - "repository": "tivac/modular-css", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/glob" + }, "bugs": { "url": "https://github.com/tivac/modular-css/issues" }, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/namer/package.json b/packages/namer/package.json index 4f3174cbc..1a35da653 100644 --- a/packages/namer/package.json +++ b/packages/namer/package.json @@ -3,8 +3,13 @@ "version": "22.1.0", "description": "Helper function to make tiny classnames for modular-css", "main": "namer.js", - "repository": "tivac/modular-css", - "author": "Pat Cavit ", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/namer" + }, + "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/paths/package.json b/packages/paths/package.json index 8315f9800..dce8ab032 100644 --- a/packages/paths/package.json +++ b/packages/paths/package.json @@ -3,11 +3,16 @@ "version": "22.0.0", "description": "Custom file resolver supporting multiple paths for modular-css", "main": "./paths.js", - "repository": "tivac/modular-css", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/paths" + }, "bugs": { "url": "https://github.com/tivac/modular-css/issues" }, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/postcss/package.json b/packages/postcss/package.json index 6506acb42..8d5af5be9 100644 --- a/packages/postcss/package.json +++ b/packages/postcss/package.json @@ -3,11 +3,16 @@ "version": "22.1.2", "description": "Use modular-css via postcss", "main": "./postcss.js", - "repository": "tivac/modular-css", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/postcss" + }, "bugs": { "url": "https://github.com/tivac/modular-css/issues" }, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/processor/package.json b/packages/processor/package.json index e1b00e385..b92ca1043 100644 --- a/packages/processor/package.json +++ b/packages/processor/package.json @@ -3,11 +3,16 @@ "version": "22.1.2", "description": "A streamlined reinterpretation of CSS Modules", "main": "./processor.js", - "repository": "tivac/modular-css", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/processor" + }, "bugs": { "url": "https://github.com/tivac/modular-css/issues" }, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/rollup-rewriter/package.json b/packages/rollup-rewriter/package.json index 66808d4ac..5459e24f5 100644 --- a/packages/rollup-rewriter/package.json +++ b/packages/rollup-rewriter/package.json @@ -3,11 +3,16 @@ "version": "22.1.3", "description": "Rewrite dynamic imports to include all their CSS dependencies", "main": "./rewriter.js", - "repository": "tivac/modular-css", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/rollup-rewriter" + }, "bugs": { "url": "https://github.com/tivac/modular-css/issues" }, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/rollup/package.json b/packages/rollup/package.json index 13221ea1d..b1325b11d 100644 --- a/packages/rollup/package.json +++ b/packages/rollup/package.json @@ -3,11 +3,16 @@ "version": "22.1.2", "description": "Add modular-css support to rollup", "main": "./rollup.js", - "repository": "tivac/modular-css", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/rollup" + }, "bugs": { "url": "https://github.com/tivac/modular-css/issues" }, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/scratchpad/package.json b/packages/scratchpad/package.json index 25815734c..01ed4cdfe 100644 --- a/packages/scratchpad/package.json +++ b/packages/scratchpad/package.json @@ -5,6 +5,11 @@ "description": "Testing area for new ideas modular-css", "main": "compare.js", "author": "Pat Cavit ", - "repository": "tivac/modular-css", + "homepage": "https://m-css.com", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/scratchpad" + }, "license": "MIT" } diff --git a/packages/svelte/package.json b/packages/svelte/package.json index d2a28178f..9c474ad60 100644 --- a/packages/svelte/package.json +++ b/packages/svelte/package.json @@ -3,11 +3,16 @@ "version": "22.1.2", "description": "Add modular-css support to svelte", "main": "./svelte.js", - "repository": "tivac/modular-css", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/svelte" + }, "bugs": { "url": "https://github.com/tivac/modular-css/issues" }, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index c817c6e20..1ef3b2af3 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -5,7 +5,12 @@ "description": "Test utilities for modular-css", "main": "compare.js", "author": "Pat Cavit ", - "repository": "tivac/modular-css", + "homepage": "https://m-css.com", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/test-utils" + }, "license": "MIT", "scripts": { "test": "true" diff --git a/packages/webpack/package.json b/packages/webpack/package.json index e1a26ca3e..4d5b95298 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -3,11 +3,16 @@ "version": "22.1.3", "description": "Webpack support for modular-css", "main": "./index.js", - "repository": "tivac/modular-css", + "repository": { + "type": "git", + "url": "https://github.com/tivac/modular-css.git", + "directory": "packages/webpack" + }, "bugs": { "url": "https://github.com/tivac/modular-css/issues" }, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/www/package.json b/packages/www/package.json index 8da99afb6..9a48ae42a 100644 --- a/packages/www/package.json +++ b/packages/www/package.json @@ -12,6 +12,7 @@ "test": "echo \"no tests ¯\\_(ツ)_/¯\"" }, "author": "Pat Cavit ", + "homepage": "https://m-css.com", "license": "MIT", "eslintConfig": { "parserOptions": {