@cocreate/cli 1.48.0 → 1.50.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/docs/index.html CHANGED
@@ -1,262 +1,262 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1" />
7
- <title>CoCreate-cli Documentation | CoCreateJS</title>
8
- <link
9
- rel="icon"
10
- type="image/png"
11
- sizes="32x32"
12
- href="https://cocreate.app/images/favicon.ico" />
13
- <meta
14
- name="description"
15
- content="A simple HTML5 and pure javascript component. Easy configuration using HTML5 attributes or Javscript api and highly styleable." />
16
- <meta
17
- name="keywords"
18
- content="helper classes, utility classes, css framework, css library, inline style classes" />
19
- <meta name="robots" content="index,follow" />
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <title>CoCreate-cli Documentation | CoCreateJS</title>
8
+ <link
9
+ rel="icon"
10
+ type="image/png"
11
+ sizes="32x32"
12
+ href="https://cocreate.app/images/favicon.ico" />
13
+ <meta
14
+ name="description"
15
+ content="A simple HTML5 and pure javascript component. Easy configuration using HTML5 attributes or Javscript api and highly styleable." />
16
+ <meta
17
+ name="keywords"
18
+ content="helper classes, utility classes, css framework, css library, inline style classes" />
19
+ <meta name="robots" content="index,follow" />
20
20
 
21
- <link
22
- rel="stylesheet"
23
- href="../index.css"
24
- array="files"
25
- object="60888216117c640e7596303f"
26
- key="src"
27
- type="text/css"
28
- save="true" />
21
+ <link
22
+ rel="stylesheet"
23
+ href="../index.css"
24
+ array="files"
25
+ object="60888216117c640e7596303f"
26
+ key="src"
27
+ type="text/css"
28
+ save="true" />
29
29
 
30
- <link rel="manifest" href="/manifest.webmanifest" />
31
- </head>
30
+ <link rel="manifest" href="/manifest.webmanifest" />
31
+ </head>
32
32
 
