From 2804540c072972da60c8fbbd5254240cb30fa803 Mon Sep 17 00:00:00 2001 From: Daniel Vu Date: Thu, 14 Nov 2024 19:22:41 -0500 Subject: [PATCH 1/9] Adds support for sanitizing fonts per Discord Activity usage --- .github/workflows/discord-fonts.yml | 46 ++++++++ process-fonts.sh | 159 ++++++++++++++++++++++++++++ 2 files changed, 205 insertions(+) create mode 100644 .github/workflows/discord-fonts.yml create mode 100755 process-fonts.sh diff --git a/.github/workflows/discord-fonts.yml b/.github/workflows/discord-fonts.yml new file mode 100644 index 0000000..6641e6e --- /dev/null +++ b/.github/workflows/discord-fonts.yml @@ -0,0 +1,46 @@ +name: Process and Upload Fonts + +on: + push: + branches: + - staging + - main + paths: + - '**.css' + +jobs: + process-fonts: + environment: ${{ github.ref_name == 'main' && 'production' || 'staging' }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Install required tools + run: sudo apt-get update && sudo apt-get install -y zsh perl curl + + - id: 'auth' + uses: 'google-github-actions/auth@v1' + with: + credentials_json: '${{ secrets.SHEET_HTTP_GCP_KEYFILE }}' + + - name: 'Set up Cloud SDK' + uses: 'google-github-actions/setup-gcloud@v1' + + - name: Process Font URLs + run: | + chmod +x ./process-fonts.sh + CLIENT_ID=${{ github.ref_name == 'main' && '1199271093882589195' || '1199270539278164008' }} + DISCORD_ACTIVITY_CLIENT_ID=$CLIENT_ID \ + ./process-fonts.sh --no-prompt --output-dir ${{ runner.temp }}/sheet-fonts + + - name: Upload to GCS + run: | + ENV_PATH="${{ github.ref_name == 'main' && 'production' || 'staging' }}" + + # Sync the entire fonts directory + gcloud storage rsync \ + --project=roll20-actual \ + ${{ runner.temp }}/sheet-fonts \ + "gs://roll20-cdn/discord/fonts/roll20-beacon-sheets/fonts/$ENV_PATH" \ + --recursive \ + --cache-control="no-cache" \ No newline at end of file diff --git a/process-fonts.sh b/process-fonts.sh new file mode 100755 index 0000000..82586fb --- /dev/null +++ b/process-fonts.sh @@ -0,0 +1,159 @@ +#!/bin/zsh + +setopt ERR_EXIT +setopt PIPE_FAIL +setopt NO_UNSET + +if [[ -z "${DISCORD_ACTIVITY_CLIENT_ID}" ]]; then + print "Error: DISCORD_ACTIVITY_CLIENT_ID environment variable is required" >&2 + exit 1 +fi + +# Process arguments +test_mode=0 +no_prompt=0 +output_dir="/tmp/discord-fonts" + +while [[ $# -gt 0 ]]; do + case $1 in + --test) + test_mode=1 + shift + ;; + --no-prompt) + no_prompt=1 + shift + ;; + --output-dir) + output_dir="$2" + shift 2 + ;; + *) + shift + ;; + esac +done + +# Clean/create output directory +if [[ -d "$output_dir" ]]; then + rm -rf "$output_dir" +fi +mkdir -p "$output_dir" + +print "Starting directory search..." >&2 + +# Get directories +dirs=(*(/)) +dirs=(${dirs:#sheets}) # Exclude sheets +dirs=(${dirs:#.git}) # Exclude .git +dirs=(${dirs:#node_modules}) # Exclude node_modules + +if [[ ${#dirs} -eq 0 ]]; then + print "No directories found!" >&2 + exit 1 +fi + +if [[ $test_mode -eq 1 ]]; then + print "Test mode: processing first 5 directories" >&2 + dirs=(${dirs[1,5]}) +fi + +print "\nFound directories:" >&2 +print -l " ${dirs[@]}" >&2 + +# Extract URLs function +extract_font_urls() { + perl -ne ' + next if /^\s*\/\*/; # Skip comment lines + while (/url\(['"'"'"]?(https:\/\/fonts\.googleapis\.com[^'"'"'"\s\)]+)['"'"'"]?\)/g) { + print "$1\n"; + } + ' "$1" +} + +# Process each directory +for dir in ${dirs[@]}; do + print "Checking directory: $dir" >&2 + mkdir -p "$output_dir/$dir" + + # Find fonts.css files recursively + fonts_files=($dir/**/fonts.css(.N)) + + if [[ ${#fonts_files} -gt 0 ]]; then + print "Found fonts.css files in $dir:" >&2 + print -l " ${fonts_files[@]}" >&2 + + # Collect URLs for this directory + urls_file=$(mktemp) + trap "rm -f '$urls_file'" EXIT + + for fonts_file in ${fonts_files[@]}; do + print "Processing: $fonts_file" >&2 + + found_urls=$(extract_font_urls "$fonts_file") + + if [[ -n "$found_urls" ]]; then + print "Found font URLs in $fonts_file:" >&2 + print -l " $found_urls" >&2 + print "$found_urls" >> "$urls_file" + fi + done + + # If we found URLs in this directory + unique_urls=($(sort -u "$urls_file")) + if [[ ${#unique_urls} -gt 0 ]]; then + print "\nFound ${#unique_urls} unique font URLs in $dir" >&2 + + if [[ $no_prompt -eq 0 ]]; then + print "Proceed with fetching and transforming URLs for $dir? [y/N] " >&2 + read -q response || true + print >&2 + + if [[ "$response" != "y" ]]; then + print "Skipping $dir" >&2 + touch "$output_dir/$dir/fonts.css" + continue + fi + fi + + raw_file=$(mktemp) + trap "rm -f '$raw_file'" EXIT + + # Process URLs for this directory + for font_url in $unique_urls; do + response=$(curl -sS -w "\n%{http_code}" -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" \ + "$font_url") + + if [[ $? -eq 0 ]]; then + http_code=$(print "$response" | tail -n1) + content=$(print "$response" | sed '$d') + + if [[ "$http_code" = "200" ]]; then + print "$content" | \ + sed "s/fonts\.gstatic\.com/${DISCORD_ACTIVITY_CLIENT_ID}.discordsays.com\/.proxy\/gstatic\/fonts/g" \ + >> "$raw_file" + print >> "$raw_file" + else + print "Error: HTTP $http_code for $font_url" >&2 + fi + else + print "Error: Failed to fetch $font_url" >&2 + fi + done + + if [[ -s "$raw_file" ]]; then + mv "$raw_file" "$output_dir/$dir/fonts.css" + print "Generated fonts.css for $dir" >&2 + else + touch "$output_dir/$dir/fonts.css" + print "Generated empty fonts.css for $dir (no valid content)" >&2 + fi + else + touch "$output_dir/$dir/fonts.css" + print "Generated empty fonts.css for $dir (no URLs found)" >&2 + fi + else + touch "$output_dir/$dir/fonts.css" + print "Generated empty fonts.css for $dir (no fonts.css files found)" >&2 + fi +done \ No newline at end of file From c1be157a6f839fba2ed0c8ca02df2da519fa18dd Mon Sep 17 00:00:00 2001 From: Daniel Vu Date: Thu, 14 Nov 2024 19:27:48 -0500 Subject: [PATCH 2/9] Ensures that shortnames can be used to fetch sanitized fonts CSS with --- .../.gitignore | 0 .../README.md | 0 .../index.html | 0 .../jsconfig.json | 0 .../package-lock.json | 0 .../package.json | 0 .../preview.jpg | Bin .../sheet.json | 0 .../src/App.vue | 0 .../src/assets/Clover.svg | 0 .../src/assets/ability-circle.png | Bin .../src/assets/apple.png | Bin .../src/assets/attack.png | Bin .../src/assets/bottle.png | Bin .../src/assets/crystal.svg | 0 .../src/assets/diamond.png | Bin .../src/assets/eclipse-blip-checked.png | Bin .../src/assets/eclipse-blip-filled.png | Bin .../src/assets/eclipse-blip-scratched.png | Bin .../src/assets/eclipse-blip-x.png | Bin .../src/assets/eclipse-blip.png | Bin .../src/assets/eclipse-border.png | Bin .../src/assets/fonts.css | 0 .../src/assets/header-border.png | Bin .../src/assets/magi-knight-damage.png | Bin .../src/assets/magi-knight-shield.png | Bin .../src/assets/magiKnight-header-dm.png | Bin .../src/assets/magiKnight-header.png | Bin .../src/assets/magiknight-full-header.png | Bin .../src/assets/main.css | 0 .../src/assets/moon1.png | Bin .../src/assets/moon2.png | Bin .../src/assets/moon3.png | Bin .../src/assets/moon4.png | Bin .../src/assets/moon5.png | Bin .../src/assets/moon6.png | Bin .../src/assets/moon7.png | Bin .../src/assets/moon8.png | Bin .../src/assets/move.png | Bin .../src/assets/plain-star.png | Bin .../src/assets/star.png | Bin .../src/assets/student-damage.png | Bin .../src/assets/student-shield.png | Bin .../src/assets/studied.png | Bin .../src/assets/sword.png | Bin .../src/assets/variables.css | 0 .../src/assets/xmoon1.png | Bin .../src/assets/xmoon2.png | Bin .../src/assets/xmoon3.png | Bin .../src/assets/xmoon4.png | Bin .../src/assets/xmoon5.png | Bin .../src/assets/xmoon6.png | Bin .../src/assets/xmoon7.png | Bin .../src/assets/xmoon8.png | Bin .../src/components/AbilityScore.vue | 0 .../src/components/AbilityScoreSection.vue | 0 .../src/components/BackgroundItems.vue | 0 .../src/components/BaseSplit.vue | 0 .../src/components/BurstDisplay.vue | 0 .../src/components/Button.vue | 0 .../src/components/CloverDisplay.vue | 0 .../src/components/Collapsible.vue | 0 .../src/components/Crystal.vue | 0 .../src/components/DiamondDisplay.vue | 0 .../src/components/EclipseChart.vue | 0 .../src/components/GoalTallies.vue | 0 .../src/components/HPContainer.vue | 0 .../src/components/Header.vue | 0 .../src/components/ImageBackedLabel.vue | 0 .../src/components/KnightNav.vue | 0 .../src/components/LabelStacked.vue | 0 .../src/components/MasterHeader.vue | 0 .../src/components/Modal.vue | 0 .../src/components/NotchContainer.vue | 0 .../src/components/RepeatingItem.vue | 0 .../src/components/RepeatingSection.vue | 0 .../src/components/ShardItem.vue | 0 .../src/components/Skill.vue | 0 .../src/components/SkillSection.vue | 0 .../src/components/SocialSection.vue | 0 .../src/components/SpellSection.vue | 0 .../src/components/SplitMods.vue | 0 .../src/components/TechniqueItem.vue | 0 .../src/main.js | 0 .../src/relay/handlers/colorHandler.js | 0 .../src/relay/handlers/index.js | 0 .../src/relay/handlers/onChange.js | 2 +- .../src/relay/handlers/onDragOver.js | 0 .../src/relay/handlers/onInit.js | 2 +- .../src/relay/handlers/onSettingsChange.js | 0 .../src/relay/handlers/onSharedSettingsChange.js | 0 .../src/relay/handlers/onTranslationsRequest.js | 0 .../src/relay/index.js | 0 .../src/rollFuncs/ability.js | 0 .../src/rollFuncs/index.js | 0 .../src/rollFuncs/skill.js | 0 .../src/rollFuncs/spell.js | 0 .../src/rollFuncs/weapon.js | 0 .../src/rollTemplates/expressions/capitalize.js | 0 .../src/rollTemplates/expressions/getDice.js | 0 .../src/rollTemplates/expressions/index.js | 0 .../src/rollTemplates/expressions/isArray.js | 0 .../src/rollTemplates/expressions/isEqual.js | 0 .../src/rollTemplates/expressions/isGreater.js | 0 .../src/rollTemplates/expressions/modifiers.js | 0 .../src/rollTemplates/expressions/sumComponents.js | 0 .../src/rollTemplates/index.js | 0 .../src/rollTemplates/partials/header.hbs | 0 .../src/rollTemplates/partials/keyValues.hbs | 0 .../src/rollTemplates/partials/rollComponents.hbs | 0 .../src/rollTemplates/partials/rollTotal.hbs | 0 .../src/rollTemplates/partials/textContent.hbs | 0 .../src/rollTemplates/partials/wrapper.hbs | 0 .../src/rollTemplates/styles/common.scss | 0 .../src/rollTemplates/styles/host.scss | 0 .../src/rollTemplates/templates/complex.hbs | 0 .../src/rollTemplates/templates/newRoll.hbs | 0 .../src/router/index.js | 0 .../src/stores/index.js | 0 .../src/stores/metaStore.js | 0 .../src/stores/sheetStore.js | 0 .../src/stores/spellModal.js | 0 .../src/utility/getRollResults.js | 0 .../src/utility/index.js | 0 .../src/utility/objectify.js | 0 .../src/utility/rollToChat.js | 0 .../src/views/NPCView.vue | 0 .../src/views/PC/BackgroundView.vue | 0 .../src/views/PC/BasicView.vue | 0 .../src/views/PC/KnightView.vue | 0 .../src/views/PC/StudentView.vue | 0 .../src/views/PCView.vue | 0 .../src/views/sections/PowerShards.vue | 0 .../src/views/sections/TechniquesTactics.vue | 0 .../vite.config.js | 0 135 files changed, 2 insertions(+), 2 deletions(-) rename {magi-knights-awakening => magiknightawake}/.gitignore (100%) rename {magi-knights-awakening => magiknightawake}/README.md (100%) rename {magi-knights-awakening => magiknightawake}/index.html (100%) rename {magi-knights-awakening => magiknightawake}/jsconfig.json (100%) rename {magi-knights-awakening => magiknightawake}/package-lock.json (100%) rename {magi-knights-awakening => magiknightawake}/package.json (100%) rename {magi-knights-awakening => magiknightawake}/preview.jpg (100%) rename {magi-knights-awakening => magiknightawake}/sheet.json (100%) rename {magi-knights-awakening => magiknightawake}/src/App.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/Clover.svg (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/ability-circle.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/apple.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/attack.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/bottle.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/crystal.svg (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/diamond.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/eclipse-blip-checked.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/eclipse-blip-filled.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/eclipse-blip-scratched.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/eclipse-blip-x.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/eclipse-blip.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/eclipse-border.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/fonts.css (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/header-border.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/magi-knight-damage.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/magi-knight-shield.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/magiKnight-header-dm.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/magiKnight-header.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/magiknight-full-header.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/main.css (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon1.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon2.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon3.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon4.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon5.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon6.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon7.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon8.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/move.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/plain-star.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/star.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/student-damage.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/student-shield.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/studied.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/sword.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/variables.css (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon1.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon2.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon3.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon4.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon5.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon6.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon7.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon8.png (100%) rename {magi-knights-awakening => magiknightawake}/src/components/AbilityScore.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/AbilityScoreSection.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/BackgroundItems.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/BaseSplit.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/BurstDisplay.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/Button.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/CloverDisplay.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/Collapsible.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/Crystal.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/DiamondDisplay.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/EclipseChart.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/GoalTallies.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/HPContainer.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/Header.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/ImageBackedLabel.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/KnightNav.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/LabelStacked.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/MasterHeader.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/Modal.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/NotchContainer.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/RepeatingItem.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/RepeatingSection.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/ShardItem.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/Skill.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/SkillSection.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/SocialSection.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/SpellSection.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/SplitMods.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/TechniqueItem.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/main.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/colorHandler.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/onChange.js (91%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/onDragOver.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/onInit.js (93%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/onSettingsChange.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/onSharedSettingsChange.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/onTranslationsRequest.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollFuncs/ability.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollFuncs/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollFuncs/skill.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollFuncs/spell.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollFuncs/weapon.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/capitalize.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/getDice.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/isArray.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/isEqual.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/isGreater.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/modifiers.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/sumComponents.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/partials/header.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/partials/keyValues.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/partials/rollComponents.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/partials/rollTotal.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/partials/textContent.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/partials/wrapper.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/styles/common.scss (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/styles/host.scss (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/templates/complex.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/templates/newRoll.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/router/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/stores/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/stores/metaStore.js (100%) rename {magi-knights-awakening => magiknightawake}/src/stores/sheetStore.js (100%) rename {magi-knights-awakening => magiknightawake}/src/stores/spellModal.js (100%) rename {magi-knights-awakening => magiknightawake}/src/utility/getRollResults.js (100%) rename {magi-knights-awakening => magiknightawake}/src/utility/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/utility/objectify.js (100%) rename {magi-knights-awakening => magiknightawake}/src/utility/rollToChat.js (100%) rename {magi-knights-awakening => magiknightawake}/src/views/NPCView.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/PC/BackgroundView.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/PC/BasicView.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/PC/KnightView.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/PC/StudentView.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/PCView.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/sections/PowerShards.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/sections/TechniquesTactics.vue (100%) rename {magi-knights-awakening => magiknightawake}/vite.config.js (100%) diff --git a/magi-knights-awakening/.gitignore b/magiknightawake/.gitignore similarity index 100% rename from magi-knights-awakening/.gitignore rename to magiknightawake/.gitignore diff --git a/magi-knights-awakening/README.md b/magiknightawake/README.md similarity index 100% rename from magi-knights-awakening/README.md rename to magiknightawake/README.md diff --git a/magi-knights-awakening/index.html b/magiknightawake/index.html similarity index 100% rename from magi-knights-awakening/index.html rename to magiknightawake/index.html diff --git a/magi-knights-awakening/jsconfig.json b/magiknightawake/jsconfig.json similarity index 100% rename from magi-knights-awakening/jsconfig.json rename to magiknightawake/jsconfig.json diff --git a/magi-knights-awakening/package-lock.json b/magiknightawake/package-lock.json similarity index 100% rename from magi-knights-awakening/package-lock.json rename to magiknightawake/package-lock.json diff --git a/magi-knights-awakening/package.json b/magiknightawake/package.json similarity index 100% rename from magi-knights-awakening/package.json rename to magiknightawake/package.json diff --git a/magi-knights-awakening/preview.jpg b/magiknightawake/preview.jpg similarity index 100% rename from magi-knights-awakening/preview.jpg rename to magiknightawake/preview.jpg diff --git a/magi-knights-awakening/sheet.json b/magiknightawake/sheet.json similarity index 100% rename from magi-knights-awakening/sheet.json rename to magiknightawake/sheet.json diff --git a/magi-knights-awakening/src/App.vue b/magiknightawake/src/App.vue similarity index 100% rename from magi-knights-awakening/src/App.vue rename to magiknightawake/src/App.vue diff --git a/magi-knights-awakening/src/assets/Clover.svg b/magiknightawake/src/assets/Clover.svg similarity index 100% rename from magi-knights-awakening/src/assets/Clover.svg rename to magiknightawake/src/assets/Clover.svg diff --git a/magi-knights-awakening/src/assets/ability-circle.png b/magiknightawake/src/assets/ability-circle.png similarity index 100% rename from magi-knights-awakening/src/assets/ability-circle.png rename to magiknightawake/src/assets/ability-circle.png diff --git a/magi-knights-awakening/src/assets/apple.png b/magiknightawake/src/assets/apple.png similarity index 100% rename from magi-knights-awakening/src/assets/apple.png rename to magiknightawake/src/assets/apple.png diff --git a/magi-knights-awakening/src/assets/attack.png b/magiknightawake/src/assets/attack.png similarity index 100% rename from magi-knights-awakening/src/assets/attack.png rename to magiknightawake/src/assets/attack.png diff --git a/magi-knights-awakening/src/assets/bottle.png b/magiknightawake/src/assets/bottle.png similarity index 100% rename from magi-knights-awakening/src/assets/bottle.png rename to magiknightawake/src/assets/bottle.png diff --git a/magi-knights-awakening/src/assets/crystal.svg b/magiknightawake/src/assets/crystal.svg similarity index 100% rename from magi-knights-awakening/src/assets/crystal.svg rename to magiknightawake/src/assets/crystal.svg diff --git a/magi-knights-awakening/src/assets/diamond.png b/magiknightawake/src/assets/diamond.png similarity index 100% rename from magi-knights-awakening/src/assets/diamond.png rename to magiknightawake/src/assets/diamond.png diff --git a/magi-knights-awakening/src/assets/eclipse-blip-checked.png b/magiknightawake/src/assets/eclipse-blip-checked.png similarity index 100% rename from magi-knights-awakening/src/assets/eclipse-blip-checked.png rename to magiknightawake/src/assets/eclipse-blip-checked.png diff --git a/magi-knights-awakening/src/assets/eclipse-blip-filled.png b/magiknightawake/src/assets/eclipse-blip-filled.png similarity index 100% rename from magi-knights-awakening/src/assets/eclipse-blip-filled.png rename to magiknightawake/src/assets/eclipse-blip-filled.png diff --git a/magi-knights-awakening/src/assets/eclipse-blip-scratched.png b/magiknightawake/src/assets/eclipse-blip-scratched.png similarity index 100% rename from magi-knights-awakening/src/assets/eclipse-blip-scratched.png rename to magiknightawake/src/assets/eclipse-blip-scratched.png diff --git a/magi-knights-awakening/src/assets/eclipse-blip-x.png b/magiknightawake/src/assets/eclipse-blip-x.png similarity index 100% rename from magi-knights-awakening/src/assets/eclipse-blip-x.png rename to magiknightawake/src/assets/eclipse-blip-x.png diff --git a/magi-knights-awakening/src/assets/eclipse-blip.png b/magiknightawake/src/assets/eclipse-blip.png similarity index 100% rename from magi-knights-awakening/src/assets/eclipse-blip.png rename to magiknightawake/src/assets/eclipse-blip.png diff --git a/magi-knights-awakening/src/assets/eclipse-border.png b/magiknightawake/src/assets/eclipse-border.png similarity index 100% rename from magi-knights-awakening/src/assets/eclipse-border.png rename to magiknightawake/src/assets/eclipse-border.png diff --git a/magi-knights-awakening/src/assets/fonts.css b/magiknightawake/src/assets/fonts.css similarity index 100% rename from magi-knights-awakening/src/assets/fonts.css rename to magiknightawake/src/assets/fonts.css diff --git a/magi-knights-awakening/src/assets/header-border.png b/magiknightawake/src/assets/header-border.png similarity index 100% rename from magi-knights-awakening/src/assets/header-border.png rename to magiknightawake/src/assets/header-border.png diff --git a/magi-knights-awakening/src/assets/magi-knight-damage.png b/magiknightawake/src/assets/magi-knight-damage.png similarity index 100% rename from magi-knights-awakening/src/assets/magi-knight-damage.png rename to magiknightawake/src/assets/magi-knight-damage.png diff --git a/magi-knights-awakening/src/assets/magi-knight-shield.png b/magiknightawake/src/assets/magi-knight-shield.png similarity index 100% rename from magi-knights-awakening/src/assets/magi-knight-shield.png rename to magiknightawake/src/assets/magi-knight-shield.png diff --git a/magi-knights-awakening/src/assets/magiKnight-header-dm.png b/magiknightawake/src/assets/magiKnight-header-dm.png similarity index 100% rename from magi-knights-awakening/src/assets/magiKnight-header-dm.png rename to magiknightawake/src/assets/magiKnight-header-dm.png diff --git a/magi-knights-awakening/src/assets/magiKnight-header.png b/magiknightawake/src/assets/magiKnight-header.png similarity index 100% rename from magi-knights-awakening/src/assets/magiKnight-header.png rename to magiknightawake/src/assets/magiKnight-header.png diff --git a/magi-knights-awakening/src/assets/magiknight-full-header.png b/magiknightawake/src/assets/magiknight-full-header.png similarity index 100% rename from magi-knights-awakening/src/assets/magiknight-full-header.png rename to magiknightawake/src/assets/magiknight-full-header.png diff --git a/magi-knights-awakening/src/assets/main.css b/magiknightawake/src/assets/main.css similarity index 100% rename from magi-knights-awakening/src/assets/main.css rename to magiknightawake/src/assets/main.css diff --git a/magi-knights-awakening/src/assets/moon1.png b/magiknightawake/src/assets/moon1.png similarity index 100% rename from magi-knights-awakening/src/assets/moon1.png rename to magiknightawake/src/assets/moon1.png diff --git a/magi-knights-awakening/src/assets/moon2.png b/magiknightawake/src/assets/moon2.png similarity index 100% rename from magi-knights-awakening/src/assets/moon2.png rename to magiknightawake/src/assets/moon2.png diff --git a/magi-knights-awakening/src/assets/moon3.png b/magiknightawake/src/assets/moon3.png similarity index 100% rename from magi-knights-awakening/src/assets/moon3.png rename to magiknightawake/src/assets/moon3.png diff --git a/magi-knights-awakening/src/assets/moon4.png b/magiknightawake/src/assets/moon4.png similarity index 100% rename from magi-knights-awakening/src/assets/moon4.png rename to magiknightawake/src/assets/moon4.png diff --git a/magi-knights-awakening/src/assets/moon5.png b/magiknightawake/src/assets/moon5.png similarity index 100% rename from magi-knights-awakening/src/assets/moon5.png rename to magiknightawake/src/assets/moon5.png diff --git a/magi-knights-awakening/src/assets/moon6.png b/magiknightawake/src/assets/moon6.png similarity index 100% rename from magi-knights-awakening/src/assets/moon6.png rename to magiknightawake/src/assets/moon6.png diff --git a/magi-knights-awakening/src/assets/moon7.png b/magiknightawake/src/assets/moon7.png similarity index 100% rename from magi-knights-awakening/src/assets/moon7.png rename to magiknightawake/src/assets/moon7.png diff --git a/magi-knights-awakening/src/assets/moon8.png b/magiknightawake/src/assets/moon8.png similarity index 100% rename from magi-knights-awakening/src/assets/moon8.png rename to magiknightawake/src/assets/moon8.png diff --git a/magi-knights-awakening/src/assets/move.png b/magiknightawake/src/assets/move.png similarity index 100% rename from magi-knights-awakening/src/assets/move.png rename to magiknightawake/src/assets/move.png diff --git a/magi-knights-awakening/src/assets/plain-star.png b/magiknightawake/src/assets/plain-star.png similarity index 100% rename from magi-knights-awakening/src/assets/plain-star.png rename to magiknightawake/src/assets/plain-star.png diff --git a/magi-knights-awakening/src/assets/star.png b/magiknightawake/src/assets/star.png similarity index 100% rename from magi-knights-awakening/src/assets/star.png rename to magiknightawake/src/assets/star.png diff --git a/magi-knights-awakening/src/assets/student-damage.png b/magiknightawake/src/assets/student-damage.png similarity index 100% rename from magi-knights-awakening/src/assets/student-damage.png rename to magiknightawake/src/assets/student-damage.png diff --git a/magi-knights-awakening/src/assets/student-shield.png b/magiknightawake/src/assets/student-shield.png similarity index 100% rename from magi-knights-awakening/src/assets/student-shield.png rename to magiknightawake/src/assets/student-shield.png diff --git a/magi-knights-awakening/src/assets/studied.png b/magiknightawake/src/assets/studied.png similarity index 100% rename from magi-knights-awakening/src/assets/studied.png rename to magiknightawake/src/assets/studied.png diff --git a/magi-knights-awakening/src/assets/sword.png b/magiknightawake/src/assets/sword.png similarity index 100% rename from magi-knights-awakening/src/assets/sword.png rename to magiknightawake/src/assets/sword.png diff --git a/magi-knights-awakening/src/assets/variables.css b/magiknightawake/src/assets/variables.css similarity index 100% rename from magi-knights-awakening/src/assets/variables.css rename to magiknightawake/src/assets/variables.css diff --git a/magi-knights-awakening/src/assets/xmoon1.png b/magiknightawake/src/assets/xmoon1.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon1.png rename to magiknightawake/src/assets/xmoon1.png diff --git a/magi-knights-awakening/src/assets/xmoon2.png b/magiknightawake/src/assets/xmoon2.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon2.png rename to magiknightawake/src/assets/xmoon2.png diff --git a/magi-knights-awakening/src/assets/xmoon3.png b/magiknightawake/src/assets/xmoon3.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon3.png rename to magiknightawake/src/assets/xmoon3.png diff --git a/magi-knights-awakening/src/assets/xmoon4.png b/magiknightawake/src/assets/xmoon4.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon4.png rename to magiknightawake/src/assets/xmoon4.png diff --git a/magi-knights-awakening/src/assets/xmoon5.png b/magiknightawake/src/assets/xmoon5.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon5.png rename to magiknightawake/src/assets/xmoon5.png diff --git a/magi-knights-awakening/src/assets/xmoon6.png b/magiknightawake/src/assets/xmoon6.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon6.png rename to magiknightawake/src/assets/xmoon6.png diff --git a/magi-knights-awakening/src/assets/xmoon7.png b/magiknightawake/src/assets/xmoon7.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon7.png rename to magiknightawake/src/assets/xmoon7.png diff --git a/magi-knights-awakening/src/assets/xmoon8.png b/magiknightawake/src/assets/xmoon8.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon8.png rename to magiknightawake/src/assets/xmoon8.png diff --git a/magi-knights-awakening/src/components/AbilityScore.vue b/magiknightawake/src/components/AbilityScore.vue similarity index 100% rename from magi-knights-awakening/src/components/AbilityScore.vue rename to magiknightawake/src/components/AbilityScore.vue diff --git a/magi-knights-awakening/src/components/AbilityScoreSection.vue b/magiknightawake/src/components/AbilityScoreSection.vue similarity index 100% rename from magi-knights-awakening/src/components/AbilityScoreSection.vue rename to magiknightawake/src/components/AbilityScoreSection.vue diff --git a/magi-knights-awakening/src/components/BackgroundItems.vue b/magiknightawake/src/components/BackgroundItems.vue similarity index 100% rename from magi-knights-awakening/src/components/BackgroundItems.vue rename to magiknightawake/src/components/BackgroundItems.vue diff --git a/magi-knights-awakening/src/components/BaseSplit.vue b/magiknightawake/src/components/BaseSplit.vue similarity index 100% rename from magi-knights-awakening/src/components/BaseSplit.vue rename to magiknightawake/src/components/BaseSplit.vue diff --git a/magi-knights-awakening/src/components/BurstDisplay.vue b/magiknightawake/src/components/BurstDisplay.vue similarity index 100% rename from magi-knights-awakening/src/components/BurstDisplay.vue rename to magiknightawake/src/components/BurstDisplay.vue diff --git a/magi-knights-awakening/src/components/Button.vue b/magiknightawake/src/components/Button.vue similarity index 100% rename from magi-knights-awakening/src/components/Button.vue rename to magiknightawake/src/components/Button.vue diff --git a/magi-knights-awakening/src/components/CloverDisplay.vue b/magiknightawake/src/components/CloverDisplay.vue similarity index 100% rename from magi-knights-awakening/src/components/CloverDisplay.vue rename to magiknightawake/src/components/CloverDisplay.vue diff --git a/magi-knights-awakening/src/components/Collapsible.vue b/magiknightawake/src/components/Collapsible.vue similarity index 100% rename from magi-knights-awakening/src/components/Collapsible.vue rename to magiknightawake/src/components/Collapsible.vue diff --git a/magi-knights-awakening/src/components/Crystal.vue b/magiknightawake/src/components/Crystal.vue similarity index 100% rename from magi-knights-awakening/src/components/Crystal.vue rename to magiknightawake/src/components/Crystal.vue diff --git a/magi-knights-awakening/src/components/DiamondDisplay.vue b/magiknightawake/src/components/DiamondDisplay.vue similarity index 100% rename from magi-knights-awakening/src/components/DiamondDisplay.vue rename to magiknightawake/src/components/DiamondDisplay.vue diff --git a/magi-knights-awakening/src/components/EclipseChart.vue b/magiknightawake/src/components/EclipseChart.vue similarity index 100% rename from magi-knights-awakening/src/components/EclipseChart.vue rename to magiknightawake/src/components/EclipseChart.vue diff --git a/magi-knights-awakening/src/components/GoalTallies.vue b/magiknightawake/src/components/GoalTallies.vue similarity index 100% rename from magi-knights-awakening/src/components/GoalTallies.vue rename to magiknightawake/src/components/GoalTallies.vue diff --git a/magi-knights-awakening/src/components/HPContainer.vue b/magiknightawake/src/components/HPContainer.vue similarity index 100% rename from magi-knights-awakening/src/components/HPContainer.vue rename to magiknightawake/src/components/HPContainer.vue diff --git a/magi-knights-awakening/src/components/Header.vue b/magiknightawake/src/components/Header.vue similarity index 100% rename from magi-knights-awakening/src/components/Header.vue rename to magiknightawake/src/components/Header.vue diff --git a/magi-knights-awakening/src/components/ImageBackedLabel.vue b/magiknightawake/src/components/ImageBackedLabel.vue similarity index 100% rename from magi-knights-awakening/src/components/ImageBackedLabel.vue rename to magiknightawake/src/components/ImageBackedLabel.vue diff --git a/magi-knights-awakening/src/components/KnightNav.vue b/magiknightawake/src/components/KnightNav.vue similarity index 100% rename from magi-knights-awakening/src/components/KnightNav.vue rename to magiknightawake/src/components/KnightNav.vue diff --git a/magi-knights-awakening/src/components/LabelStacked.vue b/magiknightawake/src/components/LabelStacked.vue similarity index 100% rename from magi-knights-awakening/src/components/LabelStacked.vue rename to magiknightawake/src/components/LabelStacked.vue diff --git a/magi-knights-awakening/src/components/MasterHeader.vue b/magiknightawake/src/components/MasterHeader.vue similarity index 100% rename from magi-knights-awakening/src/components/MasterHeader.vue rename to magiknightawake/src/components/MasterHeader.vue diff --git a/magi-knights-awakening/src/components/Modal.vue b/magiknightawake/src/components/Modal.vue similarity index 100% rename from magi-knights-awakening/src/components/Modal.vue rename to magiknightawake/src/components/Modal.vue diff --git a/magi-knights-awakening/src/components/NotchContainer.vue b/magiknightawake/src/components/NotchContainer.vue similarity index 100% rename from magi-knights-awakening/src/components/NotchContainer.vue rename to magiknightawake/src/components/NotchContainer.vue diff --git a/magi-knights-awakening/src/components/RepeatingItem.vue b/magiknightawake/src/components/RepeatingItem.vue similarity index 100% rename from magi-knights-awakening/src/components/RepeatingItem.vue rename to magiknightawake/src/components/RepeatingItem.vue diff --git a/magi-knights-awakening/src/components/RepeatingSection.vue b/magiknightawake/src/components/RepeatingSection.vue similarity index 100% rename from magi-knights-awakening/src/components/RepeatingSection.vue rename to magiknightawake/src/components/RepeatingSection.vue diff --git a/magi-knights-awakening/src/components/ShardItem.vue b/magiknightawake/src/components/ShardItem.vue similarity index 100% rename from magi-knights-awakening/src/components/ShardItem.vue rename to magiknightawake/src/components/ShardItem.vue diff --git a/magi-knights-awakening/src/components/Skill.vue b/magiknightawake/src/components/Skill.vue similarity index 100% rename from magi-knights-awakening/src/components/Skill.vue rename to magiknightawake/src/components/Skill.vue diff --git a/magi-knights-awakening/src/components/SkillSection.vue b/magiknightawake/src/components/SkillSection.vue similarity index 100% rename from magi-knights-awakening/src/components/SkillSection.vue rename to magiknightawake/src/components/SkillSection.vue diff --git a/magi-knights-awakening/src/components/SocialSection.vue b/magiknightawake/src/components/SocialSection.vue similarity index 100% rename from magi-knights-awakening/src/components/SocialSection.vue rename to magiknightawake/src/components/SocialSection.vue diff --git a/magi-knights-awakening/src/components/SpellSection.vue b/magiknightawake/src/components/SpellSection.vue similarity index 100% rename from magi-knights-awakening/src/components/SpellSection.vue rename to magiknightawake/src/components/SpellSection.vue diff --git a/magi-knights-awakening/src/components/SplitMods.vue b/magiknightawake/src/components/SplitMods.vue similarity index 100% rename from magi-knights-awakening/src/components/SplitMods.vue rename to magiknightawake/src/components/SplitMods.vue diff --git a/magi-knights-awakening/src/components/TechniqueItem.vue b/magiknightawake/src/components/TechniqueItem.vue similarity index 100% rename from magi-knights-awakening/src/components/TechniqueItem.vue rename to magiknightawake/src/components/TechniqueItem.vue diff --git a/magi-knights-awakening/src/main.js b/magiknightawake/src/main.js similarity index 100% rename from magi-knights-awakening/src/main.js rename to magiknightawake/src/main.js diff --git a/magi-knights-awakening/src/relay/handlers/colorHandler.js b/magiknightawake/src/relay/handlers/colorHandler.js similarity index 100% rename from magi-knights-awakening/src/relay/handlers/colorHandler.js rename to magiknightawake/src/relay/handlers/colorHandler.js diff --git a/magi-knights-awakening/src/relay/handlers/index.js b/magiknightawake/src/relay/handlers/index.js similarity index 100% rename from magi-knights-awakening/src/relay/handlers/index.js rename to magiknightawake/src/relay/handlers/index.js diff --git a/magi-knights-awakening/src/relay/handlers/onChange.js b/magiknightawake/src/relay/handlers/onChange.js similarity index 91% rename from magi-knights-awakening/src/relay/handlers/onChange.js rename to magiknightawake/src/relay/handlers/onChange.js index 36f1f3f..596ec9d 100644 --- a/magi-knights-awakening/src/relay/handlers/onChange.js +++ b/magiknightawake/src/relay/handlers/onChange.js @@ -1,4 +1,4 @@ -import { beaconPulse } from '../'; +import { beaconPulse } from '..'; // onChange is called when the character data is updated. This is where you will update the sheet with the new data. export const onChange = async ({ character }) => { const old = beaconPulse.value // This is a way to trigger a re-render of the sheet, see relay.js for more information. diff --git a/magi-knights-awakening/src/relay/handlers/onDragOver.js b/magiknightawake/src/relay/handlers/onDragOver.js similarity index 100% rename from magi-knights-awakening/src/relay/handlers/onDragOver.js rename to magiknightawake/src/relay/handlers/onDragOver.js diff --git a/magi-knights-awakening/src/relay/handlers/onInit.js b/magiknightawake/src/relay/handlers/onInit.js similarity index 93% rename from magi-knights-awakening/src/relay/handlers/onInit.js rename to magiknightawake/src/relay/handlers/onInit.js index f4254fb..514b15d 100644 --- a/magi-knights-awakening/src/relay/handlers/onInit.js +++ b/magiknightawake/src/relay/handlers/onInit.js @@ -1,4 +1,4 @@ -import { initValues } from '../'; +import { initValues } from '..'; import { colorHandler } from './colorHandler'; // onInit is called when the Relay is first loaded. It is used to set up the initial values of the sheet. diff --git a/magi-knights-awakening/src/relay/handlers/onSettingsChange.js b/magiknightawake/src/relay/handlers/onSettingsChange.js similarity index 100% rename from magi-knights-awakening/src/relay/handlers/onSettingsChange.js rename to magiknightawake/src/relay/handlers/onSettingsChange.js diff --git a/magi-knights-awakening/src/relay/handlers/onSharedSettingsChange.js b/magiknightawake/src/relay/handlers/onSharedSettingsChange.js similarity index 100% rename from magi-knights-awakening/src/relay/handlers/onSharedSettingsChange.js rename to magiknightawake/src/relay/handlers/onSharedSettingsChange.js diff --git a/magi-knights-awakening/src/relay/handlers/onTranslationsRequest.js b/magiknightawake/src/relay/handlers/onTranslationsRequest.js similarity index 100% rename from magi-knights-awakening/src/relay/handlers/onTranslationsRequest.js rename to magiknightawake/src/relay/handlers/onTranslationsRequest.js diff --git a/magi-knights-awakening/src/relay/index.js b/magiknightawake/src/relay/index.js similarity index 100% rename from magi-knights-awakening/src/relay/index.js rename to magiknightawake/src/relay/index.js diff --git a/magi-knights-awakening/src/rollFuncs/ability.js b/magiknightawake/src/rollFuncs/ability.js similarity index 100% rename from magi-knights-awakening/src/rollFuncs/ability.js rename to magiknightawake/src/rollFuncs/ability.js diff --git a/magi-knights-awakening/src/rollFuncs/index.js b/magiknightawake/src/rollFuncs/index.js similarity index 100% rename from magi-knights-awakening/src/rollFuncs/index.js rename to magiknightawake/src/rollFuncs/index.js diff --git a/magi-knights-awakening/src/rollFuncs/skill.js b/magiknightawake/src/rollFuncs/skill.js similarity index 100% rename from magi-knights-awakening/src/rollFuncs/skill.js rename to magiknightawake/src/rollFuncs/skill.js diff --git a/magi-knights-awakening/src/rollFuncs/spell.js b/magiknightawake/src/rollFuncs/spell.js similarity index 100% rename from magi-knights-awakening/src/rollFuncs/spell.js rename to magiknightawake/src/rollFuncs/spell.js diff --git a/magi-knights-awakening/src/rollFuncs/weapon.js b/magiknightawake/src/rollFuncs/weapon.js similarity index 100% rename from magi-knights-awakening/src/rollFuncs/weapon.js rename to magiknightawake/src/rollFuncs/weapon.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/capitalize.js b/magiknightawake/src/rollTemplates/expressions/capitalize.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/capitalize.js rename to magiknightawake/src/rollTemplates/expressions/capitalize.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/getDice.js b/magiknightawake/src/rollTemplates/expressions/getDice.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/getDice.js rename to magiknightawake/src/rollTemplates/expressions/getDice.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/index.js b/magiknightawake/src/rollTemplates/expressions/index.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/index.js rename to magiknightawake/src/rollTemplates/expressions/index.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/isArray.js b/magiknightawake/src/rollTemplates/expressions/isArray.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/isArray.js rename to magiknightawake/src/rollTemplates/expressions/isArray.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/isEqual.js b/magiknightawake/src/rollTemplates/expressions/isEqual.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/isEqual.js rename to magiknightawake/src/rollTemplates/expressions/isEqual.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/isGreater.js b/magiknightawake/src/rollTemplates/expressions/isGreater.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/isGreater.js rename to magiknightawake/src/rollTemplates/expressions/isGreater.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/modifiers.js b/magiknightawake/src/rollTemplates/expressions/modifiers.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/modifiers.js rename to magiknightawake/src/rollTemplates/expressions/modifiers.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/sumComponents.js b/magiknightawake/src/rollTemplates/expressions/sumComponents.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/sumComponents.js rename to magiknightawake/src/rollTemplates/expressions/sumComponents.js diff --git a/magi-knights-awakening/src/rollTemplates/index.js b/magiknightawake/src/rollTemplates/index.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/index.js rename to magiknightawake/src/rollTemplates/index.js diff --git a/magi-knights-awakening/src/rollTemplates/partials/header.hbs b/magiknightawake/src/rollTemplates/partials/header.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/partials/header.hbs rename to magiknightawake/src/rollTemplates/partials/header.hbs diff --git a/magi-knights-awakening/src/rollTemplates/partials/keyValues.hbs b/magiknightawake/src/rollTemplates/partials/keyValues.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/partials/keyValues.hbs rename to magiknightawake/src/rollTemplates/partials/keyValues.hbs diff --git a/magi-knights-awakening/src/rollTemplates/partials/rollComponents.hbs b/magiknightawake/src/rollTemplates/partials/rollComponents.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/partials/rollComponents.hbs rename to magiknightawake/src/rollTemplates/partials/rollComponents.hbs diff --git a/magi-knights-awakening/src/rollTemplates/partials/rollTotal.hbs b/magiknightawake/src/rollTemplates/partials/rollTotal.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/partials/rollTotal.hbs rename to magiknightawake/src/rollTemplates/partials/rollTotal.hbs diff --git a/magi-knights-awakening/src/rollTemplates/partials/textContent.hbs b/magiknightawake/src/rollTemplates/partials/textContent.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/partials/textContent.hbs rename to magiknightawake/src/rollTemplates/partials/textContent.hbs diff --git a/magi-knights-awakening/src/rollTemplates/partials/wrapper.hbs b/magiknightawake/src/rollTemplates/partials/wrapper.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/partials/wrapper.hbs rename to magiknightawake/src/rollTemplates/partials/wrapper.hbs diff --git a/magi-knights-awakening/src/rollTemplates/styles/common.scss b/magiknightawake/src/rollTemplates/styles/common.scss similarity index 100% rename from magi-knights-awakening/src/rollTemplates/styles/common.scss rename to magiknightawake/src/rollTemplates/styles/common.scss diff --git a/magi-knights-awakening/src/rollTemplates/styles/host.scss b/magiknightawake/src/rollTemplates/styles/host.scss similarity index 100% rename from magi-knights-awakening/src/rollTemplates/styles/host.scss rename to magiknightawake/src/rollTemplates/styles/host.scss diff --git a/magi-knights-awakening/src/rollTemplates/templates/complex.hbs b/magiknightawake/src/rollTemplates/templates/complex.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/templates/complex.hbs rename to magiknightawake/src/rollTemplates/templates/complex.hbs diff --git a/magi-knights-awakening/src/rollTemplates/templates/newRoll.hbs b/magiknightawake/src/rollTemplates/templates/newRoll.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/templates/newRoll.hbs rename to magiknightawake/src/rollTemplates/templates/newRoll.hbs diff --git a/magi-knights-awakening/src/router/index.js b/magiknightawake/src/router/index.js similarity index 100% rename from magi-knights-awakening/src/router/index.js rename to magiknightawake/src/router/index.js diff --git a/magi-knights-awakening/src/stores/index.js b/magiknightawake/src/stores/index.js similarity index 100% rename from magi-knights-awakening/src/stores/index.js rename to magiknightawake/src/stores/index.js diff --git a/magi-knights-awakening/src/stores/metaStore.js b/magiknightawake/src/stores/metaStore.js similarity index 100% rename from magi-knights-awakening/src/stores/metaStore.js rename to magiknightawake/src/stores/metaStore.js diff --git a/magi-knights-awakening/src/stores/sheetStore.js b/magiknightawake/src/stores/sheetStore.js similarity index 100% rename from magi-knights-awakening/src/stores/sheetStore.js rename to magiknightawake/src/stores/sheetStore.js diff --git a/magi-knights-awakening/src/stores/spellModal.js b/magiknightawake/src/stores/spellModal.js similarity index 100% rename from magi-knights-awakening/src/stores/spellModal.js rename to magiknightawake/src/stores/spellModal.js diff --git a/magi-knights-awakening/src/utility/getRollResults.js b/magiknightawake/src/utility/getRollResults.js similarity index 100% rename from magi-knights-awakening/src/utility/getRollResults.js rename to magiknightawake/src/utility/getRollResults.js diff --git a/magi-knights-awakening/src/utility/index.js b/magiknightawake/src/utility/index.js similarity index 100% rename from magi-knights-awakening/src/utility/index.js rename to magiknightawake/src/utility/index.js diff --git a/magi-knights-awakening/src/utility/objectify.js b/magiknightawake/src/utility/objectify.js similarity index 100% rename from magi-knights-awakening/src/utility/objectify.js rename to magiknightawake/src/utility/objectify.js diff --git a/magi-knights-awakening/src/utility/rollToChat.js b/magiknightawake/src/utility/rollToChat.js similarity index 100% rename from magi-knights-awakening/src/utility/rollToChat.js rename to magiknightawake/src/utility/rollToChat.js diff --git a/magi-knights-awakening/src/views/NPCView.vue b/magiknightawake/src/views/NPCView.vue similarity index 100% rename from magi-knights-awakening/src/views/NPCView.vue rename to magiknightawake/src/views/NPCView.vue diff --git a/magi-knights-awakening/src/views/PC/BackgroundView.vue b/magiknightawake/src/views/PC/BackgroundView.vue similarity index 100% rename from magi-knights-awakening/src/views/PC/BackgroundView.vue rename to magiknightawake/src/views/PC/BackgroundView.vue diff --git a/magi-knights-awakening/src/views/PC/BasicView.vue b/magiknightawake/src/views/PC/BasicView.vue similarity index 100% rename from magi-knights-awakening/src/views/PC/BasicView.vue rename to magiknightawake/src/views/PC/BasicView.vue diff --git a/magi-knights-awakening/src/views/PC/KnightView.vue b/magiknightawake/src/views/PC/KnightView.vue similarity index 100% rename from magi-knights-awakening/src/views/PC/KnightView.vue rename to magiknightawake/src/views/PC/KnightView.vue diff --git a/magi-knights-awakening/src/views/PC/StudentView.vue b/magiknightawake/src/views/PC/StudentView.vue similarity index 100% rename from magi-knights-awakening/src/views/PC/StudentView.vue rename to magiknightawake/src/views/PC/StudentView.vue diff --git a/magi-knights-awakening/src/views/PCView.vue b/magiknightawake/src/views/PCView.vue similarity index 100% rename from magi-knights-awakening/src/views/PCView.vue rename to magiknightawake/src/views/PCView.vue diff --git a/magi-knights-awakening/src/views/sections/PowerShards.vue b/magiknightawake/src/views/sections/PowerShards.vue similarity index 100% rename from magi-knights-awakening/src/views/sections/PowerShards.vue rename to magiknightawake/src/views/sections/PowerShards.vue diff --git a/magi-knights-awakening/src/views/sections/TechniquesTactics.vue b/magiknightawake/src/views/sections/TechniquesTactics.vue similarity index 100% rename from magi-knights-awakening/src/views/sections/TechniquesTactics.vue rename to magiknightawake/src/views/sections/TechniquesTactics.vue diff --git a/magi-knights-awakening/vite.config.js b/magiknightawake/vite.config.js similarity index 100% rename from magi-knights-awakening/vite.config.js rename to magiknightawake/vite.config.js From 1eb226b6ee2303515f632d02f64172914942ea92 Mon Sep 17 00:00:00 2001 From: Daniel Vu Date: Thu, 14 Nov 2024 19:54:31 -0500 Subject: [PATCH 3/9] Revert "Ensures that shortnames can be used to fetch sanitized fonts CSS with" This reverts commit c1be157a6f839fba2ed0c8ca02df2da519fa18dd. --- .../.gitignore | 0 .../README.md | 0 .../index.html | 0 .../jsconfig.json | 0 .../package-lock.json | 0 .../package.json | 0 .../preview.jpg | Bin .../sheet.json | 0 .../src/App.vue | 0 .../src/assets/Clover.svg | 0 .../src/assets/ability-circle.png | Bin .../src/assets/apple.png | Bin .../src/assets/attack.png | Bin .../src/assets/bottle.png | Bin .../src/assets/crystal.svg | 0 .../src/assets/diamond.png | Bin .../src/assets/eclipse-blip-checked.png | Bin .../src/assets/eclipse-blip-filled.png | Bin .../src/assets/eclipse-blip-scratched.png | Bin .../src/assets/eclipse-blip-x.png | Bin .../src/assets/eclipse-blip.png | Bin .../src/assets/eclipse-border.png | Bin .../src/assets/fonts.css | 0 .../src/assets/header-border.png | Bin .../src/assets/magi-knight-damage.png | Bin .../src/assets/magi-knight-shield.png | Bin .../src/assets/magiKnight-header-dm.png | Bin .../src/assets/magiKnight-header.png | Bin .../src/assets/magiknight-full-header.png | Bin .../src/assets/main.css | 0 .../src/assets/moon1.png | Bin .../src/assets/moon2.png | Bin .../src/assets/moon3.png | Bin .../src/assets/moon4.png | Bin .../src/assets/moon5.png | Bin .../src/assets/moon6.png | Bin .../src/assets/moon7.png | Bin .../src/assets/moon8.png | Bin .../src/assets/move.png | Bin .../src/assets/plain-star.png | Bin .../src/assets/star.png | Bin .../src/assets/student-damage.png | Bin .../src/assets/student-shield.png | Bin .../src/assets/studied.png | Bin .../src/assets/sword.png | Bin .../src/assets/variables.css | 0 .../src/assets/xmoon1.png | Bin .../src/assets/xmoon2.png | Bin .../src/assets/xmoon3.png | Bin .../src/assets/xmoon4.png | Bin .../src/assets/xmoon5.png | Bin .../src/assets/xmoon6.png | Bin .../src/assets/xmoon7.png | Bin .../src/assets/xmoon8.png | Bin .../src/components/AbilityScore.vue | 0 .../src/components/AbilityScoreSection.vue | 0 .../src/components/BackgroundItems.vue | 0 .../src/components/BaseSplit.vue | 0 .../src/components/BurstDisplay.vue | 0 .../src/components/Button.vue | 0 .../src/components/CloverDisplay.vue | 0 .../src/components/Collapsible.vue | 0 .../src/components/Crystal.vue | 0 .../src/components/DiamondDisplay.vue | 0 .../src/components/EclipseChart.vue | 0 .../src/components/GoalTallies.vue | 0 .../src/components/HPContainer.vue | 0 .../src/components/Header.vue | 0 .../src/components/ImageBackedLabel.vue | 0 .../src/components/KnightNav.vue | 0 .../src/components/LabelStacked.vue | 0 .../src/components/MasterHeader.vue | 0 .../src/components/Modal.vue | 0 .../src/components/NotchContainer.vue | 0 .../src/components/RepeatingItem.vue | 0 .../src/components/RepeatingSection.vue | 0 .../src/components/ShardItem.vue | 0 .../src/components/Skill.vue | 0 .../src/components/SkillSection.vue | 0 .../src/components/SocialSection.vue | 0 .../src/components/SpellSection.vue | 0 .../src/components/SplitMods.vue | 0 .../src/components/TechniqueItem.vue | 0 .../src/main.js | 0 .../src/relay/handlers/colorHandler.js | 0 .../src/relay/handlers/index.js | 0 .../src/relay/handlers/onChange.js | 2 +- .../src/relay/handlers/onDragOver.js | 0 .../src/relay/handlers/onInit.js | 2 +- .../src/relay/handlers/onSettingsChange.js | 0 .../src/relay/handlers/onSharedSettingsChange.js | 0 .../src/relay/handlers/onTranslationsRequest.js | 0 .../src/relay/index.js | 0 .../src/rollFuncs/ability.js | 0 .../src/rollFuncs/index.js | 0 .../src/rollFuncs/skill.js | 0 .../src/rollFuncs/spell.js | 0 .../src/rollFuncs/weapon.js | 0 .../src/rollTemplates/expressions/capitalize.js | 0 .../src/rollTemplates/expressions/getDice.js | 0 .../src/rollTemplates/expressions/index.js | 0 .../src/rollTemplates/expressions/isArray.js | 0 .../src/rollTemplates/expressions/isEqual.js | 0 .../src/rollTemplates/expressions/isGreater.js | 0 .../src/rollTemplates/expressions/modifiers.js | 0 .../src/rollTemplates/expressions/sumComponents.js | 0 .../src/rollTemplates/index.js | 0 .../src/rollTemplates/partials/header.hbs | 0 .../src/rollTemplates/partials/keyValues.hbs | 0 .../src/rollTemplates/partials/rollComponents.hbs | 0 .../src/rollTemplates/partials/rollTotal.hbs | 0 .../src/rollTemplates/partials/textContent.hbs | 0 .../src/rollTemplates/partials/wrapper.hbs | 0 .../src/rollTemplates/styles/common.scss | 0 .../src/rollTemplates/styles/host.scss | 0 .../src/rollTemplates/templates/complex.hbs | 0 .../src/rollTemplates/templates/newRoll.hbs | 0 .../src/router/index.js | 0 .../src/stores/index.js | 0 .../src/stores/metaStore.js | 0 .../src/stores/sheetStore.js | 0 .../src/stores/spellModal.js | 0 .../src/utility/getRollResults.js | 0 .../src/utility/index.js | 0 .../src/utility/objectify.js | 0 .../src/utility/rollToChat.js | 0 .../src/views/NPCView.vue | 0 .../src/views/PC/BackgroundView.vue | 0 .../src/views/PC/BasicView.vue | 0 .../src/views/PC/KnightView.vue | 0 .../src/views/PC/StudentView.vue | 0 .../src/views/PCView.vue | 0 .../src/views/sections/PowerShards.vue | 0 .../src/views/sections/TechniquesTactics.vue | 0 .../vite.config.js | 0 135 files changed, 2 insertions(+), 2 deletions(-) rename {magiknightawake => magi-knights-awakening}/.gitignore (100%) rename {magiknightawake => magi-knights-awakening}/README.md (100%) rename {magiknightawake => magi-knights-awakening}/index.html (100%) rename {magiknightawake => magi-knights-awakening}/jsconfig.json (100%) rename {magiknightawake => magi-knights-awakening}/package-lock.json (100%) rename {magiknightawake => magi-knights-awakening}/package.json (100%) rename {magiknightawake => magi-knights-awakening}/preview.jpg (100%) rename {magiknightawake => magi-knights-awakening}/sheet.json (100%) rename {magiknightawake => magi-knights-awakening}/src/App.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/Clover.svg (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/ability-circle.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/apple.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/attack.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/bottle.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/crystal.svg (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/diamond.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/eclipse-blip-checked.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/eclipse-blip-filled.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/eclipse-blip-scratched.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/eclipse-blip-x.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/eclipse-blip.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/eclipse-border.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/fonts.css (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/header-border.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/magi-knight-damage.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/magi-knight-shield.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/magiKnight-header-dm.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/magiKnight-header.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/magiknight-full-header.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/main.css (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/moon1.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/moon2.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/moon3.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/moon4.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/moon5.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/moon6.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/moon7.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/moon8.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/move.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/plain-star.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/star.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/student-damage.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/student-shield.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/studied.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/sword.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/variables.css (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/xmoon1.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/xmoon2.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/xmoon3.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/xmoon4.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/xmoon5.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/xmoon6.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/xmoon7.png (100%) rename {magiknightawake => magi-knights-awakening}/src/assets/xmoon8.png (100%) rename {magiknightawake => magi-knights-awakening}/src/components/AbilityScore.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/AbilityScoreSection.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/BackgroundItems.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/BaseSplit.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/BurstDisplay.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/Button.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/CloverDisplay.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/Collapsible.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/Crystal.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/DiamondDisplay.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/EclipseChart.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/GoalTallies.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/HPContainer.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/Header.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/ImageBackedLabel.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/KnightNav.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/LabelStacked.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/MasterHeader.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/Modal.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/NotchContainer.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/RepeatingItem.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/RepeatingSection.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/ShardItem.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/Skill.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/SkillSection.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/SocialSection.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/SpellSection.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/SplitMods.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/components/TechniqueItem.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/main.js (100%) rename {magiknightawake => magi-knights-awakening}/src/relay/handlers/colorHandler.js (100%) rename {magiknightawake => magi-knights-awakening}/src/relay/handlers/index.js (100%) rename {magiknightawake => magi-knights-awakening}/src/relay/handlers/onChange.js (91%) rename {magiknightawake => magi-knights-awakening}/src/relay/handlers/onDragOver.js (100%) rename {magiknightawake => magi-knights-awakening}/src/relay/handlers/onInit.js (93%) rename {magiknightawake => magi-knights-awakening}/src/relay/handlers/onSettingsChange.js (100%) rename {magiknightawake => magi-knights-awakening}/src/relay/handlers/onSharedSettingsChange.js (100%) rename {magiknightawake => magi-knights-awakening}/src/relay/handlers/onTranslationsRequest.js (100%) rename {magiknightawake => magi-knights-awakening}/src/relay/index.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollFuncs/ability.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollFuncs/index.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollFuncs/skill.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollFuncs/spell.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollFuncs/weapon.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/expressions/capitalize.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/expressions/getDice.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/expressions/index.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/expressions/isArray.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/expressions/isEqual.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/expressions/isGreater.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/expressions/modifiers.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/expressions/sumComponents.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/index.js (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/partials/header.hbs (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/partials/keyValues.hbs (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/partials/rollComponents.hbs (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/partials/rollTotal.hbs (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/partials/textContent.hbs (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/partials/wrapper.hbs (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/styles/common.scss (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/styles/host.scss (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/templates/complex.hbs (100%) rename {magiknightawake => magi-knights-awakening}/src/rollTemplates/templates/newRoll.hbs (100%) rename {magiknightawake => magi-knights-awakening}/src/router/index.js (100%) rename {magiknightawake => magi-knights-awakening}/src/stores/index.js (100%) rename {magiknightawake => magi-knights-awakening}/src/stores/metaStore.js (100%) rename {magiknightawake => magi-knights-awakening}/src/stores/sheetStore.js (100%) rename {magiknightawake => magi-knights-awakening}/src/stores/spellModal.js (100%) rename {magiknightawake => magi-knights-awakening}/src/utility/getRollResults.js (100%) rename {magiknightawake => magi-knights-awakening}/src/utility/index.js (100%) rename {magiknightawake => magi-knights-awakening}/src/utility/objectify.js (100%) rename {magiknightawake => magi-knights-awakening}/src/utility/rollToChat.js (100%) rename {magiknightawake => magi-knights-awakening}/src/views/NPCView.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/views/PC/BackgroundView.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/views/PC/BasicView.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/views/PC/KnightView.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/views/PC/StudentView.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/views/PCView.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/views/sections/PowerShards.vue (100%) rename {magiknightawake => magi-knights-awakening}/src/views/sections/TechniquesTactics.vue (100%) rename {magiknightawake => magi-knights-awakening}/vite.config.js (100%) diff --git a/magiknightawake/.gitignore b/magi-knights-awakening/.gitignore similarity index 100% rename from magiknightawake/.gitignore rename to magi-knights-awakening/.gitignore diff --git a/magiknightawake/README.md b/magi-knights-awakening/README.md similarity index 100% rename from magiknightawake/README.md rename to magi-knights-awakening/README.md diff --git a/magiknightawake/index.html b/magi-knights-awakening/index.html similarity index 100% rename from magiknightawake/index.html rename to magi-knights-awakening/index.html diff --git a/magiknightawake/jsconfig.json b/magi-knights-awakening/jsconfig.json similarity index 100% rename from magiknightawake/jsconfig.json rename to magi-knights-awakening/jsconfig.json diff --git a/magiknightawake/package-lock.json b/magi-knights-awakening/package-lock.json similarity index 100% rename from magiknightawake/package-lock.json rename to magi-knights-awakening/package-lock.json diff --git a/magiknightawake/package.json b/magi-knights-awakening/package.json similarity index 100% rename from magiknightawake/package.json rename to magi-knights-awakening/package.json diff --git a/magiknightawake/preview.jpg b/magi-knights-awakening/preview.jpg similarity index 100% rename from magiknightawake/preview.jpg rename to magi-knights-awakening/preview.jpg diff --git a/magiknightawake/sheet.json b/magi-knights-awakening/sheet.json similarity index 100% rename from magiknightawake/sheet.json rename to magi-knights-awakening/sheet.json diff --git a/magiknightawake/src/App.vue b/magi-knights-awakening/src/App.vue similarity index 100% rename from magiknightawake/src/App.vue rename to magi-knights-awakening/src/App.vue diff --git a/magiknightawake/src/assets/Clover.svg b/magi-knights-awakening/src/assets/Clover.svg similarity index 100% rename from magiknightawake/src/assets/Clover.svg rename to magi-knights-awakening/src/assets/Clover.svg diff --git a/magiknightawake/src/assets/ability-circle.png b/magi-knights-awakening/src/assets/ability-circle.png similarity index 100% rename from magiknightawake/src/assets/ability-circle.png rename to magi-knights-awakening/src/assets/ability-circle.png diff --git a/magiknightawake/src/assets/apple.png b/magi-knights-awakening/src/assets/apple.png similarity index 100% rename from magiknightawake/src/assets/apple.png rename to magi-knights-awakening/src/assets/apple.png diff --git a/magiknightawake/src/assets/attack.png b/magi-knights-awakening/src/assets/attack.png similarity index 100% rename from magiknightawake/src/assets/attack.png rename to magi-knights-awakening/src/assets/attack.png diff --git a/magiknightawake/src/assets/bottle.png b/magi-knights-awakening/src/assets/bottle.png similarity index 100% rename from magiknightawake/src/assets/bottle.png rename to magi-knights-awakening/src/assets/bottle.png diff --git a/magiknightawake/src/assets/crystal.svg b/magi-knights-awakening/src/assets/crystal.svg similarity index 100% rename from magiknightawake/src/assets/crystal.svg rename to magi-knights-awakening/src/assets/crystal.svg diff --git a/magiknightawake/src/assets/diamond.png b/magi-knights-awakening/src/assets/diamond.png similarity index 100% rename from magiknightawake/src/assets/diamond.png rename to magi-knights-awakening/src/assets/diamond.png diff --git a/magiknightawake/src/assets/eclipse-blip-checked.png b/magi-knights-awakening/src/assets/eclipse-blip-checked.png similarity index 100% rename from magiknightawake/src/assets/eclipse-blip-checked.png rename to magi-knights-awakening/src/assets/eclipse-blip-checked.png diff --git a/magiknightawake/src/assets/eclipse-blip-filled.png b/magi-knights-awakening/src/assets/eclipse-blip-filled.png similarity index 100% rename from magiknightawake/src/assets/eclipse-blip-filled.png rename to magi-knights-awakening/src/assets/eclipse-blip-filled.png diff --git a/magiknightawake/src/assets/eclipse-blip-scratched.png b/magi-knights-awakening/src/assets/eclipse-blip-scratched.png similarity index 100% rename from magiknightawake/src/assets/eclipse-blip-scratched.png rename to magi-knights-awakening/src/assets/eclipse-blip-scratched.png diff --git a/magiknightawake/src/assets/eclipse-blip-x.png b/magi-knights-awakening/src/assets/eclipse-blip-x.png similarity index 100% rename from magiknightawake/src/assets/eclipse-blip-x.png rename to magi-knights-awakening/src/assets/eclipse-blip-x.png diff --git a/magiknightawake/src/assets/eclipse-blip.png b/magi-knights-awakening/src/assets/eclipse-blip.png similarity index 100% rename from magiknightawake/src/assets/eclipse-blip.png rename to magi-knights-awakening/src/assets/eclipse-blip.png diff --git a/magiknightawake/src/assets/eclipse-border.png b/magi-knights-awakening/src/assets/eclipse-border.png similarity index 100% rename from magiknightawake/src/assets/eclipse-border.png rename to magi-knights-awakening/src/assets/eclipse-border.png diff --git a/magiknightawake/src/assets/fonts.css b/magi-knights-awakening/src/assets/fonts.css similarity index 100% rename from magiknightawake/src/assets/fonts.css rename to magi-knights-awakening/src/assets/fonts.css diff --git a/magiknightawake/src/assets/header-border.png b/magi-knights-awakening/src/assets/header-border.png similarity index 100% rename from magiknightawake/src/assets/header-border.png rename to magi-knights-awakening/src/assets/header-border.png diff --git a/magiknightawake/src/assets/magi-knight-damage.png b/magi-knights-awakening/src/assets/magi-knight-damage.png similarity index 100% rename from magiknightawake/src/assets/magi-knight-damage.png rename to magi-knights-awakening/src/assets/magi-knight-damage.png diff --git a/magiknightawake/src/assets/magi-knight-shield.png b/magi-knights-awakening/src/assets/magi-knight-shield.png similarity index 100% rename from magiknightawake/src/assets/magi-knight-shield.png rename to magi-knights-awakening/src/assets/magi-knight-shield.png diff --git a/magiknightawake/src/assets/magiKnight-header-dm.png b/magi-knights-awakening/src/assets/magiKnight-header-dm.png similarity index 100% rename from magiknightawake/src/assets/magiKnight-header-dm.png rename to magi-knights-awakening/src/assets/magiKnight-header-dm.png diff --git a/magiknightawake/src/assets/magiKnight-header.png b/magi-knights-awakening/src/assets/magiKnight-header.png similarity index 100% rename from magiknightawake/src/assets/magiKnight-header.png rename to magi-knights-awakening/src/assets/magiKnight-header.png diff --git a/magiknightawake/src/assets/magiknight-full-header.png b/magi-knights-awakening/src/assets/magiknight-full-header.png similarity index 100% rename from magiknightawake/src/assets/magiknight-full-header.png rename to magi-knights-awakening/src/assets/magiknight-full-header.png diff --git a/magiknightawake/src/assets/main.css b/magi-knights-awakening/src/assets/main.css similarity index 100% rename from magiknightawake/src/assets/main.css rename to magi-knights-awakening/src/assets/main.css diff --git a/magiknightawake/src/assets/moon1.png b/magi-knights-awakening/src/assets/moon1.png similarity index 100% rename from magiknightawake/src/assets/moon1.png rename to magi-knights-awakening/src/assets/moon1.png diff --git a/magiknightawake/src/assets/moon2.png b/magi-knights-awakening/src/assets/moon2.png similarity index 100% rename from magiknightawake/src/assets/moon2.png rename to magi-knights-awakening/src/assets/moon2.png diff --git a/magiknightawake/src/assets/moon3.png b/magi-knights-awakening/src/assets/moon3.png similarity index 100% rename from magiknightawake/src/assets/moon3.png rename to magi-knights-awakening/src/assets/moon3.png diff --git a/magiknightawake/src/assets/moon4.png b/magi-knights-awakening/src/assets/moon4.png similarity index 100% rename from magiknightawake/src/assets/moon4.png rename to magi-knights-awakening/src/assets/moon4.png diff --git a/magiknightawake/src/assets/moon5.png b/magi-knights-awakening/src/assets/moon5.png similarity index 100% rename from magiknightawake/src/assets/moon5.png rename to magi-knights-awakening/src/assets/moon5.png diff --git a/magiknightawake/src/assets/moon6.png b/magi-knights-awakening/src/assets/moon6.png similarity index 100% rename from magiknightawake/src/assets/moon6.png rename to magi-knights-awakening/src/assets/moon6.png diff --git a/magiknightawake/src/assets/moon7.png b/magi-knights-awakening/src/assets/moon7.png similarity index 100% rename from magiknightawake/src/assets/moon7.png rename to magi-knights-awakening/src/assets/moon7.png diff --git a/magiknightawake/src/assets/moon8.png b/magi-knights-awakening/src/assets/moon8.png similarity index 100% rename from magiknightawake/src/assets/moon8.png rename to magi-knights-awakening/src/assets/moon8.png diff --git a/magiknightawake/src/assets/move.png b/magi-knights-awakening/src/assets/move.png similarity index 100% rename from magiknightawake/src/assets/move.png rename to magi-knights-awakening/src/assets/move.png diff --git a/magiknightawake/src/assets/plain-star.png b/magi-knights-awakening/src/assets/plain-star.png similarity index 100% rename from magiknightawake/src/assets/plain-star.png rename to magi-knights-awakening/src/assets/plain-star.png diff --git a/magiknightawake/src/assets/star.png b/magi-knights-awakening/src/assets/star.png similarity index 100% rename from magiknightawake/src/assets/star.png rename to magi-knights-awakening/src/assets/star.png diff --git a/magiknightawake/src/assets/student-damage.png b/magi-knights-awakening/src/assets/student-damage.png similarity index 100% rename from magiknightawake/src/assets/student-damage.png rename to magi-knights-awakening/src/assets/student-damage.png diff --git a/magiknightawake/src/assets/student-shield.png b/magi-knights-awakening/src/assets/student-shield.png similarity index 100% rename from magiknightawake/src/assets/student-shield.png rename to magi-knights-awakening/src/assets/student-shield.png diff --git a/magiknightawake/src/assets/studied.png b/magi-knights-awakening/src/assets/studied.png similarity index 100% rename from magiknightawake/src/assets/studied.png rename to magi-knights-awakening/src/assets/studied.png diff --git a/magiknightawake/src/assets/sword.png b/magi-knights-awakening/src/assets/sword.png similarity index 100% rename from magiknightawake/src/assets/sword.png rename to magi-knights-awakening/src/assets/sword.png diff --git a/magiknightawake/src/assets/variables.css b/magi-knights-awakening/src/assets/variables.css similarity index 100% rename from magiknightawake/src/assets/variables.css rename to magi-knights-awakening/src/assets/variables.css diff --git a/magiknightawake/src/assets/xmoon1.png b/magi-knights-awakening/src/assets/xmoon1.png similarity index 100% rename from magiknightawake/src/assets/xmoon1.png rename to magi-knights-awakening/src/assets/xmoon1.png diff --git a/magiknightawake/src/assets/xmoon2.png b/magi-knights-awakening/src/assets/xmoon2.png similarity index 100% rename from magiknightawake/src/assets/xmoon2.png rename to magi-knights-awakening/src/assets/xmoon2.png diff --git a/magiknightawake/src/assets/xmoon3.png b/magi-knights-awakening/src/assets/xmoon3.png similarity index 100% rename from magiknightawake/src/assets/xmoon3.png rename to magi-knights-awakening/src/assets/xmoon3.png diff --git a/magiknightawake/src/assets/xmoon4.png b/magi-knights-awakening/src/assets/xmoon4.png similarity index 100% rename from magiknightawake/src/assets/xmoon4.png rename to magi-knights-awakening/src/assets/xmoon4.png diff --git a/magiknightawake/src/assets/xmoon5.png b/magi-knights-awakening/src/assets/xmoon5.png similarity index 100% rename from magiknightawake/src/assets/xmoon5.png rename to magi-knights-awakening/src/assets/xmoon5.png diff --git a/magiknightawake/src/assets/xmoon6.png b/magi-knights-awakening/src/assets/xmoon6.png similarity index 100% rename from magiknightawake/src/assets/xmoon6.png rename to magi-knights-awakening/src/assets/xmoon6.png diff --git a/magiknightawake/src/assets/xmoon7.png b/magi-knights-awakening/src/assets/xmoon7.png similarity index 100% rename from magiknightawake/src/assets/xmoon7.png rename to magi-knights-awakening/src/assets/xmoon7.png diff --git a/magiknightawake/src/assets/xmoon8.png b/magi-knights-awakening/src/assets/xmoon8.png similarity index 100% rename from magiknightawake/src/assets/xmoon8.png rename to magi-knights-awakening/src/assets/xmoon8.png diff --git a/magiknightawake/src/components/AbilityScore.vue b/magi-knights-awakening/src/components/AbilityScore.vue similarity index 100% rename from magiknightawake/src/components/AbilityScore.vue rename to magi-knights-awakening/src/components/AbilityScore.vue diff --git a/magiknightawake/src/components/AbilityScoreSection.vue b/magi-knights-awakening/src/components/AbilityScoreSection.vue similarity index 100% rename from magiknightawake/src/components/AbilityScoreSection.vue rename to magi-knights-awakening/src/components/AbilityScoreSection.vue diff --git a/magiknightawake/src/components/BackgroundItems.vue b/magi-knights-awakening/src/components/BackgroundItems.vue similarity index 100% rename from magiknightawake/src/components/BackgroundItems.vue rename to magi-knights-awakening/src/components/BackgroundItems.vue diff --git a/magiknightawake/src/components/BaseSplit.vue b/magi-knights-awakening/src/components/BaseSplit.vue similarity index 100% rename from magiknightawake/src/components/BaseSplit.vue rename to magi-knights-awakening/src/components/BaseSplit.vue diff --git a/magiknightawake/src/components/BurstDisplay.vue b/magi-knights-awakening/src/components/BurstDisplay.vue similarity index 100% rename from magiknightawake/src/components/BurstDisplay.vue rename to magi-knights-awakening/src/components/BurstDisplay.vue diff --git a/magiknightawake/src/components/Button.vue b/magi-knights-awakening/src/components/Button.vue similarity index 100% rename from magiknightawake/src/components/Button.vue rename to magi-knights-awakening/src/components/Button.vue diff --git a/magiknightawake/src/components/CloverDisplay.vue b/magi-knights-awakening/src/components/CloverDisplay.vue similarity index 100% rename from magiknightawake/src/components/CloverDisplay.vue rename to magi-knights-awakening/src/components/CloverDisplay.vue diff --git a/magiknightawake/src/components/Collapsible.vue b/magi-knights-awakening/src/components/Collapsible.vue similarity index 100% rename from magiknightawake/src/components/Collapsible.vue rename to magi-knights-awakening/src/components/Collapsible.vue diff --git a/magiknightawake/src/components/Crystal.vue b/magi-knights-awakening/src/components/Crystal.vue similarity index 100% rename from magiknightawake/src/components/Crystal.vue rename to magi-knights-awakening/src/components/Crystal.vue diff --git a/magiknightawake/src/components/DiamondDisplay.vue b/magi-knights-awakening/src/components/DiamondDisplay.vue similarity index 100% rename from magiknightawake/src/components/DiamondDisplay.vue rename to magi-knights-awakening/src/components/DiamondDisplay.vue diff --git a/magiknightawake/src/components/EclipseChart.vue b/magi-knights-awakening/src/components/EclipseChart.vue similarity index 100% rename from magiknightawake/src/components/EclipseChart.vue rename to magi-knights-awakening/src/components/EclipseChart.vue diff --git a/magiknightawake/src/components/GoalTallies.vue b/magi-knights-awakening/src/components/GoalTallies.vue similarity index 100% rename from magiknightawake/src/components/GoalTallies.vue rename to magi-knights-awakening/src/components/GoalTallies.vue diff --git a/magiknightawake/src/components/HPContainer.vue b/magi-knights-awakening/src/components/HPContainer.vue similarity index 100% rename from magiknightawake/src/components/HPContainer.vue rename to magi-knights-awakening/src/components/HPContainer.vue diff --git a/magiknightawake/src/components/Header.vue b/magi-knights-awakening/src/components/Header.vue similarity index 100% rename from magiknightawake/src/components/Header.vue rename to magi-knights-awakening/src/components/Header.vue diff --git a/magiknightawake/src/components/ImageBackedLabel.vue b/magi-knights-awakening/src/components/ImageBackedLabel.vue similarity index 100% rename from magiknightawake/src/components/ImageBackedLabel.vue rename to magi-knights-awakening/src/components/ImageBackedLabel.vue diff --git a/magiknightawake/src/components/KnightNav.vue b/magi-knights-awakening/src/components/KnightNav.vue similarity index 100% rename from magiknightawake/src/components/KnightNav.vue rename to magi-knights-awakening/src/components/KnightNav.vue diff --git a/magiknightawake/src/components/LabelStacked.vue b/magi-knights-awakening/src/components/LabelStacked.vue similarity index 100% rename from magiknightawake/src/components/LabelStacked.vue rename to magi-knights-awakening/src/components/LabelStacked.vue diff --git a/magiknightawake/src/components/MasterHeader.vue b/magi-knights-awakening/src/components/MasterHeader.vue similarity index 100% rename from magiknightawake/src/components/MasterHeader.vue rename to magi-knights-awakening/src/components/MasterHeader.vue diff --git a/magiknightawake/src/components/Modal.vue b/magi-knights-awakening/src/components/Modal.vue similarity index 100% rename from magiknightawake/src/components/Modal.vue rename to magi-knights-awakening/src/components/Modal.vue diff --git a/magiknightawake/src/components/NotchContainer.vue b/magi-knights-awakening/src/components/NotchContainer.vue similarity index 100% rename from magiknightawake/src/components/NotchContainer.vue rename to magi-knights-awakening/src/components/NotchContainer.vue diff --git a/magiknightawake/src/components/RepeatingItem.vue b/magi-knights-awakening/src/components/RepeatingItem.vue similarity index 100% rename from magiknightawake/src/components/RepeatingItem.vue rename to magi-knights-awakening/src/components/RepeatingItem.vue diff --git a/magiknightawake/src/components/RepeatingSection.vue b/magi-knights-awakening/src/components/RepeatingSection.vue similarity index 100% rename from magiknightawake/src/components/RepeatingSection.vue rename to magi-knights-awakening/src/components/RepeatingSection.vue diff --git a/magiknightawake/src/components/ShardItem.vue b/magi-knights-awakening/src/components/ShardItem.vue similarity index 100% rename from magiknightawake/src/components/ShardItem.vue rename to magi-knights-awakening/src/components/ShardItem.vue diff --git a/magiknightawake/src/components/Skill.vue b/magi-knights-awakening/src/components/Skill.vue similarity index 100% rename from magiknightawake/src/components/Skill.vue rename to magi-knights-awakening/src/components/Skill.vue diff --git a/magiknightawake/src/components/SkillSection.vue b/magi-knights-awakening/src/components/SkillSection.vue similarity index 100% rename from magiknightawake/src/components/SkillSection.vue rename to magi-knights-awakening/src/components/SkillSection.vue diff --git a/magiknightawake/src/components/SocialSection.vue b/magi-knights-awakening/src/components/SocialSection.vue similarity index 100% rename from magiknightawake/src/components/SocialSection.vue rename to magi-knights-awakening/src/components/SocialSection.vue diff --git a/magiknightawake/src/components/SpellSection.vue b/magi-knights-awakening/src/components/SpellSection.vue similarity index 100% rename from magiknightawake/src/components/SpellSection.vue rename to magi-knights-awakening/src/components/SpellSection.vue diff --git a/magiknightawake/src/components/SplitMods.vue b/magi-knights-awakening/src/components/SplitMods.vue similarity index 100% rename from magiknightawake/src/components/SplitMods.vue rename to magi-knights-awakening/src/components/SplitMods.vue diff --git a/magiknightawake/src/components/TechniqueItem.vue b/magi-knights-awakening/src/components/TechniqueItem.vue similarity index 100% rename from magiknightawake/src/components/TechniqueItem.vue rename to magi-knights-awakening/src/components/TechniqueItem.vue diff --git a/magiknightawake/src/main.js b/magi-knights-awakening/src/main.js similarity index 100% rename from magiknightawake/src/main.js rename to magi-knights-awakening/src/main.js diff --git a/magiknightawake/src/relay/handlers/colorHandler.js b/magi-knights-awakening/src/relay/handlers/colorHandler.js similarity index 100% rename from magiknightawake/src/relay/handlers/colorHandler.js rename to magi-knights-awakening/src/relay/handlers/colorHandler.js diff --git a/magiknightawake/src/relay/handlers/index.js b/magi-knights-awakening/src/relay/handlers/index.js similarity index 100% rename from magiknightawake/src/relay/handlers/index.js rename to magi-knights-awakening/src/relay/handlers/index.js diff --git a/magiknightawake/src/relay/handlers/onChange.js b/magi-knights-awakening/src/relay/handlers/onChange.js similarity index 91% rename from magiknightawake/src/relay/handlers/onChange.js rename to magi-knights-awakening/src/relay/handlers/onChange.js index 596ec9d..36f1f3f 100644 --- a/magiknightawake/src/relay/handlers/onChange.js +++ b/magi-knights-awakening/src/relay/handlers/onChange.js @@ -1,4 +1,4 @@ -import { beaconPulse } from '..'; +import { beaconPulse } from '../'; // onChange is called when the character data is updated. This is where you will update the sheet with the new data. export const onChange = async ({ character }) => { const old = beaconPulse.value // This is a way to trigger a re-render of the sheet, see relay.js for more information. diff --git a/magiknightawake/src/relay/handlers/onDragOver.js b/magi-knights-awakening/src/relay/handlers/onDragOver.js similarity index 100% rename from magiknightawake/src/relay/handlers/onDragOver.js rename to magi-knights-awakening/src/relay/handlers/onDragOver.js diff --git a/magiknightawake/src/relay/handlers/onInit.js b/magi-knights-awakening/src/relay/handlers/onInit.js similarity index 93% rename from magiknightawake/src/relay/handlers/onInit.js rename to magi-knights-awakening/src/relay/handlers/onInit.js index 514b15d..f4254fb 100644 --- a/magiknightawake/src/relay/handlers/onInit.js +++ b/magi-knights-awakening/src/relay/handlers/onInit.js @@ -1,4 +1,4 @@ -import { initValues } from '..'; +import { initValues } from '../'; import { colorHandler } from './colorHandler'; // onInit is called when the Relay is first loaded. It is used to set up the initial values of the sheet. diff --git a/magiknightawake/src/relay/handlers/onSettingsChange.js b/magi-knights-awakening/src/relay/handlers/onSettingsChange.js similarity index 100% rename from magiknightawake/src/relay/handlers/onSettingsChange.js rename to magi-knights-awakening/src/relay/handlers/onSettingsChange.js diff --git a/magiknightawake/src/relay/handlers/onSharedSettingsChange.js b/magi-knights-awakening/src/relay/handlers/onSharedSettingsChange.js similarity index 100% rename from magiknightawake/src/relay/handlers/onSharedSettingsChange.js rename to magi-knights-awakening/src/relay/handlers/onSharedSettingsChange.js diff --git a/magiknightawake/src/relay/handlers/onTranslationsRequest.js b/magi-knights-awakening/src/relay/handlers/onTranslationsRequest.js similarity index 100% rename from magiknightawake/src/relay/handlers/onTranslationsRequest.js rename to magi-knights-awakening/src/relay/handlers/onTranslationsRequest.js diff --git a/magiknightawake/src/relay/index.js b/magi-knights-awakening/src/relay/index.js similarity index 100% rename from magiknightawake/src/relay/index.js rename to magi-knights-awakening/src/relay/index.js diff --git a/magiknightawake/src/rollFuncs/ability.js b/magi-knights-awakening/src/rollFuncs/ability.js similarity index 100% rename from magiknightawake/src/rollFuncs/ability.js rename to magi-knights-awakening/src/rollFuncs/ability.js diff --git a/magiknightawake/src/rollFuncs/index.js b/magi-knights-awakening/src/rollFuncs/index.js similarity index 100% rename from magiknightawake/src/rollFuncs/index.js rename to magi-knights-awakening/src/rollFuncs/index.js diff --git a/magiknightawake/src/rollFuncs/skill.js b/magi-knights-awakening/src/rollFuncs/skill.js similarity index 100% rename from magiknightawake/src/rollFuncs/skill.js rename to magi-knights-awakening/src/rollFuncs/skill.js diff --git a/magiknightawake/src/rollFuncs/spell.js b/magi-knights-awakening/src/rollFuncs/spell.js similarity index 100% rename from magiknightawake/src/rollFuncs/spell.js rename to magi-knights-awakening/src/rollFuncs/spell.js diff --git a/magiknightawake/src/rollFuncs/weapon.js b/magi-knights-awakening/src/rollFuncs/weapon.js similarity index 100% rename from magiknightawake/src/rollFuncs/weapon.js rename to magi-knights-awakening/src/rollFuncs/weapon.js diff --git a/magiknightawake/src/rollTemplates/expressions/capitalize.js b/magi-knights-awakening/src/rollTemplates/expressions/capitalize.js similarity index 100% rename from magiknightawake/src/rollTemplates/expressions/capitalize.js rename to magi-knights-awakening/src/rollTemplates/expressions/capitalize.js diff --git a/magiknightawake/src/rollTemplates/expressions/getDice.js b/magi-knights-awakening/src/rollTemplates/expressions/getDice.js similarity index 100% rename from magiknightawake/src/rollTemplates/expressions/getDice.js rename to magi-knights-awakening/src/rollTemplates/expressions/getDice.js diff --git a/magiknightawake/src/rollTemplates/expressions/index.js b/magi-knights-awakening/src/rollTemplates/expressions/index.js similarity index 100% rename from magiknightawake/src/rollTemplates/expressions/index.js rename to magi-knights-awakening/src/rollTemplates/expressions/index.js diff --git a/magiknightawake/src/rollTemplates/expressions/isArray.js b/magi-knights-awakening/src/rollTemplates/expressions/isArray.js similarity index 100% rename from magiknightawake/src/rollTemplates/expressions/isArray.js rename to magi-knights-awakening/src/rollTemplates/expressions/isArray.js diff --git a/magiknightawake/src/rollTemplates/expressions/isEqual.js b/magi-knights-awakening/src/rollTemplates/expressions/isEqual.js similarity index 100% rename from magiknightawake/src/rollTemplates/expressions/isEqual.js rename to magi-knights-awakening/src/rollTemplates/expressions/isEqual.js diff --git a/magiknightawake/src/rollTemplates/expressions/isGreater.js b/magi-knights-awakening/src/rollTemplates/expressions/isGreater.js similarity index 100% rename from magiknightawake/src/rollTemplates/expressions/isGreater.js rename to magi-knights-awakening/src/rollTemplates/expressions/isGreater.js diff --git a/magiknightawake/src/rollTemplates/expressions/modifiers.js b/magi-knights-awakening/src/rollTemplates/expressions/modifiers.js similarity index 100% rename from magiknightawake/src/rollTemplates/expressions/modifiers.js rename to magi-knights-awakening/src/rollTemplates/expressions/modifiers.js diff --git a/magiknightawake/src/rollTemplates/expressions/sumComponents.js b/magi-knights-awakening/src/rollTemplates/expressions/sumComponents.js similarity index 100% rename from magiknightawake/src/rollTemplates/expressions/sumComponents.js rename to magi-knights-awakening/src/rollTemplates/expressions/sumComponents.js diff --git a/magiknightawake/src/rollTemplates/index.js b/magi-knights-awakening/src/rollTemplates/index.js similarity index 100% rename from magiknightawake/src/rollTemplates/index.js rename to magi-knights-awakening/src/rollTemplates/index.js diff --git a/magiknightawake/src/rollTemplates/partials/header.hbs b/magi-knights-awakening/src/rollTemplates/partials/header.hbs similarity index 100% rename from magiknightawake/src/rollTemplates/partials/header.hbs rename to magi-knights-awakening/src/rollTemplates/partials/header.hbs diff --git a/magiknightawake/src/rollTemplates/partials/keyValues.hbs b/magi-knights-awakening/src/rollTemplates/partials/keyValues.hbs similarity index 100% rename from magiknightawake/src/rollTemplates/partials/keyValues.hbs rename to magi-knights-awakening/src/rollTemplates/partials/keyValues.hbs diff --git a/magiknightawake/src/rollTemplates/partials/rollComponents.hbs b/magi-knights-awakening/src/rollTemplates/partials/rollComponents.hbs similarity index 100% rename from magiknightawake/src/rollTemplates/partials/rollComponents.hbs rename to magi-knights-awakening/src/rollTemplates/partials/rollComponents.hbs diff --git a/magiknightawake/src/rollTemplates/partials/rollTotal.hbs b/magi-knights-awakening/src/rollTemplates/partials/rollTotal.hbs similarity index 100% rename from magiknightawake/src/rollTemplates/partials/rollTotal.hbs rename to magi-knights-awakening/src/rollTemplates/partials/rollTotal.hbs diff --git a/magiknightawake/src/rollTemplates/partials/textContent.hbs b/magi-knights-awakening/src/rollTemplates/partials/textContent.hbs similarity index 100% rename from magiknightawake/src/rollTemplates/partials/textContent.hbs rename to magi-knights-awakening/src/rollTemplates/partials/textContent.hbs diff --git a/magiknightawake/src/rollTemplates/partials/wrapper.hbs b/magi-knights-awakening/src/rollTemplates/partials/wrapper.hbs similarity index 100% rename from magiknightawake/src/rollTemplates/partials/wrapper.hbs rename to magi-knights-awakening/src/rollTemplates/partials/wrapper.hbs diff --git a/magiknightawake/src/rollTemplates/styles/common.scss b/magi-knights-awakening/src/rollTemplates/styles/common.scss similarity index 100% rename from magiknightawake/src/rollTemplates/styles/common.scss rename to magi-knights-awakening/src/rollTemplates/styles/common.scss diff --git a/magiknightawake/src/rollTemplates/styles/host.scss b/magi-knights-awakening/src/rollTemplates/styles/host.scss similarity index 100% rename from magiknightawake/src/rollTemplates/styles/host.scss rename to magi-knights-awakening/src/rollTemplates/styles/host.scss diff --git a/magiknightawake/src/rollTemplates/templates/complex.hbs b/magi-knights-awakening/src/rollTemplates/templates/complex.hbs similarity index 100% rename from magiknightawake/src/rollTemplates/templates/complex.hbs rename to magi-knights-awakening/src/rollTemplates/templates/complex.hbs diff --git a/magiknightawake/src/rollTemplates/templates/newRoll.hbs b/magi-knights-awakening/src/rollTemplates/templates/newRoll.hbs similarity index 100% rename from magiknightawake/src/rollTemplates/templates/newRoll.hbs rename to magi-knights-awakening/src/rollTemplates/templates/newRoll.hbs diff --git a/magiknightawake/src/router/index.js b/magi-knights-awakening/src/router/index.js similarity index 100% rename from magiknightawake/src/router/index.js rename to magi-knights-awakening/src/router/index.js diff --git a/magiknightawake/src/stores/index.js b/magi-knights-awakening/src/stores/index.js similarity index 100% rename from magiknightawake/src/stores/index.js rename to magi-knights-awakening/src/stores/index.js diff --git a/magiknightawake/src/stores/metaStore.js b/magi-knights-awakening/src/stores/metaStore.js similarity index 100% rename from magiknightawake/src/stores/metaStore.js rename to magi-knights-awakening/src/stores/metaStore.js diff --git a/magiknightawake/src/stores/sheetStore.js b/magi-knights-awakening/src/stores/sheetStore.js similarity index 100% rename from magiknightawake/src/stores/sheetStore.js rename to magi-knights-awakening/src/stores/sheetStore.js diff --git a/magiknightawake/src/stores/spellModal.js b/magi-knights-awakening/src/stores/spellModal.js similarity index 100% rename from magiknightawake/src/stores/spellModal.js rename to magi-knights-awakening/src/stores/spellModal.js diff --git a/magiknightawake/src/utility/getRollResults.js b/magi-knights-awakening/src/utility/getRollResults.js similarity index 100% rename from magiknightawake/src/utility/getRollResults.js rename to magi-knights-awakening/src/utility/getRollResults.js diff --git a/magiknightawake/src/utility/index.js b/magi-knights-awakening/src/utility/index.js similarity index 100% rename from magiknightawake/src/utility/index.js rename to magi-knights-awakening/src/utility/index.js diff --git a/magiknightawake/src/utility/objectify.js b/magi-knights-awakening/src/utility/objectify.js similarity index 100% rename from magiknightawake/src/utility/objectify.js rename to magi-knights-awakening/src/utility/objectify.js diff --git a/magiknightawake/src/utility/rollToChat.js b/magi-knights-awakening/src/utility/rollToChat.js similarity index 100% rename from magiknightawake/src/utility/rollToChat.js rename to magi-knights-awakening/src/utility/rollToChat.js diff --git a/magiknightawake/src/views/NPCView.vue b/magi-knights-awakening/src/views/NPCView.vue similarity index 100% rename from magiknightawake/src/views/NPCView.vue rename to magi-knights-awakening/src/views/NPCView.vue diff --git a/magiknightawake/src/views/PC/BackgroundView.vue b/magi-knights-awakening/src/views/PC/BackgroundView.vue similarity index 100% rename from magiknightawake/src/views/PC/BackgroundView.vue rename to magi-knights-awakening/src/views/PC/BackgroundView.vue diff --git a/magiknightawake/src/views/PC/BasicView.vue b/magi-knights-awakening/src/views/PC/BasicView.vue similarity index 100% rename from magiknightawake/src/views/PC/BasicView.vue rename to magi-knights-awakening/src/views/PC/BasicView.vue diff --git a/magiknightawake/src/views/PC/KnightView.vue b/magi-knights-awakening/src/views/PC/KnightView.vue similarity index 100% rename from magiknightawake/src/views/PC/KnightView.vue rename to magi-knights-awakening/src/views/PC/KnightView.vue diff --git a/magiknightawake/src/views/PC/StudentView.vue b/magi-knights-awakening/src/views/PC/StudentView.vue similarity index 100% rename from magiknightawake/src/views/PC/StudentView.vue rename to magi-knights-awakening/src/views/PC/StudentView.vue diff --git a/magiknightawake/src/views/PCView.vue b/magi-knights-awakening/src/views/PCView.vue similarity index 100% rename from magiknightawake/src/views/PCView.vue rename to magi-knights-awakening/src/views/PCView.vue diff --git a/magiknightawake/src/views/sections/PowerShards.vue b/magi-knights-awakening/src/views/sections/PowerShards.vue similarity index 100% rename from magiknightawake/src/views/sections/PowerShards.vue rename to magi-knights-awakening/src/views/sections/PowerShards.vue diff --git a/magiknightawake/src/views/sections/TechniquesTactics.vue b/magi-knights-awakening/src/views/sections/TechniquesTactics.vue similarity index 100% rename from magiknightawake/src/views/sections/TechniquesTactics.vue rename to magi-knights-awakening/src/views/sections/TechniquesTactics.vue diff --git a/magiknightawake/vite.config.js b/magi-knights-awakening/vite.config.js similarity index 100% rename from magiknightawake/vite.config.js rename to magi-knights-awakening/vite.config.js From 98f3b3abedca1bc6c3e54fe28dd8090035f03a39 Mon Sep 17 00:00:00 2001 From: Daniel Vu Date: Thu, 14 Nov 2024 19:56:15 -0500 Subject: [PATCH 4/9] Initial commit --- magiknightawake/vite.discord.config.js | 58 ++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 magiknightawake/vite.discord.config.js diff --git a/magiknightawake/vite.discord.config.js b/magiknightawake/vite.discord.config.js new file mode 100644 index 0000000..3229f29 --- /dev/null +++ b/magiknightawake/vite.discord.config.js @@ -0,0 +1,58 @@ +import { fileURLToPath, URL } from 'node:url' +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' +import VueDevTools from 'vite-plugin-vue-devtools' + +const DISCORD_ACTIVITY_CLIENT_ID = process.env.DISCORD_ACTIVITY_CLIENT_ID || "1199270539278164008"; + +// https://vitejs.dev/config/ +export default defineConfig(({ mode }) => ({ + plugins: [ + vue(), + VueDevTools(), + ], + base: + mode === "production" + ? `https://${DISCORD_ACTIVITY_CLIENT_ID}.discordsays.com/.proxy/googleapis/storage/roll20-cdn/roll20-beacon-sheets/discord/${DISCORD_ACTIVITY_CLIENT_ID}/${process.env.VITE_SHEET_SHORT_NAME}/` + : "/", + build: { + target: 'esnext', + emptyOutDir: true, + minify: true, + cssCodeSplit: false, + rollupOptions: { + input: { + sheet: "src/main.js" + }, + output: { + dir: "dist", + compact: false, + assetFileNames: (assetInfo) => { + if (assetInfo.name === "style.css") return "sheet.css"; + return "assets/[name][extname]"; + }, + entryFileNames: "sheet.js", + minifyInternalExports: false + } + } + }, + assetsInclude: ["**/*.hbs"], + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)) + } + }, + optimizeDeps: { + esbuildOptions: { + define: { + global: "globalThis" + } + } + }, + server: { + cors: false + }, + define: { + __DISCORD_ACTIVITY_CLIENT_ID__: JSON.stringify(DISCORD_ACTIVITY_CLIENT_ID) + } +})) From dd7a90181c4f6b6801f1b2ffa0b1030d313a0be8 Mon Sep 17 00:00:00 2001 From: Daniel Vu Date: Thu, 14 Nov 2024 19:57:29 -0500 Subject: [PATCH 5/9] Reapply "Ensures that shortnames can be used to fetch sanitized fonts CSS with" This reverts commit 1eb226b6ee2303515f632d02f64172914942ea92. --- .../.gitignore | 0 .../README.md | 0 .../index.html | 0 .../jsconfig.json | 0 .../package-lock.json | 0 .../package.json | 0 .../preview.jpg | Bin .../sheet.json | 0 .../src/App.vue | 0 .../src/assets/Clover.svg | 0 .../src/assets/ability-circle.png | Bin .../src/assets/apple.png | Bin .../src/assets/attack.png | Bin .../src/assets/bottle.png | Bin .../src/assets/crystal.svg | 0 .../src/assets/diamond.png | Bin .../src/assets/eclipse-blip-checked.png | Bin .../src/assets/eclipse-blip-filled.png | Bin .../src/assets/eclipse-blip-scratched.png | Bin .../src/assets/eclipse-blip-x.png | Bin .../src/assets/eclipse-blip.png | Bin .../src/assets/eclipse-border.png | Bin .../src/assets/fonts.css | 0 .../src/assets/header-border.png | Bin .../src/assets/magi-knight-damage.png | Bin .../src/assets/magi-knight-shield.png | Bin .../src/assets/magiKnight-header-dm.png | Bin .../src/assets/magiKnight-header.png | Bin .../src/assets/magiknight-full-header.png | Bin .../src/assets/main.css | 0 .../src/assets/moon1.png | Bin .../src/assets/moon2.png | Bin .../src/assets/moon3.png | Bin .../src/assets/moon4.png | Bin .../src/assets/moon5.png | Bin .../src/assets/moon6.png | Bin .../src/assets/moon7.png | Bin .../src/assets/moon8.png | Bin .../src/assets/move.png | Bin .../src/assets/plain-star.png | Bin .../src/assets/star.png | Bin .../src/assets/student-damage.png | Bin .../src/assets/student-shield.png | Bin .../src/assets/studied.png | Bin .../src/assets/sword.png | Bin .../src/assets/variables.css | 0 .../src/assets/xmoon1.png | Bin .../src/assets/xmoon2.png | Bin .../src/assets/xmoon3.png | Bin .../src/assets/xmoon4.png | Bin .../src/assets/xmoon5.png | Bin .../src/assets/xmoon6.png | Bin .../src/assets/xmoon7.png | Bin .../src/assets/xmoon8.png | Bin .../src/components/AbilityScore.vue | 0 .../src/components/AbilityScoreSection.vue | 0 .../src/components/BackgroundItems.vue | 0 .../src/components/BaseSplit.vue | 0 .../src/components/BurstDisplay.vue | 0 .../src/components/Button.vue | 0 .../src/components/CloverDisplay.vue | 0 .../src/components/Collapsible.vue | 0 .../src/components/Crystal.vue | 0 .../src/components/DiamondDisplay.vue | 0 .../src/components/EclipseChart.vue | 0 .../src/components/GoalTallies.vue | 0 .../src/components/HPContainer.vue | 0 .../src/components/Header.vue | 0 .../src/components/ImageBackedLabel.vue | 0 .../src/components/KnightNav.vue | 0 .../src/components/LabelStacked.vue | 0 .../src/components/MasterHeader.vue | 0 .../src/components/Modal.vue | 0 .../src/components/NotchContainer.vue | 0 .../src/components/RepeatingItem.vue | 0 .../src/components/RepeatingSection.vue | 0 .../src/components/ShardItem.vue | 0 .../src/components/Skill.vue | 0 .../src/components/SkillSection.vue | 0 .../src/components/SocialSection.vue | 0 .../src/components/SpellSection.vue | 0 .../src/components/SplitMods.vue | 0 .../src/components/TechniqueItem.vue | 0 .../src/main.js | 0 .../src/relay/handlers/colorHandler.js | 0 .../src/relay/handlers/index.js | 0 .../src/relay/handlers/onChange.js | 2 +- .../src/relay/handlers/onDragOver.js | 0 .../src/relay/handlers/onInit.js | 2 +- .../src/relay/handlers/onSettingsChange.js | 0 .../src/relay/handlers/onSharedSettingsChange.js | 0 .../src/relay/handlers/onTranslationsRequest.js | 0 .../src/relay/index.js | 0 .../src/rollFuncs/ability.js | 0 .../src/rollFuncs/index.js | 0 .../src/rollFuncs/skill.js | 0 .../src/rollFuncs/spell.js | 0 .../src/rollFuncs/weapon.js | 0 .../src/rollTemplates/expressions/capitalize.js | 0 .../src/rollTemplates/expressions/getDice.js | 0 .../src/rollTemplates/expressions/index.js | 0 .../src/rollTemplates/expressions/isArray.js | 0 .../src/rollTemplates/expressions/isEqual.js | 0 .../src/rollTemplates/expressions/isGreater.js | 0 .../src/rollTemplates/expressions/modifiers.js | 0 .../src/rollTemplates/expressions/sumComponents.js | 0 .../src/rollTemplates/index.js | 0 .../src/rollTemplates/partials/header.hbs | 0 .../src/rollTemplates/partials/keyValues.hbs | 0 .../src/rollTemplates/partials/rollComponents.hbs | 0 .../src/rollTemplates/partials/rollTotal.hbs | 0 .../src/rollTemplates/partials/textContent.hbs | 0 .../src/rollTemplates/partials/wrapper.hbs | 0 .../src/rollTemplates/styles/common.scss | 0 .../src/rollTemplates/styles/host.scss | 0 .../src/rollTemplates/templates/complex.hbs | 0 .../src/rollTemplates/templates/newRoll.hbs | 0 .../src/router/index.js | 0 .../src/stores/index.js | 0 .../src/stores/metaStore.js | 0 .../src/stores/sheetStore.js | 0 .../src/stores/spellModal.js | 0 .../src/utility/getRollResults.js | 0 .../src/utility/index.js | 0 .../src/utility/objectify.js | 0 .../src/utility/rollToChat.js | 0 .../src/views/NPCView.vue | 0 .../src/views/PC/BackgroundView.vue | 0 .../src/views/PC/BasicView.vue | 0 .../src/views/PC/KnightView.vue | 0 .../src/views/PC/StudentView.vue | 0 .../src/views/PCView.vue | 0 .../src/views/sections/PowerShards.vue | 0 .../src/views/sections/TechniquesTactics.vue | 0 .../vite.config.js | 0 135 files changed, 2 insertions(+), 2 deletions(-) rename {magi-knights-awakening => magiknightawake}/.gitignore (100%) rename {magi-knights-awakening => magiknightawake}/README.md (100%) rename {magi-knights-awakening => magiknightawake}/index.html (100%) rename {magi-knights-awakening => magiknightawake}/jsconfig.json (100%) rename {magi-knights-awakening => magiknightawake}/package-lock.json (100%) rename {magi-knights-awakening => magiknightawake}/package.json (100%) rename {magi-knights-awakening => magiknightawake}/preview.jpg (100%) rename {magi-knights-awakening => magiknightawake}/sheet.json (100%) rename {magi-knights-awakening => magiknightawake}/src/App.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/Clover.svg (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/ability-circle.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/apple.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/attack.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/bottle.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/crystal.svg (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/diamond.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/eclipse-blip-checked.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/eclipse-blip-filled.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/eclipse-blip-scratched.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/eclipse-blip-x.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/eclipse-blip.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/eclipse-border.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/fonts.css (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/header-border.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/magi-knight-damage.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/magi-knight-shield.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/magiKnight-header-dm.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/magiKnight-header.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/magiknight-full-header.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/main.css (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon1.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon2.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon3.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon4.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon5.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon6.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon7.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/moon8.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/move.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/plain-star.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/star.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/student-damage.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/student-shield.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/studied.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/sword.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/variables.css (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon1.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon2.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon3.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon4.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon5.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon6.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon7.png (100%) rename {magi-knights-awakening => magiknightawake}/src/assets/xmoon8.png (100%) rename {magi-knights-awakening => magiknightawake}/src/components/AbilityScore.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/AbilityScoreSection.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/BackgroundItems.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/BaseSplit.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/BurstDisplay.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/Button.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/CloverDisplay.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/Collapsible.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/Crystal.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/DiamondDisplay.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/EclipseChart.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/GoalTallies.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/HPContainer.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/Header.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/ImageBackedLabel.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/KnightNav.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/LabelStacked.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/MasterHeader.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/Modal.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/NotchContainer.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/RepeatingItem.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/RepeatingSection.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/ShardItem.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/Skill.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/SkillSection.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/SocialSection.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/SpellSection.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/SplitMods.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/components/TechniqueItem.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/main.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/colorHandler.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/onChange.js (91%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/onDragOver.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/onInit.js (93%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/onSettingsChange.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/onSharedSettingsChange.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/handlers/onTranslationsRequest.js (100%) rename {magi-knights-awakening => magiknightawake}/src/relay/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollFuncs/ability.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollFuncs/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollFuncs/skill.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollFuncs/spell.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollFuncs/weapon.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/capitalize.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/getDice.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/isArray.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/isEqual.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/isGreater.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/modifiers.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/expressions/sumComponents.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/partials/header.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/partials/keyValues.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/partials/rollComponents.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/partials/rollTotal.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/partials/textContent.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/partials/wrapper.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/styles/common.scss (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/styles/host.scss (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/templates/complex.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/rollTemplates/templates/newRoll.hbs (100%) rename {magi-knights-awakening => magiknightawake}/src/router/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/stores/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/stores/metaStore.js (100%) rename {magi-knights-awakening => magiknightawake}/src/stores/sheetStore.js (100%) rename {magi-knights-awakening => magiknightawake}/src/stores/spellModal.js (100%) rename {magi-knights-awakening => magiknightawake}/src/utility/getRollResults.js (100%) rename {magi-knights-awakening => magiknightawake}/src/utility/index.js (100%) rename {magi-knights-awakening => magiknightawake}/src/utility/objectify.js (100%) rename {magi-knights-awakening => magiknightawake}/src/utility/rollToChat.js (100%) rename {magi-knights-awakening => magiknightawake}/src/views/NPCView.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/PC/BackgroundView.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/PC/BasicView.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/PC/KnightView.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/PC/StudentView.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/PCView.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/sections/PowerShards.vue (100%) rename {magi-knights-awakening => magiknightawake}/src/views/sections/TechniquesTactics.vue (100%) rename {magi-knights-awakening => magiknightawake}/vite.config.js (100%) diff --git a/magi-knights-awakening/.gitignore b/magiknightawake/.gitignore similarity index 100% rename from magi-knights-awakening/.gitignore rename to magiknightawake/.gitignore diff --git a/magi-knights-awakening/README.md b/magiknightawake/README.md similarity index 100% rename from magi-knights-awakening/README.md rename to magiknightawake/README.md diff --git a/magi-knights-awakening/index.html b/magiknightawake/index.html similarity index 100% rename from magi-knights-awakening/index.html rename to magiknightawake/index.html diff --git a/magi-knights-awakening/jsconfig.json b/magiknightawake/jsconfig.json similarity index 100% rename from magi-knights-awakening/jsconfig.json rename to magiknightawake/jsconfig.json diff --git a/magi-knights-awakening/package-lock.json b/magiknightawake/package-lock.json similarity index 100% rename from magi-knights-awakening/package-lock.json rename to magiknightawake/package-lock.json diff --git a/magi-knights-awakening/package.json b/magiknightawake/package.json similarity index 100% rename from magi-knights-awakening/package.json rename to magiknightawake/package.json diff --git a/magi-knights-awakening/preview.jpg b/magiknightawake/preview.jpg similarity index 100% rename from magi-knights-awakening/preview.jpg rename to magiknightawake/preview.jpg diff --git a/magi-knights-awakening/sheet.json b/magiknightawake/sheet.json similarity index 100% rename from magi-knights-awakening/sheet.json rename to magiknightawake/sheet.json diff --git a/magi-knights-awakening/src/App.vue b/magiknightawake/src/App.vue similarity index 100% rename from magi-knights-awakening/src/App.vue rename to magiknightawake/src/App.vue diff --git a/magi-knights-awakening/src/assets/Clover.svg b/magiknightawake/src/assets/Clover.svg similarity index 100% rename from magi-knights-awakening/src/assets/Clover.svg rename to magiknightawake/src/assets/Clover.svg diff --git a/magi-knights-awakening/src/assets/ability-circle.png b/magiknightawake/src/assets/ability-circle.png similarity index 100% rename from magi-knights-awakening/src/assets/ability-circle.png rename to magiknightawake/src/assets/ability-circle.png diff --git a/magi-knights-awakening/src/assets/apple.png b/magiknightawake/src/assets/apple.png similarity index 100% rename from magi-knights-awakening/src/assets/apple.png rename to magiknightawake/src/assets/apple.png diff --git a/magi-knights-awakening/src/assets/attack.png b/magiknightawake/src/assets/attack.png similarity index 100% rename from magi-knights-awakening/src/assets/attack.png rename to magiknightawake/src/assets/attack.png diff --git a/magi-knights-awakening/src/assets/bottle.png b/magiknightawake/src/assets/bottle.png similarity index 100% rename from magi-knights-awakening/src/assets/bottle.png rename to magiknightawake/src/assets/bottle.png diff --git a/magi-knights-awakening/src/assets/crystal.svg b/magiknightawake/src/assets/crystal.svg similarity index 100% rename from magi-knights-awakening/src/assets/crystal.svg rename to magiknightawake/src/assets/crystal.svg diff --git a/magi-knights-awakening/src/assets/diamond.png b/magiknightawake/src/assets/diamond.png similarity index 100% rename from magi-knights-awakening/src/assets/diamond.png rename to magiknightawake/src/assets/diamond.png diff --git a/magi-knights-awakening/src/assets/eclipse-blip-checked.png b/magiknightawake/src/assets/eclipse-blip-checked.png similarity index 100% rename from magi-knights-awakening/src/assets/eclipse-blip-checked.png rename to magiknightawake/src/assets/eclipse-blip-checked.png diff --git a/magi-knights-awakening/src/assets/eclipse-blip-filled.png b/magiknightawake/src/assets/eclipse-blip-filled.png similarity index 100% rename from magi-knights-awakening/src/assets/eclipse-blip-filled.png rename to magiknightawake/src/assets/eclipse-blip-filled.png diff --git a/magi-knights-awakening/src/assets/eclipse-blip-scratched.png b/magiknightawake/src/assets/eclipse-blip-scratched.png similarity index 100% rename from magi-knights-awakening/src/assets/eclipse-blip-scratched.png rename to magiknightawake/src/assets/eclipse-blip-scratched.png diff --git a/magi-knights-awakening/src/assets/eclipse-blip-x.png b/magiknightawake/src/assets/eclipse-blip-x.png similarity index 100% rename from magi-knights-awakening/src/assets/eclipse-blip-x.png rename to magiknightawake/src/assets/eclipse-blip-x.png diff --git a/magi-knights-awakening/src/assets/eclipse-blip.png b/magiknightawake/src/assets/eclipse-blip.png similarity index 100% rename from magi-knights-awakening/src/assets/eclipse-blip.png rename to magiknightawake/src/assets/eclipse-blip.png diff --git a/magi-knights-awakening/src/assets/eclipse-border.png b/magiknightawake/src/assets/eclipse-border.png similarity index 100% rename from magi-knights-awakening/src/assets/eclipse-border.png rename to magiknightawake/src/assets/eclipse-border.png diff --git a/magi-knights-awakening/src/assets/fonts.css b/magiknightawake/src/assets/fonts.css similarity index 100% rename from magi-knights-awakening/src/assets/fonts.css rename to magiknightawake/src/assets/fonts.css diff --git a/magi-knights-awakening/src/assets/header-border.png b/magiknightawake/src/assets/header-border.png similarity index 100% rename from magi-knights-awakening/src/assets/header-border.png rename to magiknightawake/src/assets/header-border.png diff --git a/magi-knights-awakening/src/assets/magi-knight-damage.png b/magiknightawake/src/assets/magi-knight-damage.png similarity index 100% rename from magi-knights-awakening/src/assets/magi-knight-damage.png rename to magiknightawake/src/assets/magi-knight-damage.png diff --git a/magi-knights-awakening/src/assets/magi-knight-shield.png b/magiknightawake/src/assets/magi-knight-shield.png similarity index 100% rename from magi-knights-awakening/src/assets/magi-knight-shield.png rename to magiknightawake/src/assets/magi-knight-shield.png diff --git a/magi-knights-awakening/src/assets/magiKnight-header-dm.png b/magiknightawake/src/assets/magiKnight-header-dm.png similarity index 100% rename from magi-knights-awakening/src/assets/magiKnight-header-dm.png rename to magiknightawake/src/assets/magiKnight-header-dm.png diff --git a/magi-knights-awakening/src/assets/magiKnight-header.png b/magiknightawake/src/assets/magiKnight-header.png similarity index 100% rename from magi-knights-awakening/src/assets/magiKnight-header.png rename to magiknightawake/src/assets/magiKnight-header.png diff --git a/magi-knights-awakening/src/assets/magiknight-full-header.png b/magiknightawake/src/assets/magiknight-full-header.png similarity index 100% rename from magi-knights-awakening/src/assets/magiknight-full-header.png rename to magiknightawake/src/assets/magiknight-full-header.png diff --git a/magi-knights-awakening/src/assets/main.css b/magiknightawake/src/assets/main.css similarity index 100% rename from magi-knights-awakening/src/assets/main.css rename to magiknightawake/src/assets/main.css diff --git a/magi-knights-awakening/src/assets/moon1.png b/magiknightawake/src/assets/moon1.png similarity index 100% rename from magi-knights-awakening/src/assets/moon1.png rename to magiknightawake/src/assets/moon1.png diff --git a/magi-knights-awakening/src/assets/moon2.png b/magiknightawake/src/assets/moon2.png similarity index 100% rename from magi-knights-awakening/src/assets/moon2.png rename to magiknightawake/src/assets/moon2.png diff --git a/magi-knights-awakening/src/assets/moon3.png b/magiknightawake/src/assets/moon3.png similarity index 100% rename from magi-knights-awakening/src/assets/moon3.png rename to magiknightawake/src/assets/moon3.png diff --git a/magi-knights-awakening/src/assets/moon4.png b/magiknightawake/src/assets/moon4.png similarity index 100% rename from magi-knights-awakening/src/assets/moon4.png rename to magiknightawake/src/assets/moon4.png diff --git a/magi-knights-awakening/src/assets/moon5.png b/magiknightawake/src/assets/moon5.png similarity index 100% rename from magi-knights-awakening/src/assets/moon5.png rename to magiknightawake/src/assets/moon5.png diff --git a/magi-knights-awakening/src/assets/moon6.png b/magiknightawake/src/assets/moon6.png similarity index 100% rename from magi-knights-awakening/src/assets/moon6.png rename to magiknightawake/src/assets/moon6.png diff --git a/magi-knights-awakening/src/assets/moon7.png b/magiknightawake/src/assets/moon7.png similarity index 100% rename from magi-knights-awakening/src/assets/moon7.png rename to magiknightawake/src/assets/moon7.png diff --git a/magi-knights-awakening/src/assets/moon8.png b/magiknightawake/src/assets/moon8.png similarity index 100% rename from magi-knights-awakening/src/assets/moon8.png rename to magiknightawake/src/assets/moon8.png diff --git a/magi-knights-awakening/src/assets/move.png b/magiknightawake/src/assets/move.png similarity index 100% rename from magi-knights-awakening/src/assets/move.png rename to magiknightawake/src/assets/move.png diff --git a/magi-knights-awakening/src/assets/plain-star.png b/magiknightawake/src/assets/plain-star.png similarity index 100% rename from magi-knights-awakening/src/assets/plain-star.png rename to magiknightawake/src/assets/plain-star.png diff --git a/magi-knights-awakening/src/assets/star.png b/magiknightawake/src/assets/star.png similarity index 100% rename from magi-knights-awakening/src/assets/star.png rename to magiknightawake/src/assets/star.png diff --git a/magi-knights-awakening/src/assets/student-damage.png b/magiknightawake/src/assets/student-damage.png similarity index 100% rename from magi-knights-awakening/src/assets/student-damage.png rename to magiknightawake/src/assets/student-damage.png diff --git a/magi-knights-awakening/src/assets/student-shield.png b/magiknightawake/src/assets/student-shield.png similarity index 100% rename from magi-knights-awakening/src/assets/student-shield.png rename to magiknightawake/src/assets/student-shield.png diff --git a/magi-knights-awakening/src/assets/studied.png b/magiknightawake/src/assets/studied.png similarity index 100% rename from magi-knights-awakening/src/assets/studied.png rename to magiknightawake/src/assets/studied.png diff --git a/magi-knights-awakening/src/assets/sword.png b/magiknightawake/src/assets/sword.png similarity index 100% rename from magi-knights-awakening/src/assets/sword.png rename to magiknightawake/src/assets/sword.png diff --git a/magi-knights-awakening/src/assets/variables.css b/magiknightawake/src/assets/variables.css similarity index 100% rename from magi-knights-awakening/src/assets/variables.css rename to magiknightawake/src/assets/variables.css diff --git a/magi-knights-awakening/src/assets/xmoon1.png b/magiknightawake/src/assets/xmoon1.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon1.png rename to magiknightawake/src/assets/xmoon1.png diff --git a/magi-knights-awakening/src/assets/xmoon2.png b/magiknightawake/src/assets/xmoon2.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon2.png rename to magiknightawake/src/assets/xmoon2.png diff --git a/magi-knights-awakening/src/assets/xmoon3.png b/magiknightawake/src/assets/xmoon3.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon3.png rename to magiknightawake/src/assets/xmoon3.png diff --git a/magi-knights-awakening/src/assets/xmoon4.png b/magiknightawake/src/assets/xmoon4.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon4.png rename to magiknightawake/src/assets/xmoon4.png diff --git a/magi-knights-awakening/src/assets/xmoon5.png b/magiknightawake/src/assets/xmoon5.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon5.png rename to magiknightawake/src/assets/xmoon5.png diff --git a/magi-knights-awakening/src/assets/xmoon6.png b/magiknightawake/src/assets/xmoon6.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon6.png rename to magiknightawake/src/assets/xmoon6.png diff --git a/magi-knights-awakening/src/assets/xmoon7.png b/magiknightawake/src/assets/xmoon7.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon7.png rename to magiknightawake/src/assets/xmoon7.png diff --git a/magi-knights-awakening/src/assets/xmoon8.png b/magiknightawake/src/assets/xmoon8.png similarity index 100% rename from magi-knights-awakening/src/assets/xmoon8.png rename to magiknightawake/src/assets/xmoon8.png diff --git a/magi-knights-awakening/src/components/AbilityScore.vue b/magiknightawake/src/components/AbilityScore.vue similarity index 100% rename from magi-knights-awakening/src/components/AbilityScore.vue rename to magiknightawake/src/components/AbilityScore.vue diff --git a/magi-knights-awakening/src/components/AbilityScoreSection.vue b/magiknightawake/src/components/AbilityScoreSection.vue similarity index 100% rename from magi-knights-awakening/src/components/AbilityScoreSection.vue rename to magiknightawake/src/components/AbilityScoreSection.vue diff --git a/magi-knights-awakening/src/components/BackgroundItems.vue b/magiknightawake/src/components/BackgroundItems.vue similarity index 100% rename from magi-knights-awakening/src/components/BackgroundItems.vue rename to magiknightawake/src/components/BackgroundItems.vue diff --git a/magi-knights-awakening/src/components/BaseSplit.vue b/magiknightawake/src/components/BaseSplit.vue similarity index 100% rename from magi-knights-awakening/src/components/BaseSplit.vue rename to magiknightawake/src/components/BaseSplit.vue diff --git a/magi-knights-awakening/src/components/BurstDisplay.vue b/magiknightawake/src/components/BurstDisplay.vue similarity index 100% rename from magi-knights-awakening/src/components/BurstDisplay.vue rename to magiknightawake/src/components/BurstDisplay.vue diff --git a/magi-knights-awakening/src/components/Button.vue b/magiknightawake/src/components/Button.vue similarity index 100% rename from magi-knights-awakening/src/components/Button.vue rename to magiknightawake/src/components/Button.vue diff --git a/magi-knights-awakening/src/components/CloverDisplay.vue b/magiknightawake/src/components/CloverDisplay.vue similarity index 100% rename from magi-knights-awakening/src/components/CloverDisplay.vue rename to magiknightawake/src/components/CloverDisplay.vue diff --git a/magi-knights-awakening/src/components/Collapsible.vue b/magiknightawake/src/components/Collapsible.vue similarity index 100% rename from magi-knights-awakening/src/components/Collapsible.vue rename to magiknightawake/src/components/Collapsible.vue diff --git a/magi-knights-awakening/src/components/Crystal.vue b/magiknightawake/src/components/Crystal.vue similarity index 100% rename from magi-knights-awakening/src/components/Crystal.vue rename to magiknightawake/src/components/Crystal.vue diff --git a/magi-knights-awakening/src/components/DiamondDisplay.vue b/magiknightawake/src/components/DiamondDisplay.vue similarity index 100% rename from magi-knights-awakening/src/components/DiamondDisplay.vue rename to magiknightawake/src/components/DiamondDisplay.vue diff --git a/magi-knights-awakening/src/components/EclipseChart.vue b/magiknightawake/src/components/EclipseChart.vue similarity index 100% rename from magi-knights-awakening/src/components/EclipseChart.vue rename to magiknightawake/src/components/EclipseChart.vue diff --git a/magi-knights-awakening/src/components/GoalTallies.vue b/magiknightawake/src/components/GoalTallies.vue similarity index 100% rename from magi-knights-awakening/src/components/GoalTallies.vue rename to magiknightawake/src/components/GoalTallies.vue diff --git a/magi-knights-awakening/src/components/HPContainer.vue b/magiknightawake/src/components/HPContainer.vue similarity index 100% rename from magi-knights-awakening/src/components/HPContainer.vue rename to magiknightawake/src/components/HPContainer.vue diff --git a/magi-knights-awakening/src/components/Header.vue b/magiknightawake/src/components/Header.vue similarity index 100% rename from magi-knights-awakening/src/components/Header.vue rename to magiknightawake/src/components/Header.vue diff --git a/magi-knights-awakening/src/components/ImageBackedLabel.vue b/magiknightawake/src/components/ImageBackedLabel.vue similarity index 100% rename from magi-knights-awakening/src/components/ImageBackedLabel.vue rename to magiknightawake/src/components/ImageBackedLabel.vue diff --git a/magi-knights-awakening/src/components/KnightNav.vue b/magiknightawake/src/components/KnightNav.vue similarity index 100% rename from magi-knights-awakening/src/components/KnightNav.vue rename to magiknightawake/src/components/KnightNav.vue diff --git a/magi-knights-awakening/src/components/LabelStacked.vue b/magiknightawake/src/components/LabelStacked.vue similarity index 100% rename from magi-knights-awakening/src/components/LabelStacked.vue rename to magiknightawake/src/components/LabelStacked.vue diff --git a/magi-knights-awakening/src/components/MasterHeader.vue b/magiknightawake/src/components/MasterHeader.vue similarity index 100% rename from magi-knights-awakening/src/components/MasterHeader.vue rename to magiknightawake/src/components/MasterHeader.vue diff --git a/magi-knights-awakening/src/components/Modal.vue b/magiknightawake/src/components/Modal.vue similarity index 100% rename from magi-knights-awakening/src/components/Modal.vue rename to magiknightawake/src/components/Modal.vue diff --git a/magi-knights-awakening/src/components/NotchContainer.vue b/magiknightawake/src/components/NotchContainer.vue similarity index 100% rename from magi-knights-awakening/src/components/NotchContainer.vue rename to magiknightawake/src/components/NotchContainer.vue diff --git a/magi-knights-awakening/src/components/RepeatingItem.vue b/magiknightawake/src/components/RepeatingItem.vue similarity index 100% rename from magi-knights-awakening/src/components/RepeatingItem.vue rename to magiknightawake/src/components/RepeatingItem.vue diff --git a/magi-knights-awakening/src/components/RepeatingSection.vue b/magiknightawake/src/components/RepeatingSection.vue similarity index 100% rename from magi-knights-awakening/src/components/RepeatingSection.vue rename to magiknightawake/src/components/RepeatingSection.vue diff --git a/magi-knights-awakening/src/components/ShardItem.vue b/magiknightawake/src/components/ShardItem.vue similarity index 100% rename from magi-knights-awakening/src/components/ShardItem.vue rename to magiknightawake/src/components/ShardItem.vue diff --git a/magi-knights-awakening/src/components/Skill.vue b/magiknightawake/src/components/Skill.vue similarity index 100% rename from magi-knights-awakening/src/components/Skill.vue rename to magiknightawake/src/components/Skill.vue diff --git a/magi-knights-awakening/src/components/SkillSection.vue b/magiknightawake/src/components/SkillSection.vue similarity index 100% rename from magi-knights-awakening/src/components/SkillSection.vue rename to magiknightawake/src/components/SkillSection.vue diff --git a/magi-knights-awakening/src/components/SocialSection.vue b/magiknightawake/src/components/SocialSection.vue similarity index 100% rename from magi-knights-awakening/src/components/SocialSection.vue rename to magiknightawake/src/components/SocialSection.vue diff --git a/magi-knights-awakening/src/components/SpellSection.vue b/magiknightawake/src/components/SpellSection.vue similarity index 100% rename from magi-knights-awakening/src/components/SpellSection.vue rename to magiknightawake/src/components/SpellSection.vue diff --git a/magi-knights-awakening/src/components/SplitMods.vue b/magiknightawake/src/components/SplitMods.vue similarity index 100% rename from magi-knights-awakening/src/components/SplitMods.vue rename to magiknightawake/src/components/SplitMods.vue diff --git a/magi-knights-awakening/src/components/TechniqueItem.vue b/magiknightawake/src/components/TechniqueItem.vue similarity index 100% rename from magi-knights-awakening/src/components/TechniqueItem.vue rename to magiknightawake/src/components/TechniqueItem.vue diff --git a/magi-knights-awakening/src/main.js b/magiknightawake/src/main.js similarity index 100% rename from magi-knights-awakening/src/main.js rename to magiknightawake/src/main.js diff --git a/magi-knights-awakening/src/relay/handlers/colorHandler.js b/magiknightawake/src/relay/handlers/colorHandler.js similarity index 100% rename from magi-knights-awakening/src/relay/handlers/colorHandler.js rename to magiknightawake/src/relay/handlers/colorHandler.js diff --git a/magi-knights-awakening/src/relay/handlers/index.js b/magiknightawake/src/relay/handlers/index.js similarity index 100% rename from magi-knights-awakening/src/relay/handlers/index.js rename to magiknightawake/src/relay/handlers/index.js diff --git a/magi-knights-awakening/src/relay/handlers/onChange.js b/magiknightawake/src/relay/handlers/onChange.js similarity index 91% rename from magi-knights-awakening/src/relay/handlers/onChange.js rename to magiknightawake/src/relay/handlers/onChange.js index 36f1f3f..596ec9d 100644 --- a/magi-knights-awakening/src/relay/handlers/onChange.js +++ b/magiknightawake/src/relay/handlers/onChange.js @@ -1,4 +1,4 @@ -import { beaconPulse } from '../'; +import { beaconPulse } from '..'; // onChange is called when the character data is updated. This is where you will update the sheet with the new data. export const onChange = async ({ character }) => { const old = beaconPulse.value // This is a way to trigger a re-render of the sheet, see relay.js for more information. diff --git a/magi-knights-awakening/src/relay/handlers/onDragOver.js b/magiknightawake/src/relay/handlers/onDragOver.js similarity index 100% rename from magi-knights-awakening/src/relay/handlers/onDragOver.js rename to magiknightawake/src/relay/handlers/onDragOver.js diff --git a/magi-knights-awakening/src/relay/handlers/onInit.js b/magiknightawake/src/relay/handlers/onInit.js similarity index 93% rename from magi-knights-awakening/src/relay/handlers/onInit.js rename to magiknightawake/src/relay/handlers/onInit.js index f4254fb..514b15d 100644 --- a/magi-knights-awakening/src/relay/handlers/onInit.js +++ b/magiknightawake/src/relay/handlers/onInit.js @@ -1,4 +1,4 @@ -import { initValues } from '../'; +import { initValues } from '..'; import { colorHandler } from './colorHandler'; // onInit is called when the Relay is first loaded. It is used to set up the initial values of the sheet. diff --git a/magi-knights-awakening/src/relay/handlers/onSettingsChange.js b/magiknightawake/src/relay/handlers/onSettingsChange.js similarity index 100% rename from magi-knights-awakening/src/relay/handlers/onSettingsChange.js rename to magiknightawake/src/relay/handlers/onSettingsChange.js diff --git a/magi-knights-awakening/src/relay/handlers/onSharedSettingsChange.js b/magiknightawake/src/relay/handlers/onSharedSettingsChange.js similarity index 100% rename from magi-knights-awakening/src/relay/handlers/onSharedSettingsChange.js rename to magiknightawake/src/relay/handlers/onSharedSettingsChange.js diff --git a/magi-knights-awakening/src/relay/handlers/onTranslationsRequest.js b/magiknightawake/src/relay/handlers/onTranslationsRequest.js similarity index 100% rename from magi-knights-awakening/src/relay/handlers/onTranslationsRequest.js rename to magiknightawake/src/relay/handlers/onTranslationsRequest.js diff --git a/magi-knights-awakening/src/relay/index.js b/magiknightawake/src/relay/index.js similarity index 100% rename from magi-knights-awakening/src/relay/index.js rename to magiknightawake/src/relay/index.js diff --git a/magi-knights-awakening/src/rollFuncs/ability.js b/magiknightawake/src/rollFuncs/ability.js similarity index 100% rename from magi-knights-awakening/src/rollFuncs/ability.js rename to magiknightawake/src/rollFuncs/ability.js diff --git a/magi-knights-awakening/src/rollFuncs/index.js b/magiknightawake/src/rollFuncs/index.js similarity index 100% rename from magi-knights-awakening/src/rollFuncs/index.js rename to magiknightawake/src/rollFuncs/index.js diff --git a/magi-knights-awakening/src/rollFuncs/skill.js b/magiknightawake/src/rollFuncs/skill.js similarity index 100% rename from magi-knights-awakening/src/rollFuncs/skill.js rename to magiknightawake/src/rollFuncs/skill.js diff --git a/magi-knights-awakening/src/rollFuncs/spell.js b/magiknightawake/src/rollFuncs/spell.js similarity index 100% rename from magi-knights-awakening/src/rollFuncs/spell.js rename to magiknightawake/src/rollFuncs/spell.js diff --git a/magi-knights-awakening/src/rollFuncs/weapon.js b/magiknightawake/src/rollFuncs/weapon.js similarity index 100% rename from magi-knights-awakening/src/rollFuncs/weapon.js rename to magiknightawake/src/rollFuncs/weapon.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/capitalize.js b/magiknightawake/src/rollTemplates/expressions/capitalize.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/capitalize.js rename to magiknightawake/src/rollTemplates/expressions/capitalize.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/getDice.js b/magiknightawake/src/rollTemplates/expressions/getDice.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/getDice.js rename to magiknightawake/src/rollTemplates/expressions/getDice.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/index.js b/magiknightawake/src/rollTemplates/expressions/index.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/index.js rename to magiknightawake/src/rollTemplates/expressions/index.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/isArray.js b/magiknightawake/src/rollTemplates/expressions/isArray.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/isArray.js rename to magiknightawake/src/rollTemplates/expressions/isArray.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/isEqual.js b/magiknightawake/src/rollTemplates/expressions/isEqual.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/isEqual.js rename to magiknightawake/src/rollTemplates/expressions/isEqual.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/isGreater.js b/magiknightawake/src/rollTemplates/expressions/isGreater.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/isGreater.js rename to magiknightawake/src/rollTemplates/expressions/isGreater.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/modifiers.js b/magiknightawake/src/rollTemplates/expressions/modifiers.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/modifiers.js rename to magiknightawake/src/rollTemplates/expressions/modifiers.js diff --git a/magi-knights-awakening/src/rollTemplates/expressions/sumComponents.js b/magiknightawake/src/rollTemplates/expressions/sumComponents.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/expressions/sumComponents.js rename to magiknightawake/src/rollTemplates/expressions/sumComponents.js diff --git a/magi-knights-awakening/src/rollTemplates/index.js b/magiknightawake/src/rollTemplates/index.js similarity index 100% rename from magi-knights-awakening/src/rollTemplates/index.js rename to magiknightawake/src/rollTemplates/index.js diff --git a/magi-knights-awakening/src/rollTemplates/partials/header.hbs b/magiknightawake/src/rollTemplates/partials/header.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/partials/header.hbs rename to magiknightawake/src/rollTemplates/partials/header.hbs diff --git a/magi-knights-awakening/src/rollTemplates/partials/keyValues.hbs b/magiknightawake/src/rollTemplates/partials/keyValues.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/partials/keyValues.hbs rename to magiknightawake/src/rollTemplates/partials/keyValues.hbs diff --git a/magi-knights-awakening/src/rollTemplates/partials/rollComponents.hbs b/magiknightawake/src/rollTemplates/partials/rollComponents.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/partials/rollComponents.hbs rename to magiknightawake/src/rollTemplates/partials/rollComponents.hbs diff --git a/magi-knights-awakening/src/rollTemplates/partials/rollTotal.hbs b/magiknightawake/src/rollTemplates/partials/rollTotal.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/partials/rollTotal.hbs rename to magiknightawake/src/rollTemplates/partials/rollTotal.hbs diff --git a/magi-knights-awakening/src/rollTemplates/partials/textContent.hbs b/magiknightawake/src/rollTemplates/partials/textContent.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/partials/textContent.hbs rename to magiknightawake/src/rollTemplates/partials/textContent.hbs diff --git a/magi-knights-awakening/src/rollTemplates/partials/wrapper.hbs b/magiknightawake/src/rollTemplates/partials/wrapper.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/partials/wrapper.hbs rename to magiknightawake/src/rollTemplates/partials/wrapper.hbs diff --git a/magi-knights-awakening/src/rollTemplates/styles/common.scss b/magiknightawake/src/rollTemplates/styles/common.scss similarity index 100% rename from magi-knights-awakening/src/rollTemplates/styles/common.scss rename to magiknightawake/src/rollTemplates/styles/common.scss diff --git a/magi-knights-awakening/src/rollTemplates/styles/host.scss b/magiknightawake/src/rollTemplates/styles/host.scss similarity index 100% rename from magi-knights-awakening/src/rollTemplates/styles/host.scss rename to magiknightawake/src/rollTemplates/styles/host.scss diff --git a/magi-knights-awakening/src/rollTemplates/templates/complex.hbs b/magiknightawake/src/rollTemplates/templates/complex.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/templates/complex.hbs rename to magiknightawake/src/rollTemplates/templates/complex.hbs diff --git a/magi-knights-awakening/src/rollTemplates/templates/newRoll.hbs b/magiknightawake/src/rollTemplates/templates/newRoll.hbs similarity index 100% rename from magi-knights-awakening/src/rollTemplates/templates/newRoll.hbs rename to magiknightawake/src/rollTemplates/templates/newRoll.hbs diff --git a/magi-knights-awakening/src/router/index.js b/magiknightawake/src/router/index.js similarity index 100% rename from magi-knights-awakening/src/router/index.js rename to magiknightawake/src/router/index.js diff --git a/magi-knights-awakening/src/stores/index.js b/magiknightawake/src/stores/index.js similarity index 100% rename from magi-knights-awakening/src/stores/index.js rename to magiknightawake/src/stores/index.js diff --git a/magi-knights-awakening/src/stores/metaStore.js b/magiknightawake/src/stores/metaStore.js similarity index 100% rename from magi-knights-awakening/src/stores/metaStore.js rename to magiknightawake/src/stores/metaStore.js diff --git a/magi-knights-awakening/src/stores/sheetStore.js b/magiknightawake/src/stores/sheetStore.js similarity index 100% rename from magi-knights-awakening/src/stores/sheetStore.js rename to magiknightawake/src/stores/sheetStore.js diff --git a/magi-knights-awakening/src/stores/spellModal.js b/magiknightawake/src/stores/spellModal.js similarity index 100% rename from magi-knights-awakening/src/stores/spellModal.js rename to magiknightawake/src/stores/spellModal.js diff --git a/magi-knights-awakening/src/utility/getRollResults.js b/magiknightawake/src/utility/getRollResults.js similarity index 100% rename from magi-knights-awakening/src/utility/getRollResults.js rename to magiknightawake/src/utility/getRollResults.js diff --git a/magi-knights-awakening/src/utility/index.js b/magiknightawake/src/utility/index.js similarity index 100% rename from magi-knights-awakening/src/utility/index.js rename to magiknightawake/src/utility/index.js diff --git a/magi-knights-awakening/src/utility/objectify.js b/magiknightawake/src/utility/objectify.js similarity index 100% rename from magi-knights-awakening/src/utility/objectify.js rename to magiknightawake/src/utility/objectify.js diff --git a/magi-knights-awakening/src/utility/rollToChat.js b/magiknightawake/src/utility/rollToChat.js similarity index 100% rename from magi-knights-awakening/src/utility/rollToChat.js rename to magiknightawake/src/utility/rollToChat.js diff --git a/magi-knights-awakening/src/views/NPCView.vue b/magiknightawake/src/views/NPCView.vue similarity index 100% rename from magi-knights-awakening/src/views/NPCView.vue rename to magiknightawake/src/views/NPCView.vue diff --git a/magi-knights-awakening/src/views/PC/BackgroundView.vue b/magiknightawake/src/views/PC/BackgroundView.vue similarity index 100% rename from magi-knights-awakening/src/views/PC/BackgroundView.vue rename to magiknightawake/src/views/PC/BackgroundView.vue diff --git a/magi-knights-awakening/src/views/PC/BasicView.vue b/magiknightawake/src/views/PC/BasicView.vue similarity index 100% rename from magi-knights-awakening/src/views/PC/BasicView.vue rename to magiknightawake/src/views/PC/BasicView.vue diff --git a/magi-knights-awakening/src/views/PC/KnightView.vue b/magiknightawake/src/views/PC/KnightView.vue similarity index 100% rename from magi-knights-awakening/src/views/PC/KnightView.vue rename to magiknightawake/src/views/PC/KnightView.vue diff --git a/magi-knights-awakening/src/views/PC/StudentView.vue b/magiknightawake/src/views/PC/StudentView.vue similarity index 100% rename from magi-knights-awakening/src/views/PC/StudentView.vue rename to magiknightawake/src/views/PC/StudentView.vue diff --git a/magi-knights-awakening/src/views/PCView.vue b/magiknightawake/src/views/PCView.vue similarity index 100% rename from magi-knights-awakening/src/views/PCView.vue rename to magiknightawake/src/views/PCView.vue diff --git a/magi-knights-awakening/src/views/sections/PowerShards.vue b/magiknightawake/src/views/sections/PowerShards.vue similarity index 100% rename from magi-knights-awakening/src/views/sections/PowerShards.vue rename to magiknightawake/src/views/sections/PowerShards.vue diff --git a/magi-knights-awakening/src/views/sections/TechniquesTactics.vue b/magiknightawake/src/views/sections/TechniquesTactics.vue similarity index 100% rename from magi-knights-awakening/src/views/sections/TechniquesTactics.vue rename to magiknightawake/src/views/sections/TechniquesTactics.vue diff --git a/magi-knights-awakening/vite.config.js b/magiknightawake/vite.config.js similarity index 100% rename from magi-knights-awakening/vite.config.js rename to magiknightawake/vite.config.js From 03bdcbf608954e16fbb0f003113ab6db40d222ea Mon Sep 17 00:00:00 2001 From: Daniel Vu Date: Thu, 14 Nov 2024 20:15:00 -0500 Subject: [PATCH 6/9] Better defaults --- magiknightawake/package.json | 1 + magiknightawake/vite.discord.config.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/magiknightawake/package.json b/magiknightawake/package.json index faaa8be..d8c624d 100644 --- a/magiknightawake/package.json +++ b/magiknightawake/package.json @@ -8,6 +8,7 @@ "sandbox-server": "vite --port 7620 --mode staging", "sandbox": "run-s build-scss sandbox-server", "build": "run-s build-scss && vite build", + "build:discord": "run-s build-scss && vite build --config vite.discord.config.js", "build-scss": "sass ./src/rollTemplates/styles/host.scss ./public/host.css --no-source-map --no-charset", "preview": "vite preview" }, diff --git a/magiknightawake/vite.discord.config.js b/magiknightawake/vite.discord.config.js index 3229f29..009c6f7 100644 --- a/magiknightawake/vite.discord.config.js +++ b/magiknightawake/vite.discord.config.js @@ -4,6 +4,7 @@ import vue from '@vitejs/plugin-vue' import VueDevTools from 'vite-plugin-vue-devtools' const DISCORD_ACTIVITY_CLIENT_ID = process.env.DISCORD_ACTIVITY_CLIENT_ID || "1199270539278164008"; +const SHORT_NAME = process.env.VITE_SHEET_SHORT_NAME || 'magiknightawake'; // https://vitejs.dev/config/ export default defineConfig(({ mode }) => ({ @@ -13,7 +14,7 @@ export default defineConfig(({ mode }) => ({ ], base: mode === "production" - ? `https://${DISCORD_ACTIVITY_CLIENT_ID}.discordsays.com/.proxy/googleapis/storage/roll20-cdn/roll20-beacon-sheets/discord/${DISCORD_ACTIVITY_CLIENT_ID}/${process.env.VITE_SHEET_SHORT_NAME}/` + ? `https://${DISCORD_ACTIVITY_CLIENT_ID}.discordsays.com/.proxy/googleapis/storage/roll20-cdn/roll20-beacon-sheets/discord/${DISCORD_ACTIVITY_CLIENT_ID}/${SHORT_NAME}/` : "/", build: { target: 'esnext', From c8724ce6d55a4e52d03e2500ce9bb85618c7abf9 Mon Sep 17 00:00:00 2001 From: Daniel Vu Date: Thu, 14 Nov 2024 20:25:17 -0500 Subject: [PATCH 7/9] Makes it easier to upload to GCP --- magiknightawake/vite.discord.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magiknightawake/vite.discord.config.js b/magiknightawake/vite.discord.config.js index 009c6f7..412a22d 100644 --- a/magiknightawake/vite.discord.config.js +++ b/magiknightawake/vite.discord.config.js @@ -26,7 +26,7 @@ export default defineConfig(({ mode }) => ({ sheet: "src/main.js" }, output: { - dir: "dist", + dir: `dist/${SHORT_NAME}`, compact: false, assetFileNames: (assetInfo) => { if (assetInfo.name === "style.css") return "sheet.css"; From 555c4bad56314cea37129c6d8f824cf1b01e424b Mon Sep 17 00:00:00 2001 From: Daniel Vu Date: Fri, 15 Nov 2024 10:31:02 -0500 Subject: [PATCH 8/9] Tries a different keyfile --- .github/workflows/discord-fonts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/discord-fonts.yml b/.github/workflows/discord-fonts.yml index 6641e6e..69aa5af 100644 --- a/.github/workflows/discord-fonts.yml +++ b/.github/workflows/discord-fonts.yml @@ -21,7 +21,7 @@ jobs: - id: 'auth' uses: 'google-github-actions/auth@v1' with: - credentials_json: '${{ secrets.SHEET_HTTP_GCP_KEYFILE }}' + credentials_json: '${{ secrets.GCP_KEYFILE }}' - name: 'Set up Cloud SDK' uses: 'google-github-actions/setup-gcloud@v1' From 88a0bce6145c31428b65b49a993f29128dcece30 Mon Sep 17 00:00:00 2001 From: Daniel Vu Date: Fri, 15 Nov 2024 10:51:40 -0500 Subject: [PATCH 9/9] Fixes upload path --- .github/workflows/discord-fonts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/discord-fonts.yml b/.github/workflows/discord-fonts.yml index 69aa5af..2655206 100644 --- a/.github/workflows/discord-fonts.yml +++ b/.github/workflows/discord-fonts.yml @@ -41,6 +41,6 @@ jobs: gcloud storage rsync \ --project=roll20-actual \ ${{ runner.temp }}/sheet-fonts \ - "gs://roll20-cdn/discord/fonts/roll20-beacon-sheets/fonts/$ENV_PATH" \ + "gs://roll20-cdn/roll20-beacon-sheets/fonts/$ENV_PATH" \ --recursive \ - --cache-control="no-cache" \ No newline at end of file + --cache-control="no-cache"