Skip to content

Commit

Permalink
pkp/pkp-lib#7495 Update jsconfig to work correctly with current VS co…
Browse files Browse the repository at this point in the history
…de, clean up
  • Loading branch information
jardakotesovec committed May 1, 2024
1 parent 313ce33 commit dadaa5e
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 67 deletions.
4 changes: 2 additions & 2 deletions js/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import WorkflowPage from '@/components/Container/WorkflowPageOJS.vue';
import JobsPage from '@/components/Container/JobsPage.vue';
import FailedJobsPage from '@/components/Container/FailedJobsPage.vue';
import FailedJobDetailsPage from '@/components/Container/FailedJobDetailsPage.vue';
import SubmissionsPage from '@/pages/submissions/SubmissionsPage.vue';
import DashboardPage from '@/pages/dashboard/DashboardPage.vue';

// Expose Vue, the registry and controllers in a global var
window.pkp = Object.assign(PkpLoad, window.pkp || {}, {
Expand Down Expand Up @@ -65,6 +65,6 @@ window.pkp = Object.assign(PkpLoad, window.pkp || {}, {
StatsUsersPage,
SubmissionWizardPage,
WorkflowPage,
SubmissionsPage,
DashboardPage,
},
});
4 changes: 2 additions & 2 deletions jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/components/*": ["lib/ui-library/src/components/*"]
"@/*": ["lib/ui-library/src/*"]
}
},
"exclude": ["node_modules"]
"include": ["lib/ui-library/src/**/*"]
}
37 changes: 36 additions & 1 deletion registry/uiLocaleKeysBackend.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,16 @@
"doi.manager.versions.countStatement",
"doi.manager.versions.modalTitle",
"doi.manager.versions.view",
"editor.review.cancelReviewer",
"editor.review.resendRequestReviewer",
"editor.review.reviewDetails",
"editor.review.unassignReviewer",
"editor.submission.addStageParticipant",
"editor.submission.decision.requestRevisions",
"editor.submission.search",
"editor.submission.viewSummary",
"editor.submissionArchive.confirmDelete",
"editor.submissionReview.editReview",
"form.dataHasChanged",
"form.errorA11y",
"form.errorGoTo",
Expand Down Expand Up @@ -107,6 +114,7 @@
"manager.dois.registration.viewError",
"manager.dois.registration.viewError.title",
"manager.dois.registration.viewRecord",
"manager.dois.registration.viewRecord.title",
"manager.dois.status.error",
"manager.dois.status.error.description",
"manager.dois.status.error.filterTitle",
Expand All @@ -130,6 +138,7 @@
"publication.jats.confirmDeleteFileMessage",
"publication.jats.confirmDeleteFileTitle",
"publication.jats.lastModified",
"publication.selectIssue",
"publication.status.published",
"publication.status.unpublished",
"publication.version",
Expand All @@ -139,6 +148,33 @@
"reviewer.article.decision.resubmitElsewhere",
"reviewer.article.decision.resubmitHere",
"reviewer.article.decision.seeComments",
"reviewer.article.recommendation",
"reviewer.submission.acceptedOn",
"reviewer.submission.responseDueDate",
"reviewer.submission.reviewDueDate",
"reviewer.submission.reviewRequestDate",
"reviewer.submission.reviewRound.attachments",
"reviewer.submission.reviewRound.attachments.description",
"reviewer.submission.reviewRound.comments",
"reviewer.submission.reviewRound.comments.authorAndEditor",
"reviewer.submission.reviewRound.comments.editorOnly",
"reviewer.submission.reviewRound.comments.prefix",
"reviewer.submission.reviewRound.emailLog",
"reviewer.submission.reviewRound.emailLog.defaultMessage",
"reviewer.submission.reviewRound.files",
"reviewer.submission.reviewRound.files.description",
"reviewer.submission.reviewRound.general",
"reviewer.submission.reviewRound.info",
"reviewer.submission.reviewRound.info.modal.title",
"reviewer.submission.reviewRound.info.read",
"reviewer.submission.reviewRound.info.submittedOn",
"reviewer.submission.reviewRound.metadata",
"reviewer.submission.reviewRound.metadata.abstract",
"reviewer.submission.reviewRound.metadata.keywords",
"reviewer.submission.reviewRound.metadata.type",
"reviewer.submission.reviewRound.reviewDeclineDate",
"reviewer.submission.reviewRound.reviewNotCompleted",
"reviewer.submission.submittedOn",
"stats.countWithYearlyAverage",
"stats.descriptionForStat",
"submission.list.assignEditor",
Expand Down Expand Up @@ -182,7 +218,6 @@
"submission.list.reviewerWorkflowLink",
"submission.list.reviewsCompleted",
"submission.list.revisionsSubmitted",
"submission.round",
"submission.submit.newSubmissionSingle",
"submission.upload.percentComplete",
"submissions.incomplete",
Expand Down
62 changes: 0 additions & 62 deletions vue.config.js

This file was deleted.

0 comments on commit dadaa5e

Please sign in to comment.