33
- <body>
34
- <!-- Navbar -->
35
- <nav
36
- class="width:100% display:flex align-items:center background:transparent padding-top:10px padding-bottom:10px"
37
- content_id="content"
38
- scroll="sticky-nav,"
39
- scroll-up="5"
40
- scroll-down="5"
41
- path="../"
42
- src="../components/navbar.html"></nav>
43
- <sidenav
44
- id="menuL"
45
- class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
46
- resizable
47
- resize-selector="[content_id='content']"
48
- resize-property="margin-left"
49
- resize-value="width">
50
- <menu
51
- array="files"
52
- object="603717b07de7fb350ae9fec8"
53
- key="src"></menu>
54
- <div resize="right"></div>
55
- </sidenav>
56
- <main
57
- class="padding-top:15px padding:15px@lg@xl"
58
- content_id="content"
59
- id="cocreate-cli">
60
- <div
61
- class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
62
- <div class="display:flex align-items:center">
63
- <h2>CoCreate-cli</h2>
64
- </div>
65
- <div
66
- class="display:flex align-items:center font-size:20px"
67
- share-height="600"
68
- share-width="500"
69
- share-media="https://via.placeholder.com/300/09f/fff.png">
70
- <a
71
- href="https://github.com/CoCreate-app/CoCreate-cli"
72
- target="_blank"
73
- class="margin-right:15px"
74
- ><i src="/assets/svg/github.svg"></i
75
- ></a>
76
- <a
77
- class="margin-right:15px share"
78
- share-network="twitter"
79
- title="Share on twitter"
80
- ><i src="/assets/svg/twitter.svg"></i
81
- ></a>
82
- <a
83
- class="margin-right:15px share"
84
- share-network="facebook"
85
- title="Share on Facebook"
86
- ><i src="/assets/svg/facebook.svg"></i
87
- ></a>
88
- <a
89
- class="margin-right:15px share"
90
- share-network="instagram"
91
- title="Share on instagram"
92
- ><i src="/assets/svg/instagram.svg"></i
93
- ></a>
94
- <a
95
- class="margin-right:15px share"
96
- share-network="share"
97
- title="Share on share"
98
- ><i src="/assets/svg/share-alt.svg"></i
99
- ></a>
100
- </div>
101
- </div>
102
- <h1 class="max-width:500px margin:20px_10px">
103
- A headless vinilla javascript micro component. Easy
104
- configuration using HTML5 attributes or Javscript api.
105
- </h1>
106
- <div id="cli-section" class="display:flex flex-wrap:wrap">
107
- <div class="flex-grow:1 width:300px padding:20px_10px">
108
- <h2
109
- class="border-bottom:1px_solid_lightgrey padding:5px_0px">
110
- Install
111
- </h2>
112
- <pre
113
- class="margin-top:15px"><code class="language-javascript">npm install cocreate-cli</code></pre>
114
- <p class="padding:10px_0px">Or you can use cdn link:</p>
115
- <pre><code class="language-javascript">https://cdn.cocreate.app/js/CoCreate-cli.min.js</code></pre>
33
+ <body>
34
+ <!-- Navbar -->
35
+ <nav
36
+ class="width:100% display:flex align-items:center background:transparent padding-top:10px padding-bottom:10px"
37
+ content_id="content"
38
+ scroll="sticky-nav,"
39
+ scroll-up="5"
40
+ scroll-down="5"
41
+ path="../"
42
+ src="../components/navbar.html"></nav>
43
+ <sidenav
44
+ id="menuL"
45
+ class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
46
+ resizable
47
+ resize-query="[content_id='content']"
48
+ resize-property="margin-left"
49
+ resize-value="width">
50
+ <menu
51
+ array="files"
52
+ object="603717b07de7fb350ae9fec8"
53
+ key="src"></menu>
54
+ <div resize="right"></div>
55
+ </sidenav>
56
+ <main
57
+ class="padding-top:15px padding:15px@lg@xl"
58
+ content_id="content"
59
+ id="cocreate-cli">
60
+ <div
61
+ class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
62
+ <div class="display:flex align-items:center">
63
+ <h2>CoCreate-cli</h2>
64
+ </div>
65
+ <div
66
+ class="display:flex align-items:center font-size:20px"
67
+ share-height="600"
68
+ share-width="500"
69
+ share-media="https://via.placeholder.com/300/09f/fff.png">
70
+ <a
71
+ href="https://github.com/CoCreate-app/CoCreate-cli"
72
+ target="_blank"
73
+ class="margin-right:15px"
74
+ ><i src="/assets/svg/github.svg"></i
75
+ ></a>
76
+ <a
77
+ class="margin-right:15px share"
78
+ share-network="twitter"
79
+ title="Share on twitter"
80
+ ><i src="/assets/svg/twitter.svg"></i
81
+ ></a>
82
+ <a
83
+ class="margin-right:15px share"
84
+ share-network="facebook"
85
+ title="Share on Facebook"
86
+ ><i src="/assets/svg/facebook.svg"></i
87
+ ></a>
88
+ <a
89
+ class="margin-right:15px share"
90
+ share-network="instagram"
91
+ title="Share on instagram"
92
+ ><i src="/assets/svg/instagram.svg"></i
93
+ ></a>
94
+ <a
95
+ class="margin-right:15px share"
96
+ share-network="share"
97
+ title="Share on share"
98
+ ><i src="/assets/svg/share-alt.svg"></i
99
+ ></a>
100
+ </div>
101
+ </div>
102
+ <h1 class="max-width:500px margin:20px_10px">
103
+ A headless vinilla javascript micro component. Easy
104
+ configuration using HTML5 attributes or Javscript api.
105
+ </h1>
106
+ <div id="cli-section" class="display:flex flex-wrap:wrap">
107
+ <div class="flex-grow:1 width:300px padding:20px_10px">
108
+ <h2
109
+ class="border-bottom:1px_solid_lightgrey padding:5px_0px">
110
+ Install
111
+ </h2>
112
+ <pre
113
+ class="margin-top:15px"><code class="language-javascript">npm install cocreate-cli</code></pre>
114
+ <p class="padding:10px_0px">Or you can use cdn link:</p>
115
+ <pre><code class="language-javascript">https://cdn.cocreate.app/js/CoCreate-cli.min.js</code></pre>
116
116
 
117
- <h2
118
- class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
119
- Usage
120
- </h2>
121
- <p class="padding:10px_0px">cli usage content</p>
122
- <pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
117
+ <h2
118
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
119
+ Usage
120
+ </h2>
121
+ <p class="padding:10px_0px">cli usage content</p>
122
+ <pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
123
123
 
