Fix yarn start

This commit is contained in:
Asher 2019-01-14 15:06:06 -06:00 committed by Kyle Carberry
parent af29ffd959
commit 14f91686c5
No known key found for this signature in database
GPG Key ID: A0409BDB6B0B3EDB
8 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
import { exec } from "child_process"; import { exec } from "child_process";
import { promisify } from "util"; import { promisify } from "util";
import { field, logger, time, Time } from "@coder/logger"; import { field, logger, time, Time } from "@coder/logger";
import { escapePath } from "@coder/server"; import { escapePath } from "@coder/protocol";
import { retry } from "./retry"; import { retry } from "./retry";
export interface IClientOptions { export interface IClientOptions {

View File

@ -1,4 +1,4 @@
import { CP } from "@coder/server"; import { CP } from "@coder/protocol";
import { client } from "./client"; import { client } from "./client";
export = new CP(client); export = new CP(client);

View File

@ -1,6 +1,6 @@
import { Emitter } from "@coder/events"; import { Emitter } from "@coder/events";
import { logger, field } from "@coder/logger"; import { logger, field } from "@coder/logger";
import { Client, ReadWriteConnection } from "@coder/server"; import { Client, ReadWriteConnection } from "@coder/protocol";
import { retry } from "../retry"; import { retry } from "../retry";
/** /**

View File

@ -1,4 +1,4 @@
import { FS } from "@coder/server"; import { FS } from "@coder/protocol";
import { client } from "./client"; import { client } from "./client";
export = new FS(client); export = new FS(client);

View File

@ -1,3 +1,3 @@
import { Net } from "@coder/server"; import { Net } from "@coder/protocol";
export = new Net(); export = new Net();

View File

@ -2,7 +2,7 @@ import { exec } from "child_process";
import { appendFile } from "fs"; import { appendFile } from "fs";
import { promisify } from "util"; import { promisify } from "util";
import { logger, Logger } from "@coder/logger"; import { logger, Logger } from "@coder/logger";
import { escapePath } from "@coder/server"; import { escapePath } from "@coder/protocol";
import { IURI } from "./uri"; import { IURI } from "./uri";
/** /**

View File

@ -1,5 +1,5 @@
{ {
"name": "@coder/server", "name": "@coder/protocol",
"main": "src/index.ts", "main": "src/index.ts",
"dependencies": { "dependencies": {
"express": "^4.16.4", "express": "^4.16.4",

View File

@ -22,7 +22,7 @@ const vscodeFills = path.join(root, "packages", "vscode", "src", "fill");
module.exports = { module.exports = {
context: root, context: root,
devtool: "source-map", devtool: "source-map",
entry: "./packages/app/src/index.ts", entry: "./packages/web/src/index.ts",
mode: isCi ? "production" : "development", mode: isCi ? "production" : "development",
output: { output: {
chunkFilename: "[name]-[hash:6].bundle.js", chunkFilename: "[name]-[hash:6].bundle.js",
@ -119,7 +119,7 @@ module.exports = {
}, },
plugins: [ plugins: [
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
template: "packages/app/src/index.html", template: "packages/web/src/index.html",
}), }),
new HappyPack({ new HappyPack({
id: "ts", id: "ts",