Clean up repo for first release

1. Update gifs and feature list to include zip deploy
1. Rename 'Create Function App' to 'Create New Project' to differentiate it from creating the Azure Resource
1. Update telemetry note in README to include privacy notice and be more generic
This commit is contained in:
Eric Jizba 2017-10-18 13:35:10 -07:00 коммит произвёл GitHub
Родитель 9f8f13d673
Коммит 0df201973c
14 изменённых файлов: 36 добавлений и 24 удалений

Просмотреть файл

@ -5,9 +5,12 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
## [Unreleased]
* Create New Function App
* Create New Function
* Debug Function Apps
## 0.1.0
* Create new project
* Create new function from template
* Debug function apps locally
* View Azure Functions
* Start, Stop, and Restart Azure Functions
* Deploy to Azure Functions
* Start, stop, and restart Azure Functions
* JSON Intellisense for `function.json`, `host.json`, and `proxies.json`

Просмотреть файл

@ -11,16 +11,25 @@
## Features
* Create New Function App
* Create New Function
* Debug Function Apps
* Create new project
* Create new function from template
* Debug function apps locally
* View Azure Functions
* Start, Stop, and Restart Azure Functions
* Deploy to Azure Functions
* Start, stop, and restart Azure Functions
* JSON Intellisense for `function.json`, `host.json`, and `proxies.json`
### Create and F5 a new Function App
### Create New Project
![Create and F5](resources/CreateAndF5.gif)
![CreateProject](resources/CreateProject.gif)
### Debug function app locally
![Debug](resources/Debug.gif)
### Deploy to Azure as Zip
![ZipDeploy](resources/ZipDeploy.gif)
## Contributing
There are a couple of ways you can contribute to this repo:
@ -40,7 +49,7 @@ Before we can accept your pull request you will need to sign a **Contribution Li
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.
## Telemetry
This extension collects telemetry data to help us build a better experience with Azure Functions and VS Code. The extension respects the `telemetry.enableTelemetry` setting which you can learn more about in our [FAQ](https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting).
VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our [privacy statement](https://go.microsoft.com/fwlink/?LinkID=528096&clcid=0x409) to learn more. If you dont wish to send usage data to Microsoft, you can set the `telemetry.enableTelemetry` setting to `false`. Learn more in our [FAQ](https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting).
## License
[MIT](LICENSE.md)

Просмотреть файл

@ -25,7 +25,7 @@
"preview": true,
"activationEvents": [
"onCommand:azureFunctions.refresh",
"onCommand:azureFunctions.createFunctionApp",
"onCommand:azureFunctions.createNewProject",
"onCommand:azureFunctions.createFunction",
"onCommand:azureFunctions.openInPortal",
"onCommand:azureFunctions.startFunctionApp",
@ -47,12 +47,12 @@
}
},
{
"command": "azureFunctions.createFunctionApp",
"title": "%azFunc.createFunctionApp%",
"command": "azureFunctions.createNewProject",
"title": "%azFunc.createNewProject%",
"category": "Azure Functions",
"icon": {
"light": "resources/light/CreateFunctionApp.svg",
"dark": "resources/dark/CreateFunctionApp.svg"
"light": "resources/light/CreateNewProject.svg",
"dark": "resources/dark/CreateNewProject.svg"
}
},
{
@ -102,7 +102,7 @@
"menus": {
"view/title": [
{
"command": "azureFunctions.createFunctionApp",
"command": "azureFunctions.createNewProject",
"when": "view == azureFunctionsExplorer",
"group": "navigation@1"
},

Просмотреть файл

@ -1,7 +1,7 @@
{
"extension.description": "An Azure Functions extension for Visual Studio Code.",
"azFunc.refresh": "Refresh",
"azFunc.createFunctionApp": "Create Function App",
"azFunc.createNewProject": "Create New Project",
"azFunc.createFunction": "Create Function",
"azFunc.openInPortal": "Open In Portal",
"azFunc.startFunctionApp": "Start",

Двоичные данные
resources/CreateAndF5.gif

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 2.9 MiB

Двоичные данные
resources/CreateProject.gif Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.1 MiB

Двоичные данные
resources/Debug.gif Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.1 MiB

Двоичные данные
resources/ZipDeploy.gif Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.0 MiB

Просмотреть файл

До

Ширина:  |  Высота:  |  Размер: 894 B

После

Ширина:  |  Высота:  |  Размер: 894 B

Просмотреть файл

До

Ширина:  |  Высота:  |  Размер: 894 B

После

Ширина:  |  Высота:  |  Размер: 894 B

Просмотреть файл

@ -51,7 +51,7 @@ export async function createFunction(outputChannel: vscode.OutputChannel): Promi
const message: string = localize('azFunc.missingFuncAppFiles', 'The current folder is missing the following function app files: \'{0}\'. Add the missing files?', missingFiles.join(','));
const result: string | undefined = await vscode.window.showWarningMessage(message, yes, no);
if (result === yes) {
await FunctionsCli.createFunctionApp(outputChannel, functionAppPath);
await FunctionsCli.createNewProject(outputChannel, functionAppPath);
} else {
throw new errors.UserCancelledError();
}

Просмотреть файл

@ -11,7 +11,7 @@ import * as TemplateFiles from '../template-files';
import * as util from '../util';
import { localize } from '../util';
export async function createFunctionApp(outputChannel: vscode.OutputChannel): Promise<void> {
export async function createNewProject(outputChannel: vscode.OutputChannel): Promise<void> {
const newFolderId: string = 'newFolder';
let folderPicks: util.PickWithData<string>[] = [new util.PickWithData(newFolderId, localize('azFunc.newFolder', '$(plus) New Folder'))];
const folders: vscode.WorkspaceFolder[] | undefined = vscode.workspace.workspaceFolders;
@ -28,7 +28,7 @@ export async function createFunctionApp(outputChannel: vscode.OutputChannel): Pr
const launchJsonPath: string = path.join(functionAppPath, '.vscode', 'launch.json');
const launchJsonExists: boolean = fs.existsSync(launchJsonPath);
await FunctionsCli.createFunctionApp(outputChannel, functionAppPath);
await FunctionsCli.createNewProject(outputChannel, functionAppPath);
if (!tasksJsonExists && !launchJsonExists) {
await util.writeToFile(tasksJsonPath, TemplateFiles.getTasksJson());

Просмотреть файл

@ -10,7 +10,7 @@ import TelemetryReporter from 'vscode-extension-telemetry';
import { AzureAccount } from './azure-account.api';
import { AzureFunctionsExplorer } from './AzureFunctionsExplorer';
import { createFunction } from './commands/createFunction';
import { createFunctionApp } from './commands/createFunctionApp';
import { createNewProject } from './commands/createNewProject';
import { deployZip } from './commands/deployZip';
import { openInPortal } from './commands/openInPortal';
import { restartFunctionApp } from './commands/restartFunctionApp';
@ -50,7 +50,7 @@ export function activate(context: vscode.ExtensionContext): void {
initCommand(context, 'azureFunctions.refresh', (node?: NodeBase) => explorer.refresh(node));
initCommand(context, 'azureFunctions.openInPortal', openInPortal);
initAsyncCommand(context, 'azureFunctions.createFunction', async () => await createFunction(outputChannel));
initAsyncCommand(context, 'azureFunctions.createFunctionApp', async () => await createFunctionApp(outputChannel));
initAsyncCommand(context, 'azureFunctions.createNewProject', async () => await createNewProject(outputChannel));
initAsyncCommand(context, 'azureFunctions.startFunctionApp', async (node?: FunctionAppNode) => await startFunctionApp(explorer, node));
initAsyncCommand(context, 'azureFunctions.stopFunctionApp', async (node?: FunctionAppNode) => await stopFunctionApp(explorer, node));
initAsyncCommand(context, 'azureFunctions.restartFunctionApp', async (node?: FunctionAppNode) => await restartFunctionApp(explorer, node));

Просмотреть файл

@ -11,7 +11,7 @@ export async function createFunction(outputChannel: vscode.OutputChannel, workin
await executeCommand(outputChannel, workingDirectory, 'new', '--language', 'JavaScript', '--template', templateName, '--name', name);
}
export async function createFunctionApp(outputChannel: vscode.OutputChannel, workingDirectory: string): Promise<void> {
export async function createNewProject(outputChannel: vscode.OutputChannel, workingDirectory: string): Promise<void> {
await executeCommand(outputChannel, workingDirectory, 'init');
}