Skip to content

Configs & Docs Update #246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
"Csvg",
"Dutton",
"Epqzn",
"fediverse",
"fnames",
"GITLEAKS",
"gzipped",
"Oliff",
"sarif",
"stylelint",
"twbs"
],
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.defaultFormatter": "EditorConfig.EditorConfig",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020-2024 Christian Oliff
Copyright (c) 2020-2025 Christian Oliff

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
21 changes: 12 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"url": "https://paypal.me/coliff"
},
"license": "MIT",
"author": "Christian Oliff (https://christianoliff.com)",
"files": [
"css/*",
"js/*",
Expand All @@ -28,7 +29,6 @@
"README.md",
"scss/*"
],
"author": "Christian Oliff (https://christianoliff.com)",
"scripts": {
"build": "npm-run-all css-lint css-compile css-minify js-lint js-minify",
"css": "npm-run-all css-lint css-compile css-minify",
Expand All @@ -38,7 +38,7 @@
"js-lint": "eslint js/show-password-toggle.js --fix",
"js-minify": "terser --ecma 5 --keep-classnames --keep-fnames --output js/show-password-toggle.min.js -- js/show-password-toggle.js",
"pa11y": "npx pa11y https://coliff.github.io/bootstrap-show-password-toggle/tests/bootstrap5-sign-in/",
"prettier": "npx prettier --write \"**/*.{css,html,js,json,scss,yml}\"",
"prettier": "npx prettier@3.5.3 --write \"**/*.{css,html,js,json,scss,yml}\"",
"serve": "npx http-server -o /tests/bootstrap5-sign-in/ -p 8080 -c-1",
"test": "npm-run-all css-lint js-lint"
},
Expand All @@ -52,6 +52,6 @@
"terser": "5.39.0"
},
"volta": {
"node": "20.18.1"
"node": "20.19.0"
}
}
9 changes: 5 additions & 4 deletions tests/bootstrap4-sign-in/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" />
<meta name="description" content="Show Password Toggle for Bootstrap 4" />
<meta name="author" content="Christian Oliff" />
<meta name="fediverse:creator" content="@[email protected]" />
<link rel="license" href="https://github.com/coliff/bootstrap-show-password-toggle/blob/main/LICENSE/" />
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2280%22>⚡</text></svg>" />
<link rel="stylesheet" href="../../css/show-password-toggle.css" />
Expand Down Expand Up @@ -35,12 +36,12 @@ <h1 class="h3 mb-3 text-center">Please sign in</h1>

<button class="btn btn-lg btn-primary btn-block mt-3" type="submit">Sign in</button>
</form>

<p class="my-3 text-center">
<a href="https://github.com/coliff/bootstrap-show-password-toggle" class="text-muted"> &copy; 2023 </a>
</p>
</main>

<footer class="my-3 text-center">
<a href="https://github.com/coliff/bootstrap-show-password-toggle" class="text-muted"> &copy; 2025 </a>
</footer>

<script src="../../js/show-password-toggle.min.js" async></script>
</body>
</html>
9 changes: 4 additions & 5 deletions tests/bootstrap5-sign-in/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5/dist/css/bootstrap.min.css" />
<meta name="description" content="Show Password Toggle for Bootstrap 5" />
<meta name="author" content="Christian Oliff" />
<meta name="fediverse:creator" content="@[email protected]" />
<link rel="license" href="https://github.com/coliff/bootstrap-show-password-toggle/blob/main/LICENSE/" />
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2280%22>⚡</text></svg>" />
<link rel="stylesheet" href="../../css/show-password-toggle.css" />
Expand Down Expand Up @@ -42,12 +43,10 @@ <h1 class="h3 mb-3 text-center">Please sign in</h1>

<button class="btn btn-lg btn-primary w-100 mt-3" type="submit">Sign in</button>
</form>

<p class="my-3 text-center">
<a href="https://github.com/coliff/bootstrap-show-password-toggle" class="small text-muted text-decoration-none"> &copy; 2023 </a>
</p>
</main>

<footer class="my-3 text-center">
<a href="https://github.com/coliff/bootstrap-show-password-toggle" class="small text-muted text-decoration-none"> &copy; 2025 </a>
</footer>
<script src="../../js/show-password-toggle.js" async></script>
</body>
</html>
Loading