Skip to content

Commit

Permalink
feat: setup update-notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwinter committed Aug 25, 2021
1 parent d823e34 commit 7174715
Show file tree
Hide file tree
Showing 3 changed files with 153 additions and 236 deletions.
6 changes: 6 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ import process from 'node:process';

import Ora from 'ora';
import meow from 'meow';
import updateNotifier from 'update-notifier';
import readJson from 'read-package-json';

import client from './client.js';
import * as readysteady from './index.js';

readJson('./package.json', (error, data) => {
updateNotifier({pkg: data});
});

const cli = meow({
importMeta: import.meta,
flags: {
Expand Down
Loading

0 comments on commit 7174715

Please sign in to comment.