mirror of https://git.tuxpa.in/a/code-server.git
Fix yarn start
This commit is contained in:
parent
af29ffd959
commit
14f91686c5
|
@ -1,7 +1,7 @@
|
|||
import { exec } from "child_process";
|
||||
import { promisify } from "util";
|
||||
import { field, logger, time, Time } from "@coder/logger";
|
||||
import { escapePath } from "@coder/server";
|
||||
import { escapePath } from "@coder/protocol";
|
||||
import { retry } from "./retry";
|
||||
|
||||
export interface IClientOptions {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { CP } from "@coder/server";
|
||||
import { CP } from "@coder/protocol";
|
||||
import { client } from "./client";
|
||||
|
||||
export = new CP(client);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Emitter } from "@coder/events";
|
||||
import { logger, field } from "@coder/logger";
|
||||
import { Client, ReadWriteConnection } from "@coder/server";
|
||||
import { Client, ReadWriteConnection } from "@coder/protocol";
|
||||
import { retry } from "../retry";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { FS } from "@coder/server";
|
||||
import { FS } from "@coder/protocol";
|
||||
import { client } from "./client";
|
||||
|
||||
export = new FS(client);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
import { Net } from "@coder/server";
|
||||
import { Net } from "@coder/protocol";
|
||||
|
||||
export = new Net();
|
||||
|
|
|
@ -2,7 +2,7 @@ import { exec } from "child_process";
|
|||
import { appendFile } from "fs";
|
||||
import { promisify } from "util";
|
||||
import { logger, Logger } from "@coder/logger";
|
||||
import { escapePath } from "@coder/server";
|
||||
import { escapePath } from "@coder/protocol";
|
||||
import { IURI } from "./uri";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "@coder/server",
|
||||
"name": "@coder/protocol",
|
||||
"main": "src/index.ts",
|
||||
"dependencies": {
|
||||
"express": "^4.16.4",
|
||||
|
|
|
@ -22,7 +22,7 @@ const vscodeFills = path.join(root, "packages", "vscode", "src", "fill");
|
|||
module.exports = {
|
||||
context: root,
|
||||
devtool: "source-map",
|
||||
entry: "./packages/app/src/index.ts",
|
||||
entry: "./packages/web/src/index.ts",
|
||||
mode: isCi ? "production" : "development",
|
||||
output: {
|
||||
chunkFilename: "[name]-[hash:6].bundle.js",
|
||||
|
@ -119,7 +119,7 @@ module.exports = {
|
|||
},
|
||||
plugins: [
|
||||
new HtmlWebpackPlugin({
|
||||
template: "packages/app/src/index.html",
|
||||
template: "packages/web/src/index.html",
|
||||
}),
|
||||
new HappyPack({
|
||||
id: "ts",
|
||||
|
|
Loading…
Reference in New Issue