Fix yarn start
This commit is contained in:
parent
af29ffd959
commit
14f91686c5
@ -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 {
|
||||||
|
@ -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);
|
||||||
|
@ -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";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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);
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
import { Net } from "@coder/server";
|
import { Net } from "@coder/protocol";
|
||||||
|
|
||||||
export = new Net();
|
export = new Net();
|
||||||
|
@ -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";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user