Skip to content

Commit

Permalink
Release v0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Jan 3, 2024
1 parent e8ab386 commit 1b77c69
Show file tree
Hide file tree
Showing 17 changed files with 35 additions and 33 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016-2023 Individual contributors to hamburger-menu
Copyright (c) 2016-2024 Individual contributors to hamburger-menu

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
2 changes: 1 addition & 1 deletion dist/hamburger-menu.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! hamburger-menu v0.6.0 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License */
/*! hamburger-menu v0.6.1 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License */

/*
Structure for HamburgerMenu:
Expand Down
4 changes: 2 additions & 2 deletions dist/hamburger-menu.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! hamburger-menu v0.6.0 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License
//! hamburger-menu v0.6.1 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License

const hamburgerMenu = {
// <nav class=hamburger-menu>
Expand All @@ -13,7 +13,7 @@ const hamburgerMenu = {
// </aside>
// </nav>

version: '0.6.0',
version: '0.6.1',

selectItem(elem) {
const menuItem = elem.closest('li');
Expand Down
2 changes: 1 addition & 1 deletion dist/hamburger-menu.min.css

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

4 changes: 2 additions & 2 deletions dist/hamburger-menu.min.js

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

2 changes: 1 addition & 1 deletion docs/hamburger-menu.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! hamburger-menu v0.6.0 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License */
/*! hamburger-menu v0.6.1 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License */