124
- <h2
125
- class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
126
- Reference
127
- </h2>
128
- <p class="padding:10px_0px">
129
- This is cli reference content
130
- </p>
131
- <pre><code class="language-javascript">&lt;div&gt;&lt;/div&gt;</code></pre>
132
- <p class="padding:10px_0px">
133
- This is cli reference content
134
- </p>
124
+ <h2
125
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
126
+ Reference
127
+ </h2>
128
+ <p class="padding:10px_0px">
129
+ This is cli reference content
130
+ </p>
131
+ <pre><code class="language-javascript">&lt;div&gt;&lt;/div&gt;</code></pre>
132
+ <p class="padding:10px_0px">
133
+ This is cli reference content
134
+ </p>
135
135
 
136
- <h2
137
- class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
138
- Attributes
139
- </h2>
140
- <ul class="list-style-type:none">
141
- <li
142
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
143
- <h4>
144
- <span>cli</span>
145
- <span class="cocreate-badge success"
146
- >string</span
147
- >
148
- <span class="cocreate-badge warning"
149
- >optional</span
150
- >
151
- </h4>
152
- <p>cli-attribute</p>
153
- </li>
154
- <li
155
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
156
- <h4>
157
- <span>cli</span>
158
- <span class="cocreate-badge success"
159
- >string</span
160
- >
161
- <span class="cocreate-badge warning"
162
- >optional</span
163
- >
164
- </h4>
165
- <p>cli-attribute</p>
166
- </li>
167
- </ul>
168
- </div>
136
+ <h2
137
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
138
+ Attributes
139
+ </h2>
140
+ <ul class="list-style-type:none">
141
+ <li
142
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
143
+ <h4>
144
+ <span>cli</span>
145
+ <span class="cocreate-badge success"
146
+ >string</span
147
+ >
148
+ <span class="cocreate-badge warning"
149
+ >optional</span
150
+ >
151
+ </h4>
152
+ <p>cli-attribute</p>
153
+ </li>
154
+ <li
155
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
156
+ <h4>
157
+ <span>cli</span>
158
+ <span class="cocreate-badge success"
159
+ >string</span
160
+ >
161
+ <span class="cocreate-badge warning"
162
+ >optional</span
163
+ >
164
+ </h4>
165
+ <p>cli-attribute</p>
166
+ </li>
167
+ </ul>
168
+ </div>
169
169
 
170
- <div
171
- class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
172
- <!-- SandBox -->
173
- <h2
174
- class="border-bottom:1px_solid_lightgrey padding:5px_0px">
175
- Demo
176
- </h2>
177
- <div
178
- class="position:sticky top:0 padding:10px_0px height:100vh">
179
- <!-- SandBox -->
180
- <div
181
- class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
182
- id="playground">
183
- <div
184
- id="demo-code"
185
- resizable
186
- class="position:relative height:50%">
187
- <textarea
188
- type="code"
189
- lang="html"
190
- array="demos"
191
- object=""
192
- key="demo"
193
- save="false"
194
- id="demo"
195
- class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
196
- <div
197
- resize="bottom"
198
- class="background:lightgrey"></div>
199
- </div>
170
+ <div
171
+ class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
172
+ <!-- SandBox -->
173
+ <h2
174
+ class="border-bottom:1px_solid_lightgrey padding:5px_0px">
175
+ Demo
176
+ </h2>
177
+ <div
178
+ class="position:sticky top:0 padding:10px_0px height:100vh">
179
+ <!-- SandBox -->
180
+ <div
181
+ class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
182
+ id="playground">
183
+ <div
184
+ id="demo-code"
185
+ resizable
186
+ class="position:relative height:50%">
187
+ <textarea
188
+ type="code"
189
+ lang="html"
190
+ array="demos"
191
+ object=""
192
+ key="demo"
193
+ save="false"
194
+ id="demo"
195
+ class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
196
+ <div
197
+ resize="bottom"
198
+ class="background:lightgrey"></div>
199
+ </div>
200
200
 
201
- <div
202
- id="demo-preview"
203
- class="position:relative overflow:auto background-color:white">
204
- <div class="demopreview padding:20px"></div>
205
- </div>
201
+ <div
202
+ id="demo-preview"
203
+ class="position:relative overflow:auto background-color:white">
204
+ <div class="demopreview padding:20px"></div>
205
+ </div>
206
206
 
