@cocreate/cli 1.24.0 → 1.26.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/CHANGELOG.md +14 -0
- package/docs/index.html +3 -2
- package/package.json +1 -16
- package/src/coc.js +0 -0
- package/src/commands/install.js +5 -0
- package/src/commands/link.js +4 -5
- package/src/commands/symlink.js +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [1.26.0](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.25.0...v1.26.0) (2023-04-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* pwa manifest ([b2fe852](https://github.com/CoCreate-app/CoCreate-cli/commit/b2fe85210a3f4c070617d25d7a333b4bb6558813))
|
|
7
|
+
|
|
8
|
+
# [1.25.0](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.24.0...v1.25.0) (2023-04-24)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* removed dev dependencies, run link.js during install.js ([14fe135](https://github.com/CoCreate-app/CoCreate-cli/commit/14fe135578205e840127e76062e8b27c28d14553))
|
|
14
|
+
|
|
1
15
|
# [1.24.0](https://github.com/CoCreate-app/CoCreate-cli/compare/v1.23.0...v1.24.0) (2023-04-23)
|
|
2
16
|
|
|
3
17
|
|
package/docs/index.html
CHANGED
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
<meta name="keywords" content="helper classes, utility classes, css framework, css library, inline style classes" />
|
|
11
11
|
<meta name="robots" content="index,follow" />
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
<link rel="stylesheet" href="/docs/index.css" collection="files" document_id="60888216117c640e7596303f" name="src" type="text/css" save="true" />
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
<link rel="manifest" href="/manifest.json" />
|
|
16
|
+
</head>
|
|
16
17
|
|
|
17
18
|
<body>
|
|
18
19
|
<nav class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px" content_id="content" scroll="sticky-nav,hide-nav" scroll-up="10" scroll-down="10" collection="files" document_id="60395ef42b3ac232657040fd" name="src">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.0",
|
|
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",
|
|
@@ -58,26 +58,11 @@
|
|
|
58
58
|
"bin": {
|
|
59
59
|
"coc": "src/coc.js"
|
|
60
60
|
},
|
|
61
|
-
"devDependencies": {
|
|
62
|
-
"@babel/core": "^7.9.6",
|
|
63
|
-
"@babel/preset-env": "^7.9.6",
|
|
64
|
-
"babel-loader": "^8.1.0",
|
|
65
|
-
"clean-webpack-plugin": "^3.0.0",
|
|
66
|
-
"file-loader": "^6.2.0",
|
|
67
|
-
"mini-css-extract-plugin": "^1.5.0",
|
|
68
|
-
"style-loader": "^3.3.1",
|
|
69
|
-
"terser-webpack-plugin": "^5.1.1",
|
|
70
|
-
"uglifyjs-webpack-plugin": "^2.2.0",
|
|
71
|
-
"webpack": "^5.24.4",
|
|
72
|
-
"webpack-cli": "^4.5.0",
|
|
73
|
-
"webpack-log": "^3.0.1"
|
|
74
|
-
},
|
|
75
61
|
"dependencies": {
|
|
76
62
|
"@cocreate/docs": "^1.6.5",
|
|
77
63
|
"@cocreate/hosting": "^1.8.5",
|
|
78
64
|
"colors": "latest",
|
|
79
65
|
"glob": "^7.1.7",
|
|
80
|
-
"got": "latest",
|
|
81
66
|
"prettier": "^2.3.2",
|
|
82
67
|
"prompt": "^1.2.0"
|
|
83
68
|
}
|
package/src/coc.js
CHANGED
|
File without changes
|
package/src/commands/install.js
CHANGED
|
@@ -12,6 +12,11 @@ module.exports = async function(repos, args) {
|
|
|
12
12
|
let symlinkFailed = await require('./symlink.js')(repos, args)
|
|
13
13
|
if (symlinkFailed)
|
|
14
14
|
failed.push(symlinkFailed)
|
|
15
|
+
|
|
16
|
+
let linkFailed = await require('./link.js')(repos, args)
|
|
17
|
+
if (linkFailed)
|
|
18
|
+
failed.push(linkFailed)
|
|
19
|
+
|
|
15
20
|
} catch (err) {
|
|
16
21
|
console.error(err);
|
|
17
22
|
failed.push({ name: 'general', des: err.message })
|
package/src/commands/link.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const spawn = require('../spawn');
|
|
2
2
|
const colors = require('colors');
|
|
3
3
|
|
|
4
|
-
module.exports = async function linkPackages(repos,
|
|
4
|
+
module.exports = async function linkPackages(repos, args) {
|
|
5
5
|
const failed = [], isLinked = {};
|
|
6
6
|
|
|
7
7
|
try {
|
|
@@ -11,10 +11,9 @@ module.exports = async function linkPackages(repos, repoList) {
|
|
|
11
11
|
continue
|
|
12
12
|
|
|
13
13
|
console.log(repo.packageName, 'configuring ...')
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
await doLink(repo.
|
|
17
|
-
await doLink(repo.devDeps, repo, repoList, failed, isLinked)
|
|
14
|
+
|
|
15
|
+
await doLink(repo.deps, repo, repos, failed, isLinked)
|
|
16
|
+
await doLink(repo.devDeps, repo, repos, failed, isLinked)
|
|
18
17
|
}
|
|
19
18
|
}
|
|
20
19
|
catch (err) {
|
package/src/commands/symlink.js
CHANGED
|
@@ -99,9 +99,7 @@ async function install(repo, repos) {
|
|
|
99
99
|
})
|
|
100
100
|
console.error(`${repo.name}: ${repo.packageManager} install failed`.red)
|
|
101
101
|
} else {
|
|
102
|
-
|
|
103
|
-
if (linkFailed)
|
|
104
|
-
failed.push(linkFailed)
|
|
102
|
+
console.log(`${repo.name}: ${repo.packageManager} install succesful`.green)
|
|
105
103
|
|
|
106
104
|
}
|
|
107
105
|
|