How do I publish a package to Pulsar #91
Replies: 8 comments 50 replies
-
The documentation is on the website - https://pulsar-edit.dev/docs/launch-manual/sections/core-hacking/#publishing However, as of right now the authentication hasn't been made live to allow publishing just yet (coming very soon though). The missing
|
Beta Was this translation helpful? Give feedback.
-
I'd like to add @manngo if your package was previously published to Atom, it's very likely that it's already on the Pulsar Package Repository. Is it possible this is your package? |
Beta Was this translation helpful? Give feedback.
-
OK, I am still trying to get this to work for me. Here is what I have attempted:
I am getting the error message:
So obviously I’m still missing something. I am guessing that the other requirements are still OK, as the package has been published and updated a number of times. |
Beta Was this translation helpful? Give feedback.
-
I am getting one step closer, I think. The steps now are: $ cd github/atom-web-tools
$ /Applications/Pulsar.app/Contents/MacOS/Pulsar -p login
Token> …
$ /Applications/Pulsar.app/Contents/MacOS/Pulsar -p publish minor However, although the So I’m getting closer. I think. |
Beta Was this translation helpful? Give feedback.
-
Here are my revised steps:
It appears to have worked, but I can’t update the package on Pulsar. When I try, I get the following error:
I don’t know whether that’s in the right direction … ? |
Beta Was this translation helpful? Give feedback.
-
I might add that updating This is both on my current M1 Mac and and an older Intel iMac. |
Beta Was this translation helpful? Give feedback.
-
Apparently the console command does not work under windows. When I execute it with I am therefore unfortunately not able to execute the login or publish command. So I tried to do it with apm (Pulsar Package Manager) like I did with atom. Here I could add the token and also publish. The repository was updated on github and a new tag was added. Unfortunately there was no new release and nothing changed on https://web.pulsar-edit.dev/packages/ftp-remote-edit. I have therefore removed the commits and the tag again. What do I have to do if I want to update the package? |
Beta Was this translation helpful? Give feedback.
-
OK, things have moved on since I first ask this question. I would now like to try updating the package again. Is this the correct process? cd /path/to/package
/Applications/Pulsar.app/Contents/Resources/pulsar.sh -p publish patch # | major | minor If so, I’m getting a number of different errors:
I have already applied the token. BTW thanks to @confused-Techie for looking at my other issue pulsar-edit/package-backend#125. |
Beta Was this translation helpful? Give feedback.
-
I have an existing package written for Atom. Of course, I want to complete my migration, but I can’t find any documentation.
In the past, I ran something like:
Of course, there isn’t any
apm
now, especially on my new Mac, which never had Atom installed. A passing reference in #63 suggests it is:but I can’t find a
pulsar
command either.What is the missing step?
Beta Was this translation helpful? Give feedback.
All reactions