/*
Structure for HamburgerMenu:
Expand Down
4 changes: 2 additions & 2 deletions docs/hamburger-menu.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! hamburger-menu v0.6.0 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License
//! hamburger-menu v0.6.1 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License

const hamburgerMenu = {
// <nav class=hamburger-menu>
Expand All @@ -13,7 +13,7 @@ const hamburgerMenu = {
// </aside>
// </nav>

version: '0.6.0',
version: '0.6.1',

selectItem(elem) {
const menuItem = elem.closest('li');
Expand Down
10 changes: 5 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<link rel=icon href=https://centerkey.com/graphics/bookmark.png>
<link rel=preconnect href=https://fonts.googleapis.com>
<link rel=preconnect href=https://fonts.gstatic.com crossorigin>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/dna-engine@3.0/dist/dna-engine.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@2.0/dist/reset.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/dna-engine@3.1/dist/dna-engine.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/web-ignition@2.1/dist/reset.min.css>
<style>
body { text-align: center; color: gray; background-color: black; }
body >header { margin-bottom: 40px; }
Expand All @@ -26,8 +26,8 @@
body >main >nav i.font-icon { font-size: 6rem; }
}
</style>
<script defer src=https://cdn.jsdelivr.net/npm/dna-engine@3.0/dist/dna-engine.min.js></script>
<script defer src=https://cdn.jsdelivr.net/npm/web-ignition@2.0/dist/lib-x.min.js></script>
<script defer src=https://cdn.jsdelivr.net/npm/dna-engine@3.1/dist/dna-engine.min.js></script>
<script defer src=https://cdn.jsdelivr.net/npm/web-ignition@2.1/dist/lib-x.min.js></script>
<script defer src=hamburger-menu.js></script>
<script>globalThis.onerror = () => globalThis.document.body.style.background = 'pink';</script>
<script data-on-load=displayVersion>
Expand Down
2 changes: 1 addition & 1 deletion docs/multipage/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name=description content="About page with a mobile-friendly hamburger drop-down menu">
<title>HamburgerMenu &#9776; Multipage</title>
<link rel=icon href=https://centerkey.com/graphics/bookmark.png>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5/css/all.min.css>
<link rel=stylesheet href=../hamburger-menu.css>
<link rel=stylesheet href=../style.css>
<script defer src=../hamburger-menu.js></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/multipage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name=description content="Home page with a mobile-friendly hamburger drop-down menu">
<title>HamburgerMenu &#9776; Multipage</title>
<link rel=icon href=https://centerkey.com/graphics/bookmark.png>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5/css/all.min.css>
<link rel=stylesheet href=../hamburger-menu.css>
<link rel=stylesheet href=../style.css>
<script defer src=../hamburger-menu.js></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/multipage/products/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name=description content="Products page with a mobile-friendly hamburger drop-down menu">
<title>HamburgerMenu &#9776; Multipage</title>
<link rel=icon href=https://centerkey.com/graphics/bookmark.png>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5/css/all.min.css>
<link rel=stylesheet href=../../hamburger-menu.css>
<link rel=stylesheet href=../../style.css>
<script defer src=../../hamburger-menu.js></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/multipage/products/x3000.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name=description content="X-3000 product page with a mobile-friendly hamburger drop-down menu">
<title>HamburgerMenu &#9776; Multipage</title>
<link rel=icon href=https://centerkey.com/graphics/bookmark.png>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5/css/all.min.css>
<link rel=stylesheet href=../../hamburger-menu.css>
<link rel=stylesheet href=../../style.css>
<script defer src=../../hamburger-menu.js></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/multipage/products/x3200.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name=description content="X-3200 product page with a mobile-friendly hamburger drop-down menu">
<title>HamburgerMenu &#9776; Multipage</title>
<link rel=icon href=https://centerkey.com/graphics/bookmark.png>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5/css/all.min.css>
<link rel=stylesheet href=../../hamburger-menu.css>
<link rel=stylesheet href=../../style.css>
<script defer src=../../hamburger-menu.js></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/multipage/support.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name=description content="Support page with a mobile-friendly hamburger drop-down menu">
<title>HamburgerMenu &#9776; Multipage</title>
<link rel=icon href=https://centerkey.com/graphics/bookmark.png>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5/css/all.min.css>
<link rel=stylesheet href=../hamburger-menu.css>
<link rel=stylesheet href=../style.css>
<script defer src=../hamburger-menu.js></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/single-page-app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name=description content="Single-page web app with a mobile-friendly hamburger drop-down menu">
<title>HamburgerMenu &#9776; Single-Page Web App</title>
<link rel=icon href=https://centerkey.com/graphics/bookmark.png>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4/css/all.min.css>
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5/css/all.min.css>
<link rel=stylesheet href=../hamburger-menu.css>
<link rel=stylesheet href=../style.css>
<script defer src=../hamburger-menu.js></script>
Expand Down
22 changes: 12 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hamburger-menu",
"version": "0.6.0",
"version": "0.6.1",
"description": "☰ A responsive CSS solution for a hamburger menu ☰",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -53,35 +53,37 @@
"replacer src --ext=.css build --concat=hamburger-menu.css",
"csso build/hamburger-menu.css --output build/hamburger-menu.min.css",
"copy-folder src --ext=.js build",
"uglifyjs src/hamburger-menu.js --output build/hamburger-menu.min.js",
"uglifyjs src/hamburger-menu.js --output build/hamburger-menu.min.js"
],
"dist": [
"add-dist-header build dist --delimiter=☰",
"copy-file dist/hamburger-menu.css --folder docs",
"copy-file dist/hamburger-menu.js --folder docs",
"html-validator"
"copy-file dist/hamburger-menu.js --folder docs",
"html-validator docs"
]
},
"scripts": {
"pretest": "run-scripts clean lint build",
"pretest": "run-scripts clean lint build dist",
"test": "mocha spec/*.spec.js",
"interactive": "browser-sync . --startPath docs --files docs"
},
"dependencies": {},
"devDependencies": {
"@fortawesome/fontawesome-free": "~6.4",
"@fortawesome/fontawesome-free": "~6.5",
"add-dist-header": "~1.3",
"assert-deep-strict-equal": "~1.1",
"browser-sync": "~2.29",
"browser-sync": "~3.0",
"copy-file-util": "~1.1",
"copy-folder-util": "~1.1",
"csso-cli": "~4.0",
"dna-engine": "~3.0",
"dna-engine": "~3.1",
"jshint": "~2.13",
"mocha": "~10.2",
"replacer-util": "~1.2",
"rimraf": "~5.0",
"run-scripts-util": "~1.2",
"uglify-js": "~3.17",
"w3c-html-validator": "~1.5",
"web-ignition": "~2.0"
"w3c-html-validator": "~1.6",
"web-ignition": "~2.1"
}
}
2 changes: 1 addition & 1 deletion task-runner.sh.command
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ releaseInstructions() {
echo "When ready to do the next release:"
echo
echo " === Increment version ==="
echo " Edit pacakge.json to bump $version to next version number"
echo " Edit package.json to bump $version to next version number"
echo " $projectHome/package.json"
}
nextActionCommitTagPub() {
Expand Down

0 comments on commit 1b77c69

Please sign in to comment.