cob-cli 2.13.0 → 2.13.3

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.
Files changed (35) hide show
  1. package/lib/task_lists/customize_copy.js +5 -1
  2. package/lib/task_lists/rsyncFilter.txt +1 -1
  3. package/package.json +1 -1
  4. package/templates/dashboards/dash/dist/css/app.97b1c4b4.css +8 -0
  5. package/templates/dashboards/dash/dist/dashboard.html +5 -5
  6. package/templates/dashboards/dash/dist/js/{app.f9c19b80.js → app.a1c26814.js} +9 -9
  7. package/templates/dashboards/dash/dist/js/app.a1c26814.js.map +1 -0
  8. package/templates/dashboards/dash/package-lock.json +3918 -5165
  9. package/templates/dashboards/dash/package.json +1 -1
  10. package/templates/dashboards/dash/src/App.vue +108 -64
  11. package/templates/dashboards/dash/src/collector.js +107 -35
  12. package/templates/dashboards/dash/src/components/Attention.vue +30 -0
  13. package/templates/dashboards/dash/src/components/Board.vue +22 -53
  14. package/templates/dashboards/dash/src/components/Dashboard.vue +24 -0
  15. package/templates/dashboards/dash/src/components/Filter.vue +58 -0
  16. package/templates/dashboards/dash/src/components/Kibana.vue +107 -0
  17. package/templates/dashboards/dash/src/components/Label.vue +15 -0
  18. package/templates/dashboards/dash/src/components/Menu.vue +33 -22
  19. package/templates/dashboards/dash/src/components/Totals.vue +35 -53
  20. package/templates/dashboards/dash/src/components/TotalsValue.vue +48 -59
  21. package/templates/dashboards/dash/src/dashboard.html +1 -1
  22. package/templates/dashboards/dash/src/definition_dashboard.json +741 -0
  23. package/templates/dashboards/dash/src/output.css +20103 -76122
  24. package/templates/dashboards/dash/tailwind.config.js +6 -10
  25. package/templates/frontend/common/js/cob/_show_hidden.js +1 -1
  26. package/templates/dashboards/dash/definition_dashboard_v59.json +0 -1
  27. package/templates/dashboards/dash/dist/css/app.2ca409ad.css +0 -8
  28. package/templates/dashboards/dash/dist/js/app.8423eff3.js +0 -188
  29. package/templates/dashboards/dash/dist/js/app.8423eff3.js.map +0 -1
  30. package/templates/dashboards/dash/dist/js/app.f9c19b80.js.map +0 -1
  31. package/templates/dashboards/dash/src/Dashboard.vue +0 -66
  32. package/templates/dashboards/dash/src/components/BoardsNav.vue +0 -23
  33. package/templates/dashboards/dash/src/components/BoardsPage.vue +0 -36
  34. package/templates/dashboards/dash/src/components/Title.vue +0 -21
  35. package/templates/dashboards/dash/src/definition_dashboard_v59.json +0 -394
@@ -8,13 +8,17 @@ const {Transform} = require('stream')
8
8
 
9
9
  function copy(source, target, substitutions = {}) {
10
10
  console.log(" Copying template files to '" + target + "'...")
11
+
12
+ let srcPath = path.resolve(__dirname,source)
13
+ let nodeModuleRegex = RegExp(srcPath+".*/node_modules/")
14
+
11
15
  return new Promise(async (resolve) => {
12
16
  // Source is on cob-cli repo and Destination on the server repo
13
17
  await ncp(path.resolve(__dirname,source),
14
18
  target,
15
19
  {
16
20
  clobber: true,
17
- filter: (src) => src.match(/node_modules/) == null,
21
+ filter: (src) => src.match(nodeModuleRegex) == null,
18
22
  // TODO: comentado porque não funciona a copiar os ficheiros binários (em concreto as font no template/dashboards/dash)
19
23
  // transform(read, write) {
20
24
  // const replaceVars = new Transform({
@@ -4,7 +4,7 @@
4
4
  - /services/**
5
5
 
6
6
  + /security/password.rules.properties
7
- - /security
7
+ - /security/**
8
8
  - /hornetq
9
9
  - /elasticsearch
10
10
  - /db
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cob-cli",
3
- "version": "2.13.0",
3
+ "version": "2.13.3",
4
4
  "description": "A command line utility to help Cult of Bits partners develop with higher speed and reusing common code and best practices.",
5
5
  "preferGlobal": true,
6
6
  "repository": {