Add development steps

This commit is contained in:
Asher 2019-07-02 11:33:27 -05:00
parent d808bfaec6
commit 57a8186e88
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
4 changed files with 326 additions and 5075 deletions

7
.gitignore vendored
View File

@ -1,8 +1 @@
/lib
node_modules
dist
out
.DS_Store
release
.vscode
.cache

View File

@ -50,11 +50,17 @@ Quickstart guides for [Google Cloud](doc/admin/install/google_cloud.md), [AWS](d
How to [secure your setup](/doc/security/ssl.md).
## Build
- Run `yarn build ${vscodeVersion}`in this directory (for example, `yarn build 1.35.0`).
## Development
- Clone this as `vs/src/server` in the VS Code source.
- Run `yarn watch-client`in the VS Code root.
- Run `node out/vs/server/main.js`.
- Clone VS Code.
- Clone code-server to `src/vs/server` in the VS Code source.
- Run `yarn` in this directory (only need to do this once).
- Run `yarn watch` in this directory.
- Wait for the initial compilation to complete.
- Run `yarn start` in this directory.
- Visit `http://localhost:8443`.
### Known Issues

View File

@ -1,70 +1,10 @@
{
"name": "@coder/code-server",
"repository": "https://github.com/cdr/code-server",
"author": "Coder",
"license": "MIT",
"description": "Run VS Code remotely.",
"scripts": {
"build:rules": "cd ./rules && tsc -p .",
"packages:install": "cd ./packages && yarn",
"postinstall": "npm-run-all --parallel packages:install build:rules",
"start": "cd ./packages/server && yarn start",
"task": "ts-node -r tsconfig-paths/register build/tasks.ts",
"test": "cd ./packages && yarn test"
"start": "nodemon ../../../out/vs/server/main.js --watch ../../../out --verbose",
"watch": "cd ../../../ && yarn watch-client",
"build": "echo TODO && exit 1"
},
"devDependencies": {
"@types/fs-extra": "^5.0.4",
"@types/node": "^10.12.18",
"@types/tar": "^4.0.0",
"@types/trash": "^4.3.1",
"cache-loader": "^2.0.1",
"cross-env": "^5.2.0",
"crypto-browserify": "^3.12.0",
"css-loader": "^2.1.0",
"file-loader": "^3.0.1",
"fork-ts-checker-webpack-plugin": "^0.5.2",
"fs-extra": "^7.0.1",
"happypack": "^5.0.1",
"html-webpack-plugin": "^3.2.0",
"http-browserify": "^1.7.0",
"ignore-loader": "^0.1.2",
"mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.11.0",
"npm-run-all": "^4.1.5",
"path-browserify": "^1.0.0",
"preload-webpack-plugin": "^3.0.0-beta.2",
"sass-loader": "^7.1.0",
"string-replace-loader": "^2.1.1",
"style-loader": "^0.23.1",
"tar": "^4.4.8",
"terser-webpack-plugin": "^1.2.3",
"ts-loader": "^5.3.3",
"ts-node": "^7.0.1",
"tsconfig-paths": "^3.8.0",
"tslib": "^1.9.3",
"tslint": "^5.12.1",
"typescript": "^3.2.2",
"typescript-tslint-plugin": "^0.2.1",
"uglifyjs-webpack-plugin": "^2.1.1",
"url-loader": "^1.1.2",
"util": "^0.11.1",
"webpack": "^4.28.4",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "^3.2.1",
"webpack-dev-middleware": "^3.5.0",
"webpack-dev-server": "^3.1.14",
"webpack-hot-middleware": "^2.24.3",
"webpack-pwa-manifest": "^4.0.0",
"workbox-webpack-plugin": "^4.1.0",
"write-file-webpack-plugin": "^4.5.0"
},
"resolutions": {
"bindings": "1.3.0"
},
"dependencies": {
"node-loader": "^0.6.0",
"node-pty": "0.8.1",
"spdlog": "0.8.1",
"webpack-merge": "^4.2.1"
"nodemon": "^1.19.1"
}
}

5314
yarn.lock

File diff suppressed because it is too large Load Diff