create-vxrn
Advanced tools
Comparing version 1.1.387 to 1.1.388
@@ -57,15 +57,3 @@ var __create = Object.create; | ||
shouldIgnoreFile(filePath) || ((await import_fs_extra.default.stat(filePath)).isDirectory() || await replaceNameInUTF8File(filePath, projectName, "bare"), shouldRenameFile(filePath, placeholderName) ? await renameFile(filePath, placeholderName, projectName) : shouldRenameFile(filePath, placeholderName.toLowerCase()) && await renameFile(filePath, placeholderName.toLowerCase(), projectName.toLowerCase())); | ||
await replaceNameInUTF8File( | ||
"android/app/build.gradle", | ||
"../../node_modules/", | ||
"../../../../node_modules/" | ||
), await replaceNameInUTF8File( | ||
"android/settings.gradle", | ||
"../node_modules/", | ||
"../../../node_modules/" | ||
), await replaceNameInUTF8File( | ||
`ios/${projectName}.xcodeproj/project.pbxproj`, | ||
"../node_modules/react-native/scripts/", | ||
"../../../node_modules/react-native/scripts/" | ||
), isFullClone && console.info(` | ||
isFullClone && console.info(` | ||
${import_ansis.default.green.bold("Done!")} Created a new project under ./${import_ansis.default.greenBright(projectName)} visit your project: | ||
@@ -72,0 +60,0 @@ \u2022 ${import_ansis.default.green("cd")} ${projectName} |
@@ -74,3 +74,3 @@ "use strict"; | ||
} | ||
await replaceNameInUTF8File("android/app/build.gradle", "../../node_modules/", "../../../../node_modules/"), await replaceNameInUTF8File("android/settings.gradle", "../node_modules/", "../../../node_modules/"), await replaceNameInUTF8File(`ios/${projectName}.xcodeproj/project.pbxproj`, "../node_modules/react-native/scripts/", "../../../node_modules/react-native/scripts/"), isFullClone && console.info(` | ||
isFullClone && console.info(` | ||
${import_ansis.default.green.bold("Done!")} Created a new project under ./${import_ansis.default.greenBright(projectName)} visit your project: | ||
@@ -77,0 +77,0 @@ \u2022 ${import_ansis.default.green("cd")} ${projectName} |
@@ -31,15 +31,3 @@ import ansis from "ansis"; | ||
shouldIgnoreFile(filePath) || ((await fs.stat(filePath)).isDirectory() || await replaceNameInUTF8File(filePath, projectName, "bare"), shouldRenameFile(filePath, placeholderName) ? await renameFile(filePath, placeholderName, projectName) : shouldRenameFile(filePath, placeholderName.toLowerCase()) && await renameFile(filePath, placeholderName.toLowerCase(), projectName.toLowerCase())); | ||
await replaceNameInUTF8File( | ||
"android/app/build.gradle", | ||
"../../node_modules/", | ||
"../../../../node_modules/" | ||
), await replaceNameInUTF8File( | ||
"android/settings.gradle", | ||
"../node_modules/", | ||
"../../../node_modules/" | ||
), await replaceNameInUTF8File( | ||
`ios/${projectName}.xcodeproj/project.pbxproj`, | ||
"../node_modules/react-native/scripts/", | ||
"../../../node_modules/react-native/scripts/" | ||
), isFullClone && console.info(` | ||
isFullClone && console.info(` | ||
${ansis.green.bold("Done!")} Created a new project under ./${ansis.greenBright(projectName)} visit your project: | ||
@@ -46,0 +34,0 @@ \u2022 ${ansis.green("cd")} ${projectName} |
@@ -47,3 +47,3 @@ import ansis from "ansis"; | ||
} | ||
await replaceNameInUTF8File("android/app/build.gradle", "../../node_modules/", "../../../../node_modules/"), await replaceNameInUTF8File("android/settings.gradle", "../node_modules/", "../../../node_modules/"), await replaceNameInUTF8File(`ios/${projectName}.xcodeproj/project.pbxproj`, "../node_modules/react-native/scripts/", "../../../node_modules/react-native/scripts/"), isFullClone && console.info(` | ||
isFullClone && console.info(` | ||
${ansis.green.bold("Done!")} Created a new project under ./${ansis.greenBright(projectName)} visit your project: | ||
@@ -50,0 +50,0 @@ \u2022 ${ansis.green("cd")} ${projectName} |
{ | ||
"name": "create-vxrn", | ||
"version": "1.1.387", | ||
"version": "1.1.388", | ||
"bin": "run.js", | ||
@@ -32,3 +32,3 @@ "main": "dist/cjs", | ||
"@types/validate-npm-package-name": "^4.0.2", | ||
"@vxrn/utils": "1.1.387", | ||
"@vxrn/utils": "1.1.388", | ||
"ansis": "^3.1.0", | ||
@@ -35,0 +35,0 @@ "async-retry": "1.3.1", |
@@ -67,21 +67,2 @@ import ansis from 'ansis' | ||
// Inside vxrn's monorepo some paths are changed to root's node-modules, when generating a new project these should be changed. | ||
await replaceNameInUTF8File( | ||
'android/app/build.gradle', | ||
'../../node_modules/', | ||
'../../../../node_modules/' | ||
) | ||
await replaceNameInUTF8File( | ||
'android/settings.gradle', | ||
'../node_modules/', | ||
'../../../node_modules/' | ||
) | ||
await replaceNameInUTF8File( | ||
`ios/${projectName}.xcodeproj/project.pbxproj`, | ||
'../node_modules/react-native/scripts/', | ||
'../../../node_modules/react-native/scripts/' | ||
) | ||
if (isFullClone) { | ||
@@ -88,0 +69,0 @@ console.info(` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
345460
4808
+ Added@vxrn/utils@1.1.388(transitive)
- Removed@vxrn/utils@1.1.387(transitive)
Updated@vxrn/utils@1.1.388