-
Notifications
You must be signed in to change notification settings - Fork 26
chore: standardize pnpm commands #591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -95,23 +95,23 @@ pnpm install | |
|
|
||
| ## Development | ||
|
|
||
| ### `pnpm run start` | ||
| ### `pnpm start` | ||
|
|
||
| Runs the app in the development mode.\ | ||
| Open [http://localhost:3002](http://localhost:3002) to view it in the browser. | ||
|
|
||
| The page will reload if you make edits.\ | ||
| You will also see any lint errors in the console. | ||
|
|
||
| ### `pnpm run build` | ||
| ### `pnpm build` | ||
|
|
||
| Builds the app for production to the `dist` folder.\ | ||
| It correctly bundles React in production mode and optimizes the build for the best performance. | ||
|
|
||
| The build is minified and the filenames include the hashes.\ | ||
| Your app is ready to be deployed! | ||
|
|
||
| ### `pnpm run regtest` | ||
| ### `pnpm regtest` | ||
|
|
||
| Starts the regtest environment and sets up the arkd instance.\ | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hi @gringokiwi, since you're already updating the docs here, would it be worth adding
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc/ @bordalix |
||
| Requires Docker to be installed and [Nigiri](https://nigiri.vulpem.com/) to be running with `--ln` flag. | ||
|
|
@@ -128,27 +128,27 @@ nigiri faucet <bcrt-address> | |
| ### e2e tests | ||
|
|
||
| > note: e2e tests require a regtest environment to be running. | ||
| > `pnpm run regtest` to start and setup the regtest environment. | ||
| > `pnpm regtest` to start and setup the regtest environment. | ||
|
|
||
| > note: e2e tests use playwright for ui testing, you may need to run | ||
| > `pnpm exec playwright install` once to download new browsers. | ||
|
|
||
| Run the tests with: | ||
|
|
||
| ```bash | ||
| pnpm run test:e2e | ||
| pnpm test:e2e | ||
| ``` | ||
|
|
||
| Run the tests in interactive mode with: | ||
|
|
||
| ```bash | ||
| pnpm run test:e2e --ui | ||
| pnpm test:e2e --ui | ||
| ``` | ||
|
|
||
| Access the playwright code generator tool with: | ||
|
|
||
| ```bash | ||
| pnpm run test:codegen | ||
| pnpm test:codegen | ||
| ``` | ||
|
|
||
| ## Troubleshooting | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pnpm regtestis not a defined script in this repo.Line 114 and Line 131 document
pnpm regtest, butpackage.jsondefines onlyregtest:start,regtest:setup,regtest:stop, andregtest:clean. This will fail for readers. This section also has the MD028 blockquote warning (Line 132).Suggested README fix
Also applies to: 130-134
🤖 Prompt for AI Agents