Skip to content

Commit b73e993

Browse files
committed
chore: mention monorepo directory in package.json
1 parent 1657441 commit b73e993

File tree

13 files changed

+65
-13
lines changed

13 files changed

+65
-13
lines changed

_templates/middleware/new/package/package.json.t

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,9 @@ to: packages/<%= h.inflection.dasherize(name.toLowerCase()) %>/package.json
7373
"wait-on": "^5.2.0",
7474
"webpack": "^4.41.5"
7575
},
76-
"repository": "git@github.com:dbartholomae/lambda-middleware.git"
76+
"repository": {
77+
"type": "git",
78+
"url": "git@github.com:dbartholomae/lambda-middleware.git",
79+
"directory": "packages/<%= h.inflection.dasherize(name.toLowerCase()) %>"
80+
}
7781
}

packages/class-validator/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,9 @@
7777
"wait-on": "^5.2.0",
7878
"webpack": "^4.41.5"
7979
},
80-
"repository": "[email protected]:dbartholomae/lambda-middleware.git"
80+
"repository": {
81+
"type": "git",
82+
"url": "[email protected]:dbartholomae/lambda-middleware.git",
83+
"directory": "packages/class-validator"
84+
}
8185
}

packages/compose/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,9 @@
7979
"wait-on": "^5.2.0",
8080
"webpack": "^4.41.5"
8181
},
82-
"repository": "[email protected]:dbartholomae/lambda-middleware.git"
82+
"repository": {
83+
"type": "git",
84+
"url": "[email protected]:dbartholomae/lambda-middleware.git",
85+
"directory": "packages/compose"
86+
}
8387
}

packages/cors/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,9 @@
7171
"wait-on": "^5.2.0",
7272
"webpack": "^4.41.5"
7373
},
74-
"repository": "[email protected]:dbartholomae/lambda-middleware.git"
74+
"repository": {
75+
"type": "git",
76+
"url": "[email protected]:dbartholomae/lambda-middleware.git",
77+
"directory": "packages/cors"
78+
}
7579
}

packages/do-not-wait/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,9 @@
6060
"ts-jest": "^25.3.1",
6161
"typescript": "^3.7.5"
6262
},
63-
"repository": "[email protected]:dbartholomae/lambda-middleware.git"
63+
"repository": {
64+
"type": "git",
65+
"url": "[email protected]:dbartholomae/lambda-middleware.git",
66+
"directory": "packages/do-not-wait"
67+
}
6468
}

packages/http-error-handler/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,9 @@
7575
"wait-on": "^5.2.0",
7676
"webpack": "^4.41.5"
7777
},
78-
"repository": "[email protected]:dbartholomae/lambda-middleware.git"
78+
"repository": {
79+
"type": "git",
80+
"url": "[email protected]:dbartholomae/lambda-middleware.git",
81+
"directory": "packages/http-error-handler"
82+
}
7983
}

packages/http-header-normalizer/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,9 @@
7373
"wait-on": "^5.2.0",
7474
"webpack": "^4.41.5"
7575
},
76-
"repository": "[email protected]:dbartholomae/lambda-middleware.git"
76+
"repository": {
77+
"type": "git",
78+
"url": "[email protected]:dbartholomae/lambda-middleware.git",
79+
"directory": "packages/http-header-normalizer"
80+
}
7781
}

packages/ie-no-open/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,9 @@
7575
"wait-on": "^5.2.0",
7676
"webpack": "^4.41.5"
7777
},
78-
"repository": "[email protected]:dbartholomae/lambda-middleware.git"
78+
"repository": {
79+
"type": "git",
80+
"url": "[email protected]:dbartholomae/lambda-middleware.git",
81+
"directory": "packages/ie-no-open"
82+
}
7983
}

packages/json-serializer/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,9 @@
7272
"wait-on": "^5.2.0",
7373
"webpack": "^4.41.5"
7474
},
75-
"repository": "[email protected]:dbartholomae/lambda-middleware.git"
75+
"repository": {
76+
"type": "git",
77+
"url": "[email protected]:dbartholomae/lambda-middleware.git",
78+
"directory": "packages/json-serializer"
79+
}
7680
}

packages/jwt-auth/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,9 @@
7979
"wait-on": "^5.2.0",
8080
"webpack": "^4.41.5"
8181
},
82-
"repository": "[email protected]:dbartholomae/lambda-middleware.git"
82+
"repository": {
83+
"type": "git",
84+
"url": "[email protected]:dbartholomae/lambda-middleware.git",
85+
"directory": "packages/jwt-auth"
86+
}
8387
}

packages/middy-adaptor/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,9 @@
7070
"wait-on": "^5.2.0",
7171
"webpack": "^4.41.5"
7272
},
73-
"repository": "[email protected]:dbartholomae/lambda-middleware.git"
73+
"repository": {
74+
"type": "git",
75+
"url": "[email protected]:dbartholomae/lambda-middleware.git",
76+
"directory": "packages/middy-adaptor"
77+
}
7478
}

packages/no-sniff/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,9 @@
7373
"wait-on": "^5.2.0",
7474
"webpack": "^4.41.5"
7575
},
76-
"repository": "[email protected]:dbartholomae/lambda-middleware.git"
76+
"repository": {
77+
"type": "git",
78+
"url": "[email protected]:dbartholomae/lambda-middleware.git",
79+
"directory": "packages/no-sniff"
80+
}
7781
}

packages/utils/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,9 @@
6060
"ts-jest": "^25.3.1",
6161
"typescript": "^3.7.5"
6262
},
63-
"repository": "[email protected]:dbartholomae/lambda-middleware.git"
63+
"repository": {
64+
"type": "git",
65+
"url": "[email protected]:dbartholomae/lambda-middleware.git",
66+
"directory": "packages/utils"
67+
}
6468
}

0 commit comments

Comments
 (0)