Content-Length: 250189 | pFad | http://github.com/dotnet/tye/issues/1607

AD esproj support · Issue #1607 · dotnet/tye · GitHub
Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

esproj support #1607

@rolfik-mycronic

Description

@rolfik-mycronic

Could esproj javascript projects be supported in service project value of tye.yaml?

We have backend csproj services which work fine with tye.

We have also UI vue frontends.
It would be nice to execute the whole system with tye.
To do it we would just add vue esproj services like project: ui.esproj.
I can add them now with executable service types:

services:
- name: ui
  executable: '%PROGRAMFILES%\nodejs\npm.cmd'
  args: run serve -- --port #
  bindings:
  - port: #
    protocol: http

Executable with args is also defined in esproj:

<Project Sdk="Microsoft.VisualStudio.JavaScript.Sdk/0.5.83-alpha">
  <PropertyGroup>
    <StartupCommand>npm run serve -- --port #</StartupCommand>
    <JavaScriptTestRoot>.\</JavaScriptTestRoot>
    <JavaScriptTestFramework>Jest</JavaScriptTestFramework>
    <!-- Command to run on project build -->
    <BuildCommand>
    </BuildCommand>
    <!-- Command to create an optimized build of the project that's ready for publishing -->
    <ProductionBuildCommand>npm run build</ProductionBuildCommand>
    <!-- Folder where production build objects will be placed -->
    <BuildOutputFolder>$(MSBuildProjectDirectory)\dist</BuildOutputFolder>
  </PropertyGroup>
</Project>

We use tye only for development and docker compose for deployment.

Thank You

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/dotnet/tye/issues/1607

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy