You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Preparing Your Local Environment for Development
23
23
24
-
Now that you have cloned the repository, ensure you have [yarn](https://classic.yarnpkg.com/lang/en/) installed, then run the following command to set up the development environment.
24
+
Now that you have cloned the repository, ensure you have node 18+ installed, then run the following command to set up the development environment.
25
25
26
26
```sh
27
-
yarn install
28
-
yarn build
27
+
npm run install
28
+
npm run build
29
29
```
30
30
31
31
This will download and install all packages needed.
@@ -46,11 +46,11 @@ Commits are linted using precommit hooks, meaning that any code that raises a li
46
46
47
47
### Running Tests
48
48
49
-
To run the tests of a package, it's recommended to `cd` into the package directory and then using `yarn test` to run them. This way you're only running tests of that specific package. The project needs to have been built at least once with `yarn build` for the tests to run.
49
+
To run the tests of a package, it's recommended to `cd` into the package directory and then using `npm run test` to run them. This way you're only running tests of that specific package. The project needs to have been built at least once with `npm run build` for the tests to run.
50
50
51
51
### Adding New Packages
52
52
53
-
For all projects, the tsconfig/jsconfig configuration files are auto-generated. You need to add an entry to the [./workspace-packages.mjs](./workspace-packages.mjs) to let it generate a config for you. After adding an entry, run `yarn update-package-configs` to generate the files for you.
53
+
For all projects, the tsconfig/jsconfig configuration files are auto-generated. You need to add an entry to the [./workspace-packages.mjs](./workspace-packages.mjs) to let it generate a config for you. After adding an entry, run `npm run update-package-configs` to generate the files for you.
54
54
55
55
### Creating a Changeset
56
56
@@ -62,7 +62,7 @@ This documents your intent to release and allows you to specify a message that w
62
62
To create a changeset, run:
63
63
64
64
```sh
65
-
yarn changeset
65
+
npx changeset
66
66
```
67
67
68
68
Use the menu to select for which packages you need a release, and then select what kind of release. For the release type, we follow [Semantic Versioning](https://semver.org/), so please take a look if you're unfamiliar.
0 commit comments