Skip to content

Commit

Permalink
fix(monorepo): Move release scripts back to compass package (#2164)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
gribnoysup committed Apr 23, 2021
1 parent 85d097c commit 00f74dd
Show file tree
Hide file tree
Showing 31 changed files with 2,897 additions and 3,258 deletions.
3,319 changes: 545 additions & 2,774 deletions package-lock.json

Large diffs are not rendered by default.

23 changes: 3 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
"scripts": {
"check": "lerna run check",
"install": "lerna bootstrap --concurrency=1",
"release": "node release/index.js",
"start": "lerna run start --stream --scope mongodb-compass",
"test": "lerna run test --stream",
"test-release-tasks": "cross-env MONGODB_DOWNLOADS_AWS_ACCESS_KEY_ID='' mocha --timeout 30000 release/*.spec.js"
"release": "cd packages/compass && npm run --silent release --",
"test": "lerna run test --stream"
},
"repository": {
"type": "git",
Expand All @@ -26,24 +25,8 @@
],
"dependencies": {},
"devDependencies": {
"@mongodb-js/dl-center": "^1.0.0",
"@octokit/rest": "^18.0.6",
"chai": "^4.2.0",
"chalk": "^4.1.0",
"cli-ux": "^5.5.0",
"cross-env": "^7.0.0",
"execa": "^4.1.0",
"fs-extra": "^9.0.1",
"lerna": "^4.0.0",
"listr": "^0.14.3",
"lodash": "^4.17.19",
"mocha": "^7.1.1",
"mongodb-js-precommit": "^2.2.1",
"nock": "^13.0.4",
"node-notifier": "^8.0.0",
"semver": "^5.1.0",
"sinon": "^8.1.1",
"sinon-chai": "^3.4.0"
"mongodb-js-precommit": "^2.2.1"
},
"engines": {
"node": "^12.4.0",
Expand Down

0 comments on commit 00f74dd

Please sign in to comment.