init wyatt_feature_brick

This commit is contained in:
Malo Léon 2022-08-09 11:14:49 +01:00
parent 40f2377dd0
commit 8a7b47fcb3
6 changed files with 57 additions and 1 deletions

View File

@ -0,0 +1,3 @@
# 0.1.0+1
- TODO: Describe initial release.

View File

@ -0,0 +1 @@
TODO: Add your license here.

View File

@ -0,0 +1,21 @@
# wyatt_feature_brick
[![Powered by Mason](https://img.shields.io/endpoint?url=https%3A%2F%2Ftinyurl.com%2Fmason-badge)](https://github.com/felangel/mason)
A new brick created with the Mason CLI.
_Generated by [mason][1] 🧱_
## Getting Started 🚀
This is a starting point for a new brick.
A few resources to get you started if this is your first brick template:
- [Official Mason Documentation][2]
- [Code generation with Mason Blog][3]
- [Very Good Livestream: Felix Angelov Demos Mason][4]
[1]: https://github.com/felangel/mason
[2]: https://github.com/felangel/mason/tree/master/packages/mason_cli#readme
[3]: https://verygood.ventures/blog/code-generation-with-mason
[4]: https://youtu.be/G4PTjA6tpTU

View File

@ -0,0 +1 @@
Hello {{name}}!

View File

@ -0,0 +1,28 @@
name: wyatt_feature_brick
description: A new brick created with the Mason CLI.
# The following defines the version and build number for your brick.
# A version number is three numbers separated by dots, like 1.2.34
# followed by an optional build number (separated by a +).
version: 0.1.0+1
# The following defines the environment for the current brick.
# It includes the version of mason that the brick requires.
environment:
mason: ">=0.1.0-dev.26 <0.1.0"
# Variables specify dynamic values that your brick depends on.
# Zero or more variables can be specified for a given brick.
# Each variable has:
# * a type (string, number, boolean, enum, or array)
# * an optional short description
# * an optional default value
# * an optional list of default values (array only)
# * an optional prompt phrase used when asking for the variable
# * a list of values (enums only)
vars:
name:
type: string
description: Your name
default: Dash
prompt: What is your name?

View File

@ -6,4 +6,6 @@ bricks:
wyatt_package:
path: bricks/wyatt_package
wyatt_clean_code:
path: bricks/wyatt_clean_code
path: bricks/wyatt_clean_code
wyatt_feature_brick:
path: bricks/wyatt_feature_brick