Skip to content

Releases: jihoonahn/microfeature

Microfeature 0.1.2

Choose a tag to compare

@jihoonahn jihoonahn released this 28 Jan 13:01

What's Changed

  • Platform has been changed to Destinations.
  • deploymentTarget has been changed to deploymentTargets.

Microfeature v0.1.1

Choose a tag to compare

@jihoonahn jihoonahn released this 10 Dec 14:55

What's changed

  • Microfeature template is renamed to lowercase.

MicroFeature 0.1.0

Choose a tag to compare

@jihoonahn jihoonahn released this 06 Dec 08:28

Microfeature Release! 🚀

µFeatures Architecture Plugin available in Tuist.

Code

Then import the MicroFeature from thr location you want to use.

import Microfeature

This plugin refers to Tuist's µFeatures Architecture.

Microfeature {
    Example(name: typeName)
    Interface(name: typeName)
    Sources(name: typeName)
    Testing(name: typeName)
    UnitTests(name: typeName)
    UITests(name: typeName)
}

When used the basic Tuist

let project = Project(
    name: "ExampleProject",
    targets: Microfeature {
        Example(name: "Example")
        Interface(name: "Example")
        Sources(name: "Example")
        Testing(name: "Example")
        UnitTests(name: "Example")
        UITests(name: "Example")
    }
)

If you use it with TuistUI Plugin

let project = ExampleModule().makeModule()

struct ExampleModule: Module {
    var body: some Module {
        Project {
            Microfeature {
                Example(name: typeName)
                Interface(name: typeName)
                Sources(name: typeName)
                Testing(name: typeName)
                UnitTests(name: typeName)
                UITests(name: typeName)
            }
        }
    }
}

You can create a more stylish module.

Templates

$ tuist scaffold $(templateName) --path $(path) --name $(name)
Template Name
  • Example
  • Interface
  • Sources
  • Testing
  • Tests
  • UITests