-
Notifications
You must be signed in to change notification settings - Fork 298
Run prepublish
script from package.json on apm publish
#372
Comments
Yeah, this issue has come up before as something that would be great to eventually have first-class support for.
👍
There is a Also this will require doing a |
These notes are mostly for me and any others not familiar with Here is
I think you're right.
I would prefer that it be included under the Line 56 in b47423d
So let's consider what should happen when running
I'd like to design and implement a Pull Request in these next few days. Any feedback would be greatly appreciated. Thanks! |
See atom#372. Prepublish and Postpublish scripts in package.json file
+1 for this! |
So this really sucks but there really isn't a great way to publish an apm-specific version of the app (pre-babeled) in the same way that you can do such a thing for npm. Basically, apm wants your package to exactly match your git repository. This means there isn't really much room for transpiling in a clean way (babeling, then publishing the babeled code, excluding the unbabeled code) See the following: https://discuss.atom.io/t/how-to-use-the-npmignore/9208/5 atom/apm#372
Huge 👍 This is preventing me from packing static resources. It seems I have no choice but to download static resources on activation, which is unnecessary extra work and dirty too. On a related note, the |
Is there any update or workaround for this? |
Applicable
apm
code: https://github.com/atom/apm/blob/6c94d96f5d640a51d49a41e2e1d1aa47310516e8/src/publish.coffeeI would like to use the
prepublish
script inpackage.json
file, as described bynpm
, to generate my documentation before publishing. See https://github.com/Glavin001/atom-beautify/blob/master/package.json#L150This currently does not work / is not a feature. Is this something that is of interest to others? Would a pull request be accepted? What other considerations does the community have, before / if I were to develop a Pull Request?
Thanks!
Glavin
The text was updated successfully, but these errors were encountered: