Skip to content

Commit a22f087

Browse files
committed
Updated to node 18.20. Removed warning messages from codify pkg using nodejs/node#10802
1 parent 029b62d commit a22f087

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $ npm install -g codify
1818
$ codify COMMAND
1919
running command...
2020
$ codify (--version)
21-
codify/0.0.0 darwin-arm64 node-v18.15.0
21+
codify/0.0.0 darwin-arm64 node-v18.20.2
2222
$ codify --help [COMMAND]
2323
USAGE
2424
$ codify COMMAND

bin/run.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/env node
22

3+
// This removes any Node Experimental warnings from being printed to the CLI
4+
process.removeAllListeners('warning')
5+
36
import { flush, handle, run } from '@oclif/core'
47

58
await run(process.argv.slice(2), import.meta.url)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"build": "shx rm -rf dist && tsc -b",
8181
"lint": "eslint . --ext .ts",
8282
"postpack": "shx rm -f oclif.manifest.json",
83-
"build:release:macos": "oclif pack macos -r .",
83+
"pkg": "oclif pack macos -r .",
8484
"posttest": "npm run lint",
8585
"prepack": "npm run build && oclif manifest && oclif readme",
8686
"test": "mocha --forbid-only \"test/**/*.test.ts\"",

0 commit comments

Comments
 (0)