Merge pull request #4 from MicrocontrollersDev/main

fix replugged install
This commit is contained in:
coolesding 2023-10-07 19:20:21 +02:00 committed by GitHub
commit 24df05816e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 3391 additions and 11 deletions

109
.gitignore vendored
View file

@ -1,2 +1,109 @@
avatarsdatabase.css avatarsdatabase.css
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
/bundle

14
.prettierrc.json Normal file
View file

@ -0,0 +1,14 @@
{
"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"
}

View file

@ -21,8 +21,14 @@ Add `https://userpfp.github.io/UserPFP/import.css` to the "Online Themes" tab in
To install for Replugged: To install for Replugged:
Click here:
[![Install in Replugged](https://img.shields.io/badge/-Install%20in%20Replugged-blue?style=for-the-badge&logo=none)](https://replugged.dev/install?identifier=dev.userpfp.userpfp)
OR
1. Clone the repo using [git](https://docs.github.com/en/get-started/quickstart/set-up-git). 1. Clone the repo using [git](https://docs.github.com/en/get-started/quickstart/set-up-git).
2. Navigate to `path_to_replugged/src/Powercord/themes` and run: 2. Navigate to `path_to_replugged/themes` and run:
```sh ```sh
git clone https://github.com/UserPFP/USERPFP git clone https://github.com/UserPFP/USERPFP

26
manifest.json Normal file
View file

@ -0,0 +1,26 @@
{
"id": "dev.userpfp.userpfp",
"name": "USERPFP",
"description": "A theme to use animated profile pictures in discord without nitro!",
"author": [
{
"name": "foxstorm1",
"discordID": "789872551731527690",
"github": "Yeetov"
},
{
"name": "Pikai",
"github": "beudave"
}
],
"version": "1.0.1",
"updater": {
"type": "github",
"id": "UserPFP/USERPFP"
},
"license": "GPL 3.0",
"type": "replugged-theme",
"main": "src/main.css",
"source": "https://github.com/UserPFP/USERPFP",
"image": ["https://camo.githubusercontent.com/68decd2d5b4c237a97940c9012474ce82e6ed3eee65b3950032475ce82192c03/68747470733a2f2f692e6962622e636f2f6d62514a534b6d2f696d6167652d323032332d30372d31362d3131323131353837322e706e67"]
}

37
package.json Normal file
View file

@ -0,0 +1,37 @@
{
"name": "theme-template",
"version": "1.0.1",
"description": "A theme to use animated profile pictures in discord without nitro!",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8.0.0"
},
"scripts": {
"build": "replugged build theme",
"watch": "replugged build theme --watch",
"bundle": "replugged bundle theme",
"release": "replugged release",
"lint": "prettier ./src --check",
"lint:fix": "prettier ./src --write"
},
"keywords": [],
"author": [
{
"name": "foxstorm1",
"discordID": "789872551731527690",
"github": "Yeetov"
},
{
"name": "Pikai",
"github": "beudave"
}
],
"license": "GPL 3.0",
"devDependencies": {
"@parcel/config-default": "^2.9.3",
"@parcel/core": "^2.9.3",
"@types/node": "^18.17.6",
"prettier": "^2.8.8",
"replugged": "^4.6.0"
}
}

3189
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,8 +0,0 @@
{
"name": "USRPFP-Reborn",
"description": "A theme for having custom PFPS - Continuation by FoxStorm1!",
"version": "1.1.1",
"author": "Pikai, FoxStorm1",
"license": "MIT",
"theme": "./src/dist/source.css"
}

9
src/main.css Normal file
View file

@ -0,0 +1,9 @@
/**
* @name USRPFP
* @author FoxStorm1, Pikai
* @version 1.0.1
* @description A pure CSS database of user requested pfps for discord.
*/
/* Avatar Import */
@import url("https://userpfp.github.io/UserPFP/import.css");

View file

@ -6,4 +6,4 @@
*/ */
/* Avatar Import */ /* Avatar Import */
@import url(https://raw.githubusercontent.com/Yeetov/USRPFP-Reborn/main/db/dist.css); @import url("https://userpfp.github.io/UserPFP/import.css");