Skip to content
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

Support auto dependencies installation based on the used package manager #39

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions examples/move-program/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions workspace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Once you created a npm project, you should install Workspace:
npm install --save-dev @aptos-labs/workspace
```

> **_NOTE:_** Using `pnpm` or `yarn`? You'll need to do some manual work, follow the instructions [here](#using-yarn)

## Quick Start

To get started with Aptos Workspace, open your terminal, cd into your dapp directory, and run the following command:
Expand Down Expand Up @@ -190,3 +192,21 @@ To run your Move unit tests, you can use the `npx aptos-workspace move-unit-tes`
```bash
npx aptos-workspace move-unit-test
```

### Using `pnpm` or `yarn`?

#### Using yarn?

If your project uses `yarn`, and you dont have the `@aptos-labs/ts-sdk` installed, you'll need to manually install it.

```
yarn add --dev @aptos-labs/ts-sdk
```

#### Using pnpm?

If your project uses `pnpm`, and you dont have the `@aptos-labs/aptos-cli` installed, you'll need to manually install it.

```
pnpm add -D @aptos-labs/aptos-cli
```
Loading