@jpmorganchase/mosaic-workflows 0.1.0-beta.6 → 0.1.0-beta.7
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.
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @jpmorganchase/mosaic-workflows
|
|
2
|
+
|
|
3
|
+
## 0.1.0-beta.7
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 46adaec: Initial release of theme and client side search
|
|
8
|
+
|
|
9
|
+
We are iterating towards deploying our site code.
|
|
10
|
+
|
|
11
|
+
This release includes
|
|
12
|
+
|
|
13
|
+
- initial work for client-side search support
|
|
14
|
+
- Mosaic theme.
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [46adaec]
|
|
19
|
+
- @jpmorganchase/mosaic-serialisers@0.1.0-beta.7
|
|
20
|
+
- @jpmorganchase/mosaic-source-git-repo@0.1.0-beta.7
|
|
21
|
+
- @jpmorganchase/mosaic-types@0.1.0-beta.7
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { BitbucketSourceOptions } from '@jpmorganchase/mosaic-source-bitbucket';
|
|
2
1
|
import type { SourceWorkflow } from '@jpmorganchase/mosaic-types';
|
|
3
|
-
|
|
4
|
-
apiEndpoint: string;
|
|
5
|
-
commitMessage: (filePath: string) => string;
|
|
6
|
-
titlePrefix: string;
|
|
7
|
-
}
|
|
8
|
-
declare const workflow: SourceWorkflow<BitbucketSourceOptions, BitBucketPullRequestWorkflowOptions>;
|
|
2
|
+
declare const workflow: SourceWorkflow;
|
|
9
3
|
export default workflow;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const path_1 = __importDefault(require("path"));
|
|
7
7
|
const fs_1 = __importDefault(require("fs"));
|
|
8
8
|
const uuid_1 = require("uuid");
|
|
9
|
-
const
|
|
9
|
+
const mosaic_source_git_repo_1 = require("@jpmorganchase/mosaic-source-git-repo");
|
|
10
10
|
const mdx_1 = __importDefault(require("@jpmorganchase/mosaic-serialisers/dist/mdx"));
|
|
11
11
|
let repoInstance = null;
|
|
12
12
|
async function createPullRequest(sourceOptions, { apiEndpoint, commitMessage, titlePrefix }, filePath, { user, markdown }) {
|
|
@@ -16,7 +16,7 @@ async function createPullRequest(sourceOptions, { apiEndpoint, commitMessage, ti
|
|
|
16
16
|
return false;
|
|
17
17
|
}
|
|
18
18
|
if (!repoInstance) {
|
|
19
|
-
repoInstance = new
|
|
19
|
+
repoInstance = new mosaic_source_git_repo_1.Repo(credentials, remote, sourceBranch, repoUrl);
|
|
20
20
|
await repoInstance.init();
|
|
21
21
|
}
|
|
22
22
|
const branchName = `${user.sid.toLowerCase()}-${(0, uuid_1.v4)()}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BitBucketPullRequestWorkflow.js","sourceRoot":"","sources":["../src/BitBucketPullRequestWorkflow.ts"],"names":[],"mappings":";;;;;AAAA,gDAAwB;AACxB,4CAAoB;AACpB,+BAAoC;AACpC,
|
|
1
|
+
{"version":3,"file":"BitBucketPullRequestWorkflow.js","sourceRoot":"","sources":["../src/BitBucketPullRequestWorkflow.ts"],"names":[],"mappings":";;;;;AAAA,gDAAwB;AACxB,4CAAoB;AACpB,+BAAoC;AACpC,kFAAmF;AACnF,qFAAwE;AAcxE,IAAI,YAAY,GAAgB,IAAI,CAAC;AAErC,KAAK,UAAU,iBAAiB,CAC9B,aAAmC,EACnC,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,EAAuC,EAChF,QAAgB,EAChB,EAAE,IAAI,EAAE,QAAQ,EAAoC;IAEpD,MAAM,EACJ,WAAW,EACX,MAAM,EACN,MAAM,EAAE,YAAY,EACpB,IAAI,EAAE,OAAO,EACb,SAAS,EACT,SAAS,EACV,GAAG,aAAa,CAAC;IAElB,IAAI,CAAC,OAAO,IAAI,CAAC,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AAE,GAAG,YAAY,CAAC,QAAQ,EAAE;gBAChC,IAAI,EAAE,IAAI;gBACV,OAAO,EAAE;oBACP,GAAG,EAAE,GAAG,YAAY,CAAC,WAAW,EAAE;iBACnC;aACF;SACF;QACD,KAAK,EAAE;YACL,EAAE,EAAE,cAAc,YAAY,EAAE;YAChC,UAAU,EAAE;gBACV,IAAI,EAAE,GAAG,YAAY,CAAC,QAAQ,EAAE;gBAChC,IAAI,EAAE,IAAI;gBACV,OAAO,EAAE;oBACP,GAAG,EAAE,GAAG,YAAY,CAAC,WAAW,EAAE;iBACnC;aACF;SACF;KACF,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,GAAG,WAAW,aAAa,YAAY,CAAC,WAAW,UAAU,YAAY,CAAC,QAAQ,gBAAgB,CAAC;IAEpH,OAAO,YAAY,CAAC,iBAAiB,CACnC,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,aAAa,CAAC,QAAQ,CAAC,CACxB,CAAC;AACJ,CAAC;AAED,MAAM,QAAQ,GAAmB;IAC/B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE;QACP,WAAW,EAAE,aAAa;QAC1B,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,IAAI,EAAE;QAChD,aAAa,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,yBAAyB,QAAQ,aAAa;KACpF;IACD,MAAM,EAAE,iBAAiB;CAC1B,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jpmorganchase/mosaic-workflows",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.7",
|
|
4
4
|
"author": "",
|
|
5
5
|
"description": "Mosaic workflows for core file system",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"@types/uuid": "^8.3.4"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@jpmorganchase/mosaic-serialisers": "^0.1.0-beta.
|
|
27
|
-
"@jpmorganchase/mosaic-source-
|
|
28
|
-
"@jpmorganchase/mosaic-types": "^0.1.0-beta.
|
|
26
|
+
"@jpmorganchase/mosaic-serialisers": "^0.1.0-beta.7",
|
|
27
|
+
"@jpmorganchase/mosaic-source-git-repo": "^0.1.0-beta.7",
|
|
28
|
+
"@jpmorganchase/mosaic-types": "^0.1.0-beta.7",
|
|
29
29
|
"uuid": "^7.0.3"
|
|
30
30
|
}
|
|
31
31
|
}
|