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
# Just a hard constraint from the vscode marketplace's usage of azure tokens
40
44
echo "Once a year this expires, tell Orta to access https://dev.azure.com/ortatherox0608/_usersSettings/tokens (logging in with GitHub) to get a new one"
Copy file name to clipboardExpand all lines: README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -45,9 +45,9 @@ This repo contains the tools which provide editor integrations for Svelte files
45
45
46
46
## Packages
47
47
48
-
This repo uses [`yarn workspaces`](https://classic.yarnpkg.com/blog/2017/08/02/introducing-workspaces/), which TLDR means if you want to run a commands in each project then you can either `cd` to that directory and run the command, or use `yarn workspace [package_name] [command]`.
48
+
This repo uses [`pnpm workspaces`](https://pnpm.io/workspaces/), which TLDR means if you want to run a commands in each project then you can either `cd` to that directory and run the command, or use `pnpm -r [command]`.
49
49
50
-
For example `yarn workspace svelte-language-server test`.
> Do not use npm to install the dependencies, as the specific package versions in `yarn.lock` are used to build and test Svelte.
134
+
> Do not use npm to install the dependencies, as the specific package versions in `pnpm-lock.yaml` are used to build and test Svelte.
135
135
136
136
To build all of the tools, run:
137
137
138
138
```bash
139
-
yarn build
139
+
pnpm build
140
140
```
141
141
142
142
The tools are written in [TypeScript](https://www.typescriptlang.org/), but don't let that put you off — it's basically just JavaScript with type annotations. You'll pick it up in no time. If you're using an editor other than [Visual Studio Code](https://code.visualstudio.com/) you may need to install a plugin in order to get syntax highlighting and code hints etc.
@@ -153,7 +153,7 @@ To run the developer version of both the language server and the VSCode extensio
153
153
- Go to the debugging panel
154
154
- Make sure "Run VSCode Extension" is selected, and hit run
155
155
156
-
This launches a new VSCode window and a watcher for your changes. In this dev window you can choose an existing Svelte project to work against. If you don't use pure Javascript and CSS, but languages like Typescript or SCSS, your project will need a [Svelte preprocessor setup](docs#using-with-preprocessors). When you make changes to the extension or language server you can use the command "Reload Window" in the VSCode command palette to see your changes. When you make changes to `svelte2tsx`, you first need to run `yarn build` within its folder.
156
+
This launches a new VSCode window and a watcher for your changes. In this dev window you can choose an existing Svelte project to work against. If you don't use pure Javascript and CSS, but languages like Typescript or SCSS, your project will need a [Svelte preprocessor setup](docs#using-with-preprocessors). When you make changes to the extension or language server you can use the command "Reload Window" in the VSCode command palette to see your changes. When you make changes to `svelte2tsx`, you first need to run `pnpm build` within its folder.
157
157
158
158
### Running Tests
159
159
@@ -162,7 +162,7 @@ You might think that as a language server, you'd need to handle a lot of back an
162
162
This means it's easy to write tests for your changes:
163
163
164
164
```bash
165
-
yarntest
165
+
pnpmtest
166
166
```
167
167
168
168
For tricker issues, you can run the tests with a debugger in VSCode by setting a breakpoint (or adding `debugger` in the code) and launching the task: "Run tests with debugger".
0 commit comments