Compare commits

..

4 Commits

7 changed files with 34 additions and 21 deletions

View File

@ -5,7 +5,7 @@
ci: ci:
# Attempts to use networking and fails at name resolution, local hook # Attempts to use networking and fails at name resolution, local hook
# skip: [bundler-audit, pylint, latexmk, exiftool] # skip: [bundler-audit, pylint, latexmk, exiftool]
skip: [pnpm-install-dev, prettier] skip: [install-dev-deps, prettier]
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease # Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
# the frequency of unnecessary PRs. # the frequency of unnecessary PRs.
# https://github.com/pre-commit-ci/issues/issues/83 # https://github.com/pre-commit-ci/issues/issues/83
@ -132,16 +132,16 @@ repos:
- repo: local - repo: local
hooks: hooks:
- id: pnpm-install-dev - id: install-dev-deps
name: Install pnpm dev dependencies name: Install pnpm dev dependencies
entry: pnpm install -D entry: corepack pnpm install -D
language: system language: system
always_run: true always_run: true
verbose: true verbose: true
pass_filenames: false pass_filenames: false
- id: prettier - id: prettier
name: prettier name: prettier
entry: pnpm exec prettier --cache --ignore-unknown --write entry: corepack pnpm exec prettier --cache --ignore-unknown --write
language: system language: system
exclude_types: [json] exclude_types: [json]

View File

@ -13,11 +13,11 @@
{ "files": ".prettierrc", "options": { "parser": "json" } }, { "files": ".prettierrc", "options": { "parser": "json" } },
{ {
"files": "conf/librewolf.overrides.cfg", "files": "conf/librewolf.overrides.cfg",
"options": { "parser": "javascript" } "options": { "parser": ".js" }
}, },
{ {
"files": "conf/autoconfig.js.online", "files": "conf/autoconfig.js.online",
"options": { "parser": "javascript" } "options": { "parser": ".js" }
} }
] ]
} }

View File

@ -1,11 +1,12 @@
# @format
# This CITATION.cff file was generated with cffinit. # This CITATION.cff file was generated with cffinit.
# Visit https://citation-file-format.github.io/cff-initializer-javascript/#/ to generate yours today! # Visit https://citation-file-format.github.io/cff-initializer-javascript/#/ to generate yours today!
cff-version: 1.2.0 cff-version: 1.2.0
title: shell-things title: shell-things
message: >- message: >-
If you use this dataset, please cite it using the metadata If you use this dataset, please cite it using the metadata from this file.
from this file.
type: dataset type: dataset
authors: authors:
- given-names: Aminda - given-names: Aminda

View File

@ -0,0 +1,3 @@
# Required for mounting EFI partitions
force_drivers+=" vfat "
add_dracutmodules+=" uefi-lib "

3
package.json vendored
View File

@ -6,5 +6,6 @@
"prettier-plugin-nginx": "1.0.3", "prettier-plugin-nginx": "1.0.3",
"prettier-plugin-sh": "0.14.0", "prettier-plugin-sh": "0.14.0",
"prettier-plugin-toml": "2.0.1" "prettier-plugin-toml": "2.0.1"
} },
"packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a"
} }

View File

@ -577,15 +577,19 @@ alias mkdir="\mkdir --verbose"
alias chattr="\chattr -V" alias chattr="\chattr -V"
alias chmod="\chmod --verbose" alias chmod="\chmod --verbose"
# pnpm does less duplicating around # https://github.com/nodejs/corepack/blob/v0.28.2/README.md#corepack-enable--name
if hash pnpm 2> /dev/null; then if hash corepack 2> /dev/null; then
alias npm=pnpm alias yarn="corepack yarn"
alias npmx=pnpx alias yarnpkg="corepack yarnpkg"
alias npx=pnpx alias pnpm="corepack pnpm"
alias pnpmx=pnpx alias pnpx="corepack pnpx"
alias npm="corepack npm"
alias npx="corepack npx"
if ! hash prettier 2> /dev/null; then if ! hash prettier 2> /dev/null; then
alias prettier="pnpm exec prettier --cache --ignore-unknown" alias prettier="pnpm exec prettier --cache --ignore-unknown"
fi fi
else
echo "WARNING! corepack is not installed."
fi fi
# github-pages etc. # github-pages etc.

View File

@ -567,15 +567,19 @@ alias mkdir="\mkdir --verbose"
alias chattr="\chattr -V" alias chattr="\chattr -V"
alias chmod="\chmod --verbose" alias chmod="\chmod --verbose"
# pnpm does less duplicating around # https://github.com/nodejs/corepack/blob/v0.28.2/README.md#corepack-enable--name
if hash pnpm 2>/dev/null; then if hash corepack 2>/dev/null; then
alias npm=pnpm alias yarn="corepack yarn"
alias npmx=pnpx alias yarnpkg="corepack yarnpkg"
alias npx=pnpx alias pnpm="corepack pnpm"
alias pnpmx=pnpx alias pnpx="corepack pnpx"
alias npm="corepack npm"
alias npx="corepack npx"
if ! hash prettier 2>/dev/null; then if ! hash prettier 2>/dev/null; then
alias prettier="pnpm exec prettier --cache --ignore-unknown" alias prettier="pnpm exec prettier --cache --ignore-unknown"
fi fi
else
echo "WARNING! corepack is not installed."
fi fi
# github-pages etc. # github-pages etc.