@cocreate/cli 1.13.13 → 1.13.15

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.13.15](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.13.14...v1.13.15) (2022-11-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * json formating on bump ([6a4f780](https://github.com/CoCreate-app/CoCreate-cli/commit/6a4f78077f85f8fca20fc71fe8c9294ee7f07678))
7
+
8
+ ## [1.13.14](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.13.13...v1.13.14) (2022-11-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * bump dependencies ([5c878b1](https://github.com/CoCreate-app/CoCreate-cli/commit/5c878b17b15d70659caba4c6a41fb8b7b45a111e))
14
+
1
15
  ## [1.13.13](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.13.12...v1.13.13) (2022-11-24)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/cli",
3
- "version": "1.13.13",
3
+ "version": "1.13.15",
4
4
  "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.",
5
5
  "keywords": [
6
6
  "cli",
@@ -73,8 +73,8 @@
73
73
  "webpack-log": "^3.0.1"
74
74
  },
75
75
  "dependencies": {
76
- "@cocreate/docs": "^1.4.3",
77
- "@cocreate/hosting": "^1.6.2",
76
+ "@cocreate/docs": "^1.4.5",
77
+ "@cocreate/hosting": "^1.6.4",
78
78
  "colors": "latest",
79
79
  "glob": "^7.1.7",
80
80
  "got": "latest",
package/src/coc.js CHANGED
@@ -99,7 +99,9 @@ let repoFullMeta = repos.map(meta => {
99
99
 
100
100
  (async() => {
101
101
  if (command == 'bump'){
102
- console.log('bumping')
102
+ console.log('bumping')
103
+ let predefined = path.resolve(__dirname, 'commands', command + '.js');
104
+ require(predefined)(repos, repos )
103
105
  }
104
106
  if (command == 'gitConfig'){
105
107
  let predefined = path.resolve(__dirname, 'commands', command + '.js');
@@ -28,6 +28,26 @@ let item = {}
28
28
 
29
29
  // })();
30
30
 
31
+ // module.exports = async function run() {
32
+ // try {
33
+ // for (let [index, name] of nameList.entries()) {
34
+ // getVersions(pathList[index] + '/package.json', `@${name}`)
35
+ // }
36
+ // console.log('bump versions', item)
37
+
38
+ // for (let [index, name] of nameList.entries()) {
39
+ // await bumpVersion(pathList[index] + '/package.json', name)
40
+ // }
41
+ // } catch (err) {
42
+ // failed.push({ name: 'GENERAL', des: err.message })
43
+ // }
44
+
45
+ // console.log('completed')
46
+ // return failed
47
+ // // process.exit()
48
+ // }
49
+
50
+
31
51
  async function run() {
32
52
  // let failed = [];
33
53
 
@@ -90,8 +110,8 @@ function bumpVersion(filePath, name) {
90
110
  }
91
111
  }
92
112
 
93
- let str = JSON.stringify(object)
94
- let formated = prettier.format(str, { semi: false, parser: "json" });
113
+ // let str = JSON.stringify(object, null, 2)
114
+ // let formated = prettier.format(str, { semi: false, parser: "json" });
95
115
 
96
116
  filePath = filePath.replace('/package.json', '')
97
117
  let Path = path.resolve(filePath, 'package.json')
@@ -99,7 +119,7 @@ function bumpVersion(filePath, name) {
99
119
  fs.unlinkSync(Path)
100
120
  }
101
121
 
102
- fs.writeFileSync(Path, formated)
122
+ fs.writeFileSync(Path, JSON.stringify(object, null, 2))
103
123
  }
104
124
  }
105
125
 
package/cocreate-actions DELETED
@@ -1,66 +0,0 @@
1
- {
2
- "name": "@cocreate/actions",
3
- "version": "1.5.3",
4
- "description": "A convenient chain handler allows user to chain multiple CoCreate components together. When one action is complete next one will start. The sequence goes untill all actions completed. Grounded on Vanilla javascript, easily configured using HTML5 attributes and/or JavaScript API.",
5
- "keywords": [
6
- "actions",
7
- "chain-functions",
8
- "cocreate",
9
- "low-code-framework",
10
- "no-code-framework",
11
- "cocreatejs",
12
- "cocreatejs-component",
13
- "cocreate-framework",
14
- "no-code",
15
- "low-code",
16
- "collaborative-framework",
17
- "realtime",
18
- "realtime-framework",
19
- "collaboration",
20
- "shared-editing",
21
- "html5-framework",
22
- "javascript-framework"
23
- ],
24
- "publishConfig": { "access": "public" },
25
- "scripts": {
26
- "start": "npx webpack --config webpack.config.js",
27
- "build": "NODE_ENV=production npx webpack --config webpack.config.js",
28
- "dev": "npx webpack --config webpack.config.js --watch",
29
- "docs": "node ./node_modules/@cocreate/docs/src/index.js",
30
- "hosting": "node ./node_modules/@cocreate/hosting/src/index.js"
31
- },
32
- "repository": {
33
- "type": "git",
34
- "url": "git+https://github.com/CoCreate-app/CoCreate-actions.git"
35
- },
36
- "author": "CoCreate LLC",
37
- "license": "MIT",
38
- "bugs": { "url": "https://github.com/CoCreate-app/CoCreate-actions/issues" },
39
- "homepage": "https://cocreate.app/docs/actions",
40
- "funding": {
41
- "type": "GitHub Sponsors ❤",
42
- "url": "https://github.com/sponsors/CoCreate-app"
43
- },
44
- "main": "./src/index.js",
45
- "devDependencies": {
46
- "@babel/core": "^7.9.6",
47
- "@babel/preset-env": "^7.9.6",
48
- "babel-loader": "^8.1.0",
49
- "clean-webpack-plugin": "^3.0.0",
50
- "file-loader": "^6.2.0",
51
- "html-webpack-plugin": "^4.5.0",
52
- "mini-css-extract-plugin": "^1.5.0",
53
- "style-loader": "^2.0.0",
54
- "terser-webpack-plugin": "^5.1.1",
55
- "uglifyjs-webpack-plugin": "^2.2.0",
56
- "webpack": "^5.24.4",
57
- "webpack-cli": "^4.5.0",
58
- "webpack-log": "^3.0.1"
59
- },
60
- "dependencies": {
61
- "@cocreate/actions": "^1.5.0",
62
- "@cocreate/docs": "^1.3.8",
63
- "@cocreate/hosting": "^1.3.8",
64
- "@cocreate/utils": "^1.10.4"
65
- }
66
- }