Loading...
Loading...
Avg 20.3 stars per repo.
Coding for 6 years.
IsaacScript is a tool to help you create Binding of Isaac: Repentance mods using TypeScript.
Please visit the official website for more information. You can also join the Discord server.
This is the monorepo that houses the various packages in the ecosystem.
Each project in the monorepo is contained within the "packages" directory.
| Name | Description | Version |
| ----------------------------------------------------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| docs | The Docusaurus website. | n/a |
| eslint-config-isaacscript | A sharable ESLint config for IsaacScript projects. | |
| eslint-plugin-isaacscript | An ESLint plugin that contains useful rules. |
|
| isaac-lua-polyfill | Polyfills for testing Isaac mods using TypeScript. |
|
| isaac-typescript-definitions | TypeScript definitions for the The Binding of Isaac: Repentance API. |
|
| isaacscript-cli | The command-line tool for managing Isaac mods written in TypeScript. |
|
| isaacscript-common | Helper functions and features for IsaacScript mods. |
|
| isaacscript-lint | A linting dependency meta-package for IsaacScript and TypeScript projects. |
|
| isaacscript-lua | A tool for managing IsaacScript libraries in Lua projects. |
|
| isaacscript-spell | Spelling dictionaries for The Binding of Isaac: Repentance. |
|
| isaacscript-tsconfig | A sharable TypeScript config for TypeScript and IsaacScript projects. |
|
For getting started in building your own mods, see the website. For contributing to the IsaacScript project itself, read on.
git config --global user.name "Your_Username"git config --global user.email "your@email.com"cd [the path where you want the code to live]git clone git@github.com:[username]/isaacscript.git git clone https://github.com/[username]/isaacscript.git cd isaacscriptnpm cicode .isaacscript-commonIf you want to fix a bug or add a new feature to isaacscript-common, then you need to set up a testing mod that links to your compiled development version. (This is so that you can test out your changes inside of the game.)
The isaacscript command line tool has a --dev flag that will set up a new testing mod for you automatically:
npx isaacscript@latest init test --dev
This command will initialize a new mod named "test" and then automatically link it to your locally compiled isaacscript-common. Additionally, when you initiate the IsaacScript file watcher in your mod, it will also spawn an additional watcher process for the files in isaacscript-common.
Testing with a brand new mod is recommended, but it is also possible to use an existing mod. Just set "isaacScriptCommonDev": true in your isaacscript.json file and then start IsaacScript. (Doing this will automatically set up the local npm link.)
Make sure that your existing mod project uses npm as the package manager, or the link won't work properly.