diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 267a263..e2b2515 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,20 @@ +# Contributing + +This project welcomes contributions and suggestions. Most contributions require you to +agree to a Contributor License Agreement (CLA) declaring that you have the right to, +and actually do, grant us the rights to use your contribution. For details, visit +https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether you need +to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the +instructions provided by the bot. You will only need to do this once across all repositories using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) +or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +## Getting Started + Hey 👋 Thanks for wanting to contribute to `CodeTour`! Getting started is simple: 1. Clone the repository diff --git a/package-lock.json b/package-lock.json index 0c7bfa5..0f0e0d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "codetour", - "version": "0.0.39", + "version": "0.0.42", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/api.ts b/src/api.ts index c677e4a..f5530b0 100644 --- a/src/api.ts +++ b/src/api.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { ExtensionContext } from "vscode"; import { endCurrentCodeTour, diff --git a/src/commands.ts b/src/commands.ts index be899ee..e8a1611 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { registerPlayerCommands } from "./player/commands"; import { registerRecorderCommands } from "./recorder/commands"; diff --git a/src/constants.ts b/src/constants.ts index b9f65bc..4229b17 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { Uri } from "vscode"; export const EXTENSION_NAME = "codetour"; diff --git a/src/extension.ts b/src/extension.ts index 9080e89..63ff0af 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import * as vscode from "vscode"; import { initializeApi } from "./api"; import { registerCommands } from "./commands"; diff --git a/src/fileSystem/documentProvider.ts b/src/fileSystem/documentProvider.ts index e012ceb..9954c8a 100644 --- a/src/fileSystem/documentProvider.ts +++ b/src/fileSystem/documentProvider.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import * as vscode from "vscode"; import { FS_SCHEME_CONTENT } from "../constants"; diff --git a/src/fileSystem/index.ts b/src/fileSystem/index.ts index 8cbc08c..6ef2e45 100644 --- a/src/fileSystem/index.ts +++ b/src/fileSystem/index.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import * as path from "path"; import { Disposable, diff --git a/src/git.ts b/src/git.ts index 959db11..2ffc161 100644 --- a/src/git.ts +++ b/src/git.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import * as vscode from "vscode"; export const enum RefType { diff --git a/src/liveShare/guestService.ts b/src/liveShare/guestService.ts index 13af009..6b2df8e 100644 --- a/src/liveShare/guestService.ts +++ b/src/liveShare/guestService.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import * as vsls from "vsls"; import { EXTENSION_NAME } from "../constants"; import { startCodeTour } from "../store/actions"; diff --git a/src/liveShare/hostService.ts b/src/liveShare/hostService.ts index 2512cd7..72a939d 100644 --- a/src/liveShare/hostService.ts +++ b/src/liveShare/hostService.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { Uri } from "vscode"; import * as vsls from "vsls"; import { EXTENSION_NAME } from "../constants"; diff --git a/src/liveShare/index.ts b/src/liveShare/index.ts index f845516..e620444 100644 --- a/src/liveShare/index.ts +++ b/src/liveShare/index.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import * as vsls from "vsls"; import { EXTENSION_NAME } from "../constants"; diff --git a/src/liveShare/service.ts b/src/liveShare/service.ts index e09e2f1..fd04930 100644 --- a/src/liveShare/service.ts +++ b/src/liveShare/service.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { Uri } from "vscode"; import { LiveShare, Role, SharedService, SharedServiceProxy } from "vsls"; import { diff --git a/src/notebook/index.ts b/src/notebook/index.ts index 83f8273..b0d5dbd 100644 --- a/src/notebook/index.ts +++ b/src/notebook/index.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import * as vscode from "vscode"; import { EXTENSION_NAME, SMALL_ICON_URL } from "../constants"; import { CodeTour } from "../store"; diff --git a/src/notebook/vscode.proposed.d.ts b/src/notebook/vscode.proposed.d.ts index fc95ac8..901c0ad 100644 --- a/src/notebook/vscode.proposed.d.ts +++ b/src/notebook/vscode.proposed.d.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + declare module "vscode" { export enum CellKind { Markdown = 1, diff --git a/src/player/commands.ts b/src/player/commands.ts index 1ca3178..aff0e3c 100644 --- a/src/player/commands.ts +++ b/src/player/commands.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { when } from "mobx"; import * as vscode from "vscode"; import { EXTENSION_NAME } from "../constants"; diff --git a/src/player/decorator.ts b/src/player/decorator.ts index b944540..2924703 100644 --- a/src/player/decorator.ts +++ b/src/player/decorator.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { reaction } from "mobx"; import * as vscode from "vscode"; import { FS_SCHEME_CONTENT, ICON_URL } from "../constants"; diff --git a/src/player/index.ts b/src/player/index.ts index ca40125..a2965d5 100644 --- a/src/player/index.ts +++ b/src/player/index.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { reaction } from "mobx"; import { commands, diff --git a/src/player/status.ts b/src/player/status.ts index 7b77007..05d1ab9 100644 --- a/src/player/status.ts +++ b/src/player/status.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { reaction } from "mobx"; import * as vscode from "vscode"; import { EXTENSION_NAME } from "../constants"; diff --git a/src/recorder/commands.ts b/src/recorder/commands.ts index 0cb133b..cceee3f 100644 --- a/src/recorder/commands.ts +++ b/src/recorder/commands.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { action, comparer, runInAction } from "mobx"; import * as path from "path"; import * as vscode from "vscode"; diff --git a/src/recorder/completionProvider.ts b/src/recorder/completionProvider.ts index 73c6b25..51f0929 100644 --- a/src/recorder/completionProvider.ts +++ b/src/recorder/completionProvider.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import * as vscode from "vscode"; const COMMANDS = [ diff --git a/src/store/actions.ts b/src/store/actions.ts index 4c4182d..620c2bf 100644 --- a/src/store/actions.ts +++ b/src/store/actions.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { commands, EventEmitter, Memento, Uri, window } from "vscode"; import { CodeTour, store } from "."; import { EXTENSION_NAME, FS_SCHEME, FS_SCHEME_CONTENT } from "../constants"; diff --git a/src/store/index.ts b/src/store/index.ts index 3f2d360..d5324c1 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { observable } from "mobx"; import { CommentThread, Uri } from "vscode"; diff --git a/src/store/provider.ts b/src/store/provider.ts index 88e988d..5f93bbd 100644 --- a/src/store/provider.ts +++ b/src/store/provider.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { comparer, runInAction, set } from "mobx"; import * as vscode from "vscode"; import { CodeTour, store } from "."; diff --git a/src/store/storage.ts b/src/store/storage.ts index fb92da1..2e42dbf 100644 --- a/src/store/storage.ts +++ b/src/store/storage.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { observable } from "mobx"; import { commands, ExtensionContext, Uri, workspace } from "vscode"; import { CodeTour, store } from "."; diff --git a/src/tree/index.ts b/src/tree/index.ts index 8b3e388..d1cb5b1 100644 --- a/src/tree/index.ts +++ b/src/tree/index.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { reaction } from "mobx"; import { Disposable, diff --git a/src/tree/nodes.ts b/src/tree/nodes.ts index 87908fc..df031f0 100644 --- a/src/tree/nodes.ts +++ b/src/tree/nodes.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import { ThemeColor, ThemeIcon, diff --git a/src/utils.ts b/src/utils.ts index 575bbb0..93be8ea 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + import * as os from "os"; import * as path from "path"; import { Uri, workspace } from "vscode";