Skip to content

Commit 9e78107

Browse files
authored
Merge pull request #246 from coliff/dev/coliff/config-update
Configs & Docs Update
2 parents d1d64a9 + e43485d commit 9e78107

File tree

8 files changed

+29
-23
lines changed

8 files changed

+29
-23
lines changed

.cspell.json

+2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
"Csvg",
1111
"Dutton",
1212
"Epqzn",
13+
"fediverse",
1314
"fnames",
1415
"GITLEAKS",
1516
"gzipped",
1617
"Oliff",
18+
"sarif",
1719
"stylelint",
1820
"twbs"
1921
],

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"editor.formatOnSave": true,
3-
"editor.defaultFormatter": "esbenp.prettier-vscode",
3+
"editor.defaultFormatter": "EditorConfig.EditorConfig",
44
"editor.codeActionsOnSave": {
55
"source.fixAll.eslint": "explicit"
66
}

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020-2024 Christian Oliff
3+
Copyright (c) 2020-2025 Christian Oliff
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

package-lock.json

+12-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"url": "https://paypal.me/coliff"
2121
},
2222
"license": "MIT",
23+
"author": "Christian Oliff (https://christianoliff.com)",
2324
"files": [
2425
"css/*",
2526
"js/*",
@@ -28,7 +29,6 @@
2829
"README.md",
2930
"scss/*"
3031
],
31-
"author": "Christian Oliff (https://christianoliff.com)",
3232
"scripts": {
3333
"build": "npm-run-all css-lint css-compile css-minify js-lint js-minify",
3434
"css": "npm-run-all css-lint css-compile css-minify",
@@ -38,7 +38,7 @@
3838
"js-lint": "eslint js/show-password-toggle.js --fix",
3939
"js-minify": "terser --ecma 5 --keep-classnames --keep-fnames --output js/show-password-toggle.min.js -- js/show-password-toggle.js",
4040
"pa11y": "npx pa11y https://coliff.github.io/bootstrap-show-password-toggle/tests/bootstrap5-sign-in/",
41-
"prettier": "npx prettier --write \"**/*.{css,html,js,json,scss,yml}\"",
41+
"prettier": "npx prettier@3.5.3 --write \"**/*.{css,html,js,json,scss,yml}\"",
4242
"serve": "npx http-server -o /tests/bootstrap5-sign-in/ -p 8080 -c-1",
4343
"test": "npm-run-all css-lint js-lint"
4444
},
@@ -52,6 +52,6 @@
5252
"terser": "5.39.0"
5353
},
5454
"volta": {
55-
"node": "20.18.1"
55+
"node": "20.19.0"
5656
}
5757
}

tests/bootstrap4-sign-in/index.html

+5-4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" />
88
<meta name="description" content="Show Password Toggle for Bootstrap 4" />
99
<meta name="author" content="Christian Oliff" />
10+
<meta name="fediverse:creator" content="@[email protected]" />
1011
<link rel="license" href="https://github.com/coliff/bootstrap-show-password-toggle/blob/main/LICENSE/" />
1112
<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>" />
1213
<link rel="stylesheet" href="../../css/show-password-toggle.css" />
@@ -35,12 +36,12 @@ <h1 class="h3 mb-3 text-center">Please sign in</h1>
3536

3637
<button class="btn btn-lg btn-primary btn-block mt-3" type="submit">Sign in</button>
3738
</form>
38-
39-
<p class="my-3 text-center">
40-
<a href="https://github.com/coliff/bootstrap-show-password-toggle" class="text-muted"> &copy; 2023 </a>
41-
</p>
4239
</main>
4340

41+
<footer class="my-3 text-center">
42+
<a href="https://github.com/coliff/bootstrap-show-password-toggle" class="text-muted"> &copy; 2025 </a>
43+
</footer>
44+
4445
<script src="../../js/show-password-toggle.min.js" async></script>
4546
</body>
4647
</html>

tests/bootstrap5-sign-in/index.html

+4-5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5/dist/css/bootstrap.min.css" />
88
<meta name="description" content="Show Password Toggle for Bootstrap 5" />
99
<meta name="author" content="Christian Oliff" />
10+
<meta name="fediverse:creator" content="@[email protected]" />
1011
<link rel="license" href="https://github.com/coliff/bootstrap-show-password-toggle/blob/main/LICENSE/" />
1112
<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>" />
1213
<link rel="stylesheet" href="../../css/show-password-toggle.css" />
@@ -42,12 +43,10 @@ <h1 class="h3 mb-3 text-center">Please sign in</h1>
4243

4344
<button class="btn btn-lg btn-primary w-100 mt-3" type="submit">Sign in</button>
4445
</form>
45-
46-
<p class="my-3 text-center">
47-
<a href="https://github.com/coliff/bootstrap-show-password-toggle" class="small text-muted text-decoration-none"> &copy; 2023 </a>
48-
</p>
4946
</main>
50-
47+
<footer class="my-3 text-center">
48+
<a href="https://github.com/coliff/bootstrap-show-password-toggle" class="small text-muted text-decoration-none"> &copy; 2025 </a>
49+
</footer>
5150
<script src="../../js/show-password-toggle.js" async></script>
5251
</body>
5352
</html>

0 commit comments

Comments
 (0)