Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.2.0 #1597

Merged
merged 55 commits into from
Aug 23, 2024
Merged

7.2.0 #1597

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
229c5cf
#1558: add custom git-fork commands pull and switch & pull
JoernBerkefeld Aug 9, 2024
53c87fb
#1558: actually attempting to skip hooks
JoernBerkefeld Aug 9, 2024
7cab7fa
#1558: add custom command checkout; prefix command names, change loca…
JoernBerkefeld Aug 9, 2024
dd950dd
#1558: fix variable
JoernBerkefeld Aug 9, 2024
7083713
#1558: Group Commands in Folders & update variables to new format
JoernBerkefeld Aug 9, 2024
6e618e9
Merge pull request #1559 from Accenture/task/1558-allow-git-switch-wi…
JoernBerkefeld Aug 9, 2024
9db896b
#1558: fixes around orgin/branch vs branch
JoernBerkefeld Aug 9, 2024
f013938
Merge pull request #1560 from Accenture/task/1558-allow-git-switch-wi…
JoernBerkefeld Aug 9, 2024
1ef95d1
#1558: remove checkout&pull from local branch
JoernBerkefeld Aug 9, 2024
3a60216
#1558: fix merge command to use local branch
JoernBerkefeld Aug 9, 2024
9d143fd
#1558: add commit w/o hooks command
JoernBerkefeld Aug 9, 2024
124bfe1
Bump typescript from 5.5.3 to 5.5.4
dependabot[bot] Aug 12, 2024
c65095a
Merge pull request #1564 from Accenture/dependabot/npm_and_yarn/devel…
JoernBerkefeld Aug 13, 2024
8a3fed2
#1574 Fix overwriting parser
BlakeTnr Aug 16, 2024
1764bd5
Merge branch 'develop' into main
JoernBerkefeld Aug 19, 2024
c4a8dae
Merge pull request #1575 from BlakeTnr/main
JoernBerkefeld Aug 19, 2024
91b2d3e
Bump @eslint/js from 9.8.0 to 9.9.0
dependabot[bot] Aug 19, 2024
1a80e53
Merge pull request #1565 from Accenture/dependabot/npm_and_yarn/devel…
JoernBerkefeld Aug 19, 2024
f8982df
Bump lint-staged from 15.2.7 to 15.2.9
dependabot[bot] Aug 19, 2024
8316171
Merge pull request #1571 from Accenture/dependabot/npm_and_yarn/devel…
JoernBerkefeld Aug 19, 2024
a45598f
Bump @types/node from 22.0.2 to 22.4.1
dependabot[bot] Aug 19, 2024
6f9f1dc
Merge pull request #1577 from Accenture/dependabot/npm_and_yarn/devel…
JoernBerkefeld Aug 19, 2024
46f7d25
Bump @types/yargs from 17.0.32 to 17.0.33
dependabot[bot] Aug 19, 2024
d18fd61
Merge pull request #1581 from Accenture/dependabot/npm_and_yarn/devel…
JoernBerkefeld Aug 19, 2024
19e95c6
Bump eslint-plugin-jsdoc from 49.0.0 to 50.2.2
dependabot[bot] Aug 19, 2024
c30d4b2
Merge pull request #1582 from Accenture/dependabot/npm_and_yarn/devel…
JoernBerkefeld Aug 19, 2024
5f753ea
Bump eslint from 9.8.0 to 9.9.0
dependabot[bot] Aug 19, 2024
97f4cca
Merge pull request #1583 from Accenture/dependabot/npm_and_yarn/devel…
JoernBerkefeld Aug 19, 2024
f7ac94e
Bump mocha from 10.7.0 to 10.7.3
dependabot[bot] Aug 19, 2024
1cdacd8
Merge pull request #1579 from Accenture/dependabot/npm_and_yarn/devel…
JoernBerkefeld Aug 19, 2024
783f1af
Bump update-notifier from 7.0.0 to 7.2.0
dependabot[bot] Aug 19, 2024
f1bb934
Merge pull request #1580 from Accenture/dependabot/npm_and_yarn/devel…
JoernBerkefeld Aug 19, 2024
a64f273
Bump winston from 3.13.1 to 3.14.2
dependabot[bot] Aug 19, 2024
cd46853
Merge pull request #1578 from Accenture/dependabot/npm_and_yarn/devel…
JoernBerkefeld Aug 19, 2024
b60edf2
Merge branch 'main' into develop
JoernBerkefeld Aug 19, 2024
deae544
Bump husky from 9.1.4 to 9.1.5
dependabot[bot] Aug 21, 2024
d721840
Merge pull request #1584 from Accenture/dependabot/npm_and_yarn/devel…
JoernBerkefeld Aug 21, 2024
f717549
Bump @types/node from 22.4.1 to 22.4.2
dependabot[bot] Aug 21, 2024
fab9f62
Merge pull request #1585 from Accenture/dependabot/npm_and_yarn/devel…
JoernBerkefeld Aug 21, 2024
58547ae
#1588: fix post-retrieve processing of transactional email journeys
JoernBerkefeld Aug 22, 2024
199be04
#1588: fix preDeploy tasks allowing deployment even if the associated…
JoernBerkefeld Aug 22, 2024
030e587
Merge pull request #1591 from Accenture/bug/1588-downloading-transact…
JoernBerkefeld Aug 22, 2024
02b1675
#1592: remove transactionalEmail from journey dependencyGraph
JoernBerkefeld Aug 22, 2024
3182371
Merge pull request #1594 from Accenture/task/1592-remove-transactiona…
JoernBerkefeld Aug 22, 2024
82aad96
#1590: warn users not to create transactionalEmail directly
JoernBerkefeld Aug 22, 2024
c860d7c
#1590: change download-journey reminder to new -m format
JoernBerkefeld Aug 22, 2024
64a7894
Merge pull request #1595 from Accenture/task/1590-advice-to-create-tr…
JoernBerkefeld Aug 22, 2024
a5f2be6
#1589: allow creating transactionalEmail by publishing a transactiona…
JoernBerkefeld Aug 23, 2024
94d62b3
#1589: fix existing tests for publishing journeys
JoernBerkefeld Aug 23, 2024
bcd804a
#1589: re-retrieve journey and retrieve transactionalEmail after publ…
JoernBerkefeld Aug 23, 2024
aa5eb82
#1589: ensure attempt to publish already published journeys throws an…
JoernBerkefeld Aug 23, 2024
2ec0b15
#1589: add tests for publishing transactional journeys
JoernBerkefeld Aug 23, 2024
81b7068
#1589: add clickable soap/rest call resource links to tests
JoernBerkefeld Aug 23, 2024
b8bd61a
#1589: adapt other tests for changes made for transactional journey t…
JoernBerkefeld Aug 23, 2024
5415424
Merge pull request #1596 from Accenture/feature/1589-publish-journey-…
JoernBerkefeld Aug 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 123 additions & 21 deletions .fork/custom-commands.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,140 @@
[
{
"name": "Create PR to develop branch",
"target": "ref",
"refTargets": [
"version" : 1
},
{
"action" : {
"type" : "url",
"url" : "https://github.com/Accenture/sfmc-devtools/compare/main...${ref:short}?expand=1&template=pr_template_release.md"
},
"name" : "Create PR/Release-PR to master branch",
"refTargets" : [
"localbranch",
"remotebranch"
],
"action": {
"type": "url",
"url": "https://github.com/Accenture/sfmc-devtools/compare/develop...$shortname?expand=1"
}
"target" : "ref"
},
{
"name": "Create PR to hotfix branch",
"target": "ref",
"refTargets": [
"action" : {
"type" : "url",
"url" : "https://github.com/Accenture/sfmc-devtools/compare/develop...${ref:short}?expand=1"
},
"name" : "Create PR/To develop branch",
"refTargets" : [
"localbranch",
"remotebranch"
],
"action": {
"type": "url",
"url": "https://github.com/Accenture/sfmc-devtools/compare/hotfix...$shortname?expand=1"
}
"target" : "ref"
},
{
"action" : {
"type" : "url",
"url" : "https://github.com/Accenture/sfmc-devtools/compare/hotfix...${ref:short}?expand=1"
},
"name" : "Create PR/To hotfix branch",
"refTargets" : [
"localbranch",
"remotebranch"
],
"target" : "ref"
},
{
"action" : {
"script" : "SKIP_HOOKS=1 git switch ${ref}",
"showOutput" : false,
"type" : "sh",
"waitForExit" : true
},
"name" : "Skip Hooks/Checkout",
"refTargets" : [
"localbranch"
],
"target" : "ref"
},
{
"name": "Create Release-PR to master branch",
"target": "ref",
"refTargets": [
"action" : {
"script" : "SKIP_HOOKS=1 git switch ${ref:short} && SKIP_HOOKS=2 git pull",
"showOutput" : false,
"type" : "sh",
"waitForExit" : true
},
"name" : "Skip Hooks/Checkout & Pull",
"refTargets" : [
"remotebranch"
],
"target" : "ref"
},
{
"name" : "Skip Hooks/Commit",
"refTargets" : [
"localbranch",
"remotebranch"
],
"action": {
"type": "url",
"url": "https://github.com/Accenture/sfmc-devtools/compare/main...$shortname?expand=1&template=pr_template_release.md"
"target" : "ref",
"ui" : {
"buttons" : [
{
"action" : {
"args" : "commit -n -m \"$1{text}\" -m \" $2{text}\"",
"path" : "${git}",
"showOutput" : false,
"type" : "process",
"waitForExit" : true
},
"title" : "Commit without Hooks"
},
{
"action" : {
"type" : "cancel"
},
"title" : "Cancel"
}
],
"controls" : [
{
"placeholder" : "",
"text" : "",
"textBoxType" : "generic",
"title" : "Commit subject",
"type" : "textBox"
},
{
"placeholder" : "",
"text" : "",
"textBoxType" : "generic",
"title" : "Description",
"type" : "textBox"
}
],
"description" : "This will create a commit but not run pre-commit hooks",
"title" : "Commit skipping Hooks"
}
},
{
"action" : {
"script" : "SKIP_HOOKS=4 git merge ${ref:short}",
"showOutput" : false,
"type" : "sh",
"waitForExit" : true
},
"name" : "Skip Hooks/Merge into current branch",
"refTargets" : [
"localbranch"
],
"target" : "ref"
},
{
"action" : {
"script" : "SKIP_HOOKS=3 git pull",
"showOutput" : false,
"type" : "sh",
"waitForExit" : true
},
"name" : "Skip Hooks/Pull",
"refTargets" : [
"localbranch",
"remotebranch"
],
"target" : "ref"
}
]
]
7 changes: 6 additions & 1 deletion .husky/post-checkout
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ then
TICKETID="0"
fi
TEMPLATE="#$TICKETID: "
echo "[POST_CHECKOUT] Setting template commit to '$TEMPLATE'"
echo "[POST-CHECKOUT] Setting template commit to '$TEMPLATE'"
# wrap $TEMPLATE in quotes or else it is trimmed automatically
echo "$TEMPLATE" > ".git/templatemessage"


if [[ $SKIP_HOOKS>0 ]]; then
echo "[POST-CHECKOUT] skipping hooks ($SKIP_HOOKS)"
exit 0
fi

# ### run npm install ###
echo "[POST-CHECKOUT] 📦 Checking for changes to dependencies"
# define how to split strings into array elements
Expand Down
5 changes: 5 additions & 0 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
if [[ $SKIP_HOOKS>0 ]]; then
echo "[POST-MERGE] skipping hooks ($SKIP_HOOKS)"
exit 0
fi

# ### run npm install ###
echo "[POST-MERGE] 📦 Checking for changes to dependencies"
# define how to split strings into array elements
Expand Down
1 change: 0 additions & 1 deletion @types/lib/metadataTypes/Journey.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion @types/lib/metadataTypes/Journey.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion @types/lib/metadataTypes/TransactionalEmail.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion @types/lib/util/file.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading