Paladox has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/279598

Change subject: Revert "build: Drop the 'npm prepublish' task which runs 
pre-install as well"
......................................................................

Revert "build: Drop the 'npm prepublish' task which runs pre-install as well"

This caused https://doc.wikimedia.org/oojs-ui/master/demos/ to not work.

Reason because this was run before grunt demos was run so it could copy the 
files over now it dosent so reverting this fixes it.

This reverts commit 3105c6f52888faf204d2c2dc876880615bba29ca.

Change-Id: I41a96dfe78b4cac84b3cd7ff86fdce130af059d5
---
M README.md
M package.json
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/98/279598/1

diff --git a/README.md b/README.md
index bc655d5..fd415b0 100644
--- a/README.md
+++ b/README.md
@@ -111,6 +111,6 @@
 $ git remote update
 $ git checkout origin/master
 $ git tag "vX.X.X"
-$ npm run publish-build && git push --tags
+$ git push --tags
 $ npm publish
 </pre>
diff --git a/package.json b/package.json
index 5207908..724a7c3 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,7 @@
     "predoc": "grunt build",
     "doc": "jsduck",
     "postdoc": "grunt copy:jsduck",
-    "publish-build": "grunt publish-build",
+    "prepublish": "grunt publish-build",
     "demos": "grunt demos"
   },
   "dependencies": {

-- 
To view, visit https://gerrit.wikimedia.org/r/279598
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I41a96dfe78b4cac84b3cd7ff86fdce130af059d5
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to