From a55afefbdcac56f3504635b503b8fa7b96325105 Mon Sep 17 00:00:00 2001 From: Martin Madsen Date: Fri, 26 Jul 2024 00:03:53 +0200 Subject: [PATCH 1/2] Adjust package.json for distribution --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index fffe9b8b..66a85307 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "require": "./dist/index.cjs" } }, + "files": ["dist", "bin", "templates", "install.js", "lib"], "repository": { "url": "https://github.com/highcharts/node-export-server", "type": "git" @@ -35,6 +36,7 @@ "node-tests": "node ./tests/node/node_test_runner.js", "node-tests-single": "node ./tests/node/node_test_runner_single.js", "prepare": "husky || true", + "prepack": "npm run build", "build": "rollup -c", "unit:test": "node --experimental-vm-modules node_modules/jest/bin/jest.js" }, From 79bef502c45feceaa146cc2cfbebbc21c9509689 Mon Sep 17 00:00:00 2001 From: "Chris M. Vasseng" Date: Mon, 5 Aug 2024 09:40:47 +0200 Subject: [PATCH 2/2] v4.0.1 --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be50937b..6e0f635d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 4.0.1 + +_Hotfix_: + +- Fixed missing 'dist' bundle in 4.0.0 on NPM. + # 4.0.0 _Breaking Changes:_ diff --git a/package.json b/package.json index 66a85307..73fa2248 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "author": "Highsoft AS (http://www.highcharts.com/about)", "license": "MIT", "type": "module", - "version": "4.0.0", + "version": "4.0.1", "main": "./dist/index.esm.js", "engines": { "node": ">=18.12.0"