cob-cli 2.20.0 → 2.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commands/init.js +5 -1
- package/package.json +1 -1
- package/templates/dashboards/dash/dist/css/app.7b16c01a.css +11 -0
- package/templates/dashboards/dash/dist/dashboard.html +4 -4
- package/templates/dashboards/dash/dist/js/{app.8befbbc1.js → app.13b950c8.js} +3 -3
- package/templates/dashboards/dash/dist/js/app.13b950c8.js.map +1 -0
- package/templates/dashboards/dash/src/App.vue +47 -55
- package/templates/dashboards/dash/src/components/Menu.vue +1 -1
- package/templates/dashboards/dash/src/output.css +44803 -38
- package/templates/dashboards/dash/tailwind.config.js +1 -1
- package/templates/frontend/common/js/cob/_group_references.js +15 -12
- package/templates/dashboards/dash/dist/css/app.40fc4e43.css +0 -11
- package/templates/dashboards/dash/dist/js/app.8befbbc1.js.map +0 -1
package/lib/commands/init.js
CHANGED
|
@@ -49,7 +49,11 @@ function projectPathOkFor(projectName) {
|
|
|
49
49
|
|
|
50
50
|
/* ************************************ */
|
|
51
51
|
async function notInsideGitRepo() {
|
|
52
|
-
let isRepo =
|
|
52
|
+
let isRepo = false
|
|
53
|
+
try {
|
|
54
|
+
isRepo = await git().checkIsRepo()
|
|
55
|
+
} catch {}
|
|
56
|
+
|
|
53
57
|
if(!isRepo) return true
|
|
54
58
|
console.log("\nError:".red,"current directory is part of a repository git.\n");
|
|
55
59
|
}
|
package/package.json
CHANGED