Skip to content

Commit

Permalink
Setup for Replugged only release
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed Sep 18, 2023
1 parent b0fb106 commit 4e0c25e
Show file tree
Hide file tree
Showing 32 changed files with 1,323 additions and 2,303 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Lint

on:
push:
branches-ignore:
- deploy
pull_request:

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- name: Checkout Git repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: latest

- name: Install Node.js dependencies
run: pnpm install

- name: Run linters
run: pnpm run lint
12 changes: 7 additions & 5 deletions .github/workflows/release.yml → .github/workflows/rp.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: Release for Replugged

on:
push:
Expand All @@ -13,25 +13,27 @@ jobs:
contents: write

steps:
- name: Check out Git repository
- name: Checkout Git repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- uses: pnpm/action-setup@v2
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: latest

- name: Install Node.js dependencies
run: pnpm install

- name: Build TypeScript and bundle into asar
run: pnpm run bundle
run: pnpm run rp

- uses: ncipollo/release-action@v1
with:
artifacts: "bundle/*, clients/*.css"
artifacts: "bundle/*"
makeLatest: true
generateReleaseNotes: true
119 changes: 9 additions & 110 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,112 +1,11 @@
# Compiling
bd-compile/
dev.css
dev.scss
# Packages
/.parcel-cache
/node_modules

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

.parcel-cache
# Build
/dist
/bundle
/src

# Social images
/preview
16 changes: 16 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Folders
/.github
/.parcel-cache
/bundle
/dist
/node_modules
/preview

# File types
*.md
*.min.css
*.theme.css

# Files
LICENSE
pnpm-lock.yaml
25 changes: 13 additions & 12 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "always",
"proseWrap": "always"
"useTabs": false,
"singleQuote": false,
"printWidth": 140,
"tabWidth": 4,
"trailingComma": "none",
"overrides": [
{
"files": "*.json",
"options": {
"tabWidth": 2
}
}
]
}
3 changes: 0 additions & 3 deletions .vscode/extensions.json

This file was deleted.

21 changes: 0 additions & 21 deletions .vscode/settings.json

This file was deleted.

