@clickview/ship-it 0.0.35-dev.19 → 0.0.35-dev.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a, _b;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.MONOREPO_DISTS_MAP = exports.MONOREPO_PACKAGE_JSON_FILES_MAP = exports.MONOREPO_PACKAGE_JSON_FILES = void 0;
|
|
5
5
|
var ProjectNames_1 = require("./ProjectNames");
|
|
6
6
|
exports.MONOREPO_PACKAGE_JSON_FILES = [
|
|
7
7
|
'packages/libs/analytics/package.json',
|
|
@@ -28,7 +28,7 @@ exports.MONOREPO_PACKAGE_JSON_FILES_MAP = (_a = {},
|
|
|
28
28
|
_a[ProjectNames_1.PROJECT_NAMES.backend.player] = 'packages/projects/player/package.json',
|
|
29
29
|
_a[ProjectNames_1.PROJECT_NAMES.frontend.streamable] = 'packages/projects/streamable-learning/package.json',
|
|
30
30
|
_a);
|
|
31
|
-
exports.
|
|
31
|
+
exports.MONOREPO_DISTS_MAP = (_b = {},
|
|
32
32
|
_b[ProjectNames_1.PROJECT_NAMES.backend.auth] = 'packages/projects/auth/dist',
|
|
33
33
|
_b[ProjectNames_1.PROJECT_NAMES.frontend.curator] = 'packages/projects/curator/dist',
|
|
34
34
|
_b[ProjectNames_1.PROJECT_NAMES.frontend.cloud] = 'packages/projects/library-editor/dist',
|
|
@@ -146,10 +146,10 @@ var BumpPackagesTask = /** @class */ (function () {
|
|
|
146
146
|
};
|
|
147
147
|
BumpPackagesTask.prototype.getCommitFiles = function (options) {
|
|
148
148
|
var commitFiles = [];
|
|
149
|
-
for (var _i = 0, _a = Object.entries(MonorepoPackageJsonFiles_1.
|
|
149
|
+
for (var _i = 0, _a = Object.entries(MonorepoPackageJsonFiles_1.MONOREPO_PACKAGE_JSON_FILES_MAP); _i < _a.length; _i++) {
|
|
150
150
|
var _b = _a[_i], projectId = _b[0], packageJsonFilePath = _b[1];
|
|
151
151
|
// Only bump versions for projects with an output directory
|
|
152
|
-
if (!(0, fs_1.statSync)(MonorepoPackageJsonFiles_1.
|
|
152
|
+
if (!(0, fs_1.statSync)(MonorepoPackageJsonFiles_1.MONOREPO_DISTS_MAP[projectId]).isDirectory())
|
|
153
153
|
continue;
|
|
154
154
|
var content = '';
|
|
155
155
|
try {
|