@cocreate/cli
Advanced tools
Comparing version 1.13.14 to 1.13.15
@@ -0,1 +1,8 @@ | ||
## [1.13.15](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.13.14...v1.13.15) (2022-11-26) | ||
### Bug Fixes | ||
* json formating on bump ([6a4f780](https://github.com/CoCreate-app/CoCreate-cli/commit/6a4f78077f85f8fca20fc71fe8c9294ee7f07678)) | ||
## [1.13.14](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.13.13...v1.13.14) (2022-11-25) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@cocreate/cli", | ||
"version": "1.13.14", | ||
"version": "1.13.15", | ||
"description": "Polyrepo management bash CLI tool. Run all git commands and yarn commands on multiple repositories. Also includes a few custom macros for cloning, installing, etc.", | ||
@@ -76,4 +76,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@cocreate/docs": "^1.4.4", | ||
"@cocreate/hosting": "^1.6.3", | ||
"@cocreate/docs": "^1.4.5", | ||
"@cocreate/hosting": "^1.6.4", | ||
"colors": "latest", | ||
@@ -80,0 +80,0 @@ "glob": "^7.1.7", |
@@ -102,3 +102,5 @@ #!/usr/bin/env node | ||
if (command == 'bump'){ | ||
console.log('bumping') | ||
console.log('bumping') | ||
let predefined = path.resolve(__dirname, 'commands', command + '.js'); | ||
require(predefined)(repos, repos ) | ||
} | ||
@@ -105,0 +107,0 @@ if (command == 'gitConfig'){ |
@@ -31,2 +31,22 @@ | ||
// module.exports = async function run() { | ||
// try { | ||
// for (let [index, name] of nameList.entries()) { | ||
// getVersions(pathList[index] + '/package.json', `@${name}`) | ||
// } | ||
// console.log('bump versions', item) | ||
// for (let [index, name] of nameList.entries()) { | ||
// await bumpVersion(pathList[index] + '/package.json', name) | ||
// } | ||
// } catch (err) { | ||
// failed.push({ name: 'GENERAL', des: err.message }) | ||
// } | ||
// console.log('completed') | ||
// return failed | ||
// // process.exit() | ||
// } | ||
async function run() { | ||
@@ -94,4 +114,4 @@ // let failed = []; | ||
let str = JSON.stringify(object) | ||
let formated = prettier.format(str, { semi: false, parser: "json" }); | ||
// let str = JSON.stringify(object, null, 2) | ||
// let formated = prettier.format(str, { semi: false, parser: "json" }); | ||
@@ -104,3 +124,3 @@ filePath = filePath.replace('/package.json', '') | ||
fs.writeFileSync(Path, formated) | ||
fs.writeFileSync(Path, JSON.stringify(object, null, 2)) | ||
} | ||
@@ -107,0 +127,0 @@ } |
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
136883
2365
41
Updated@cocreate/docs@^1.4.5
Updated@cocreate/hosting@^1.6.4