Skip to content

Commit eabb7f7

Browse files
committed
chore: try to simplify CI and expose types
1 parent 8f72078 commit eabb7f7

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [10.x, 12.x, 18.x]
18+
node-version: [18.x]
1919
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2020

2121
steps:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/setup-node@v4
2020
with:
2121
cache: npm
22-
node-version: 16
22+
node-version: 18
2323
- name: Install dependencies
2424
run: npm ci
2525
- name: Release

lib/nodemon.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ var eventHandlers = {};
1616
// stable module API
1717
config.required = utils.isRequired;
1818

19+
/**
20+
* @param {NodemonSettings} settings
21+
* @returns {Nodemon}
22+
*/
1923
function nodemon(settings) {
2024
bus.emit('boot');
2125
nodemon.reset();

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"terminal"
2828
],
2929
"license": "MIT",
30+
"types": "./index.d.ts",
3031
"main": "./lib/nodemon",
3132
"scripts": {
3233
"commitmsg": "commitlint -e",

0 commit comments

Comments
 (0)