Skip to content

A template to get up and running as fast as possible with Fable and publishing to multiple languages.

License

Notifications You must be signed in to change notification settings

Freymaurer/Fable.Multiverse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fable.Multiverse

NuGet Version

A template to get up and running as fast as possible with Fable and publishing to multiple languages.

On creation this template supports:

  • FSharp
  • JavaScript
  • TypeScript
  • Python
  • CSharp

Install

dotnet new install Fable.Multiverse


Create

  1. dotnet new fable.multiverse -n <project-name> --git-owner <git-owner>
  2. Follow the instructions in the README.md of the created project. 🎉

Overview

This template creates:

  • Build Project
    • Testing
    • Bundling
    • Publishing
    • Automatic index file creation
    • Code generator for C# access layer
  • Src Projects
    • F# Project
    • C# Access layer project
  • Test Projects
    • Fable.Pyxpecto Project
    • C# Xunit Project
    • Python pytest Project
    • JavaScript Mocha Project
  • TypeScript support for tests and publishing with types.
  • Dev Container support for VSCode

--

Publishing

  1. Increase version in Fable.Multiverse.fsproj
  2. dotnet pack .\Fable.Multiverse.fsproj
  3. Upload .npkg from bin/Release/*
  4. git tag v<new_version>
  5. git push origin tag v<new_version>