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

New: migration.js added to grunt tasks (fixes #3632) #3633

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

joe-allen-89
Copy link
Contributor

#3632

New

@joe-allen-89 joe-allen-89 self-assigned this Jan 7, 2025
@joe-allen-89 joe-allen-89 linked an issue Jan 7, 2025 that may be closed by this pull request
Comment on lines +110 to +115
// Todo - {
// display changes success/failure and request user confirmation before completing
// move saving of content outside of the language loop
// only 1 confirmation per course rather than 1 per language
// output journal entries for revert
// }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed?

const stripped = isSingleObject
? undressPathIndex(outputItems[0]) // config.json, course.json
: outputItems.map(undressPathIndex); // contentObjects.json, articles.json, blocks.json, components.json
// console.log(journal.entries)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed?

Copy link
Contributor

@swashbuck swashbuck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

Add migration grunt file to framework
3 participants