diff --git a/LICENSE b/LICENSE index ba75c69..768415d 100644 --- a/LICENSE +++ b/LICENSE @@ -1 +1,21 @@ -TODO: Add your license here. +The MIT License (MIT) +Copyright (c) 2022 Muhammed Salih Guler + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index a41699a..544fe13 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The project uses: You can either fill in the variables on your CLI: ```shell -mason make amplify_starter --project_name "AWS TODO" --project_organization "com.amplify.aws" +mason make amplify_starter --project_name "AWS Amplify Todo" --project_organization "com.example" ``` **OR** @@ -25,9 +25,11 @@ let CLI guide you through the process mason make amplify_starter ``` +----- + > This project creates the base project for you. You are still expected to configure AWS Amplify afterwards. > -> Once the project is created go to the `README.md` file of the generated project and follow the steps described there. +> Once the project is created go to the [README.md](https://github.com/salihgueler/amplify_starter/blob/main/__brick__/%7B%7Bproject_name%7D%7D/README.md) file of the generated project and follow the steps described there. ## Variables ✨ diff --git a/__brick__/{{project_name}}/LICENSE b/__brick__/{{project_name}}/LICENSE new file mode 100644 index 0000000..9cc1611 --- /dev/null +++ b/__brick__/{{project_name}}/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) +Copyright (c) 2022 {{project_name}} + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/brick.yaml b/brick.yaml index 2b16d39..c638cf9 100644 --- a/brick.yaml +++ b/brick.yaml @@ -1,25 +1,12 @@ name: amplify_starter description: A highly opinionated AWS Amplify starter project with Authenticator, Amplify Datastore and bloc state management. +repository: https://github.com/salihgueler/amplify_starter -# 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 +version: 0.1.0 -# 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: project_name: type: string