diff --git a/CHANGELOG.md b/CHANGELOG.md index 99594ded..608ed488 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog -## v??? +## v1.0.1 + +### Bug fixes + +* When installing the plugin from npm, the node_modules don't come with: copying converseJS to dist folder. + +## v1.0.0 ### Features diff --git a/package.json b/package.json index 0dd1eaac..adf591ee 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "peertube-plugin-livechat", "description": "PeerTube plugin livechat", - "version": "1.0.0", + "version": "1.0.1", "author": "John Livingston", "bugs": "https://github.com/JohnXLivingston/peertube-plugin-livechat/issues", "clientScripts": [ @@ -45,12 +45,12 @@ "library": "./main.js", "scripts": { "prepare": "npm run build", - "build": "webpack --mode=production", + "build": "mkdir -p dist/conversejs && cp -r node_modules/converse.js/dist/* dist/conversejs/ && webpack --mode=production", "lint": "npx eslint --ext .js ." }, "staticDirs": { "static": "dist/static", - "conversejs": "node_modules/converse.js/dist" + "conversejs": "dist/conversejs/" }, "translations": { "fr-FR": "./languages/fr.json"