16 changes: 13 additions & 3 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
|<a href="https://github.com/Loremly"><img src="https://avatars.githubusercontent.com/u/86319836?v=4" width="90px" height="90px"></a>|
|:-:|
|[Loremly](https://github.com/Loremly)|
[LuckFire]: https://github.com/LuckFire
[LuckFire-icon]: https://avatars.githubusercontent.com/u/39076891?v=4

[Loremly]: https://github.com/Loremly
[Loremly-icon]: https://avatars.githubusercontent.com/u/86319836?v=4

[Saltssaumure]: https://github.com/Saltssaumure
[Saltssaumure-icon]: https://avatars.githubusercontent.com/u/29710355?v=4

## Contributors
| [![LuckFire][LuckFire-icon]][LuckFire] | [![Loremly][Loremly-icon]][Loremly] | [![Saltssaumure][Saltssaumure-icon]][Saltssaumure] |
| -------------------------------------- | ----------------------------------- | -------------------------------------------------- |
| [LuckFire][LuckFire] | [Loremly][Loremly] | [Saltssaumure][Saltssaumure] |
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2022 LuckFire
Copyright (c) 2023 Saltssaumure / MiniDiscordThemes

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
82 changes: 64 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,70 @@
<img src="./assets/banner.png">
[banner]: https://cdn.discordapp.com/attachments/1142305515439923260/1142314084226842644/banner.png

## Downloads
### **[Replugged](https://replugged.dev/)**
- [Direct Install](https://replugged.dev/install?identifier=dev.LuckFire.BubbleBar)
[discord]: https://discord.gg/uy8nKQVatp

### **[BetterDiscord](https://betterdiscord.app/)**
- [Direct Download](https://github.com/discord-extensions/bubble-bar/releases/latest/download/bubble-bar.theme.css)
- [Compiled Source](https://discord-extensions.github.io/bubble-bar/src/source.css)
[BetterDiscord]: https://betterdiscord.app/
[Replugged]: https://replugged.dev/
[Vencord]: https://github.com/Vendicated/Vencord
[Stylus]: https://github.com/openstyles/stylus

### **Stylus**
1. Install the broswer extensions for your repsective browser.
- [Chrome Webstore](https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne)
- [Firefox Addons](https://addons.mozilla.org/en-US/firefox/addon/styl-us/)
2. Once installed, open [this link](https://discord-extensions.github.io/bubble-bar/clients/stylus/bubble-bar.user.css) in a new browser tab. This opens the page where you will install this userstyle.
3. Press the `Install Style` button.
[bd-icon]: https://discord-extensions.github.io/assets/icons/betterdiscord.png
[rp-icon]: https://discord-extensions.github.io/assets/icons/replugged.png
[vc-icon]: https://discord-extensions.github.io/assets/icons/vencord.gif
[stylus-icon]: https://discord-extensions.github.io/assets/icons/stylus.png

###### Firefox users must have "Patch CSP to allow style assets" enabled for the theme to work. This can be found in Stylus' settings under "Advanced"
[shield-donate]: https://img.shields.io/badge/Donate-ko--fi-orange?style=flat-square&logo=kofi&logoColor=orange
[ko-fi]: https://ko-fi.com/saltssaumure "Buy me a coffee!"

## Credits
View [CREDITS.md](./CREDITS.md) for a list of contributors.
[shield-asar-dl]: https://img.shields.io/github/downloads/MiniDiscordThemes/BubbleBar/dev.LuckFire.BubbleBar.asar?color=purple&label=Downloads&style=flat-square
[shield-repo-size]: https://img.shields.io/github/repo-size/MiniDiscordThemes/BubbleBar?label=Repository&style=flat-square "Total size"

## Support
If you encounter any issues with this theme, feel free to make an issue or PR fixing it! Alternatively, if you need help, feel free to join my [support server](https://discord.gg/vYdXbEzqDs) and ask there!
[github]: https://github.com/MiniDiscordThemes/BubbleBar
[issues]: https://github.com/MiniDiscordThemes/BubbleBar/issues
[license]: https://github.com/MiniDiscordThemes/BubbleBar/blob/main/LICENSE

[original]: https://github.com/discord-extensions/bubble-bar
[original-author]: https://github.com/LuckFire
[original-license]: https://github.com/discord-extensions/bubble-bar/blob/master/LICENSE
[original-issues]: https://github.com/discord-extensions/bubble-bar/issues
[original-discord]: https://discord.gg/vYdXbEzqDs

[release-rp]: https://replugged.dev/store/dev.LuckFire.BubbleBar "Replugged store page"
[release-rp-gh]: https://github.com/MiniDiscordThemes/BubbleBar/releases/latest/download/dev.LuckFire.BubbleBar.asar "Get latest release"

# Bubble Bar Discord Theme
[![Buy me a coffee on ko-fi][shield-donate]][ko-fi]
[![Replugged GitHub downloads][shield-asar-dl]][release-rp-gh]
[![Total repository size][shield-repo-size]][github]

![Bubble Bar banner][banner]

## Installation

### ![Replugged][rp-icon] **[Replugged][Replugged]**
#### Automatic
1. Click to install:
- [Replugged store][release-rp]
#### Manual
1. Download `dev.LuckFire.BubbleBar.asar`:
- [GitHub][release-rp-gh]
2. Place the file in the themes folder:
- `Settings` > `Replugged` > `Themes` > `Open Themes Folder`
3. Click `Load Missing Themes` and toggle on the theme card.

### ![BetterDiscord icon][bd-icon] **[BetterDiscord][BetterDiscord]**, ![Vencord icon][vc-icon] **[Vencord][Vencord]**, ![Stylus icon][stylus-icon] **[Stylus][Stylus]**
See [LuckFire][original-author]'s original [BubbleBar repository][original] for installation instructions.

## License
[MIT License][license]

### Includes
- [Bubble Bar][original] by [LuckFire][original-author] - [MIT License][original-license]

## Questions or suggestions?
### Replugged related
- Post [an issue][issues] on GitHub.
- Post in `#theme-support` on [my support server][discord].

### BetterDiscord, Vencord, Stylus related
- Post [an issue][original-issues] on the original GitHub.
- Join [LuckFire][original-author]'s [support server][original-discord].
Loading

0 comments on commit 4e0c25e

Please sign in to comment.