Skip to content

Commit

Permalink
feat: add missing index.ts (#886)
Browse files Browse the repository at this point in the history
The `package.json` has ` "exports": "./dist/index.js"`, but no actual `index.ts` or `index.js`
exists.

This commit adds that file, in the same format as the one in `plugin-plugins`:
https://github.com/oclif/plugin-plugins/blob/main/src/index.ts
  • Loading branch information
mattwebbio authored Jul 31, 2024
1 parent 980d99f commit 2a43c81
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import CommandsUpdate from './commands/update.js'
import {init} from './hooks/init.js'

export const commands = {
update: CommandsUpdate,
}

export const hooks = {
init,
}

0 comments on commit 2a43c81

Please sign in to comment.