提交 dd043965 编写于 作者: J Joao Moreno

move git lib over to extension

上级 1f38d8e8
......@@ -91,7 +91,10 @@
]
},
"dependencies": {
"autodetect-decoder-stream": "^1.0.0",
"denodeify": "^1.2.1",
"lodash": "^4.17.2"
"lodash": "^4.17.2",
"mime": "^1.3.4",
"vscode-nls": "^2.0.1"
}
}
\ No newline at end of file
}
此差异已折叠。
......@@ -9,6 +9,9 @@ import { scm, ExtensionContext, workspace, Uri, window, Disposable } from 'vscod
import * as path from 'path';
import { findGit, Git } from './git';
import { registerCommands } from './commands';
import * as nls from 'vscode-nls';
nls.config();
export function log(...args: any[]): void {
console.log.apply(console, ['git:', ...args]);
......
{
"globalDependencies": {
"denodeify": "registry:dt/denodeify#1.2.1+20160316155526",
"lodash": "registry:dt/lodash#4.14.0+20161110215204"
"lodash": "registry:dt/lodash#4.14.0+20161110215204",
"mime": "registry:dt/mime#0.0.0+20160316155526"
}
}
\ No newline at end of file
}
declare module 'autodetect-decoder-stream' {
import * as stream from 'stream';
module _ {
}
class _ extends stream.Duplex {
constructor(options?: {
defaultEncoding?: string;
});
}
export = _;
}
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/mime/mime.d.ts
declare module "mime" {
export function lookup(path: string): string;
export function extension(mime: string): string;
export function load(filepath: string): void;
export function define(mimes: Object): void;
interface Charsets {
lookup(mime: string): string;
}
export var charsets: Charsets;
export var default_type: string;
}
{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/mime/mime.d.ts",
"raw": "registry:dt/mime#0.0.0+20160316155526",
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/mime/mime.d.ts"
}
}
/// <reference path="globals/denodeify/index.d.ts" />
/// <reference path="globals/lodash/index.d.ts" />
/// <reference path="globals/mime/index.d.ts" />
......@@ -7,4 +7,4 @@
/// <reference path='../../../../src/vs/vscode.proposed.d.ts'/>
/// <reference path='../../../../src/typings/mocha.d.ts'/>
/// <reference path='../../../../extensions/node.d.ts'/>
/// <reference path='../../../../extensions/lib.core.d.ts'/>
\ No newline at end of file
// / <reference path='../../../../extensions/lib.core.d.ts'/>
\ No newline at end of file
{
"compilerOptions": {
"noLib": true,
"target": "es5",
"target": "es6",
"lib": ["es2016"],
"module": "commonjs",
"outDir": "./out",
"strictNullChecks": true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册