Install package:
- Via website: https://atom.io/packages/barebone-atom-package-coffee
- Via Atom: File > Settings > Install > Search "barebone-atom-package-coffee" > Install
- Via apm command: apm install barebone-atom-package-coffee
Edit and run instruction:
- It's recommended to uninstall this package first before making any edit.
- Go to
C:\Users\<username>\.atom\packages
and clone this repository - Reload Atom and try to use package:
Ctrl+Shift+I
to open devtool >Ctrl+Shift+P
> Type and runBarebone Coffee: Owo
> seeOwo coffee!
in the devtool console - Make some edits
- Reload Atom by open "Command Palette" (Ctrl+Shift+P) > Window Reload
- See result
Push to Github and update package, in command line, type following:
- git fetch
- git status
- git add .
- git commit -m "update something"
- git push
- (optional) git tag
- update package in atom site: apm publish major/minor/patch
Publish your package to atom site:
- Make sure you have requirements for publishing a package (package.json and git tag): https://flight-manual.atom.io/hacking-atom/sections/publishing/
- Open command line, go to your package folder
- You may need to connect with your atom account via apm command
- Change git local user (remove --global tag): https://stackoverflow.com/questions/22844806/how-to-change-my-git-username-in-terminal
- Type: git tag
- Type "apm publish major/minor/patch" (see more at https://flight-manual.atom.io/hacking-atom/sections/publishing/)
- Congrats!
Uninstall package:
- Via Atom: File > Settings > Packages > Search "barebone-atom-package-coffee" > Uninstall
- Via apm command: apm uninstall barebone-atom-package-coffee