From 24d5291e9dbfb7c2514eaf7e51d1397ab43c84c6 Mon Sep 17 00:00:00 2001 From: Joey Baker Date: Thu, 6 Aug 2015 20:53:16 -0700 Subject: [PATCH 1/6] fix: switch to peerDependencies --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 46b112c..b7073bf 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { - "name": "css-modules-require-hook", + "name": "@joeybaker/css-modules-require-hook", "version": "1.0.0", "description": "A require hook to compile CSS Modules on the fly", "main": "index.js", - "dependencies": { + "peerDependencies": { "postcss": "^4.1.16", - "postcss-modules-extract-imports": "0.0.5", - "postcss-modules-local-by-default": "0.0.9", - "postcss-modules-scope": "0.0.8" + "postcss-modules-extract-imports": "^0.0.5", + "postcss-modules-local-by-default": "^0.0.9", + "postcss-modules-scope": "^0.0.8" }, "devDependencies": { "babel": "^5.8.20", @@ -22,7 +22,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/sullenor/css-modules-require-hook.git" + "url": "https://github.com/joeybaker/css-modules-require-hook.git" }, "keywords": [ "css-modules", From 2aae38abc640401ffc33aba470a0966c90b1bbdf Mon Sep 17 00:00:00 2001 From: Joey Baker Date: Thu, 6 Aug 2015 20:53:44 -0700 Subject: [PATCH 2/6] 1.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b7073bf..75e9298 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@joeybaker/css-modules-require-hook", - "version": "1.0.0", + "version": "1.0.1", "description": "A require hook to compile CSS Modules on the fly", "main": "index.js", "peerDependencies": { From e91562b1e6d044b3178122ab09dfe4238500b8d6 Mon Sep 17 00:00:00 2001 From: Joey Baker Date: Thu, 6 Aug 2015 20:57:30 -0700 Subject: [PATCH 3/6] internal: peerDeps need to be devDeps too --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 75e9298..a6035f3 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,10 @@ "devDependencies": { "babel": "^5.8.20", "css-modules-loader-core": "0.0.12", + "postcss": "^4.1.16", + "postcss-modules-extract-imports": "^0.0.5", + "postcss-modules-local-by-default": "^0.0.9", + "postcss-modules-scope": "^0.0.8", "in-publish": "^2.0.0", "mocha": "^2.2.5" }, From 40035a609a81860eb461a2a07eae8194eab78922 Mon Sep 17 00:00:00 2001 From: Joey Baker Date: Thu, 6 Aug 2015 20:57:37 -0700 Subject: [PATCH 4/6] 1.0.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a6035f3..7f8716c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@joeybaker/css-modules-require-hook", - "version": "1.0.1", + "version": "1.0.2", "description": "A require hook to compile CSS Modules on the fly", "main": "index.js", "peerDependencies": { From fee2b0af703e2b9b5eaee1d3b3d272f92d79fc64 Mon Sep 17 00:00:00 2001 From: Joey Baker Date: Wed, 30 Dec 2015 09:47:47 -0800 Subject: [PATCH 5/6] DEPRECATE --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 501723d..f288ac1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ css-modules-require-hook ======================== +# DEPRECATED. USE [css-modules/css-modules-require-hook](https://github.com/css-modules/css-modules-require-hook) instead + Automatically compiles a CSS Module to a low-level interchange format called ICSS or [Interoperable CSS](https://github.com/css-modules/icss). One of the ways you can compile [CSS Modules](https://github.com/css-modules/css-modules) to the ICSS format is through the require hook. The require hook will bind itself to node's require and automatically compile files on the fly. This is similar to Babel's [babel/register](https://babeljs.io/docs/usage/require/). From 9aa8d5cf5b08eb9bb183d2cfd00706c3bb6e18ea Mon Sep 17 00:00:00 2001 From: Joey Baker Date: Wed, 30 Dec 2015 09:48:33 -0800 Subject: [PATCH 6/6] 1.0.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7f8716c..7b91c87 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@joeybaker/css-modules-require-hook", - "version": "1.0.2", + "version": "1.0.3", "description": "A require hook to compile CSS Modules on the fly", "main": "index.js", "peerDependencies": {