Files
roll20-character-sheets-tester/Ironsworn-Starforged
dependabot[bot] 830b7104a3 Bump json5 from 2.2.0 to 2.2.3 in /Ironsworn-Starforged/src
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 17:07:07 +00:00
..
2021-08-21 16:40:56 +01:00
2021-10-12 23:52:23 -07:00
2021-10-13 00:15:43 -07:00
2021-10-12 23:52:23 -07:00
2021-10-12 23:52:23 -07:00
2022-10-20 19:02:53 +01:00
2021-08-13 13:23:09 +01:00
…
2022-01-10 02:49:43 -08:00

Ironsworn: Starforged - Character Sheet

Building Sheet

This sheet uses pugjs for HTML templating, along with Stylus from CSS templating. To build finished sheet run the following commands from command line or terminal:

cd src
npm install

# Build the sheet
npm run gulp:build

# Watch for changes made and build the sheet
npm run gulp:watch

These will then generate a dist folder that will have the finished code. From their you can upload them into the custom sheet sandbox for testing.

Pushing Changes

Roll20 does not build our pug/stylus code for when we merge. This needs to be done locally by running npm run gulp:build in the Ironsworn-Starforged/src directory.

Translations

To keep our translation and fallback html content consistent. We are loading the translations into pug under the translations global variable. This allows us to call translations[<translation-key>] to get our content. This way we can propagate changes and avoid hardcoding content.

Compatibility

The sheet has been tested across multiple browsers and devices, show below in the compatibility matrix:

Browser Windows MacOs Android iOS
Chrome yes yes yes yes
Firefox yes yes yes yes
Safari no yes no yes