Skip to content

Commit fb74164

Browse files
sairanjittipusinghaw
authored andcommitted
chore: add aws module into monorepo (#1135)
* chore: add aws into monorepo Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * chore: update tsconfig Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> * refactor:tsconfig.build.json file Signed-off-by: Tipu_Singh <[email protected]> * refactor: remove redundant .nvmrc file Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> --------- Signed-off-by: Sai Ranjit Tummalapalli <[email protected]> Signed-off-by: Tipu_Singh <[email protected]> Co-authored-by: Tipu_Singh <[email protected]> Signed-off-by: Sahil Kamble <[email protected]>
1 parent 57fe9b6 commit fb74164

File tree

9 files changed

+98
-38
lines changed

9 files changed

+98
-38
lines changed

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

libs/aws/package.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "@credebl/aws",
3+
"main": "src/index",
4+
"types": "src/index",
5+
"version": "0.0.1",
6+
"files": ["dist"],
7+
"license": "Apache-2.0",
8+
"publishConfig": {
9+
"access": "public"
10+
},
11+
"scripts": {
12+
"build": "pnpm run clean && pnpm run compile",
13+
"clean": "rimraf ../../dist/libs/aws",
14+
"compile": "tsc -p tsconfig.build.json",
15+
"test": "jest"
16+
},
17+
"dependencies": {
18+
"@nestjs/common": "^10.2.7",
19+
"@nestjs/testing": "^10.1.3",
20+
"@nestjs/microservices": "^10.1.3",
21+
"aws-sdk": "^2.1510.0"
22+
},
23+
"devDependencies": {
24+
"reflect-metadata": "^0.1.13",
25+
"rimraf": "^4.4.0",
26+
"typescript": "^5.1.6"
27+
}
28+
}

libs/aws/tsconfig.build.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "../../tsconfig.build.json",
3+
"compilerOptions": {
4+
"outDir": "../../dist/libs/aws"
5+
},
6+
"include": ["src/**/*"]
7+
}

libs/aws/tsconfig.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {}
4+
}

libs/aws/tsconfig.lib.json

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

pnpm-lock.yaml

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

pnpm-workspace.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
packages:
2+
- 'apps/*'
3+
- 'libs/*'

tsconfig.build.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
{
2-
"extends": "./tsconfig.json",
2+
"compilerOptions": {
3+
"module": "commonjs",
4+
"declaration": true,
5+
"removeComments": true,
6+
"emitDecoratorMetadata": true,
7+
"experimentalDecorators": true,
8+
"target": "es2017",
9+
"sourceMap": true,
10+
"outDir": "./dist",
11+
"baseUrl": "./",
12+
"incremental": true,
13+
},
314
"exclude": ["node_modules", "test", "dist", "**/*spec.ts"]
4-
}
15+
}

tsconfig.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
{
2+
"extends": "./tsconfig.build.json",
23
"compilerOptions": {
3-
"module": "commonjs",
4-
"declaration": true,
5-
"removeComments": true,
6-
"emitDecoratorMetadata": true,
7-
"experimentalDecorators": true,
8-
"target": "es2017",
9-
"sourceMap": true,
10-
"outDir": "./dist",
11-
"baseUrl": "./",
12-
"incremental": true,
134
"paths": {
145
"@credebl/response": [
156
"libs/response/src"

0 commit comments

Comments
 (0)