Skip to content

Commit

Permalink
OHRM5X-2258: Bump OXD version to 2.0.1 (orangehrm#1711)
Browse files Browse the repository at this point in the history
  • Loading branch information
RajithaKumara authored Jul 4, 2023
1 parent 8741daa commit 341335e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
11 changes: 10 additions & 1 deletion installer/Migration/V5_5_0/Migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,22 @@ public function up(): void
{
$this->insertI18nGroups();
$groups = ['claim', 'general'];
$this->getLangStringHelper()->deleteNonCustomizedLangStrings('claim');
foreach ($groups as $group) {
$this->getLangStringHelper()->insertOrUpdateLangStrings($group);
}
$this->getLangStringHelper()->deleteNonCustomizedLangStrings('claim');

$this->updateLangStringVersion($this->getVersion());

$this->getLangHelper()->deleteLangStringByUnitId(
'this_page_is_being_developed',
$this->getLangHelper()->getGroupIdByName('general')
);
$this->getLangHelper()->deleteLangStringByUnitId(
'download_latest_release_with_all_features',
$this->getLangHelper()->getGroupIdByName('general')
);

if (!$this->getSchemaHelper()->tableExists(['ohrm_claim_event'])) {
$this->getSchemaHelper()->createTable('ohrm_claim_event')
->addColumn('id', Types::INTEGER, ['Autoincrement' => true])
Expand Down
2 changes: 1 addition & 1 deletion src/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "vue-cli-service lint --max-warnings=0 --mode production"
},
"dependencies": {
"@ohrm/oxd": "2.0.1-alpha.1",
"@ohrm/oxd": "2.0.1",
"axios": "^1.2.2",
"core-js": "^3.27.1",
"date-fns": "^2.22.1",
Expand Down
10 changes: 5 additions & 5 deletions src/client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2067,9 +2067,9 @@ __metadata:
languageName: node
linkType: hard

"@ohrm/oxd@npm:2.0.1-alpha.1":
version: 2.0.1-alpha.1
resolution: "@ohrm/oxd@npm:2.0.1-alpha.1"
"@ohrm/oxd@npm:2.0.1":
version: 2.0.1
resolution: "@ohrm/oxd@npm:2.0.1"
dependencies:
"@revolist/vue3-datagrid": ^3.2.17
chart.js: ^4.1.2
Expand All @@ -2078,7 +2078,7 @@ __metadata:
nanoid: ^4.0.0
peerDependencies:
vue: 3.x
checksum: 6b451af9ed067d57773225baef8192e29f16f8206867da64e28016199918706fea47a8769a3ce17de343352c331c5fc52e06183061de1160e839e20bf2f65da5
checksum: 56930b1d673aea40706bb27c90ad82991134f6f59dd41ec5d3a07c38ae10da5efcbc081183a95063028cbb15c6bb2e415b2ed74e10dfb21a3edab737181ca559
languageName: node
linkType: hard

Expand Down Expand Up @@ -8944,7 +8944,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "orangehrm@workspace:."
dependencies:
"@ohrm/oxd": 2.0.1-alpha.1
"@ohrm/oxd": 2.0.1
"@types/hammerjs": ^2.0.41
"@types/jest": ^27.0.1
"@typescript-eslint/eslint-plugin": ^5.4.0
Expand Down

0 comments on commit 341335e

Please sign in to comment.