From 547b219cb352423d4143660f3f9cb1db26ae3464 Mon Sep 17 00:00:00 2001 From: Jelle Siderius Date: Mon, 22 May 2023 12:30:45 +0200 Subject: [PATCH] Release 1.0.1 --- dist/tasks/magentoConfigureTask.js | 2 +- dist/tasks/magentoConfigureTask.js.map | 2 +- package-lock.json | 2 +- package.json | 2 +- src/tasks/magentoConfigureTask.ts | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dist/tasks/magentoConfigureTask.js b/dist/tasks/magentoConfigureTask.js index ed30456..e848c32 100644 --- a/dist/tasks/magentoConfigureTask.js +++ b/dist/tasks/magentoConfigureTask.js @@ -36,7 +36,7 @@ class MagentoConfigureTask { baseUrl = 'https://' + config.settings.magentoLocalhostDomainName + '/'; } // Insert queries - var dbQueryInsert = "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/unsecure/base_static_url', '{{unsecure_base_url}}static/');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/unsecure/base_media_url', '{{unsecure_base_url}}media/');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/unsecure/base_link_url', '{{unsecure_base_url}}');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/secure/base_static_url', '{{secure_base_url}}static/');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/secure/base_media_url', '{{secure_base_url}}media/');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/secure/base_link_url', '{{secure_base_url}}');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/unsecure/base_url', '" + baseUrl + "');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/secure/base_url', '" + baseUrl + "');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'dev/static/sign', '0');"; + var dbQueryInsert = "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/unsecure/base_static_url', '{{unsecure_base_url}}static/');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/unsecure/base_media_url', '{{unsecure_base_url}}media/');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/unsecure/base_link_url', '{{unsecure_base_url}}');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/secure/base_static_url', '{{secure_base_url}}static/');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/secure/base_media_url', '{{secure_base_url}}media/');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/secure/base_link_url', '{{secure_base_url}}');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/unsecure/base_url', '" + baseUrl + "');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/secure/base_url', '" + baseUrl + "');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'msp_devtools/general/enabled', '1');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'dev/static/sign', '0');"; // Build up query dbQuery = dbQuery + dbQueryRemove + dbQueryUpdate + dbQueryInsert; // Set import domain for final message on completing all tasks diff --git a/dist/tasks/magentoConfigureTask.js.map b/dist/tasks/magentoConfigureTask.js.map index 3002335..467ee16 100644 --- a/dist/tasks/magentoConfigureTask.js.map +++ b/dist/tasks/magentoConfigureTask.js.map @@ -1 +1 @@ -{"version":3,"file":"magentoConfigureTask.js","sourceRoot":"","sources":["../../src/tasks/magentoConfigureTask.ts"],"names":[],"mappings":";;;AAAA,8CAA4D;AAE5D,uFAAmD;AACnD,oDAAoB;AAEpB,MAAM,oBAAoB;IAA1B;QACY,mBAAc,GAAG,EAAE,CAAC;QAE5B,cAAS,GAAG,CAAO,IAAS,EAAE,MAAW,EAAE,EAAE;YACzC,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YAClC,OAAO,IAAI,CAAC;QAChB,CAAC,CAAA,CAAA;QAED,YAAY;QACZ,aAAQ,GAAG,CAAO,IAAS,EAAE,MAAW,EAAE,EAAE;YACxC,IAAI,CAAC,GAAG,CACJ;gBACI,KAAK,EAAE,2CAA2C;gBAClD,IAAI,EAAE,CAAC,GAAQ,EAAE,IAAS,EAAS,EAAE,CACrC,IAAI,CAAC,QAAQ,CACT,IAAI,CAAC,cAAc,CACtB;aACJ,CACJ,CAAA;YAED,IAAI,CAAC,cAAc,CAAC,IAAI,CACpB;gBACI,KAAK,EAAE,4DAA4D;gBACnE,IAAI,EAAE,GAAwB,EAAE;oBAC5B,IAAI,OAAO,GAAG,EAAE,CAAC;oBACjB,iBAAiB;oBACjB,IAAI,aAAa,GAAG,0EAA0E,EAC1F,aAAa,GAAG,aAAa,GAAG,iEAAiE,EACjG,aAAa,GAAG,aAAa,GAAG,wDAAwD,EACxF,aAAa,GAAG,aAAa,GAAG,sEAAsE,EACtG,aAAa,GAAG,aAAa,GAAG,2EAA2E,EAC3G,aAAa,GAAG,aAAa,GAAG,8EAA8E,EAC9G,aAAa,GAAG,aAAa,GAAG,6EAA6E,EAC7G,aAAa,GAAG,aAAa,GAAG,4EAA4E,EAC5G,aAAa,GAAG,aAAa,GAAG,uEAAuE,EACvG,aAAa,GAAG,aAAa,GAAG,4EAA4E,CAAA;oBAC5G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,CAAC,CAAA;aACJ,CACJ,CAAC;QACN,CAAC,CAAA,CAAA;IACL,CAAC;CAAA;AAED,kBAAe,oBAAoB,CAAA"} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index f17b7d9..e26c86d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "mage-db-sync", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 217f74c..7ed7bec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mage-db-sync", - "version": "1.0.0", + "version": "1.0.1", "description": "Database synchronizer for Magento, based on Magerun", "author": { "name": "Jelle Siderius" diff --git a/src/tasks/magentoConfigureTask.ts b/src/tasks/magentoConfigureTask.ts index d3f1794..a2a2369 100644 --- a/src/tasks/magentoConfigureTask.ts +++ b/src/tasks/magentoConfigureTask.ts @@ -66,6 +66,7 @@ class MagentoConfigureTask { dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/secure/base_link_url', '{{secure_base_url}}');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/unsecure/base_url', '" + baseUrl + "');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'web/secure/base_url', '" + baseUrl + "');", + dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'msp_devtools/general/enabled', '1');", dbQueryInsert = dbQueryInsert + "INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', '0', 'dev/static/sign', '0');"; // Build up query