Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
b71464a
Initialize container docs
ccastrotrejo Sep 10, 2025
93c78c2
Remove unused files
ccastrotrejo Sep 10, 2025
f9c2d20
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 10, 2025
2a63e52
Update dependencies settings
ccastrotrejo Sep 10, 2025
851b5a5
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 11, 2025
260258a
Delete more code
ccastrotrejo Sep 11, 2025
73d8bf0
Remove constants
ccastrotrejo Sep 11, 2025
8c3f1b2
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 12, 2025
87a84cd
Remove extension bundle installation
ccastrotrejo Sep 12, 2025
1e4752c
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 14, 2025
32f58b5
Add extension bundle download
ccastrotrejo Sep 15, 2025
544e9cc
Add Azure Functions Core Tools download to container Dockerfile
ccastrotrejo Sep 15, 2025
f3d9b25
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 15, 2025
4984fab
Complete container integration with func binary linking
ccastrotrejo Sep 15, 2025
753fe02
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 16, 2025
6014306
Remove extension bundle func
ccastrotrejo Sep 16, 2025
0652615
Add script to update the extension bundle reference
ccastrotrejo Sep 16, 2025
6b98a58
Add scripts
ccastrotrejo Sep 16, 2025
5888703
Update DOCKERFIle
ccastrotrejo Sep 16, 2025
28e2010
Update docker file
ccastrotrejo Sep 17, 2025
80b26e9
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 18, 2025
d984fc8
Remove unused func versions
ccastrotrejo Sep 18, 2025
d9efacc
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 18, 2025
4b687f6
Remove unused for contianers
ccastrotrejo Sep 18, 2025
b5d3652
Update container path files
ccastrotrejo Sep 18, 2025
0e6b983
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 23, 2025
e81c525
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 23, 2025
79ce6ff
Add dev dependency
ccastrotrejo Sep 23, 2025
c94c850
Update readibility on pickCUstomCodeHost
ccastrotrejo Sep 23, 2025
46ec0d5
Update swithc to dotnet
ccastrotrejo Sep 23, 2025
0a188d7
Update open behavior to container
ccastrotrejo Sep 23, 2025
684bd21
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 23, 2025
1ded637
Add workspace and dev container
ccastrotrejo Sep 23, 2025
c58a3ca
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 24, 2025
6c5ec9f
Open workspace automatically
ccastrotrejo Sep 24, 2025
4f6bd4c
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Sep 24, 2025
36247ac
Update openbehavior
ccastrotrejo Sep 24, 2025
487b1c9
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Oct 1, 2025
577f067
Remove java
ccastrotrejo Oct 1, 2025
4d71b81
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Oct 2, 2025
eeb1b12
Commit open container and fix func issues
ccastrotrejo Oct 2, 2025
8348eae
Update func core tools
ccastrotrejo Oct 3, 2025
7d8673b
Revert func
ccastrotrejo Oct 3, 2025
b6b2165
Update docker file and add readme and shell command to build and publish
ccastrotrejo Oct 3, 2025
0cf4c17
Update docker build command to adjust to multi platform
ccastrotrejo Oct 3, 2025
7980dfc
Update package.json to remove dev container
ccastrotrejo Oct 3, 2025
397389d
Keep just one README file
ccastrotrejo Oct 8, 2025
eafdb45
Update readme and docker file
ccastrotrejo Oct 8, 2025
2e189db
Update read me
ccastrotrejo Oct 8, 2025
ca708f8
update docker file
ccastrotrejo Oct 8, 2025
ad0e994
Revert back md file changes
ccastrotrejo Oct 8, 2025
7ef1a3d
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Oct 8, 2025
d063059
Add get public url function
ccastrotrejo Oct 10, 2025
ee33af5
Update unit tests
ccastrotrejo Oct 10, 2025
f5387ad
Update path
ccastrotrejo Oct 10, 2025
54ab7d0
Updare local url
ccastrotrejo Oct 13, 2025
41a7595
Add github token for codespaces
ccastrotrejo Oct 13, 2025
4c58fd1
Remove docker compose and just rely on the image
ccastrotrejo Oct 13, 2025
83a3fb9
Fix typo
ccastrotrejo Oct 13, 2025
22ceaa9
Revert back github token
ccastrotrejo Oct 13, 2025
6580523
Add ports visibility
ccastrotrejo Oct 13, 2025
dc84dab
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
ccastrotrejo Oct 13, 2025
1bd2f25
Update test
ccastrotrejo Oct 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions apps/vs-code-designer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@
"scripts": {
"build:extension": "tsup && pnpm run copyFiles",
"build:ui": "tsup --config tsup.e2e.test.config.ts",
"copyFiles": "node extension-copy-svgs.js",
"copyFiles": "node scripts/extension-copy-svgs.js",
"vscode:designer:pack": "pnpm run vscode:designer:pack:step1 && pnpm run vscode:designer:pack:step2",
"vscode:designer:pack:step1": "cd ./dist && npm install",
"vscode:designer:pack:step2": "cd ./dist && vsce package",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"test:extension-unit": "vitest run --retry=3",
"vscode:designer:e2e:ui": "pnpm run build:ui && cd dist && extest setup-and-run ../out/test/**/*.js --coverage",
"vscode:designer:e2e:headless": "pnpm run build:ui && cd dist && extest setup-and-run ../out/test/**/*.js --coverage"
"vscode:designer:e2e:headless": "pnpm run build:ui && cd dist && extest setup-and-run ../out/test/**/*.js --coverage",
"update:extension-bundle-version": "node scripts/update-extension-bundle-version.js"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const copyDoc = async (projectPath) => {
await copy('./src', `${projectPath}`, {
filter: ['LICENSE.md', 'package.json', 'README.md', 'assets/**'],
});
await copy(path.resolve(__dirname, '..', '..'), `${projectPath}`, {
await copy(path.resolve(__dirname, '..'), `${projectPath}`, {
filter: ['CHANGELOG.md'],
});
};
Expand Down
41 changes: 41 additions & 0 deletions apps/vs-code-designer/scripts/update-extension-bundle-version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/usr/bin/env node
/* eslint-disable no-undef */
const fs = require('fs/promises');
const path = require('path');

async function main() {
const version = process.argv[2];
if (!version) {
console.error('Usage: node scripts/update-extension-bundle-version.js <version>');
process.exitCode = 1;
return;
}

const constantsPath = path.resolve(__dirname, '../src/constants.ts');
const dockerfilePath = path.resolve(__dirname, '../src/container/Dockerfile');

await updateFile(
constantsPath,
/export const EXTENSION_BUNDLE_VERSION = ['"][^'"]+['"];\s*/,
`export const EXTENSION_BUNDLE_VERSION = '${version}';\n`
);
await updateFile(dockerfilePath, /ARG EXTENSION_BUNDLE_VERSION=[^\s]+/, `ARG EXTENSION_BUNDLE_VERSION=${version}`);

console.log(`Updated extension bundle version to ${version}`);
}

async function updateFile(filePath, regex, replacement) {
const original = await fs.readFile(filePath, 'utf8');
if (!regex.test(original)) {
throw new Error(`Could not find target pattern in ${filePath}`);
}
const updated = original.replace(regex, replacement);
if (updated !== original) {
await fs.writeFile(filePath, updated);
}
}

main().catch((err) => {
console.error(err.message || err);
process.exitCode = 1;
});

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { LogicAppNameStep } from '../createProject/createProjectSteps/logicAppNa
import { WorkspaceNameStep } from '../createWorkspace/createWorkspaceSteps/workspaceNameStep';
import { AzureWizard } from '@microsoft/vscode-azext-utils';
import type { IActionContext } from '@microsoft/vscode-azext-utils';
import { latestGAVersion, OpenBehavior } from '@microsoft/vscode-extension-logic-apps';
import { latestGAVersion } from '@microsoft/vscode-extension-logic-apps';
import type { ICreateFunctionOptions, IFunctionWizardContext, ProjectLanguage } from '@microsoft/vscode-extension-logic-apps';
import { ProcessPackageStep } from './cloudToLocalSteps/processPackageStep';
import { SelectFolderForNewWorkspaceStep } from './cloudToLocalSteps/selectFolderForNewWorkspaceStep';
Expand Down Expand Up @@ -43,9 +43,7 @@ export async function cloudToLocal(
projectPath: options.folderPath,
});

if (options.suppressOpenFolder) {
wizardContext.openBehavior = OpenBehavior.dontOpen;
} else if (!wizardContext.openBehavior) {
if (!wizardContext.openBehavior) {
wizardContext.openBehavior = getWorkspaceSetting(projectOpenBehaviorSetting);
context.telemetry.properties.openBehaviorFromSetting = String(!!wizardContext.openBehavior);
}
Expand All @@ -57,6 +55,7 @@ export async function cloudToLocal(
// TODO(aeldridge): Can we just use WorkspaceFolderStep instead?
new SelectFolderForNewWorkspaceStep(),
new WorkspaceNameStep(),
// new DevcontainerStep(),
new LogicAppNameStep(),
await ProjectTypeStep.create(context, options.templateId, options.functionSettings, true),
new WorkspaceSettingsStep(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export async function convertToWorkspace(context: IActionContext): Promise<boole
if (shouldCreateWorkspace === DialogResponses.yes) {
const workspaceWizard: AzureWizard<IFunctionWizardContext> = new AzureWizard(wizardContext, {
title: localize('convertToWorkspace', 'Convert to workspace'),
promptSteps: [new WorkspaceFolderStep(), new WorkspaceNameStep(), new WorkspaceFileStep()],
promptSteps: [new WorkspaceFolderStep(), new WorkspaceNameStep(), /*new DevcontainerStep(), */ new WorkspaceFileStep()],
executeSteps: [new OpenFolderStep()],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import type { CustomLocation } from '@microsoft/vscode-azext-azureappservice';
import { LocationListStep } from '@microsoft/vscode-azext-azureutils';
import { AzureWizardExecuteStep, nonNullOrEmptyValue, nonNullProp } from '@microsoft/vscode-azext-utils';
import type { ILogicAppWizardContext, ConnectionStrings } from '@microsoft/vscode-extension-logic-apps';
import { StorageOptions, FuncVersion, WorkerRuntime } from '@microsoft/vscode-extension-logic-apps';
import { StorageOptions, WorkerRuntime } from '@microsoft/vscode-extension-logic-apps';
import type { Progress } from 'vscode';

export class LogicAppCreateStep extends AzureWizardExecuteStep<ILogicAppWizardContext> {
Expand Down Expand Up @@ -191,18 +191,7 @@ export class LogicAppCreateStep extends AzureWizardExecuteStep<ILogicAppWizardCo
);
}

if (context.version === FuncVersion.v1) {
appSettings.push({
name: 'AzureWebJobsDashboard',
value: storageConnectionString.azureWebJobsDashboardValue,
});
}

if (
context.newSiteOS === WebsiteOS.windows &&
runtimeWithoutVersion.toLowerCase() === WorkerRuntime.Node &&
context.version !== FuncVersion.v1
) {
if (context.newSiteOS === WebsiteOS.windows && runtimeWithoutVersion.toLowerCase() === WorkerRuntime.Node) {
// Linux doesn't need this because it uses linuxFxVersion
// v1 doesn't need this because it only supports one version of Node
appSettings.push({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export class FunctionAppFilesStep extends AzureWizardPromptStep<IProjectWizardCo
tasks: [
{
label: 'build',
command: '${config:azureLogicAppsStandard.dotnetBinaryPath}',
command: 'dotnet',
type: 'process',
args: ['build', '${workspaceFolder}'],
group: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,25 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { binariesExist } from '../../../utils/binaries';
import { extensionCommand, func, funcDependencyName, funcWatchProblemMatcher, hostStartCommand } from '../../../../constants';
import { extensionCommand, funcWatchProblemMatcher } from '../../../../constants';
import { InitCustomCodeScriptProjectStep } from './initCustomCodeScriptProjectStep';
import type { ITaskInputs, ISettingToAdd } from '@microsoft/vscode-extension-logic-apps';
import type { TaskDefinition } from 'vscode';

export class InitCustomCodeProjectStep extends InitCustomCodeScriptProjectStep {
protected getTasks(): TaskDefinition[] {
const funcBinariesExist = binariesExist(funcDependencyName);
const binariesOptions = funcBinariesExist
? {
options: {
env: {
PATH: '${config:azureLogicAppsStandard.autoRuntimeDependenciesPath}\\NodeJs;${config:azureLogicAppsStandard.autoRuntimeDependenciesPath}\\DotNetSDK;$env:PATH',
},
},
}
: {};
return [
{
label: 'generateDebugSymbols',
command: '${config:azureLogicAppsStandard.dotnetBinaryPath}',
command: 'dotnet',
args: ['${input:getDebugSymbolDll}'],
type: 'process',
problemMatcher: '$msCompile',
},
{
type: funcBinariesExist ? 'shell' : func,
command: funcBinariesExist ? '${config:azureLogicAppsStandard.funcCoreToolsBinaryPath}' : hostStartCommand,
args: funcBinariesExist ? ['host', 'start'] : undefined,
...binariesOptions,
type: 'shell',
command: 'func',
args: ['host', 'start'],
problemMatcher: funcWatchProblemMatcher,
isBackground: true,
label: 'func: host start',
Expand Down
Loading