From 58b509566767775b85c70f2ee15434718a47e781 Mon Sep 17 00:00:00 2001 From: Saltssaumure Date: Thu, 2 Nov 2023 22:33:45 +0000 Subject: [PATCH] Various chores --- .github/workflows/lint.yml | 8 +++--- .github/workflows/release.yml | 2 +- .github/workflows/vc.yml | 26 ++++++++--------- .gitignore | 1 - .prettierignore | 1 - SettingsIcons.theme.css | 2 +- package.json | 4 +-- pnpm-lock.yaml | 54 +++++++++++++++++------------------ 8 files changed, 48 insertions(+), 50 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2656bcf..7290c29 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,20 +12,20 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout Git repository + - name: Checkout theme uses: actions/checkout@v2 - - name: Set up Node.js + - name: Setup node uses: actions/setup-node@v3 with: node-version: 18 - - name: Install PNPM + - name: Setup pnpm uses: pnpm/action-setup@v2 with: version: latest - - name: Install Node.js dependencies + - name: Install dependencies run: pnpm install - name: Run linters diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2e753a1..1b256b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: contents: write steps: - - name: Checkout Git repository + - name: Checkout theme uses: actions/checkout@v2 - name: Release .theme.css diff --git a/.github/workflows/vc.yml b/.github/workflows/vc.yml index ff408fd..5839b88 100644 --- a/.github/workflows/vc.yml +++ b/.github/workflows/vc.yml @@ -1,4 +1,4 @@ -name: "Build and deploy CSS for Vencord" +name: Build and deploy CSS for Vencord on: push: @@ -8,32 +8,32 @@ on: jobs: build: - name: "Build CSS" - runs-on: "ubuntu-latest" + name: Build CSS + runs-on: ubuntu-latest steps: - - name: Checkout Git repository - uses: "actions/checkout@v2" + - name: Checkout theme + uses: actions/checkout@v2 - - name: Set up Node.js + - name: Setup node uses: actions/setup-node@v3 with: node-version: 18 - - name: Install PNPM + - name: Setup pnpm uses: pnpm/action-setup@v2 with: version: latest - - name: Install Node.js dependencies + - name: Install dependencies run: pnpm install - name: Build CSS - run: pnpm run vc + run: pnpm run build:vc - - name: "Deploy" - uses: "peaceiris/actions-gh-pages@v3" + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_branch: "deploy" - publish_dir: "./" \ No newline at end of file + publish_branch: deploy + publish_dir: ./ \ No newline at end of file diff --git a/.gitignore b/.gitignore index f3cb347..637289e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ # Packages -/.parcel-cache /node_modules # Build diff --git a/.prettierignore b/.prettierignore index 7418856..e4c68ce 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,6 +1,5 @@ # Folders /.github -/.parcel-cache /bundle /dist /node_modules diff --git a/SettingsIcons.theme.css b/SettingsIcons.theme.css index 26ae3ad..65567d6 100644 --- a/SettingsIcons.theme.css +++ b/SettingsIcons.theme.css @@ -4,7 +4,7 @@ * @authorLink https://github.com/Saltssaumure * @description Adds icons to Discord settings, for use with Vencord plugin ThemeAttributes. * @license GPL-2.0 - * @version 1.0 + * @version 1.1 * @invite uy8nKQVatp * @source https://github.com/MiniDiscordThemes/SettingsIcons * @donate https://ko-fi.com/saltssaumure diff --git a/package.json b/package.json index 1a76ac7..c22e6cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "settingsicons-discord-theme", - "version": "1.0.0", + "version": "1.1.0", "description": "Adds icons to Discord settings, for use with Vencord plugin ThemeAttributes.", "repository": "github:MiniDiscordThemes/SettingsIcons", "author": "Saltssaumure ", @@ -12,7 +12,7 @@ "private": true, "scripts": { "dev:vc": "bd-scss dev:vc", - "vc": "bd-scss build", + "build:vc": "bd-scss build", "lint": "prettier ./scss --check", "lint:fix": "prettier ./scss --write --log-level warn" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 42fab14..d8457bc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,19 +22,19 @@ packages: picomatch: 2.3.1 dev: false - /autoprefixer@10.4.15(postcss@8.4.29): - resolution: {integrity: sha512-KCuPB8ZCIqFdA4HwKXsvz7j6gvSDNhDP7WnUjBleRkKjPdvCmHFuQ77ocavI8FT6NdvlBnE2UFr2H4Mycn8Vew==} + /autoprefixer@10.4.16(postcss@8.4.31): + resolution: {integrity: sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==} engines: {node: ^10 || ^12 || >=14} hasBin: true peerDependencies: postcss: ^8.1.0 dependencies: - browserslist: 4.21.10 - caniuse-lite: 1.0.30001532 - fraction.js: 4.3.6 + browserslist: 4.22.1 + caniuse-lite: 1.0.30001559 + fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.0 - postcss: 8.4.29 + postcss: 8.4.31 postcss-value-parser: 4.2.0 dev: false @@ -50,19 +50,19 @@ packages: fill-range: 7.0.1 dev: false - /browserslist@4.21.10: - resolution: {integrity: sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==} + /browserslist@4.22.1: + resolution: {integrity: sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001532 - electron-to-chromium: 1.4.515 + caniuse-lite: 1.0.30001559 + electron-to-chromium: 1.4.574 node-releases: 2.0.13 - update-browserslist-db: 1.0.11(browserslist@4.21.10) + update-browserslist-db: 1.0.13(browserslist@4.22.1) dev: false - /caniuse-lite@1.0.30001532: - resolution: {integrity: sha512-FbDFnNat3nMnrROzqrsg314zhqN5LGQ1kyyMk2opcrwGbVGpHRhgCWtAgD5YJUqNAiQ+dklreil/c3Qf1dfCTw==} + /caniuse-lite@1.0.30001559: + resolution: {integrity: sha512-cPiMKZgqgkg5LY3/ntGeLFUpi6tzddBNS58A4tnTgQw1zON7u2sZMU7SzOeVH4tj20++9ggL+V6FDOFMTaFFYA==} dev: false /chalk@5.3.0: @@ -85,8 +85,8 @@ packages: fsevents: 2.3.3 dev: false - /electron-to-chromium@1.4.515: - resolution: {integrity: sha512-VTq6vjk3kCfG2qdzQRd/i9dIyVVm0dbtZIgFzrLgfB73mXDQT2HPKVRc1EoZcAVUv9XhXAu08DWqJuababdGGg==} + /electron-to-chromium@1.4.574: + resolution: {integrity: sha512-bg1m8L0n02xRzx4LsTTMbBPiUd9yIR+74iPtS/Ao65CuXvhVZHP0ym1kSdDG3yHFDXqHQQBKujlN1AQ8qZnyFg==} dev: false /escalade@3.1.1: @@ -101,8 +101,8 @@ packages: to-regex-range: 5.0.1 dev: false - /fraction.js@4.3.6: - resolution: {integrity: sha512-n2aZ9tNfYDwaHhvFTkhFErqOMIb8uyzSQ+vGJBjZyanAKZVbGUQ1sngfk9FdkBw7G26O7AgNjLcecLffD1c7eg==} + /fraction.js@4.3.7: + resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} dev: false /fsevents@2.3.3: @@ -186,8 +186,8 @@ packages: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} dev: false - /postcss@8.4.29: - resolution: {integrity: sha512-cbI+jaqIeu/VGqXEarWkRCCffhjgXc0qjBtXpqJhTBohMUjUQnbBr0xqX3vEKudc4iviTewcJo5ajcec5+wdJw==} + /postcss@8.4.31: + resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} engines: {node: ^10 || ^12 || >=14} dependencies: nanoid: 3.3.6 @@ -219,16 +219,16 @@ packages: resolution: {integrity: sha512-2y9IODkLRiDZ0c3FoxTZE8Wgrh3yvU+lLmqBdoN1fn7wZMDg3nUAydu+IMmKZLmj5fkcYadovExr73EElieIfg==} hasBin: true dependencies: - autoprefixer: 10.4.15(postcss@8.4.29) + autoprefixer: 10.4.16(postcss@8.4.31) chalk: 5.3.0 chokidar: 3.5.3 - postcss: 8.4.29 + postcss: 8.4.31 sade: 1.8.1 - sass: 1.66.1 + sass: 1.69.5 dev: false - /sass@1.66.1: - resolution: {integrity: sha512-50c+zTsZOJVgFfTgwwEzkjA3/QACgdNsKueWPyAR0mRINIvLAStVQBbPg14iuqEQ74NPDbXzJARJ/O4SI1zftA==} + /sass@1.69.5: + resolution: {integrity: sha512-qg2+UCJibLr2LCVOt3OlPhr/dqVHWOa9XtZf2OjbLs/T4VPSJ00udtgJxH3neXZm+QqX8B+3cU7RaLqp1iVfcQ==} engines: {node: '>=14.0.0'} hasBin: true dependencies: @@ -249,13 +249,13 @@ packages: is-number: 7.0.0 dev: false - /update-browserslist-db@1.0.11(browserslist@4.21.10): - resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} + /update-browserslist-db@1.0.13(browserslist@4.22.1): + resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' dependencies: - browserslist: 4.21.10 + browserslist: 4.22.1 escalade: 3.1.1 picocolors: 1.0.0 dev: false