Skip to content

Commit 28636ee

Browse files
Merge pull request #39 from antstackio/dev
release 0.0.95
2 parents c9c203c + 50a4f2f commit 28636ee

File tree

5 files changed

+54
-62
lines changed

5 files changed

+54
-62
lines changed

.vscode/settings.json

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
{
22
"workbench.colorCustomizations": {
3-
"titleBar.activeForeground": "#15202b",
4-
"titleBar.inactiveForeground": "#15202b99",
5-
"titleBar.activeBackground": "#a1a4ae",
6-
"titleBar.inactiveBackground": "#5B80EA99",
7-
"activityBar.activeBackground": "#122738",
8-
"activityBar.activeBorder": "#ffffff",
9-
"activityBar.background": "#122738",
10-
"activityBar.foreground": "#ffffff",
11-
"activityBar.inactiveForeground": "#ffffff99",
12-
"activityBarBadge.background": "#FFC600",
13-
"activityBarBadge.foreground": "#000000",
14-
"statusBar.background": "#15252D",
15-
"statusBar.border": "#15252D",
16-
"statusBar.foreground": "#ffffff",
17-
"statusBarItem.hoverBackground": "#27a499",
18-
"titleBar.border": "#5B80EA"
3+
"activityBar.activeBorder": "#ffffff"
194
},
205
"typescript.preferences.importModuleSpecifier": "relative",
216
"workbench.iconTheme": "file-icons",

README.md

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

3-
Rover is a npm package or CLI-based that generates or updates SAM projects based on predefined modules and components. it also 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

55
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

@@ -17,8 +17,6 @@ It is a CLI-based library that supports Node and Python with a some AWS Services
1717
* Python 3
1818
* AWS SAM CLI
1919

20-
21-
2220
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.
2321

2422
# Usage
@@ -31,29 +29,29 @@ $ rover init
3129
2) add components to existing SAM
3230
3) add modules to existing SAM
3331
```
32+
3433
#### Deploy
34+
3535
```sh
36-
$ rover deploy
36+
$ rover deploy
3737
1) generate pipeline
3838
2) cli
3939
3) repository and pipeline
4040

4141
```
42-
**Note**: update and deploy should be done within the SAM project
4342

43+
**Note**: update and deploy should be done within the SAM project
4444

4545
# Features of Rover
46+
4647
###### Creates new SAM project with predefined Modules and Components
4748

4849
###### Adds Components and Modules to Existing SAM
4950

50-
51-
###### Generates CI/CD Pipeline in SAM projects
52-
51+
###### Generates CI/CD Pipeline in SAM projects
5352

5453
###### Deploys SAM project through CLI
5554

56-
5755
# Keywords
5856

5957
Rover, Lambda, S3, CLI , CI/CD Pipeline, SAM Projects

cli-main/util.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,13 +359,14 @@ Object.assign(temp,ele)
359359
})
360360
sam=temp
361361
sam["language"]=lang
362-
let no_of_env = await inputNumber("no_of_env","environments/branch");
362+
let no_of_env = await inputNumber("no_of_env","environments");
363363
let envs: string[] = [];
364364
let steps: any = {};
365365
let stacknames: any = {};
366366
let deploymentregion: any = {};
367367
let deploymentparameters: any = {};
368368
let depBucketNames: any = {};
369+
let branches = { "branches":["main"]}
369370
for (let i = 1; i <= no_of_env; i++) {
370371
let env = await inputString(`env${i}`,"",false,`Envrionment ${i} :`);
371372
let envName = env[`env${i}`];
@@ -417,6 +418,7 @@ Object.assign(temp,ele)
417418
...accesskey,
418419
...secretkey,
419420
envs,
421+
...branches,
420422
...framework,
421423
steps,
422424
stackname: { ...stacknames },

package-lock.json

Lines changed: 36 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"dependencies": {
77
"@iarna/toml": "^2.2.5",
8-
"@rover-tools/engine": "^0.0.47",
8+
"@rover-tools/engine": "^0.0.48",
99
"@types/inquirer": "^8.2.1",
1010
"esm": "^3.2.25",
1111
"immer": "^9.0.14",
@@ -18,13 +18,14 @@
1818
"type": "commonjs",
1919
"name": "@rover-tools/cli",
2020
"description": "Rover-CLI is a SAM module generating system, which generates SAM projects based on user requirements. It will have a set of predefined stacks(Auth, CRUD) which are commonly used and a option to define our custom stacks. It is designed using typescript with SAM CLI support. Currently, it is a CLI-based library that supports Node and Python with a limited set of AWS services.",
21-
"version": "0.0.94",
21+
"version": "0.0.95",
2222
"main": "dist/bin/init.js",
2323
"scripts": {
2424
"clean": "shx rm -rf dist/*",
2525
"start": "tsc bin/init.ts && tsc bin/index.ts && npm install -g . ",
2626
"build": "tsc",
2727
"watch": "tsc --watch",
28+
"localtest": "npm install /Users/dheerajbhatt/proj/rover-engine && npm run build && npm install /Users/dheerajbhatt/proj/rover-cli -g ",
2829
"prepack": "npm run clean && npm run build "
2930
},
3031
"bin": {
@@ -44,5 +45,8 @@
4445
"bugs": {
4546
"url": "https://github.com/antstackio/rover-cli/issues"
4647
},
47-
"homepage": "https://github.com/antstackio/rover-cli#readme"
48+
"homepage": "https://github.com/antstackio/rover-cli#readme",
49+
"workspaces": [
50+
"../rovertest/test"
51+
]
4852
}

0 commit comments

Comments
 (0)