From b3754cf5cb667ce2eba2957795358e601dff253e Mon Sep 17 00:00:00 2001 From: "Thomas M. Edwards" Date: Thu, 18 Jul 2024 12:13:16 -0500 Subject: [PATCH 1/2] feat: update SugarCube to v2.37.0 --- public/story-formats/sugarcube-2.36.1/format.js | 1 - .../{sugarcube-2.36.1 => sugarcube-2.37.0}/LICENSE | 2 +- public/story-formats/sugarcube-2.37.0/format.js | 1 + .../{sugarcube-2.36.1 => sugarcube-2.37.0}/icon.svg | 0 src/store/story-formats/defaults.ts | 4 ++-- 5 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 public/story-formats/sugarcube-2.36.1/format.js rename public/story-formats/{sugarcube-2.36.1 => sugarcube-2.37.0}/LICENSE (95%) create mode 100644 public/story-formats/sugarcube-2.37.0/format.js rename public/story-formats/{sugarcube-2.36.1 => sugarcube-2.37.0}/icon.svg (100%) diff --git a/public/story-formats/sugarcube-2.36.1/format.js b/public/story-formats/sugarcube-2.36.1/format.js deleted file mode 100644 index 8babb57bc..000000000 --- a/public/story-formats/sugarcube-2.36.1/format.js +++ /dev/null @@ -1 +0,0 @@ -window.storyFormat({"name":"SugarCube","version":"2.36.1","description":"A full featured, highly customizable story format. See its documentation.","author":"Thomas Michael Edwards","image":"icon.svg","url":"http://www.motoslave.net/sugarcube/","license":"BSD-2-Clause","proofing":false,"source":"\n\n\n\n{{STORY_NAME}}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t
\n\t\t
\n\t\t

Browser lacks capabilities required to play.

Upgrade or switch to another browser.

\n\t\t
Loading…
\n\t
\n\t{{STORY_DATA}}\n\t\n\n\n"}); \ No newline at end of file diff --git a/public/story-formats/sugarcube-2.36.1/LICENSE b/public/story-formats/sugarcube-2.37.0/LICENSE similarity index 95% rename from public/story-formats/sugarcube-2.36.1/LICENSE rename to public/story-formats/sugarcube-2.37.0/LICENSE index 5af7f67c1..432ce2a20 100644 --- a/public/story-formats/sugarcube-2.36.1/LICENSE +++ b/public/story-formats/sugarcube-2.37.0/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2013-2021, Thomas Michael Edwards . +Copyright (c) 2013-2024, Thomas Michael Edwards . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/public/story-formats/sugarcube-2.37.0/format.js b/public/story-formats/sugarcube-2.37.0/format.js new file mode 100644 index 000000000..dc6605fc5 --- /dev/null +++ b/public/story-formats/sugarcube-2.37.0/format.js @@ -0,0 +1 @@ +window.storyFormat({"name":"SugarCube","version":"2.37.0","description":"A full featured, highly customizable story format. See its documentation.","author":"Thomas Michael Edwards","image":"icon.svg","url":"http://www.motoslave.net/sugarcube/","license":"BSD-2-Clause","proofing":false,"source":"\n\n\n\n{{STORY_NAME}}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t
\n\t\t
\n\t\t

Browser lacks capabilities required to play.

Upgrade or switch to another browser.

\n\t\t
Loading…
\n\t
\n\t{{STORY_DATA}}\n\t\n\n\n"}); \ No newline at end of file diff --git a/public/story-formats/sugarcube-2.36.1/icon.svg b/public/story-formats/sugarcube-2.37.0/icon.svg similarity index 100% rename from public/story-formats/sugarcube-2.36.1/icon.svg rename to public/story-formats/sugarcube-2.37.0/icon.svg diff --git a/src/store/story-formats/defaults.ts b/src/store/story-formats/defaults.ts index 266cf3c8b..36b8ca771 100644 --- a/src/store/story-formats/defaults.ts +++ b/src/store/story-formats/defaults.ts @@ -47,7 +47,7 @@ export const builtins = () => [ }, { name: 'SugarCube', - url: 'story-formats/sugarcube-2.36.1/format.js', - version: '2.36.1' + url: 'story-formats/sugarcube-2.37.0/format.js', + version: '2.37.0' } ]; From c3d61a9f6ac12521327b9a02f6a960803f203813 Mon Sep 17 00:00:00 2001 From: Chris Klimas <1405578+klembot@users.noreply.github.com> Date: Fri, 19 Jul 2024 09:37:54 -0400 Subject: [PATCH 2/2] Fix Prettier GH action to work with PRs --- .github/workflows/prettify-prs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/prettify-prs.yml b/.github/workflows/prettify-prs.yml index f35b9843e..9501daf6a 100644 --- a/.github/workflows/prettify-prs.yml +++ b/.github/workflows/prettify-prs.yml @@ -11,10 +11,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - ref: ${{ github.head_ref }} # Make sure the value of GITHUB_TOKEN will not be persisted in repo's config persist-credentials: false - name: Prettify code