Skip to content

Commit 7f29286

Browse files
Copilotehuelsmann
andauthored
fix: normalize repository field in package.json files to suppress npm publish warnings (#40)
* Initial plan * fix: update repository fields in package.json files to fix npm publish warnings Agent-Logs-Url: https://github.com/ehuelsmann/OpenAPIValidators/sessions/220f680e-92c3-452f-a26e-d227be3ede5c Co-authored-by: ehuelsmann <2326559+ehuelsmann@users.noreply.github.com> * chore: bump package versions to 0.16.1 Agent-Logs-Url: https://github.com/ehuelsmann/OpenAPIValidators/sessions/24c796e3-3944-4791-852f-c938e65093a0 Co-authored-by: ehuelsmann <2326559+ehuelsmann@users.noreply.github.com> * chore: update yarn.lock after version bump to 0.16.1 Agent-Logs-Url: https://github.com/ehuelsmann/OpenAPIValidators/sessions/5b6a6f2f-31e8-43fd-9755-c0e29ee4072b Co-authored-by: ehuelsmann <2326559+ehuelsmann@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ehuelsmann <2326559+ehuelsmann@users.noreply.github.com>
1 parent 3ada2cb commit 7f29286

4 files changed

Lines changed: 23 additions & 11 deletions

File tree

packages/chai-openapi-response-validator/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ehuelsmann/chai-openapi-response-validator",
3-
"version": "0.16.0",
3+
"version": "0.16.1",
44
"description": "Use Chai to assert that HTTP responses satisfy an OpenAPI spec",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",
@@ -32,7 +32,11 @@
3232
"test:ci": "yarn format && yarn lint && yarn test:coverage",
3333
"prepack": "yarn build"
3434
},
35-
"repository": "https://github.com/ehuelsmann/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator",
35+
"repository": {
36+
"type": "git",
37+
"url": "git+https://github.com/ehuelsmann/OpenAPIValidators.git#master",
38+
"directory": "packages/chai-openapi-response-validator"
39+
},
3640
"author": "OpenApiChai <openapichai@gmail.com>",
3741
"contributors": [
3842
"Jonny Spruce <jspruce94@gmail.com>",
@@ -78,6 +82,6 @@
7882
"tsup": "^8.5.1"
7983
},
8084
"dependencies": {
81-
"@ehuelsmann/openapi-validator": "^0.16.0"
85+
"@ehuelsmann/openapi-validator": "^0.16.1"
8286
}
8387
}

packages/jest-openapi/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ehuelsmann/jest-openapi",
3-
"version": "0.16.0",
3+
"version": "0.16.1",
44
"description": "Jest matchers for asserting that HTTP responses satisfy an OpenAPI spec",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",
@@ -31,7 +31,11 @@
3131
"test:ci": "yarn format && yarn lint && yarn test:coverage",
3232
"prepack": "yarn build"
3333
},
34-
"repository": "https://github.com/ehuelsmann/OpenAPIValidators/tree/master/packages/jest-openapi",
34+
"repository": {
35+
"type": "git",
36+
"url": "git+https://github.com/ehuelsmann/OpenAPIValidators.git#master",
37+
"directory": "packages/jest-openapi"
38+
},
3539
"author": "rwalle61 <richard.lh.waller@gmail.com>",
3640
"contributors": [
3741
"Jonny Spruce <jspruce94@gmail.com>"
@@ -70,7 +74,7 @@
7074
"tsup": "^8.5.1"
7175
},
7276
"dependencies": {
73-
"@ehuelsmann/openapi-validator": "^0.16.0",
77+
"@ehuelsmann/openapi-validator": "^0.16.1",
7478
"jest-matcher-utils": "^29.0.0"
7579
}
7680
}

packages/openapi-validator/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ehuelsmann/openapi-validator",
3-
"version": "0.16.0",
3+
"version": "0.16.1",
44
"description": "Common code for jest-openapi and Chai OpenAPI Response Validator",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",
@@ -27,7 +27,11 @@
2727
"test:ci": "echo",
2828
"prepack": "yarn build"
2929
},
30-
"repository": "https://github.com/ehuelsmann/OpenAPIValidators/tree/master/packages/openapi-validator",
30+
"repository": {
31+
"type": "git",
32+
"url": "git+https://github.com/ehuelsmann/OpenAPIValidators.git#master",
33+
"directory": "packages/openapi-validator"
34+
},
3135
"author": "OpenApiChai <openapichai@gmail.com>",
3236
"contributors": [
3337
"rwalle61 <richard.lh.waller@gmail.com>",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ __metadata:
415415
version: 0.0.0-use.local
416416
resolution: "@ehuelsmann/chai-openapi-response-validator@workspace:packages/chai-openapi-response-validator"
417417
dependencies:
418-
"@ehuelsmann/openapi-validator": "npm:^0.16.0"
418+
"@ehuelsmann/openapi-validator": "npm:^0.16.1"
419419
"@types/chai": "npm:^4.2.15"
420420
"@types/mocha": "npm:^10.0.10"
421421
"@types/supertest": "npm:^7.2.0"
@@ -441,7 +441,7 @@ __metadata:
441441
version: 0.0.0-use.local
442442
resolution: "@ehuelsmann/jest-openapi@workspace:packages/jest-openapi"
443443
dependencies:
444-
"@ehuelsmann/openapi-validator": "npm:^0.16.0"
444+
"@ehuelsmann/openapi-validator": "npm:^0.16.1"
445445
"@types/jest": "npm:^30.0.0"
446446
"@types/supertest": "npm:^7.2.0"
447447
axios: "npm:^1.15.0"
@@ -458,7 +458,7 @@ __metadata:
458458
languageName: unknown
459459
linkType: soft
460460

461-
"@ehuelsmann/openapi-validator@npm:^0.16.0, @ehuelsmann/openapi-validator@workspace:packages/openapi-validator":
461+
"@ehuelsmann/openapi-validator@npm:^0.16.1, @ehuelsmann/openapi-validator@workspace:packages/openapi-validator":
462462
version: 0.0.0-use.local
463463
resolution: "@ehuelsmann/openapi-validator@workspace:packages/openapi-validator"
464464
dependencies:

0 commit comments

Comments
 (0)