-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
10,116 additions
and
30,992 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
[*.yml] | ||
indent_size = 2 | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
[*.yml] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
gulpfile.js | ||
.eslintrc.js | ||
.prettierrc.js | ||
dist | ||
jsconfig.json | ||
/dist | ||
/.pnp.js | ||
/.yarn/ | ||
gulpfile.js | ||
.eslintrc.js | ||
.prettierrc.js | ||
jsconfig.json | ||
/.pnp.js | ||
/.yarn/ | ||
|
||
.github/ | ||
dist/ | ||
docs/ | ||
external/ | ||
src/languages/ | ||
src/assets/ | ||
src/lang/ | ||
src/scripts/ | ||
src/styles/ | ||
src/templates/ | ||
src/**/*.svelte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.github export-ignore | ||
FUNDING.yml export-ignore | ||
|
||
.gitattributes export-ignore | ||
README.md export-ignore | ||
preview.jpg export-ignore | ||
patchnotes.md export-ignore | ||
.github export-ignore | ||
FUNDING.yml export-ignore | ||
|
||
.gitattributes export-ignore | ||
README.md export-ignore | ||
preview.jpg export-ignore | ||
patchnotes.md export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github: p4535992 | ||
custom: ["patreon/4535992"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[BUG]" | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Module Version:** v0.0.0 | ||
|
||
**Before open any issue** | ||
|
||
1) Enable the module setting _"Enable debugging"_ | ||
2) Click F12 go to the _console_ tab | ||
3) make the test you want and replicate the error | ||
4) Go to the tab console open on point 2) and just right click and click 'Save as' and 'Save' or send a screenshot of the exception on the console. | ||
5) Attach the text file on the github issue with all the logs related tot he module, or send a screenshot of the messages on the console. | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Browser:** | ||
- | ||
|
||
**Foundry Version:** | ||
|
||
**Game System:** | ||
|
||
**Additional context** | ||
Add any other context (like other modules installed) about the problem here. | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[BUG]" | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Module Version:** v0.0.0 | ||
|
||
**Before open any issue** | ||
|
||
1) Enable the module setting _"Enable debugging"_ | ||
2) Click F12 go to the _console_ tab | ||
3) make the test you want and replicate the error | ||
4) Go to the tab console open on point 2) and just right click and click 'Save as' and 'Save' or send a screenshot of the exception on the console. | ||
5) Attach the text file on the github issue with all the logs related tot he module, or send a screenshot of the messages on the console. | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Browser:** | ||
- | ||
|
||
**Foundry Version:** | ||
|
||
**Game System:** | ||
|
||
**Additional context** | ||
Add any other context (like other modules installed) about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
--- | ||
name: Styling | ||
about: Request a change or bug related to styles | ||
title: '' | ||
labels: styling | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
||
--- | ||
name: Styling | ||
about: Request a change or bug related to styles | ||
title: '' | ||
labels: styling | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,131 @@ | ||
name: Release Creation | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
#Substitute the Manifest and Download URLs in the module.json | ||
- name: Substitute Manifest and Download Links For Versioned Ones | ||
id: sub_manifest_link_version | ||
uses: microsoft/variable-substitution@v1 | ||
with: | ||
files: 'src/module.json' | ||
env: | ||
version: ${{github.event.release.tag_name}} | ||
manifest: https://github.com/${{github.repository}}/releases/latest/download/module.json | ||
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip | ||
|
||
# create a zip file with all files required by the module to add to the release | ||
- run: cd src; zip -r ./module.zip * | ||
|
||
# Create a release for this specific version | ||
- name: Update Release with Files | ||
id: create_version_release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
allowUpdates: true # set this to false if you want to prevent updating existing releases | ||
name: ${{ github.event.release.name }} | ||
draft: false | ||
prerelease: false | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
artifacts: 'src/module.json, src/module.zip' | ||
tag: ${{ github.event.release.tag_name }} | ||
body: ${{ github.event.release.body }} | ||
|
||
# Update the 'latest' release | ||
- name: Create Release | ||
id: create_latest_release | ||
uses: ncipollo/release-action@v1 | ||
if: endsWith(github.ref, 'master') | ||
with: | ||
allowUpdates: true | ||
name: Latest | ||
draft: false | ||
prerelease: false | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
artifacts: 'src/module.json,src/module.zip' | ||
tag: latest | ||
body: ${{ github.event.release.body }} | ||
name: Release Creation | ||
|
||
on: | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
# Substitute the Manifest and Download URLs in the module.json | ||
|
||
- name: Substitute Manifest and Download Links For Versioned Ones | ||
id: sub_release_manifest_version | ||
uses: microsoft/variable-substitution@v1 | ||
with: | ||
files: 'src/module.json' | ||
env: | ||
version: ${{github.event.release.tag_name}} | ||
url: https://github.com/${{github.repository}} | ||
manifest: https://github.com/${{github.repository}}/releases/latest/download/module.json | ||
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip | ||
|
||
# for a FULL RELEASE | ||
# - name: Substitute Manifest and Download Links For Versioned Ones | ||
# if: "!github.event.release.prerelease" | ||
# id: sub_release_manifest_version | ||
# uses: microsoft/variable-substitution@v1 | ||
# with: | ||
# files: 'module.json' | ||
# env: | ||
# version: ${{github.event.release.tag_name}} | ||
# url: https://github.com/${{github.repository}} | ||
# manifest: https://github.com/${{github.repository}}/releases/latest/download/module.json | ||
# download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip | ||
|
||
# Substitute the Manifest and Download URLs in the module.json | ||
# for a PRE RELEASE. Manifest pointing to live module.json on branch, | ||
# which is updated after tag. | ||
# - name: Substitute Manifest and Download Links For Versioned Ones | ||
# if: "github.event.release.prerelease" | ||
# id: sub_prerelease_manifest_version | ||
# uses: microsoft/variable-substitution@v1 | ||
# with: | ||
# files: 'module.json' | ||
# env: | ||
# version: ${{github.event.release.tag_name}} | ||
# url: https://github.com/${{github.repository}} | ||
# manifest: https://raw.githubusercontent.com/${{github.repository}}/next/module.json | ||
# download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip | ||
|
||
# Install packages. | ||
- run: npm install | ||
|
||
# Build distribution. | ||
- run: npm run build | ||
|
||
- run: mkdir package | ||
|
||
- run: mv -v ./dist/* ./package/ | ||
|
||
# Create a zip file with all files required by the module to add to the release | ||
#- run: zip -r ./module.zip module.json LICENSE module.js module.js.map style.css templates/ languages/ packs/ assets/ | ||
# - run: zip -r ./package/module.zip ./package/* | ||
|
||
# && ensures that zip only runs if the directory was correctly changed, | ||
# and the parentheses run everything in a subshell, so the current directory | ||
# is restored at the end. Using OLDPWD avoids having to calculate the relative path to package.zip. | ||
# https://unix.stackexchange.com/questions/385405/zip-all-files-and-subfolder-in-directory-without-parent-directory | ||
- run: (cd package && zip -r "$OLDPWD/module.zip" .) | ||
|
||
- name: Update Release with Files | ||
id: create_version_release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
allowUpdates: true # Set this to false if you want to prevent updating existing releases | ||
name: ${{ github.event.release.name }} | ||
draft: false | ||
prerelease: false | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
artifacts: './src/module.json, ./module.zip' | ||
tag: ${{ github.event.release.tag_name }} | ||
body: ${{ github.event.release.body }} | ||
|
||
# Create a release for this specific version | ||
# - name: Update Release with Files | ||
# if: "!github.event.release.prerelease" | ||
# id: create_version_release | ||
# uses: ncipollo/release-action@v1 | ||
# with: | ||
# allowUpdates: true # Set this to false if you want to prevent updating existing releases | ||
# name: ${{ github.event.release.name }} | ||
# draft: false | ||
# prerelease: false | ||
# token: ${{ secrets.GITHUB_TOKEN }} | ||
# artifacts: './module.json, ./module.zip' | ||
# tag: ${{ github.event.release.tag_name }} | ||
# body: ${{ github.event.release.body }} | ||
|
||
# OR create a pre-release for this specific version | ||
# - name: Update Release with Files | ||
# if: "github.event.release.prerelease" | ||
# id: create_version_prerelease | ||
# uses: ncipollo/release-action@v1 | ||
# with: | ||
# allowUpdates: true # Set this to false if you want to prevent updating existing releases | ||
# name: ${{ github.event.release.name }} | ||
# draft: false | ||
# prerelease: true | ||
# token: ${{ secrets.GITHUB_TOKEN }} | ||
# artifacts: './module.json, ./module.zip' | ||
# tag: ${{ github.event.release.tag_name }} | ||
# body: ${{ github.event.release.body }} | ||
|
||
#update next branch | ||
# - name: Prepare repository | ||
# if: "github.event.release.prerelease" | ||
# run: | | ||
# git config --global user.name '${{github.actor}}' | ||
# git config --global user.email '${{github.actor}}@users.noreply.github.com' | ||
# git add module.json | ||
# git stash | ||
# git clean -f | ||
# git remote set-url origin "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY" | ||
# git fetch origin "next" | ||
# git switch -c "next" "origin/next" | ||
# git checkout stash module.json | ||
# git commit -m "${{github.event.release.tag_name}} manifest" | ||
# git push -f |
Oops, something went wrong.