diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 924a0a752dcd..49f531e09cac 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -77,7 +77,7 @@ Small pull requests are much easier to review and more likely to get merged. 1. Ensure you have [pnpm](https://pnpm.io/installation) installed 1. After cloning the repository, run `pnpm install`. You can do this in the root directory or in the `svelte` project 1. Move into the `svelte` directory with `cd packages/svelte` -1. To compile in watch mode, run `pnpm dev` +1. To compile in watch mode, run `pnpm watch` ### Creating a branch diff --git a/README.md b/README.md index 4dbfee3823f8..3ac11ba60ced 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ pnpm build To watch for changes and continually rebuild the package (this is useful if you're using [`pnpm link`](https://pnpm.io/cli/link) to test out changes in a project locally): ```bash -pnpm dev +pnpm watch ``` The compiler is written in JavaScript and uses [JSDoc](https://jsdoc.app/index.html) comments for type-checking. @@ -58,10 +58,10 @@ The compiler is written in JavaScript and uses [JSDoc](https://jsdoc.app/index.h pnpm test ``` -To filter tests, use `-g` (aka `--grep`). For example, to only run tests involving transitions: +### Running Type-Check ```bash -pnpm test -- -g transition +pnpm check ``` ### svelte.dev