Skip to content

Commit

Permalink
Merge pull request #963 from pmcelhaney/logo
Browse files Browse the repository at this point in the history
Logo
  • Loading branch information
pmcelhaney authored Jun 28, 2024
2 parents c9f5007 + c45fcba commit b6e835f
Show file tree
Hide file tree
Showing 8 changed files with 184 additions and 25 deletions.
5 changes: 5 additions & 0 deletions .changeset/two-pots-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"counterfact": minor
---

New logo! It's not perfect, but the best I can do by myself. If you have graphic design skills, I could use some help cleaning it up.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@

### Minor Changes

- 93d7607: added a 🤖 to the prompt to make it look more distinguished
- 93d7607: added a ⬣> to the prompt to make it look more distinguished
- 960105a: just for fun, the tagline when the CLI starts is different every time you run it

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<div align="center" markdown="1">

# Counterfact
<h1><img src="./counterfact.svg" alt="Counterfact"></h1>

_A Mock Server for High-performing Front-end Teams_

Expand Down
81 changes: 81 additions & 0 deletions counterfact.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ ____ ____ _ _ _ _ ___ ____ ____ ____ ____ ____ ___
Starting REPL, type .help for more info
🤖>
>
```

At the `🤖>` prompt, you can enter JavaScript code to interact with the live [context object](#context-object). For example, here's a quick way to add a pet to the store.
At the `>` prompt, you can enter JavaScript code to interact with the live [context object](#context-object). For example, here's a quick way to add a pet to the store.

```js
context.addPet({ name: "Fluffy", photoUrls: [] });
Expand Down
103 changes: 88 additions & 15 deletions src/client/index.html.hbs

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions src/client/rapi-doc.html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
>
</div>
{{#each routes as |route|}}
<a slot="get-{{escape_route route}}" href="vscode://file/{{../basePath}}/paths/{{.}}.ts">Edit in VSCode</a>
<a slot="put-{{escape_route route}}" href="vscode://file/{{../basePath}}/paths/{{.}}.ts">Edit in VSCode</a>
<a slot="post-{{escape_route route}}" href="vscode://file/{{../basePath}}/paths/{{.}}.ts">Edit in VSCode</a>
<a slot="delete-{{escape_route route}}" href="vscode://file/{{../basePath}}/paths/{{.}}.ts">Edit in VSCode</a>
<a slot="patch-{{escape_route route}}" href="vscode://file/{{../basePath}}/paths/{{.}}.ts">Edit in VSCode</a>
<a slot="get-{{escape_route route}}" href="vscode://file/{{../basePath}}/routes/{{.}}.ts">Edit in VSCode</a>
<a slot="put-{{escape_route route}}" href="vscode://file/{{../basePath}}/routes/{{.}}.ts">Edit in VSCode</a>
<a slot="post-{{escape_route route}}" href="vscode://file/{{../basePath}}/routes/{{.}}.ts">Edit in VSCode</a>
<a slot="delete-{{escape_route route}}" href="vscode://file/{{../basePath}}/routes/{{.}}.ts">Edit in VSCode</a>
<a slot="patch-{{escape_route route}}" href="vscode://file/{{../basePath}}/routes/{{.}}.ts">Edit in VSCode</a>

{{/each}}
</rapi-doc>
Expand Down
2 changes: 1 addition & 1 deletion src/repl/repl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function startRepl(
}
}

const replServer = repl.start({ prompt: "🤖> " });
const replServer = repl.start({ prompt: "> " });

replServer.defineCommand("counterfact", {
action() {
Expand Down

0 comments on commit b6e835f

Please sign in to comment.