Skip to content

Commit

Permalink
Merge pull request #16 from dichaudhary/release-1.2.2
Browse files Browse the repository at this point in the history
release-1.2.2
  • Loading branch information
dichaudhary authored Jul 20, 2021
2 parents 85b8ace + 24fae69 commit e5b3ee6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@adobe/aio-cli-plugin-aem-cloud-service-migration",
"description": "AEM Cloud Service Migration commands for the Adobe I/O CLI",
"version": "1.2.1",
"version": "1.2.2",
"repository": "adobe/aio-cli-plugin-aem-cloud-service-migration",
"author": "Adobe Inc.",
"license": "Apache-2.0",
Expand All @@ -13,10 +13,10 @@
"dependencies": {
"@adobe/aio-lib-core-config": "^2.0.0",
"@adobe/aio-lib-core-logging": "^1.1.0",
"@adobe/aem-cs-source-migration-dispatcher-converter": "^1.2.1",
"@adobe/aem-cs-source-migration-commons": "^0.0.3",
"@adobe/aem-cs-source-migration-repository-modernizer": "^1.2.0",
"@adobe/aem-cs-source-migration-index-converter": "^0.1.1",
"@adobe/aem-cs-source-migration-dispatcher-converter": "^1.3.0",
"@adobe/aem-cs-source-migration-commons": "^0.0.4",
"@adobe/aem-cs-source-migration-repository-modernizer": "^1.2.1",
"@adobe/aem-cs-source-migration-index-converter": "^0.1.2",
"@oclif/command": "^1.6.1",
"@oclif/config": "^1.15.1",
"@oclif/errors": "^1.1.2",
Expand Down
4 changes: 4 additions & 0 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ module.exports = {
WF_MIGRATOR_REPO_OWNER: "adobe",

WF_MIGRATOR_REPO_NAME: "aem-cloud-migration",

OPT_IN: "opt-in",

USE_SOURCES_DIRECTLY: "USE_SOURCES_DIRECTLY",
};
6 changes: 6 additions & 0 deletions src/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ function createBaseDispatcherConfig(src) {
src,
Commons.constants.TARGET_DISPATCHER_SRC_FOLDER
);
// ensures marker file is created if not present as part of dispatcher sdk
// marker file is used to validate the dispatcher configurations with latest checks
Commons.util.ensureFileExistsSync(
constants.USE_SOURCES_DIRECTLY,
path.join(Commons.constants.TARGET_DISPATCHER_SRC_FOLDER, constants.OPT_IN)
);
}

async function fetchLatestReleasedAsset(
Expand Down

0 comments on commit e5b3ee6

Please sign in to comment.