207
- <div
208
- class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
209
- <a
210
- class="margin-right:10px"
211
- id="eye"
212
- show="#eye-slash"
213
- hide="#eye, #demo-preview"
214
- toggle="code-height"
215
- toggle-selector="#demo-code"
216
- ><i
217
- class="height:18px"
218
- src="/assets/svg/eye.svg"></i
219
- ></a>
220
- <a
221
- class="margin-right:10px"
222
- hidden
223
- id="eye-slash"
224
- show="#eye, #demo-preview"
225
- hide="#eye-slash"
226
- toggle="code-height"
227
- toggle-selector="#demo-code"
228
- ><i src="/assets/svg/eye-slash.svg"></i
229
- ></a>
230
- <a
231
- class="margin-right:10px"
232
- id="code"
233
- show="#code-slash"
234
- hide="#code, #demo-code"
235
- ><i src="/assets/svg/code.svg"></i
236
- ></a>
237
- <a
238
- class="margin-right:10px"
239
- hidden
240
- id="code-slash"
241
- show="#code, #demo-code"
242
- hide="#code-slash"
243
- ><object
244
- type="image/svg+xml"
245
- data="/assets/svg/code.svg"
246
- class="icon"
247
- height="20"></object
248
- ></a>
249
- <a
250
- class="margin-right:5px"
251
- fullscreen
252
- fullscreen-selector="#playground"></a>
253
- </div>
254
- </div>
255
- <!-- End SandBox -->
256
- </div>
257
- </div>
258
- </div>
259
- </main>
260
- <script src="https://CoCreate.app/dist/CoCreate.js"></script>
261
- </body>
207
+ <div
208
+ class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
209
+ <a
210
+ class="margin-right:10px"
211
+ id="eye"
212
+ show="#eye-slash"
213
+ hide="#eye, #demo-preview"
214
+ toggle="code-height"
215
+ toggle-query="#demo-code"
216
+ ><i
217
+ class="height:18px"
218
+ src="/assets/svg/eye.svg"></i
219
+ ></a>
220
+ <a
221
+ class="margin-right:10px"
222
+ hidden
223
+ id="eye-slash"
224
+ show="#eye, #demo-preview"
225
+ hide="#eye-slash"
226
+ toggle="code-height"
227
+ toggle-query="#demo-code"
228
+ ><i src="/assets/svg/eye-slash.svg"></i
229
+ ></a>
230
+ <a
231
+ class="margin-right:10px"
232
+ id="code"
233
+ show="#code-slash"
234
+ hide="#code, #demo-code"
235
+ ><i src="/assets/svg/code.svg"></i
236
+ ></a>
237
+ <a
238
+ class="margin-right:10px"
239
+ hidden
240
+ id="code-slash"
241
+ show="#code, #demo-code"
242
+ hide="#code-slash"
243
+ ><object
244
+ type="image/svg+xml"
245
+ data="/assets/svg/code.svg"
246
+ class="icon"
247
+ height="20"></object
248
+ ></a>
249
+ <a
250
+ class="margin-right:5px"
251
+ fullscreen
252
+ fullscreen-query="#playground"></a>
253
+ </div>
254
+ </div>
255
+ <!-- End SandBox -->
256
+ </div>
257
+ </div>
258
+ </div>
259
+ </main>
260
+ <script src="https://CoCreate.app/dist/CoCreate.js"></script>
261
+ </body>
262
262
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/cli",
3
- "version": "1.48.0",
3
+ "version": "1.50.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",
@@ -55,11 +55,9 @@
55
55
  "coc": "src/coc.js"
56
56
  },
57
57
  "dependencies": {
58
- "@cocreate/acme": "^1.2.12",
59
- "@cocreate/config": "^1.12.5",
60
- "@cocreate/file": "^1.2.1",
61
- "@cocreate/nginx": "^1.3.5",
62
- "glob": "^7.1.7",
63
- "prettier": "^2.3.2"
58
+ "@cocreate/acme": "^1.3.0",
59
+ "@cocreate/config": "^1.13.0",
60
+ "@cocreate/file": "^1.19.3",
61
+ "@cocreate/nginx": "^1.4.0"
64
62
  }
65
63
  }
@@ -0,0 +1,18 @@
1
+ module.exports = {
2
+ tabWidth: 4,
3
+ endOfLine: "lf",
4
+ semi: true,
5
+ trailingComma: "none",
6
+ bracketSameLine: true,
7
+ useTabs: true,
8
+ endOfLine: "lf",
9
+ overrides: [
10
+ {
11
+ files: ["*.json", "*.yml", "*.yaml"],
12
+ options: {
13
+ tabWidth: 2,
14
+ useTabs: false
15
+ }
16
+ }
17
+ ]
18
+ };