Releases: cmsj/Hammerspoon2
0.0.4
0.0.3
TypeScript can now actually be used for the user config, because require() is now implemented. Of note though, it's not a very fancy implementation and it can't understand modules/libraries - you just point it at a specific .js file. This will need to change over time, since JS require() implementations are usually more contextually aware, but this is enough for https://github.com/cmsj/Hammerspoon2/blob/main/docs/TYPESCRIPT.md to work end to end.
0.0.2
Add support for TypeScript by way of a .d.ts file and some documentation that can be used to set up a local TypeScript environment for writing user configs.
See https://github.com/cmsj/Hammerspoon2/blob/0.0.2/docs/TYPESCRIPT.md
IMPORTANT CAVEAT: I haven't written require() yet, so you'll have to move the resulting compiled config.js to init.js for now.
0.0.1
Very rough initial release to generate discussion.
Only a few of Hammerspoon's extensions are currently implemented. API docs for them are available at: https://cmsj.github.io/Hammerspoon2/index.html
Create your config file at ~/.config/hammerspoon2/init.js