From c9af1cc2d4f9a3407b2ba4b30cf6e9f105ead9ff Mon Sep 17 00:00:00 2001 From: hally9k Date: Sat, 29 Apr 2017 12:50:08 +1200 Subject: [PATCH 1/3] release 0.6.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 58d9b16..cdfc774 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "redux-ui-router", - "version": "0.6.1", + "version": "0.6.2", "description": "Redux middleware for use with Angular UI Router", "main": "./lib/index.js", "scripts": { From 06b943104525fa4b8a14a1d124c27a4caa9e8cac Mon Sep 17 00:00:00 2001 From: Kai Johnson Date: Mon, 1 May 2017 20:31:19 -0400 Subject: [PATCH 2/3] Npm umd packages (#89) * Add umd packages to npm repo via prepublish hook. * Don't bundle angular and angular-ui-router within the umd package. --- package.json | 4 ++-- webpack.config.js | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 webpack.config.js diff --git a/package.json b/package.json index cdfc774..608e0da 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "test": "npm run lint; NODE_ENV=test node node_modules/.bin/mocha --compilers js:babel-register --recursive --require src/__tests__/index.js src/**/*.test.js", "test:live": "npm run lint; NODE_ENV=test node node_modules/.bin/mocha --compilers js:babel-register --recursive --require src/__tests__/index.js -w src/**/*.test.js", "build": "npm run clean; npm run test; node node_modules/.bin/babel src --out-dir lib", - "bundle:dev": "webpack --output-library=ngReduxUiRouter --output-library-target=umd lib/index.js dist/redux-ui-router.js", - "bundle:prod": "webpack -p --output-library=ngReduxUiRouter --output-library-target=umd lib/index.js dist/redux-ui-router.min.js", + "bundle:dev": "webpack lib/index.js dist/redux-ui-router.js", + "bundle:prod": "webpack -p lib/index.js dist/redux-ui-router.min.js", "prepublish": "npm run build && npm run bundle:dev && npm run bundle:prod" }, "repository": { diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..170d906 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,7 @@ +module.exports = { + output: { + library: 'ngReduxUiRouter', + libraryTarget: 'umd' + }, + externals: ['angular', 'angular-ui-router'] +}; From a1a5391192004d1c351c806eac9a61ecfc6f63f3 Mon Sep 17 00:00:00 2001 From: hally9k Date: Tue, 2 May 2017 12:36:15 +1200 Subject: [PATCH 3/3] bumped patch release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 608e0da..5d464cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "redux-ui-router", - "version": "0.6.2", + "version": "0.6.3", "description": "Redux middleware for use with Angular UI Router", "main": "./lib/index.js", "scripts": {