Skip to content

Commit 60053aa

Browse files
authored
fix: do not attempt to publish e2e-tests package (#1659)
The publishing step would currently fail on the `e2e-tests` package because it defined a broken `prepublish` script. We should not be trying to publish the package at all; mark it `private`.
1 parent 3066c8f commit 60053aa

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/build/src/npm-packages/publish.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ describe('npm-packages publishNpmPackages', function () {
8585
[
8686
'publish',
8787
'from-package',
88+
'--no-private',
8889
'--no-changelog',
8990
'--no-push',
9091
'--exact',

packages/build/src/npm-packages/publish.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export function publishNpmPackages(
3333
[
3434
'publish',
3535
'from-package',
36+
'--no-private',
3637
'--no-changelog',
3738
'--no-push',
3839
'--exact',

packages/connectivity-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "connectivity-tests",
2+
"name": "@mongosh/connectivity-tests",
33
"version": "0.0.0-dev.0",
44
"private": true,
55
"license": "Apache-2.0",

packages/e2e-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@mongosh/e2e-tests",
33
"version": "0.0.0-dev.0",
4+
"private": true,
45
"description": "MongoDB Shell E2E Tests Package",
56
"homepage": "https://github.com/mongodb-js/mongosh",
67
"author": "Compass Team <[email protected]>",
@@ -16,7 +17,6 @@
1617
"lint": "npm run eslint . && npm run prettier -- --check .",
1718
"check": "npm run lint && npm run depcheck",
1819
"depcheck": "depcheck",
19-
"prepublish": "npm run compile",
2020
"prettier": "prettier",
2121
"reformat": "npm run prettier -- --write . && npm run eslint --fix"
2222
},

0 commit comments

Comments
 (0)