Skip to content

Commit 427e193

Browse files
Merge pull request #54 from antstackio/ROV-59
Add module/components to existing resources CLI
2 parents 752e70b + e0f6339 commit 427e193

26 files changed

+1079
-2530
lines changed

.eslintrc.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
module.exports = {
2+
env: {
3+
es2021: true,
4+
node: true,
5+
},
6+
extends: [
7+
"eslint:recommended",
8+
"prettier",
9+
"plugin:eslint-plugin/recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
//'plugin:@typescript-eslint/recommended-requiring-type-checking',
12+
],
13+
14+
overrides: [],
15+
parser: "@typescript-eslint/parser",
16+
parserOptions: {
17+
ecmaVersion: "latest",
18+
sourceType: "module",
19+
project: ["./tsconfig.json"],
20+
},
21+
rules: {},
22+
ignorePatterns: ["**/*.js", "**/*.d.ts"],
23+
}
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
4+
title: ""
55
labels: bug
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

109
**Describe the bug**
1110
A clear and concise description of what the bug is.
1211

1312
**To Reproduce**
1413
Steps to reproduce the behavior:
14+
1515
1. Go to '...'
1616
2. Click on '....'
1717
3. Scroll down to '....'
@@ -24,8 +24,9 @@ A clear and concise description of what you expected to happen.
2424
If applicable, add screenshots to help explain your problem.
2525

2626
**Desktop (please complete the following information):**
27-
- OS: [e.g. Windows, Mac, Linux]
28-
- Node Version [e.g. 14]
27+
28+
- OS: [e.g. Windows, Mac, Linux]
29+
- Node Version [e.g. 14]
2930

3031
**Additional context**
3132
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
4+
title: ""
55
labels: enhancement
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

109
**Is your feature request related to a problem? Please describe.**

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Description
2+
23
Please include a summary of the changes and the related issue.
34

45
## Issue ticket number and link
56

6-
77
## Type of change
88

99
Please delete options that are not relevant.
@@ -16,4 +16,3 @@ Please delete options that are not relevant.
1616
## New Packages
1717

1818
1.
19-

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ jobs:
1010
uses: actions/checkout@v3
1111
# Setup .npmrc file to publish to npm
1212

13-
- name: Setup Node.js environment
13+
- name: Setup Node.js environment
1414
uses: actions/setup-node@v3
1515
with:
16-
node-version: '16.x'
17-
registry-url: 'https://registry.npmjs.org'
18-
16+
node-version: "16.x"
17+
registry-url: "https://registry.npmjs.org"
18+
1919
- name: Install Dependicies
20-
run : npm install
21-
20+
run: npm install
21+
2222
- name: Build
2323
run: npm run build
2424

2525
- name: Publish
2626
run: npm publish
2727
env:
28-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
28+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,5 @@ dist
105105
# TernJS port file
106106
.tern-port
107107

108-
108+
# lock
109+
package-lock.json

.prettierrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"semi": false,
5+
"singleQuote": false
6+
}

.vscode/settings.json

Lines changed: 0 additions & 45 deletions
This file was deleted.

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# ![Create a sample project](./assets/roverForBright.png)Overview
22

3-
Rover is CLI tool that generates/updates SAM projects based on predefined modules and components. It helps in deployment by generating CI/CD pipeline or deploy through CLI in few clicks.
3+
Rover is CLI tool that generates/updates SAM projects based on predefined modules and components. It helps in deployment by generating CI/CD pipeline or deploy through CLI in few clicks.
44

5-
Modules are the small functional unit of the project like Email Authentication. Components are combination of AWS services like Lambda with S3 as Trigger.
5+
Modules are the small functional unit of the project like Email Authentication. Components are combination of AWS services like Lambda with S3 as Trigger.
66

77
It is a CLI-based library that supports Node and Python with a some AWS Services.
88

99
#### To Install:
1010

11-
npm install @rover-tools/cli -g
11+
npm install @rover-tools/cli -g
1212

13-
**Note**: install the package globally
13+
**Note**: install the package globally
1414

1515
## Prerequisites
1616

17-
* Python 3
18-
* AWS SAM CLI
17+
- Python 3
18+
- AWS SAM CLI
1919

2020
In Rover, we have predefined modules, we can select them and create our project or we have options to create custom modules by selecting the components in that module.
2121

@@ -33,11 +33,11 @@ $ rover init
3333
#### Deploy
3434

3535
```sh
36-
$ rover deploy
36+
$ rover deploy
3737
1) generate pipeline
3838
2) cli
3939
3) repository and pipeline
40-
40+
4141
```
4242

4343
**Note**: update and deploy should be done within the SAM project
@@ -56,4 +56,4 @@ $ rover deploy
5656

5757
Rover, Lambda, S3, CLI , CI/CD Pipeline, SAM Projects
5858

59-
**
59+
\*\*

0 commit comments

Comments
 (0)