Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = (args = {}) => {
warn('`check-dependencies` has been moved from \'@instructure/ui-scripts/lib/utils/check-dependencies\' to \'@instructure/ui-upgrade-scripts/lib/utils/check-dependencies\'.')
return checkDependencies(args)
}
exports.handler = async (argv) => {
const {
template,
path,
packageSource,
name,
values
} = argv
warn('This command has now been moved to `@instructure/ui-template-scripts`.')
handleCreateComponent({
componentTemplate: template,
path,
packageSource,
name,
values
})
}
exports.handler = (argv) => {
const {
template,
path,
name,
values
} = argv
warn('This command has now been moved to `@instructure/ui-template-scripts`.')
handleCreateFromTemplate({ template, path, name, values })
}
module.exports = function (args = {}) {
warn('`verify-package-json` has been moved from \'@instructure/ui-scripts/lib/utils/verify-package-json\' to \'@instructure/ui-upgrade-scripts/lib/utils/verify-package-json\'.')
verifyPackageJson(args)
}
module.exports = function (args = {}) {
warn('`promptContentName` has been moved from \'@instructure/ui-scripts/lib/utils/promptContentName\' to \'@instructure/ui-template-scripts/lib/utils/promptContentName\'.')
return promptContentName(args)
}
module.exports = (args = {}) => {
warn('`execute-codemod` has been moved from \'@instructure/ui-scripts/lib/utils/execute-codemod\' to \'@instructure/ui-upgrade-scripts/lib/utils/execute-codemod\'.')
executeCodemod(args)
}
module.exports = async (args = {}) => {
warn('`handleCreateComponent` has been moved from \'@instructure/ui-scripts/lib/handlers/handleCreateComponent\' to \'@instructure/ui-template-scripts/lib/handlers/handleCreateComponent\'.')
handleCreateComponent(args)
}
module.exports = function (args = {}) {
warn('`createFromTemplate` has been moved from \'@instructure/ui-scripts/lib/utils/createFromTemplate\' to \'@instructure/ui-template-scripts/lib/utils/createFromTemplate\'.')
return createFromTemplate(args)
}
module.exports = async (args = {}) => {
warn('`handleCreatePackage` has been moved from \'@instructure/ui-scripts/lib/handlers/handleCreatePackage\' to \'@instructure/ui-template-scripts/lib/handlers/handleCreatePackage\'.')
handleCreatePackage(args)
}
module.exports = async (args = {}) => {
warn('`handleCreateFromTemplate` has been moved from \'@instructure/ui-scripts/lib/handlers/handleCreateFromTemplate\' to \'@instructure/ui-template-scripts/lib/handlers/handleCreateFromTemplate\'.')
handleCreateFromTemplate(args)
}