npm publish

This commit is contained in:
2024-11-09 02:38:24 -05:00
parent f08d37f23d
commit 9d89825d91
9 changed files with 90 additions and 26 deletions
+15
View File
@@ -0,0 +1,15 @@
import { Hook } from '@oclif/core'
const hook: Hook<'postrun'> = async function (opts: any) {
// srmVersion
// console.log(opts.Command.flags)
// console.log(opts.Command.args)
// console.log(opts.Command.name)
// console.log(opts)
// process.stdout.write(`example hook running ${opts?.id}\n`)
}
export default hook
+15
View File
@@ -0,0 +1,15 @@
import { Hook, Command } from '@oclif/core'
import fs from 'fs-extra';
import _ from 'lodash';
const hook: Hook<'prerun'> = async function (opts) {
// srmVersion
// console.log(opts.Command.flags)
// console.log(opts.Command.args)
// console.log(opts.Command.name)
}
export default hook
Regular → Executable
+2
View File
@@ -1 +1,3 @@
#!/usr/bin/env bun
export {run} from '@oclif/core'