Skip to content

Commit

Permalink
Revert "rename extensions"
Browse files Browse the repository at this point in the history
This reverts commit c372c3e.
  • Loading branch information
Eligarf committed May 2, 2024
1 parent 8771226 commit 4a1d9f7
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
bugs: https://github.com/${{github.repository}}/issues

# Create a zip file with all files required by the module to add to the release
- run: zip -r ./module.zip module.json README.md LICENSE ChangeLog.md esmodules/ styles/ languages/
- run: zip -r ./module.zip module.json README.md LICENSE ChangeLog.md scripts/ styles/ languages/

# Create a release for this specific version
- name: Update Release with Files
Expand All @@ -45,7 +45,7 @@ jobs:
with:
allowUpdates: true # Set this to false if you want to prevent updating existing releases
name: ${{ github.event.release.name }}
# draft: ${{ github.event.release.unpublished }}
draft: ${{ github.event.release.unpublished }}
prerelease: ${{ github.event.release.prerelease }}
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: './module.json, ./module.zip'
Expand Down
10 changes: 5 additions & 5 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
]
},
"esmodules": [
"esmodules/stealthy.mjs",
"esmodules/hooks.mjs",
"esmodules/systems/dnd4e.mjs",
"esmodules/systems/dnd5e.mjs",
"esmodules/systems/pf1.mjs"
"scripts/stealthy.js",
"scripts/hooks.js",
"scripts/systems/dnd4e.js",
"scripts/systems/dnd5e.js",
"scripts/systems/pf1.js"
],
"styles": [
"styles/stealthy.css"
Expand Down
2 changes: 1 addition & 1 deletion esmodules/doors.mjs → scripts/doors.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Stealthy } from "./stealthy.mjs";
import { Stealthy } from "./stealthy.js";

export default class Doors {

Expand Down
2 changes: 1 addition & 1 deletion esmodules/engine.mjs → scripts/engine.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Stealthy } from "./stealthy.mjs";
import { Stealthy } from "./stealthy.js";
import Doors from "./doors.js";

export default class Engine {
Expand Down
2 changes: 1 addition & 1 deletion esmodules/hooks.mjs → scripts/hooks.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Stealthy } from "./stealthy.mjs";
import { Stealthy } from "./stealthy.js";

function migrate(moduleVersion, oldVersion) {

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4a1d9f7

Please sign in to comment.