-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Proof of concept for codegenerating docs into the bundle * formatted rollup file * moved to basic markdown & added first iteration of rendering * formatted tsconfig * cleaned up Docs & micro-optimized * moved asset to correct directory * moved build script to js & fixed rendering problem * Removed nested docs & finished with a placeholder doc * updated github actioning & versioning script * Fixed up comment & updated version * moved rollup config to module * Moved everything from markdown to mdx * changed from path to name & added sorting * stole the styling from TabMaster * changed the version back. to stop people from getting version conflicts. will be updated together with a tabmaster patch
- Loading branch information
1 parent
1e1c315
commit f8a1e8f
Showing
27 changed files
with
1,349 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,4 +50,7 @@ yalc.lock | |
*.zip | ||
|
||
#ignore output directory | ||
/build | ||
/build | ||
|
||
#ignore deploy config | ||
deploy.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,3 @@ | ||
#!/bin/bash | ||
exec node "--no-warnings=ExperimentalWarning" "util/build.mjs" "$@" | ||
|
||
has_sudo() { | ||
prompt=$(sudo -nv 2>&1) | ||
if [ $? -eq 0 ]; then | ||
# exit code of sudo-command is 0 | ||
echo "has_sudo__pass_set" | ||
elif echo $prompt | grep -q '^sudo:'; then | ||
echo "has_sudo__needs_pass" | ||
else | ||
echo "no_sudo" | ||
fi | ||
} | ||
|
||
PluginName=$(basename "$PWD") | ||
|
||
node util/updateVersion.js package.json lib/package.json | ||
|
||
echo "Building plugin $PluginName..." | ||
|
||
mkdir -p build | ||
|
||
if [[ "$*" != *"--skip-backend"* ]]; then | ||
echo "Building backend..." | ||
cd backend && ./build.sh && cd .. | ||
fi | ||
|
||
if [[ "$*" != *"--skip-frontend"* ]]; then | ||
echo "Building frontend..." | ||
pnpm install && pnpm run build | ||
fi | ||
|
||
echo "Collecting outputs into /build folder" | ||
cp -r dist build/ | ||
cp -r bin build/ | ||
cp main.py build/ | ||
cp plugin.json build/ | ||
cp README.md build/ | ||
cp package.json build/ | ||
|
||
if [[ "$*" != *"--skip-copy"* ]]; then | ||
echo "Copying build folder to local plugin directory" | ||
|
||
sudo rm -rf /home/deck/homebrew/plugins/$PluginName | ||
sudo cp -r build/ /home/deck/homebrew/plugins/$PluginName | ||
sudo chmod 555 /home/deck/homebrew/plugins/$PluginName | ||
fi | ||
|
||
node util/resetVersion.js package.json lib/package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"host": "steamdeck", | ||
"user": "deck", | ||
"keyfile": "~/.ssh/id_rsa" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Credits | ||
|
||
Massive shout outs to: | ||
|
||
- [@jeiza]() | ||
- [@rainbyte]() | ||
- [@nabelo]() | ||
|
||
without whom this plugin just simply wouldn't exist as it does today. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Hello, World! | ||
|
||
This is the beginning of the docs, Unfortunately they are still under construction ⚠️🚧👷 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.