From b4a97db224a82ee03681356bf1a688520769b684 Mon Sep 17 00:00:00 2001 From: Gordon Date: Sat, 24 Apr 2021 20:33:01 +0100 Subject: [PATCH] Updated kanbn dependency --- CHANGELOG.md | 4 + README.md | 2 +- docs/styles.md | 2 +- ext-src/KanbnBoardPanel.ts | 32 +- ext-src/KanbnBurndownPanel.ts | 15 +- ext-src/KanbnTaskPanel.ts | 9 +- ext-src/extension.ts | 26 +- package-lock.json | 710 +++++++++++++++++++++++++++++++++- package.json | 2 +- 9 files changed, 777 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 435a8be..cbdc7f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.6.0 + +* Update kanbn dependency, folder names and index filename can now be configured, see [here](https://github.com/basementuniverse/kanbn/blob/master/docs/advanced-configuration.md) for more information + # 0.5.0 * Update kanbn dependency, now using YAML front matter for index options and task metadata diff --git a/README.md b/README.md index 7c45b9b..bed861b 100644 --- a/README.md +++ b/README.md @@ -66,4 +66,4 @@ The following configuration settings are available: ## Styling the Kanbn board -This extension has been tested using various themes (light, dark and high-contrast), so it should always look somewhat presentable. However, if you'd like to set your own styles you can do so by creating a CSS file `.kanbn/board.css`. [Check here](docs/styles.md) for more information. +This extension has been tested using various themes (light, dark and high-contrast), so it should always look somewhat presentable. However, if you'd like to set your own styles you can do so by creating a CSS file called `board.css` in the Kanbn directory. [Check here](docs/styles.md) for more information. diff --git a/docs/styles.md b/docs/styles.md index 71901d4..6e6408c 100644 --- a/docs/styles.md +++ b/docs/styles.md @@ -1,6 +1,6 @@ # Styles -The Kanbn board has a default style which is based on the current vscode theme, however you can override this by creating a CSS file `.kanbn/board.css`. A reference of class names is provided below. +The Kanbn board has a default style which is based on the current vscode theme, however you can override this by creating a CSS file called `board.css` inside the Kanbn directory (by default this is `.kanbn/`). A reference of class names is provided below. You can view the default stylesheet [here](https://github.com/basementuniverse/vscode-kanbn/blob/main/src/index.css). diff --git a/ext-src/KanbnBoardPanel.ts b/ext-src/KanbnBoardPanel.ts index aba4619..e58c933 100644 --- a/ext-src/KanbnBoardPanel.ts +++ b/ext-src/KanbnBoardPanel.ts @@ -13,12 +13,14 @@ export default class KanbnBoardPanel { private readonly _extensionPath: string; private readonly _workspacePath: string; private readonly _kanbn: typeof import("@basementuniverse/kanbn/src/main"); + private readonly _kanbnFolderName: string; private _disposables: vscode.Disposable[] = []; public static createOrShow( extensionPath: string, workspacePath: string, - kanbn: typeof import("@basementuniverse/kanbn/src/main") + kanbn: typeof import("@basementuniverse/kanbn/src/main"), + kanbnFolderName: string ) { const column = vscode.window.activeTextEditor ? vscode.window.activeTextEditor.viewColumn : undefined; @@ -30,7 +32,8 @@ export default class KanbnBoardPanel { extensionPath, workspacePath, column || vscode.ViewColumn.One, - kanbn + kanbn, + kanbnFolderName ); } } @@ -71,11 +74,13 @@ export default class KanbnBoardPanel { extensionPath: string, workspacePath: string, column: vscode.ViewColumn, - kanbn: typeof import("@basementuniverse/kanbn/src/main") + kanbn: typeof import("@basementuniverse/kanbn/src/main"), + kanbnFolderName: string ) { this._extensionPath = extensionPath; this._workspacePath = workspacePath; this._kanbn = kanbn; + this._kanbnFolderName = kanbnFolderName; // Create and show a new webview panel this._panel = vscode.window.createWebviewPanel(KanbnBoardPanel.viewType, "Kanbn Board", column, { @@ -88,7 +93,7 @@ export default class KanbnBoardPanel { // Restrict the webview to only loading content from allowed paths localResourceRoots: [ vscode.Uri.file(path.join(this._extensionPath, "build")), - vscode.Uri.file(path.join(this._workspacePath, this._kanbn.getFolderName())), + vscode.Uri.file(path.join(this._workspacePath, this._kanbnFolderName)), vscode.Uri.file(path.join(this._extensionPath, "node_modules", "vscode-codicons", "dist")), ], }); @@ -125,6 +130,7 @@ export default class KanbnBoardPanel { this._extensionPath, this._workspacePath, this._kanbn, + this._kanbnFolderName, message.taskId, message.columnName ); @@ -141,12 +147,24 @@ export default class KanbnBoardPanel { // Create a task case "kanbn.addTask": - KanbnTaskPanel.show(this._extensionPath, this._workspacePath, this._kanbn, null, message.columnName); + KanbnTaskPanel.show( + this._extensionPath, + this._workspacePath, + this._kanbn, + this._kanbnFolderName, + null, + message.columnName + ); return; // Open a burndown chart case "kanbn.burndown": - KanbnBurndownPanel.createOrShow(this._extensionPath, this._workspacePath, this._kanbn); + KanbnBurndownPanel.createOrShow( + this._extensionPath, + this._workspacePath, + this._kanbn, + this._kanbnFolderName + ); KanbnBurndownPanel.update(); return; @@ -198,7 +216,7 @@ export default class KanbnBoardPanel { scheme: "vscode-resource", }); const customStyleUri = vscode.Uri.file( - path.join(this._workspacePath, this._kanbn.getFolderName(), "board.css") + path.join(this._workspacePath, this._kanbnFolderName, "board.css") ).with({ scheme: "vscode-resource" }); const codiconsUri = vscode.Uri.file( path.join(this._extensionPath, "node_modules", "vscode-codicons", "dist", "codicon.css") diff --git a/ext-src/KanbnBurndownPanel.ts b/ext-src/KanbnBurndownPanel.ts index 58f696e..d6c49aa 100644 --- a/ext-src/KanbnBurndownPanel.ts +++ b/ext-src/KanbnBurndownPanel.ts @@ -11,6 +11,7 @@ export default class KanbnBurndownPanel { private readonly _extensionPath: string; private readonly _workspacePath: string; private readonly _kanbn: typeof import("@basementuniverse/kanbn/src/main"); + private readonly _kanbnFolderName: string; private sprintMode: boolean = true; private sprint: string = ''; private startDate: string = ''; @@ -20,7 +21,8 @@ export default class KanbnBurndownPanel { public static async createOrShow( extensionPath: string, workspacePath: string, - kanbn: typeof import("@basementuniverse/kanbn/src/main") + kanbn: typeof import("@basementuniverse/kanbn/src/main"), + kanbnFolderName: string ) { const column = vscode.window.activeTextEditor ? vscode.window.activeTextEditor.viewColumn : undefined; @@ -32,7 +34,8 @@ export default class KanbnBurndownPanel { extensionPath, workspacePath, column || vscode.ViewColumn.One, - kanbn + kanbn, + kanbnFolderName ); } } @@ -73,11 +76,13 @@ export default class KanbnBurndownPanel { extensionPath: string, workspacePath: string, column: vscode.ViewColumn, - kanbn: typeof import("@basementuniverse/kanbn/src/main") + kanbn: typeof import("@basementuniverse/kanbn/src/main"), + kanbnFolderName: string ) { this._extensionPath = extensionPath; this._workspacePath = workspacePath; this._kanbn = kanbn; + this._kanbnFolderName = kanbnFolderName; // Create and show a new webview panel this._panel = vscode.window.createWebviewPanel(KanbnBurndownPanel.viewType, "Burndown Chart", column, { @@ -90,7 +95,7 @@ export default class KanbnBurndownPanel { // Restrict the webview to only loading content from allowed paths localResourceRoots: [ vscode.Uri.file(path.join(this._extensionPath, "build")), - vscode.Uri.file(path.join(this._workspacePath, this._kanbn.getFolderName())), + vscode.Uri.file(path.join(this._workspacePath, this._kanbnFolderName)), vscode.Uri.file(path.join(this._extensionPath, "node_modules", "vscode-codicons", "dist")), ], }); @@ -160,7 +165,7 @@ export default class KanbnBurndownPanel { scheme: "vscode-resource", }); const customStyleUri = vscode.Uri.file( - path.join(this._workspacePath, this._kanbn.getFolderName(), "board.css") + path.join(this._workspacePath, this._kanbnFolderName, "board.css") ).with({ scheme: "vscode-resource" }); const codiconsUri = vscode.Uri.file( path.join(this._extensionPath, "node_modules", "vscode-codicons", "dist", "codicon.css") diff --git a/ext-src/KanbnTaskPanel.ts b/ext-src/KanbnTaskPanel.ts index c094d08..e8e5d4d 100644 --- a/ext-src/KanbnTaskPanel.ts +++ b/ext-src/KanbnTaskPanel.ts @@ -61,6 +61,7 @@ export default class KanbnTaskPanel { private readonly _extensionPath: string; private readonly _workspacePath: string; private readonly _kanbn: typeof import("@basementuniverse/kanbn/src/main"); + private readonly _kanbnFolderName: string; private readonly _panelUuid: string; private _taskId: string | null; private _columnName: string | null; @@ -70,6 +71,7 @@ export default class KanbnTaskPanel { extensionPath: string, workspacePath: string, kanbn: typeof import("@basementuniverse/kanbn/src/main"), + kanbnFolderName: string, taskId: string | null, columnName: string | null ) { @@ -82,6 +84,7 @@ export default class KanbnTaskPanel { workspacePath, column || vscode.ViewColumn.One, kanbn, + kanbnFolderName, taskId, columnName, panelUuid @@ -95,6 +98,7 @@ export default class KanbnTaskPanel { workspacePath: string, column: vscode.ViewColumn, kanbn: typeof import("@basementuniverse/kanbn/src/main"), + kanbnFolderName: string, taskId: string | null, columnName: string | null, panelUuid: string @@ -102,6 +106,7 @@ export default class KanbnTaskPanel { this._extensionPath = extensionPath; this._workspacePath = workspacePath; this._kanbn = kanbn; + this._kanbnFolderName = kanbnFolderName; this._taskId = taskId; this._columnName = columnName; this._panelUuid = panelUuid; @@ -117,7 +122,7 @@ export default class KanbnTaskPanel { // Restrict the webview to only loading content from allowed paths localResourceRoots: [ vscode.Uri.file(path.join(this._extensionPath, "build")), - vscode.Uri.file(path.join(this._workspacePath, this._kanbn.getFolderName())), + vscode.Uri.file(path.join(this._workspacePath, this._kanbnFolderName)), vscode.Uri.file(path.join(this._extensionPath, "node_modules", "vscode-codicons", "dist")), ], }); @@ -260,7 +265,7 @@ export default class KanbnTaskPanel { scheme: "vscode-resource", }); const customStyleUri = vscode.Uri.file( - path.join(this._workspacePath, this._kanbn.getFolderName(), "board.css") + path.join(this._workspacePath, this._kanbnFolderName, "board.css") ).with({ scheme: "vscode-resource" }); const codiconsUri = vscode.Uri.file( path.join(this._extensionPath, "node_modules", "vscode-codicons", "dist", "codicon.css") diff --git a/ext-src/extension.ts b/ext-src/extension.ts index ad9a521..36139df 100644 --- a/ext-src/extension.ts +++ b/ext-src/extension.ts @@ -64,7 +64,12 @@ export async function activate(context: vscode.ExtensionContext) { // If kanbn is initialised, view the kanbn board if (await kanbn.initialised()) { - KanbnBoardPanel.createOrShow(context.extensionPath, vscode.workspace.workspaceFolders[0].uri.fsPath, kanbn); + KanbnBoardPanel.createOrShow( + context.extensionPath, + vscode.workspace.workspaceFolders[0].uri.fsPath, + kanbn, + await kanbn.getFolderName() + ); KanbnBoardPanel.update(); } else { vscode.window.showErrorMessage("You need to initialise Kanbn before viewing the Kanbn board."); @@ -88,7 +93,14 @@ export async function activate(context: vscode.ExtensionContext) { // If kanbn is initialised, open the task webview if (await kanbn.initialised()) { - KanbnTaskPanel.show(context.extensionPath, vscode.workspace.workspaceFolders[0].uri.fsPath, kanbn, null, null); + KanbnTaskPanel.show( + context.extensionPath, + vscode.workspace.workspaceFolders[0].uri.fsPath, + kanbn, + await kanbn.getFolderName(), + null, + null + ); } else { vscode.window.showErrorMessage("You need to initialise Kanbn before adding a new task."); } @@ -110,7 +122,12 @@ export async function activate(context: vscode.ExtensionContext) { // If kanbn is initialised, view the burndown chart if (await kanbn.initialised()) { - KanbnBurndownPanel.createOrShow(context.extensionPath, vscode.workspace.workspaceFolders[0].uri.fsPath, kanbn); + KanbnBurndownPanel.createOrShow( + context.extensionPath, + vscode.workspace.workspaceFolders[0].uri.fsPath, + kanbn, + await kanbn.getFolderName() + ); KanbnBurndownPanel.update(); } else { vscode.window.showErrorMessage("You need to initialise Kanbn before viewing the burndown chart."); @@ -132,8 +149,9 @@ export async function activate(context: vscode.ExtensionContext) { // Initialise file watcher const uri = vscode.workspace.workspaceFolders[0].uri.fsPath; + const kanbnFolderName = await kanbn.getFolderName(); const fileWatcher = vscode.workspace.createFileSystemWatcher( - new vscode.RelativePattern(uri, `${kanbn.getFolderName()}/**.*`) + new vscode.RelativePattern(uri, `${kanbnFolderName}/**.*`) ); fileWatcher.onDidChange(() => { kanbnStatusBarItem.update(); diff --git a/package-lock.json b/package-lock.json index 6072f48..162ce4a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1256,9 +1256,9 @@ } }, "@basementuniverse/kanbn": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@basementuniverse/kanbn/-/kanbn-0.5.0.tgz", - "integrity": "sha512-QgXaFLJZijuTizy2xnxh/nbnxsYtrM7oultoB4lKaUFRpdpFTakNvq49dq0ROj21amISfXg948RzmFNRsiKBRg==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@basementuniverse/kanbn/-/kanbn-0.6.0.tgz", + "integrity": "sha512-y3vYjD3y3O6f7gQQ7u/PAVVFQlyNkhNCvlT0wbw0Td37Ren2z0/yTavDdd8q0exqHJXg+EDeQybiXM0yf1CEww==", "requires": { "asciichart": "^1.5.25", "auto-load": "^3.0.4", @@ -3329,6 +3329,16 @@ "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", "dev": true }, + "bindings": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "dev": true, + "optional": true, + "requires": { + "file-uri-to-path": "1.0.0" + } + }, "bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", @@ -3800,6 +3810,7 @@ "anymatch": "^2.0.0", "async-each": "^1.0.1", "braces": "^2.3.2", + "fsevents": "^1.2.7", "glob-parent": "^3.1.0", "inherits": "^2.0.3", "is-binary-path": "^1.0.0", @@ -4013,7 +4024,36 @@ "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", "dev": true, "requires": { + "string-width": "^2.1.1", + "strip-ansi": "^4.0.0", "wrap-ansi": "^2.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } } }, "clone-deep": { @@ -4198,7 +4238,40 @@ "requires": { "buffer-from": "^1.0.0", "inherits": "^2.0.3", + "readable-stream": "^2.2.2", "typedarray": "^0.0.6" + }, + "dependencies": { + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } } }, "confusing-browser-globals": { @@ -7065,6 +7138,13 @@ "schema-utils": "^1.0.0" } }, + "file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", + "dev": true, + "optional": true + }, "filename-regex": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", @@ -7743,6 +7823,17 @@ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, + "fsevents": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", + "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", + "dev": true, + "optional": true, + "requires": { + "bindings": "^1.5.0", + "nan": "^2.12.1" + } + }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", @@ -11630,6 +11721,13 @@ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, + "nan": { + "version": "2.14.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", + "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", + "dev": true, + "optional": true + }, "nanomatch": { "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", @@ -15493,6 +15591,7 @@ "eslint-plugin-react": "7.12.4", "file-loader": "2.0.0", "fs-extra": "7.0.1", + "fsevents": "1.2.4", "html-webpack-plugin": "4.0.0-alpha.2", "identity-obj-proxy": "3.0.0", "jest": "23.6.0", @@ -15524,6 +15623,554 @@ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-6.0.0.tgz", "integrity": "sha512-FlWbnhgjtwD+uNLUGHbMykMOYQaTivdHEmYwAKFjn6GKe/CqY0fNae93ZHTd20snh9ZLr8mTzIL9m0APQ1pjQg==", "dev": true + }, + "fsevents": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz", + "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", + "dev": true, + "optional": true, + "requires": { + "nan": "^2.9.2", + "node-pre-gyp": "^0.10.0" + }, + "dependencies": { + "abbrev": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "aproba": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "chownr": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true + }, + "concat-map": { + "version": "0.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "deep-extend": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "fs-minipass": { + "version": "1.2.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "gauge": { + "version": "2.7.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "glob": { + "version": "7.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "iconv-lite": { + "version": "0.4.21", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safer-buffer": "^2.1.0" + } + }, + "ignore-walk": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "ini": { + "version": "1.3.5", + "bundled": true, + "dev": true, + "optional": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true, + "dev": true, + "optional": true + }, + "minipass": { + "version": "2.2.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "^5.1.1", + "yallist": "^3.0.0" + } + }, + "minizlib": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.2.1" + } + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "needle": { + "version": "2.2.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "debug": "^2.1.2", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + } + }, + "node-pre-gyp": { + "version": "0.10.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.0", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.1.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" + } + }, + "nopt": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + }, + "npm-bundled": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.1.10", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1" + } + }, + "npmlog": { + "version": "4.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "once": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "wrappy": "1" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "osenv": { + "version": "0.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "process-nextick-args": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "rc": { + "version": "1.2.7", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "deep-extend": "^0.5.1", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "readable-stream": { + "version": "2.3.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "rimraf": { + "version": "2.6.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "glob": "^7.0.5" + } + }, + "safe-buffer": { + "version": "5.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "sax": { + "version": "1.2.4", + "bundled": true, + "dev": true, + "optional": true + }, + "semver": { + "version": "5.5.0", + "bundled": true, + "dev": true, + "optional": true + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "tar": { + "version": "4.4.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "chownr": "^1.0.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.2.4", + "minizlib": "^1.1.0", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.1", + "yallist": "^3.0.2" + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "wide-align": { + "version": "1.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "string-width": "^1.0.2" + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "yallist": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "optional": true + } + } } } }, @@ -16837,6 +17484,7 @@ "capture-exit": "^1.2.0", "exec-sh": "^0.2.0", "fb-watchman": "^2.0.0", + "fsevents": "^1.2.3", "micromatch": "^3.1.4", "minimist": "^1.1.1", "walker": "~1.0.5", @@ -19158,6 +19806,7 @@ "requires": { "anymatch": "~3.1.1", "braces": "~3.0.2", + "fsevents": "~2.3.1", "glob-parent": "~5.1.0", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", @@ -19175,6 +19824,13 @@ "to-regex-range": "^5.0.1" } }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, "glob-parent": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", @@ -20275,15 +20931,61 @@ "require-directory": "^2.1.1", "require-main-filename": "^1.0.1", "set-blocking": "^2.0.0", + "string-width": "^2.0.0", "which-module": "^2.0.0", + "y18n": "^3.2.1", "yargs-parser": "^9.0.2" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + }, + "y18n": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", + "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==", + "dev": true + } } }, "yargs-parser": { "version": "9.0.2", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz", "integrity": "sha1-nM9qQ0YP5O1Aqbto9I1DuKaMwHc=", - "dev": true + "dev": true, + "requires": { + "camelcase": "^4.1.0" + }, + "dependencies": { + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + } + } } } } diff --git a/package.json b/package.json index 101db48..cabfd33 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ } }, "dependencies": { - "@basementuniverse/kanbn": "^0.5.0", + "@basementuniverse/kanbn": "^0.6.0", "dateformat": "^4.5.1", "formik": "^2.2.6", "git-user-name": "^2.0.0",