We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af7bcbc commit 2fef01bCopy full SHA for 2fef01b
scripts/migrate/migrate-4-5.js
@@ -41,6 +41,7 @@ function main() {
41
updatePackageJson()
42
updateTsConfig()
43
updateTsLintConfig()
44
+ updateRcFiles()
45
updatePrettier()
46
updateConfigDir()
47
updateScriptsDir()
@@ -297,3 +298,16 @@ function updatePrettier() {
297
298
299
log(kleur.green('==prettier config updated ✅ ==\n'))
300
}
301
+
302
+function updateRcFiles() {
303
+ const libPackagePath = PACKAGE_ROOT
304
305
+ const cpFiles = ['.travis.yml']
306
307
+ const cpItems = cpFiles.map((path) => join(ROOT, path))
308
309
+ sh.cp('-Rf', cpItems, `${libPackagePath}/`)
310
311
+ log(kleur.underline().white('== rc/config root files updated ✅ =='))
312
+ log(kleur.yellow('Copied: \n ' + cpItems.join('\n')))
313
+}
0 commit comments