Skip to content

Commit 24a8a49

Browse files
committed
update deps and CI
1 parent 086bda7 commit 24a8a49

23 files changed

+9940
-15296
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,25 @@ on: push
33
jobs:
44
test:
55
runs-on: ubuntu-20.04
6-
name: Test on Node 16
6+
name: Test on Node 20
77
steps:
88
- name: Checkout
9-
uses: actions/checkout@v3
9+
uses: actions/checkout@v4
1010

1111
- name: Setup Node
12-
uses: actions/setup-node@v3
12+
uses: actions/setup-node@v4
1313
with:
14-
node-version: 16
15-
# - uses: bahmutov/npm-install@v1
16-
- run: npm install
17-
- run: npm run build
18-
- run: npm run compile
19-
- run: npm run test
14+
node-version: 20
15+
cache: pnpm
2016

21-
- name: Upload coverage report on Node 16 to coveralls.io...
22-
uses: coverallsapp/[email protected]
17+
- run: pnpm install --no-frozen-lockfile
18+
- run: pnpm build
19+
- run: pnpm compile
20+
- run: pnpm docs
21+
- run: pnpm copy-compile
22+
- run: pnpm test
23+
24+
- name: Upload coverage report on Node 20 to coveralls.io...
25+
uses: coverallsapp/github-action@master
2326
with:
2427
github-token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
[![NPM Version](https://img.shields.io/npm/v/@thednp/navbar.svg)](https://www.npmjs.com/package/@thednp/navbar)
55
[![NPM Downloads](https://img.shields.io/npm/dm/@thednp/navbar.svg)](http://npm-stat.com/charts.html?package=@thednp/navbar)
66
[![jsDeliver](https://data.jsdelivr.com/v1/package/npm/@thednp/navbar/badge)](https://www.jsdelivr.com/package/npm/@thednp/navbar)
7-
[![typescript version](https://img.shields.io/badge/typescript-5.3.2-brightgreen)](https://www.typescriptlang.org/)
8-
[![cypress version](https://img.shields.io/badge/cypress-12.17.4-brightgreen)](https://www.cypress.io/)
9-
[![eslint version](https://img.shields.io/badge/eslint-8.54.0-brightgreen)](https://github.com/eslint)
10-
[![vite version](https://img.shields.io/badge/vite-4.5.0-brightgreen)](https://vitejs.dev/)
7+
[![typescript version](https://img.shields.io/badge/typescript-5.5.4-brightgreen)](https://www.typescriptlang.org/)
8+
[![cypress version](https://img.shields.io/badge/cypress-13.13.2-brightgreen)](https://www.cypress.io/)
9+
[![eslint version](https://img.shields.io/badge/eslint-8.57.0-brightgreen)](https://github.com/eslint)
10+
[![vite version](https://img.shields.io/badge/vite-5.4.0-brightgreen)](https://vitejs.dev/)
1111
[![prettier version](https://img.shields.io/badge/prettier-2.8.8-brightgreen)](https://prettier.io/)
1212

1313
The mobile first menu navigation for today's modern web, sourced with Typescript and packed with lots of features.

dist/css/navbar.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
2-
* Navbar.js v3.2.5 (http://thednp.github.io/navbar)
3-
* Copyright 2016-2023 © thednp
2+
* Navbar.js v3.2.6 (https://thednp.github.io/navbar)
3+
* Copyright 2016-2024 © thednp
44
* Licensed under MIT (https://github.com/thednp/navbar.js/blob/master/LICENSE)
55
*/
66
/* $color: text-color, $bg: bg-color, $inherit-bg: used when $bg is undefined/transparent */

dist/css/navbar.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/navbar.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/js/navbar.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/navbar.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ declare const defaultNavbarOptions: {
33
toggleSiblings: boolean;
44
delay: number;
55
};
6+
/** Creates a new Navbar for desktop and mobile navigation. */
67
declare class Navbar {
78
static selector: string;
8-
static init: (element: string | HTMLElement) => Navbar;
9+
static init: (element: HTMLElement | string) => Navbar;
910
static getInstance: (element: HTMLElement) => Navbar | null;
1011
static version: string;
1112
menu: HTMLElement;

0 commit comments

Comments
 (0)