Skip to content

Commit

Permalink
refactor: update generated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Nov 28, 2023
1 parent 9cd962e commit 919ed71
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ exports[`application generator custom apps should generate app without anchor 1`
"\`\`\`",
"#### Install Dependencies",
"\`\`\`shell",
"pnpm install",
"yarn install",
"\`\`\`",
"#### Start the web app",
"\`\`\`",
"yarn dev",
"\`\`\`",
"## Apps",
"### web",
"This is a React app that uses the Anchor generated client to interact with the Solana program.",
"This is a React app.",
"#### Commands",
"Start the web app",
"\`\`\`shell",
Expand Down Expand Up @@ -829,7 +829,7 @@ exports[`application generator default apps should generate default app with "no
"\`\`\`",
"#### Install Dependencies",
"\`\`\`shell",
"pnpm install",
"yarn install",
"\`\`\`",
"#### Start the web app",
"\`\`\`",
Expand Down Expand Up @@ -2838,7 +2838,7 @@ exports[`application generator default apps should generate default app with "ta
"\`\`\`",
"#### Install Dependencies",
"\`\`\`shell",
"pnpm install",
"yarn install",
"\`\`\`",
"#### Start the web app",
"\`\`\`",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ exports[`react-application generator custom apps should generate app without anc
"\`\`\`",
"#### Install Dependencies",
"\`\`\`shell",
"pnpm install",
"yarn install",
"\`\`\`",
"#### Start the web app",
"\`\`\`",
"yarn dev",
"\`\`\`",
"## Apps",
"### web",
"This is a React app that uses the Anchor generated client to interact with the Solana program.",
"This is a React app.",
"#### Commands",
"Start the web app",
"\`\`\`shell",
Expand Down Expand Up @@ -547,7 +547,7 @@ exports[`react-application generator custom apps should generate app without anc
"<html lang="en">",
"<head>",
"<meta charset="utf-8" />",
"<title>TestApp</title>",
"<title>proj</title>",
"<base href="/" />",
"<meta",
"name="viewport"",
Expand Down Expand Up @@ -789,7 +789,7 @@ exports[`react-application generator default apps should generate default app wi
"\`\`\`",
"#### Install Dependencies",
"\`\`\`shell",
"pnpm install",
"yarn install",
"\`\`\`",
"#### Start the web app",
"\`\`\`",
Expand Down Expand Up @@ -2493,7 +2493,7 @@ exports[`react-application generator default apps should generate default app wi
"<html lang="en">",
"<head>",
"<meta charset="utf-8" />",
"<title>TestApp</title>",
"<title>proj</title>",
"<base href="/" />",
"<meta",
"name="viewport"",
Expand Down Expand Up @@ -2737,7 +2737,7 @@ exports[`react-application generator default apps should generate default app wi
"\`\`\`",
"#### Install Dependencies",
"\`\`\`shell",
"pnpm install",
"yarn install",
"\`\`\`",
"#### Start the web app",
"\`\`\`",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title><%= className %></title>
<title><%= npmScope %></title>
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cd <repo-name>
#### Install Dependencies

```shell
pnpm install
<%= runCmd %> install
```

#### Start the web app
Expand Down Expand Up @@ -80,7 +80,7 @@ You will manually need to update the constant in `<%= anchorName.fileName %>/lib

### web

This is a React app that uses the Anchor generated client to interact with the Solana program.
This is a <% if (preset === 'react') { %>React<% } else if (preset === 'next') { %>Next.js<% } %> app<% if (anchor.fileName !== 'none') { %> that uses the Anchor generated client to interact with the Solana program<% } %>.

#### Commands

Expand Down

0 comments on commit 919ed71

Please sign in to comment.