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
* docs(CONTRIBUTING): update workflow based on vscode changes
* docs(MAINTAINING): add section for syncing VS Code upstream
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
3.`cd vscode && git checkout code-server-v2` - checkout the branch we use (not the default)
88
-
4.`cd vscode && yarn install` - install the dependencies in the `vscode` repo
89
-
5.`cd code-server && yarn install` - install the dependencies in the `code-server` repo
90
-
6.`cd vscode && yarn link` - use `yarn` to create a symlink to the `vscode` repo (`code-oss-dev` package)
91
-
7.`cd code-server && yarn link code-oss-dev --modules-folder vendor/modules` - links your local `vscode` repo (`code-oss-dev` package) inside your local version of code-server
92
-
8.`cd code-server && yarn watch` - this will spin up code-server on localhost:8080 which you can start developing. It will live reload changes to the source.
87
+
3.`cd vscode && yarn install` - install the dependencies in the `vscode` repo
88
+
4.`cd code-server && yarn install` - install the dependencies in the `code-server` repo
89
+
5.`cd vscode && yarn link` - use `yarn` to create a symlink to the `vscode` repo (`code-oss-dev` package)
90
+
6.`cd code-server && yarn link code-oss-dev --modules-folder vendor/modules` - links your local `vscode` repo (`code-oss-dev` package) inside your local version of code-server
91
+
7.`cd code-server && yarn watch` - this will spin up code-server on localhost:8080 which you can start developing. It will live reload changes to the source.
93
92
94
93
### Updates to VS Code
95
94
96
-
If changes are made and merged into `code-server-v2` in the `cdr/vscode` repo, then you'll need to update the version in the `code-server` repo by following these steps:
95
+
If changes are made and merged into `main` in the [`cdr/vscode`](https://github.com/cdr/vscode) repo, then you'll need to update the version in the `code-server` repo by following these steps:
97
96
98
97
1. Update the package tag listed in `vendor/package.json`:
99
98
100
99
```json
101
100
{
102
101
"devDependencies": {
103
-
"vscode": "cdr/vscode#X.XX.X-code-server"
102
+
"vscode": "cdr/vscode#<latest-commit-sha>"
104
103
}
105
104
}
106
105
```
107
106
108
-
1. From the code-server **project root**, run `yarn install`.
107
+
2. From the code-server **project root**, run `yarn install`.
109
108
Then, test code-server locally to make sure everything works.
110
-
1. Check the Node.js version that's used by Electron (which is shipped with VS
109
+
3. Check the Node.js version that's used by Electron (which is shipped with VS
111
110
Code. If necessary, update your version of Node.js to match.
112
-
1. Open a PR
111
+
4. Open a PR
113
112
114
113
> Watch for updates to
115
114
> `vendor/modules/code-oss-dev/src/vs/code/browser/workbench/workbench.html`. You may need to
4. Open a PR merging your branch (`vscode-update`) into `main` and add the code-server review team
227
+
228
+
Ideally, our fork stays as close to upstream as possible. See the differences between our fork and upstream [here](https://github.com/microsoft/vscode/compare/main...cdr:main).
229
+
218
230
## Testing
219
231
220
232
Our testing structure is laid out under our [Contributing docs](https://coder.com/docs/code-server/latest/CONTRIBUTING#test).
0 commit comments