create-dokio 0.1.12 → 0.1.14
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/README.md +26 -0
- package/dist/index.js +22 -22
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,6 +18,32 @@ Run from your **repos workspace folder** — the folder where all your hub repos
|
|
|
18
18
|
|
|
19
19
|
---
|
|
20
20
|
|
|
21
|
+
## Keeping up to date
|
|
22
|
+
|
|
23
|
+
`npx` caches packages locally, so `npx create-dokio` may run an old version even after an update is published.
|
|
24
|
+
|
|
25
|
+
**Always use `@latest` to get the newest version:**
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npx create-dokio@latest
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Check what version you're running:**
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npx create-dokio@latest --version
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**Check what version is available on npm:**
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npm show create-dokio version
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
> If Jake tells you there's an update, just swap `npx create-dokio` → `npx create-dokio@latest` and you're on the new version immediately. No install step needed.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
21
47
|
## Commands
|
|
22
48
|
|
|
23
49
|
### `create-dokio hub`
|
package/dist/index.js
CHANGED
|
@@ -29,36 +29,36 @@ function buildPages(pageCount) {
|
|
|
29
29
|
|
|
30
30
|
// src/hubs.ts
|
|
31
31
|
var HUBS = [
|
|
32
|
-
{ id: "meridianenergy", title: "Meridian Energy Hub" },
|
|
33
32
|
{ id: "aexp", title: "Amex Global" },
|
|
34
|
-
{ id: "ipa", title: "IPA LAM Hub" },
|
|
35
|
-
{ id: "bupa-sam", title: "Bupa Sales And Marketing Hub" },
|
|
36
|
-
{ id: "gwm", title: "GWM Advertising Studio" },
|
|
37
|
-
{ id: "knowledgebase", title: "KB Hub" },
|
|
38
|
-
{ id: "vidacorp", title: "VidaDesign Hub" },
|
|
39
|
-
{ id: "mi", title: "Measurable Impact" },
|
|
40
|
-
{ id: "bupa-hs", title: "Bupa Health Services" },
|
|
41
|
-
{ id: "originloopvpp-partnerships-hub", title: "Origin Loop VPP Partnerships Hub" },
|
|
42
33
|
{ id: "amazon-devices", title: "Amazon Devices" },
|
|
43
|
-
{ id: "belmond", title: "Belmond" },
|
|
44
|
-
{ id: "origin", title: "Origin" },
|
|
45
|
-
{ id: "shell-au", title: "Shell Australia Brand Templates" },
|
|
46
|
-
{ id: "nissan", title: "Nissan" },
|
|
47
|
-
{ id: "bupa-agedcare", title: "Bupa Aged Care" },
|
|
48
34
|
{ id: "australian-unity", title: "Australian Unity" },
|
|
49
|
-
{ id: "
|
|
50
|
-
{ id: "
|
|
51
|
-
{ id: "sandbox", title: "Sandbox" },
|
|
35
|
+
{ id: "belmond", title: "Belmond" },
|
|
36
|
+
{ id: "bupa-aged-care", title: "Bupa Aged Care" },
|
|
52
37
|
{ id: "bupa-healthy-cities", title: "Bupa Healthy Cities" },
|
|
38
|
+
{ id: "bupa-hs", title: "Bupa Health Services" },
|
|
39
|
+
{ id: "bupa-marketing", title: "Bupa Marketing" },
|
|
40
|
+
{ id: "bupa-retail", title: "Bupa Retail" },
|
|
41
|
+
{ id: "bupa-sam", title: "Bupa Sales And Marketing Hub" },
|
|
42
|
+
{ id: "designsystem", title: "Design System" },
|
|
53
43
|
{ id: "eabrandhub", title: "EnergyAustralia's Brand Hub" },
|
|
54
|
-
{ id: "origin-fugu", title: "Origin Fugu" },
|
|
55
44
|
{ id: "fridas", title: "Frida's Luxe Sip n' Paint" },
|
|
45
|
+
{ id: "gwm", title: "GWM Advertising Studio" },
|
|
56
46
|
{ id: "headspace", title: "Headspace" },
|
|
47
|
+
{ id: "hellofresh", title: "HelloFresh" },
|
|
48
|
+
{ id: "ipa", title: "IPA LAM Hub" },
|
|
57
49
|
{ id: "iris-samsung", title: "Iris | Samsung" },
|
|
58
|
-
{ id: "
|
|
59
|
-
{ id: "
|
|
60
|
-
{ id: "
|
|
61
|
-
{ id: "
|
|
50
|
+
{ id: "knowledgebase", title: "KB Hub" },
|
|
51
|
+
{ id: "mi", title: "Measurable Impact" },
|
|
52
|
+
{ id: "meridianenergy", title: "Meridian Energy Hub" },
|
|
53
|
+
{ id: "nissan", title: "Nissan" },
|
|
54
|
+
{ id: "origin", title: "Origin" },
|
|
55
|
+
{ id: "origin-fugu", title: "Origin Fugu" },
|
|
56
|
+
{ id: "originloopvpp-partnerships-hub", title: "Origin Loop VPP Partnerships Hub" },
|
|
57
|
+
{ id: "poolwerx", title: "Poolwerx Loop" },
|
|
58
|
+
{ id: "sandbox", title: "Sandbox" },
|
|
59
|
+
{ id: "scimmer", title: "Scimmer" },
|
|
60
|
+
{ id: "shell-au", title: "Shell Australia Brand Templates" },
|
|
61
|
+
{ id: "vidacorp", title: "VidaDesign Hub" }
|
|
62
62
|
];
|
|
63
63
|
function hubRepoUrl(hubId) {
|
|
64
64
|
return `https://github.com/dokioco/${hubId}-templates`;
|