Skip to content

Commit 275aea7

Browse files
author
Beatriz Rizental
authored
Bug 1693297 - Copy README.md on prepublish (#77)
1 parent 45c01b1 commit 275aea7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Unreleased changes
22

33
[Full changelog](https://github.com/mozilla/glean.js/compare/v0.1.0...main)
4+
5+
* [#77](https://github.com/mozilla/glean.js/pull/77): Include README.md file in `@mozilla/glean` package bundle.
6+
47
# v0.1.0 (2021-02-17)
58

69
[Full changelog](https://github.com/mozilla/glean.js/compare/46f028fb4ea7b8f312daf4666904c81d0a3eb171...v0.1.0)

glean/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"fix": "eslint . --ext .ts,.js,.json --fix",
2222
"build": "webpack --config webpack.config.js --mode production",
2323
"dev": "webpack --watch --config webpack.config.js --mode development --devtool inline-source-map",
24-
"prepare": "npm run build"
24+
"prepublishOnly": "cp ../README.md ./README.md && npm run build",
25+
"postpublish": "rm ./README.md"
2526
},
2627
"repository": {
2728
"type": "git",

0 commit comments

Comments
 (0)