Skip to content

Commit

Permalink
Zeta 6462 export morph command - ship it (#8)
Browse files Browse the repository at this point in the history
* ZETA-6460: Update package json name.

* ZETA-6460: Add codemorph core.

* ZETA-6460: Benchmark progress towards completing json logic.

* ZETA-6460: Wire up inital npm install update logic.

* ZETA-6462: Expose morph command.

* ZETA-6462: fix interfae.

* ZETA-6462: Fix one more import path.
  • Loading branch information
CharlieGreenman authored Aug 17, 2023
1 parent 03d3908 commit 19fa62e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
3 changes: 0 additions & 3 deletions src/commandMorph/command-morph.interface.ts

This file was deleted.

9 changes: 0 additions & 9 deletions src/commandMorph/commandMorph.ts

This file was deleted.

1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// export { Blah as default } from './lib'
export { morphCommand } from "./command-morph/command-morph";
4 changes: 2 additions & 2 deletions src/utils/command-search/command-search.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NpmCommandMorph } from "src/npm/interfaces/npm-command-morph.interface";
import { CommandMorph } from "../command-morph/command-morph.interface";
import { NpmCommandMorph } from "../../npm/interfaces/npm-command-morph.interface";
import { CommandMorph } from "../../command-morph/command-morph.interface";

export function getFirstWordOfCommand(commandText: string): CommandMorph {
const words = commandText.trim().split(/\s+/);
Expand Down

0 comments on commit 19fa62e

Please sign in to comment.