diff --git a/CHANGELOG.md b/CHANGELOG.md index 813f92f..249a73c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +### 1.0.5 (2017-07-15) + +- Rename source files to be lowercased +- Remove Main + ### 1.0.4 (2017-07-15) - Remove postinstall npm script and add setup npm script to package.json diff --git a/package.json b/package.json index 3284e02..7baa6e3 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,7 @@ { "name": "qub-vscode", - "version": "1.0.4", + "version": "1.0.5", "description": "A collection of common data structures and functions that make creating Visual Studio Code extensions easier.", - "main": "output/sources/Main", - "typings": "output/sources/Main", "files": [ "output/sources/" ], diff --git a/sources/Main.ts b/sources/Main.ts deleted file mode 100644 index b4adeff..0000000 --- a/sources/Main.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const interfaces = require("./Interfaces"); -export const mocks = require("./Mocks"); -export const vscode = require("./VSCode"); \ No newline at end of file diff --git a/sources/Interfaces.ts b/sources/interfaces.ts similarity index 100% rename from sources/Interfaces.ts rename to sources/interfaces.ts diff --git a/sources/Mocks.ts b/sources/mocks.ts similarity index 99% rename from sources/Mocks.ts rename to sources/mocks.ts index 5d70eaf..9dd3386 100644 --- a/sources/Mocks.ts +++ b/sources/mocks.ts @@ -1,6 +1,6 @@ import * as qub from "qub"; -import * as interfaces from "./Interfaces"; +import * as interfaces from "./interfaces"; export class Disposable implements interfaces.Disposable { public dispose(): void { diff --git a/sources/VSCode.ts b/sources/vscode.ts similarity index 99% rename from sources/VSCode.ts rename to sources/vscode.ts index 1d084f2..947e0eb 100644 --- a/sources/VSCode.ts +++ b/sources/vscode.ts @@ -2,7 +2,7 @@ import * as os from "os"; import * as qub from "qub"; import * as vscode from "vscode"; -import * as interfaces from "./Interfaces"; +import * as interfaces from "./interfaces"; class Configuration implements interfaces.Configuration { constructor(private _configuration: vscode.WorkspaceConfiguration) { diff --git a/tests/Interfaces.tests.ts b/tests/interfaces.tests.ts similarity index 97% rename from tests/Interfaces.tests.ts rename to tests/interfaces.tests.ts index 80a7d3e..d8bf0ba 100644 --- a/tests/Interfaces.tests.ts +++ b/tests/interfaces.tests.ts @@ -1,8 +1,8 @@ import * as assert from "assert"; import * as qub from "qub"; -import * as interfaces from "../sources/Interfaces"; -import * as mocks from "../sources/Mocks"; +import * as interfaces from "../sources/interfaces"; +import * as mocks from "../sources/mocks"; suite("Interfaces", () => { suite("Completion", () => { diff --git a/tests/Mocks.tests.ts b/tests/mocks.tests.ts similarity index 99% rename from tests/Mocks.tests.ts rename to tests/mocks.tests.ts index 86041ca..381c8b7 100644 --- a/tests/Mocks.tests.ts +++ b/tests/mocks.tests.ts @@ -1,8 +1,8 @@ import * as assert from "assert"; import * as qub from "qub"; -import * as interfaces from "../sources/Interfaces"; -import * as mocks from "../sources/Mocks"; +import * as interfaces from "../sources/interfaces"; +import * as mocks from "../sources/mocks"; suite("Mocks", () => { suite("Disposable", () => { @@ -674,7 +674,7 @@ suite("Mocks", () => { const changeEditor = new mocks.TextEditor(new mocks.TextDocument("A", "B", "testC")); changeEditor.setCursorIndex(4); - assert.deepStrictEqual(change, new interfaces.TextDocumentChange(changeEditor, new qub.Span(0, 0), "test")); + assert.deepEqual(change, new interfaces.TextDocumentChange(changeEditor, new qub.Span(0, 0), "test")); }); });