Skip to content

Commit 00f74dd

Browse files
committed
fix(monorepo): Move release scripts back to compass package (#2164)
* fix(monorepo): Move release scripts back to compass package Even though this release script operates on the repo, it mostly touches files in the compass package. Instead of changing the filepaths in the script, it seems better to just keep it near compass source as the sole purpose of it is to release compass and nothing else
1 parent 85d097c commit 00f74dd

31 files changed

+2897
-3258
lines changed

package-lock.json

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

package.json

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@
1212
"scripts": {
1313
"check": "lerna run check",
1414
"install": "lerna bootstrap --concurrency=1",
15-
"release": "node release/index.js",
1615
"start": "lerna run start --stream --scope mongodb-compass",
17-
"test": "lerna run test --stream",
18-
"test-release-tasks": "cross-env MONGODB_DOWNLOADS_AWS_ACCESS_KEY_ID='' mocha --timeout 30000 release/*.spec.js"
16+
"release": "cd packages/compass && npm run --silent release --",
17+
"test": "lerna run test --stream"
1918
},
2019
"repository": {
2120
"type": "git",
@@ -26,24 +25,8 @@
2625
],
2726
"dependencies": {},
2827
"devDependencies": {
29-
"@mongodb-js/dl-center": "^1.0.0",
30-
"@octokit/rest": "^18.0.6",
31-
"chai": "^4.2.0",
32-
"chalk": "^4.1.0",
33-
"cli-ux": "^5.5.0",
34-
"cross-env": "^7.0.0",
35-
"execa": "^4.1.0",
36-
"fs-extra": "^9.0.1",
3728
"lerna": "^4.0.0",
38-
"listr": "^0.14.3",
39-
"lodash": "^4.17.19",
40-
"mocha": "^7.1.1",
41-
"mongodb-js-precommit": "^2.2.1",
42-
"nock": "^13.0.4",
43-
"node-notifier": "^8.0.0",
44-
"semver": "^5.1.0",
45-
"sinon": "^8.1.1",
46-
"sinon-chai": "^3.4.0"
29+
"mongodb-js-precommit": "^2.2.1"
4730
},
4831
"engines": {
4932
"node": "^12.4.0",

0 commit comments

Comments
 (0)