@emuanalytics/flow-cli 1.3.31
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/LICENSE +21 -0
- package/README.md +0 -0
- package/dist/commands/apikeys/create.js +144 -0
- package/dist/commands/apikeys/create.js.map +1 -0
- package/dist/commands/apikeys/delete.js +74 -0
- package/dist/commands/apikeys/delete.js.map +1 -0
- package/dist/commands/apikeys/list.js +53 -0
- package/dist/commands/apikeys/list.js.map +1 -0
- package/dist/commands/apikeys/metadata.js +59 -0
- package/dist/commands/apikeys/metadata.js.map +1 -0
- package/dist/commands/apikeys.js +13 -0
- package/dist/commands/apikeys.js.map +1 -0
- package/dist/commands/applications.js +13 -0
- package/dist/commands/applications.js.map +1 -0
- package/dist/commands/apps/create.js +167 -0
- package/dist/commands/apps/create.js.map +1 -0
- package/dist/commands/apps/delete.js +74 -0
- package/dist/commands/apps/delete.js.map +1 -0
- package/dist/commands/apps/export.js +94 -0
- package/dist/commands/apps/export.js.map +1 -0
- package/dist/commands/apps/import.js +119 -0
- package/dist/commands/apps/import.js.map +1 -0
- package/dist/commands/apps/list.js +54 -0
- package/dist/commands/apps/list.js.map +1 -0
- package/dist/commands/apps/metadata.js +61 -0
- package/dist/commands/apps/metadata.js.map +1 -0
- package/dist/commands/apps/update.js +110 -0
- package/dist/commands/apps/update.js.map +1 -0
- package/dist/commands/databases/create.js +190 -0
- package/dist/commands/databases/create.js.map +1 -0
- package/dist/commands/databases/delete.js +74 -0
- package/dist/commands/databases/delete.js.map +1 -0
- package/dist/commands/databases/list.js +52 -0
- package/dist/commands/databases/list.js.map +1 -0
- package/dist/commands/databases.js +13 -0
- package/dist/commands/databases.js.map +1 -0
- package/dist/commands/datasets/attributes.js +48 -0
- package/dist/commands/datasets/attributes.js.map +1 -0
- package/dist/commands/datasets/create.js +180 -0
- package/dist/commands/datasets/create.js.map +1 -0
- package/dist/commands/datasets/delete.js +74 -0
- package/dist/commands/datasets/delete.js.map +1 -0
- package/dist/commands/datasets/export.js +95 -0
- package/dist/commands/datasets/export.js.map +1 -0
- package/dist/commands/datasets/list.js +52 -0
- package/dist/commands/datasets/list.js.map +1 -0
- package/dist/commands/datasets/metadata.js +59 -0
- package/dist/commands/datasets/metadata.js.map +1 -0
- package/dist/commands/datasets/query.js +86 -0
- package/dist/commands/datasets/query.js.map +1 -0
- package/dist/commands/datasets/update.js +166 -0
- package/dist/commands/datasets/update.js.map +1 -0
- package/dist/commands/datasets.js +13 -0
- package/dist/commands/datasets.js.map +1 -0
- package/dist/commands/job.js +13 -0
- package/dist/commands/job.js.map +1 -0
- package/dist/commands/jobs/delete.js +74 -0
- package/dist/commands/jobs/delete.js.map +1 -0
- package/dist/commands/jobs/list.js +52 -0
- package/dist/commands/jobs/list.js.map +1 -0
- package/dist/commands/jobs/metadata.js +36 -0
- package/dist/commands/jobs/metadata.js.map +1 -0
- package/dist/commands/new.js +63 -0
- package/dist/commands/new.js.map +1 -0
- package/dist/commands/styles/create.js +130 -0
- package/dist/commands/styles/create.js.map +1 -0
- package/dist/commands/styles/delete.js +74 -0
- package/dist/commands/styles/delete.js.map +1 -0
- package/dist/commands/styles/edit.js +37 -0
- package/dist/commands/styles/edit.js.map +1 -0
- package/dist/commands/styles/list.js +51 -0
- package/dist/commands/styles/list.js.map +1 -0
- package/dist/commands/styles/metadata.js +61 -0
- package/dist/commands/styles/metadata.js.map +1 -0
- package/dist/commands/styles/view.js +37 -0
- package/dist/commands/styles/view.js.map +1 -0
- package/dist/commands/styles.js +13 -0
- package/dist/commands/styles.js.map +1 -0
- package/dist/commands/tiles/create.js +221 -0
- package/dist/commands/tiles/create.js.map +1 -0
- package/dist/commands/tiles/delete.js +74 -0
- package/dist/commands/tiles/delete.js.map +1 -0
- package/dist/commands/tiles/list.js +51 -0
- package/dist/commands/tiles/list.js.map +1 -0
- package/dist/commands/tiles/metadata.js +61 -0
- package/dist/commands/tiles/metadata.js.map +1 -0
- package/dist/commands/tiles/preview.js +33 -0
- package/dist/commands/tiles/preview.js.map +1 -0
- package/dist/commands/tiles/tilespec.js +44 -0
- package/dist/commands/tiles/tilespec.js.map +1 -0
- package/dist/commands/tiles/update.js +194 -0
- package/dist/commands/tiles/update.js.map +1 -0
- package/dist/commands/tiles.js +13 -0
- package/dist/commands/tiles.js.map +1 -0
- package/dist/commands/upload/list.js +51 -0
- package/dist/commands/upload/list.js.map +1 -0
- package/dist/commands/upload/upload.js +171 -0
- package/dist/commands/upload/upload.js.map +1 -0
- package/dist/commands/upload.js +13 -0
- package/dist/commands/upload.js.map +1 -0
- package/dist/commands/users/create.js +140 -0
- package/dist/commands/users/create.js.map +1 -0
- package/dist/commands/users/delete.js +74 -0
- package/dist/commands/users/delete.js.map +1 -0
- package/dist/commands/users/list.js +52 -0
- package/dist/commands/users/list.js.map +1 -0
- package/dist/commands/users/metadata.js +61 -0
- package/dist/commands/users/metadata.js.map +1 -0
- package/dist/commands/users/update.js +151 -0
- package/dist/commands/users/update.js.map +1 -0
- package/dist/commands/users.js +13 -0
- package/dist/commands/users.js.map +1 -0
- package/dist/commands/version.js +35 -0
- package/dist/commands/version.js.map +1 -0
- package/dist/create-app/create-app.js +147 -0
- package/dist/create-app/create-app.js.map +1 -0
- package/dist/create-app/download.js +52 -0
- package/dist/create-app/download.js.map +1 -0
- package/dist/create-app/starters.js +18 -0
- package/dist/create-app/starters.js.map +1 -0
- package/dist/create-app/unzip.js +89 -0
- package/dist/create-app/unzip.js.map +1 -0
- package/dist/create-app/utils.js +134 -0
- package/dist/create-app/utils.js.map +1 -0
- package/dist/create-app/version.js +9 -0
- package/dist/create-app/version.js.map +1 -0
- package/dist/index.js +71 -0
- package/dist/index.js.map +1 -0
- package/dist/style-server/app.js +119 -0
- package/dist/style-server/app.js.map +1 -0
- package/dist/style-server/index.js +97 -0
- package/dist/style-server/index.js.map +1 -0
- package/dist/utils/index.js +263 -0
- package/dist/utils/index.js.map +1 -0
- package/maputnik/app.8c54efadcc6633a431f7.js +64 -0
- package/maputnik/bundle-stats.html +53 -0
- package/maputnik/bundle-stats.json +93486 -0
- package/maputnik/favicon.ico +0 -0
- package/maputnik/fonts/Roboto-Medium.ttf +0 -0
- package/maputnik/fonts/Roboto-Regular.ttf +0 -0
- package/maputnik/index.html +131 -0
- package/maputnik/manifest.json +9 -0
- package/package.json +84 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>Maputnik</title>
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
+
<link rel="manifest" href="manifest.json">
|
|
8
|
+
<style>
|
|
9
|
+
html {
|
|
10
|
+
background-color: rgb(28, 31, 36);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.loading {
|
|
14
|
+
text-align: center;
|
|
15
|
+
position: absolute;
|
|
16
|
+
width: 100vw;
|
|
17
|
+
height: 100vh;
|
|
18
|
+
top: 0;
|
|
19
|
+
left: 0;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.loading__logo svg {
|
|
27
|
+
width: 200px;
|
|
28
|
+
height: 200px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.loading__text {
|
|
32
|
+
font-family: sans-serif;
|
|
33
|
+
color: white;
|
|
34
|
+
font-size: 1.2em;
|
|
35
|
+
padding-bottom: 2em;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
</style>
|
|
39
|
+
</head>
|
|
40
|
+
<body>
|
|
41
|
+
<!-- TODO: Import dynamically -->
|
|
42
|
+
<!-- From <https://github.com/hail2u/color-blindness-emulation> -->
|
|
43
|
+
<svg
|
|
44
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
45
|
+
version="1.1">
|
|
46
|
+
<defs>
|
|
47
|
+
<filter id="protanopia">
|
|
48
|
+
<feColorMatrix
|
|
49
|
+
in="SourceGraphic"
|
|
50
|
+
type="matrix"
|
|
51
|
+
values="0.567, 0.433, 0, 0, 0
|
|
52
|
+
0.558, 0.442, 0, 0, 0
|
|
53
|
+
0, 0.242, 0.758, 0, 0
|
|
54
|
+
0, 0, 0, 1, 0"/>
|
|
55
|
+
</filter>
|
|
56
|
+
<filter id="protanomaly">
|
|
57
|
+
<feColorMatrix
|
|
58
|
+
in="SourceGraphic"
|
|
59
|
+
type="matrix"
|
|
60
|
+
values="0.817, 0.183, 0, 0, 0
|
|
61
|
+
0.333, 0.667, 0, 0, 0
|
|
62
|
+
0, 0.125, 0.875, 0, 0
|
|
63
|
+
0, 0, 0, 1, 0"/>
|
|
64
|
+
</filter>
|
|
65
|
+
<filter id="deuteranopia">
|
|
66
|
+
<feColorMatrix
|
|
67
|
+
in="SourceGraphic"
|
|
68
|
+
type="matrix"
|
|
69
|
+
values="0.625, 0.375, 0, 0, 0
|
|
70
|
+
0.7, 0.3, 0, 0, 0
|
|
71
|
+
0, 0.3, 0.7, 0, 0
|
|
72
|
+
0, 0, 0, 1, 0"/>
|
|
73
|
+
</filter>
|
|
74
|
+
<filter id="deuteranomaly">
|
|
75
|
+
<feColorMatrix
|
|
76
|
+
in="SourceGraphic"
|
|
77
|
+
type="matrix"
|
|
78
|
+
values="0.8, 0.2, 0, 0, 0
|
|
79
|
+
0.258, 0.742, 0, 0, 0
|
|
80
|
+
0, 0.142, 0.858, 0, 0
|
|
81
|
+
0, 0, 0, 1, 0"/>
|
|
82
|
+
</filter>
|
|
83
|
+
<filter id="tritanopia">
|
|
84
|
+
<feColorMatrix
|
|
85
|
+
in="SourceGraphic"
|
|
86
|
+
type="matrix"
|
|
87
|
+
values="0.95, 0.05, 0, 0, 0
|
|
88
|
+
0, 0.433, 0.567, 0, 0
|
|
89
|
+
0, 0.475, 0.525, 0, 0
|
|
90
|
+
0, 0, 0, 1, 0"/>
|
|
91
|
+
</filter>
|
|
92
|
+
<filter id="tritanomaly">
|
|
93
|
+
<feColorMatrix
|
|
94
|
+
in="SourceGraphic"
|
|
95
|
+
type="matrix"
|
|
96
|
+
values="0.967, 0.033, 0, 0, 0
|
|
97
|
+
0, 0.733, 0.267, 0, 0
|
|
98
|
+
0, 0.183, 0.817, 0, 0
|
|
99
|
+
0, 0, 0, 1, 0"/>
|
|
100
|
+
</filter>
|
|
101
|
+
<filter id="achromatopsia">
|
|
102
|
+
<feColorMatrix
|
|
103
|
+
in="SourceGraphic"
|
|
104
|
+
type="matrix"
|
|
105
|
+
values="0.299, 0.587, 0.114, 0, 0
|
|
106
|
+
0.299, 0.587, 0.114, 0, 0
|
|
107
|
+
0.299, 0.587, 0.114, 0, 0
|
|
108
|
+
0, 0, 0, 1, 0"/>
|
|
109
|
+
</filter>
|
|
110
|
+
<filter id="achromatomaly">
|
|
111
|
+
<feColorMatrix
|
|
112
|
+
in="SourceGraphic"
|
|
113
|
+
type="matrix"
|
|
114
|
+
values="0.618, 0.320, 0.062, 0, 0
|
|
115
|
+
0.163, 0.775, 0.062, 0, 0
|
|
116
|
+
0.163, 0.320, 0.516, 0, 0
|
|
117
|
+
0, 0, 0, 1, 0"/>
|
|
118
|
+
</filter>
|
|
119
|
+
</defs>
|
|
120
|
+
</svg>
|
|
121
|
+
|
|
122
|
+
<div id="app"></div>
|
|
123
|
+
<div class="loading">
|
|
124
|
+
<div class="loading__logo">
|
|
125
|
+
<!-- replaced by 'html-webpack-inline-svg-plugin' -->
|
|
126
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100"><style>@keyframes circle-anim{0%,40%{fill-opacity:0}60%{fill-opacity:1}}</style><g stroke="#000" class="map"><use fill="#4eba6f" xlink:href="#1/map__main"/><use fill="none" xlink:href="#1/map__line1"/><use fill="none" xlink:href="#1/map__line2"/><use fill="none" xlink:href="#1/map__line3"/></g><g class="palette"><use fill="#fff" stroke="#000" xlink:href="#1/palette__main"/><use fill="none" stroke="#000" xlink:href="#1/palette__inner"/><use fill="#f7c44c" stroke-opacity="0" xlink:href="#1/palette__circle5" style="animation-delay:600ms;animation-name:circle-anim;will-change:transform;animation-timing-function:east-in-out;animation-duration:800ms;animation-iteration-count:infinite;animation-direction:alternate"/><use fill="#4eba6f" stroke-opacity="0" xlink:href="#1/palette__circle4" style="animation-delay:500ms;animation-name:circle-anim;will-change:transform;animation-timing-function:east-in-out;animation-duration:800ms;animation-iteration-count:infinite;animation-direction:alternate"/><use fill="#f7c44c" stroke-opacity="0" xlink:href="#1/palette__circle3" style="animation-delay:400ms;animation-name:circle-anim;will-change:transform;animation-timing-function:east-in-out;animation-duration:800ms;animation-iteration-count:infinite;animation-direction:alternate"/><use fill="#4eba6f" stroke-opacity="0" xlink:href="#1/palette__circle2" style="animation-delay:300ms;animation-name:circle-anim;will-change:transform;animation-timing-function:east-in-out;animation-duration:800ms;animation-iteration-count:infinite;animation-direction:alternate"/><use fill="#f7c44c" stroke-opacity="0" xlink:href="#1/palette__circle1" style="animation-delay:200ms;animation-name:circle-anim;will-change:transform;animation-timing-function:east-in-out;animation-duration:800ms;animation-iteration-count:infinite;animation-direction:alternate"/><use fill="#4eba6f" stroke-opacity="0" xlink:href="#1/palette__circle0" style="animation-delay:100ms;animation-name:circle-anim;will-change:transform;animation-timing-function:east-in-out;animation-duration:800ms;animation-iteration-count:infinite;animation-direction:alternate"/></g><g stroke="#000" class="brush"><use fill="#f7c44c" xlink:href="#1/brush__bottom"/><use fill="#fff" xlink:href="#1/brush__top"/></g><defs><circle id="1/palette__inner" cx="41.873" cy="61.901" r="6.389" stroke-width="2.3"/><circle id="1/palette__circle5" cx="54.347" cy="44.56" r="4.336"/><circle id="1/palette__circle4" cx="40.443" cy="41.555" r="4.336"/><circle id="1/palette__circle3" cx="29.651" cy="51.102" r="4.336"/><circle id="1/palette__circle2" cx="25.293" cy="65.836" r="4.336"/><circle id="1/palette__circle1" cx="32.764" cy="79.326" r="4.336"/><circle id="1/palette__circle0" cx="46.669" cy="80.571" r="4.336"/><path id="1/map__main" stroke-linejoin="round" stroke-width="2.366" d="M18.84 7.717l15.44 7.542 15.75-7.762 15.7 7.857L81.005 7.67 96.31 54.052 73.598 62.12 50.93 53.872l-25.1 8.066-22.668-8.066z"/><path id="1/map__line1" stroke-width="1.104" d="M65.556 15.07l7.647 46.838"/><path id="1/map__line2" stroke-width="1.104" d="M50.261 7.422l.717 46.6"/><path id="1/map__line3" stroke-width="1.104" d="M34.011 15.07l-8.603 46.6"/><path id="1/palette__main" stroke-width="2.3" d="M47.352 30.887c7.993.226 16.934 9.725 17.954 15.25 1.02 5.527-.743 11.125-4.298 13.875-3.554 2.75-8.6 2.905-8.723 8.302-.097 4.237 8.457 8.5 8.088 15.653-.406 7.857-15.508 13.15-30.943 6.102-8.556-3.906-14.249-13.653-13.385-26.238C16.833 52.334 22.32 43.658 27.382 39c5.977-5.503 11.977-8.337 19.97-8.112z"/><path id="1/brush__bottom" stroke-linejoin="round" stroke-width="2.3" d="M76.333 89.333c-1.645-9.794-4.375-35.26-4.32-37.887.056-2.627 2.52-4.34 5.36-4.317 2.842.022 5.098 1.87 5.314 4.27.107 1.2-1.576 28.06-2.318 37.844-.332 4.374-3.31 4.413-4.036.09z"/><path id="1/brush__top" stroke-linejoin="round" stroke-width="2.3" d="M77.184 26.428s-5.621 7.02-5.621 11.978c0 4.957 2.206 6.878 5.81 6.878 3.606 0 5.148-1.708 5.29-6.736.142-5.028-5.479-12.12-5.479-12.12z"/></defs></svg>
|
|
127
|
+
</div>
|
|
128
|
+
<div class="loading__text">Loading…</div>
|
|
129
|
+
</div>
|
|
130
|
+
<script type="text/javascript" src="app.8c54efadcc6633a431f7.js"></script></body>
|
|
131
|
+
</html>
|
package/package.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@emuanalytics/flow-cli",
|
|
3
|
+
"version": "1.3.31",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"author": "Robin Summerhill <robin.summerhill@emu-analytics.net",
|
|
6
|
+
"license": "Copyright 2018 Emu Analytics Limited",
|
|
7
|
+
"bin": {
|
|
8
|
+
"flow": "dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"maputnik"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"start": "node dist/index.js",
|
|
16
|
+
"build": "tsc",
|
|
17
|
+
"clean": "rimraf dist",
|
|
18
|
+
"lint": "tslint --project tsconfig.json --format stylish",
|
|
19
|
+
"format": "prettier \"src/**/*.ts\" --write",
|
|
20
|
+
"prepublishOnly": "npm run build",
|
|
21
|
+
"prebuild": "npm run clean",
|
|
22
|
+
"precommit": "lint-staged"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@types/chalk": "^0.4.31",
|
|
26
|
+
"@types/cli-spinner": "^0.2.0",
|
|
27
|
+
"@types/express": "^4.17.2",
|
|
28
|
+
"@types/find-up": "^2.1.1",
|
|
29
|
+
"@types/humanize-plus": "^1.8.0",
|
|
30
|
+
"@types/inquirer": "^6.5.0",
|
|
31
|
+
"@types/jest": "^24.0.22",
|
|
32
|
+
"@types/node-emoji": "^1.4.0",
|
|
33
|
+
"@types/node-fetch": "^2.5.5",
|
|
34
|
+
"@types/opn": "^5.1.0",
|
|
35
|
+
"@types/ora": "^1.3.4",
|
|
36
|
+
"@types/string-width": "^2.0.0",
|
|
37
|
+
"@types/table": "^4.0.5",
|
|
38
|
+
"@types/yargs": "^11.1.1",
|
|
39
|
+
"@types/yauzl": "^2.9.1",
|
|
40
|
+
"prettier": "^1.18.2",
|
|
41
|
+
"tslint": "^5.20.0",
|
|
42
|
+
"typescript": "^4.7.4"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@emuanalytics/flow-engine-client": "^1.3.31",
|
|
46
|
+
"@types/uuid": "^8.3.4",
|
|
47
|
+
"JSONStream": "^1.3.5",
|
|
48
|
+
"chalk": "^2.0.1",
|
|
49
|
+
"cli-spinner": "^0.2.10",
|
|
50
|
+
"colorette": "^2.0.19",
|
|
51
|
+
"csv-stringify": "^5.3.3",
|
|
52
|
+
"debounce-promise": "^3.1.0",
|
|
53
|
+
"debug": "^4.1.0",
|
|
54
|
+
"execa": "^5.1.1",
|
|
55
|
+
"express": "^4.16.3",
|
|
56
|
+
"find-up": "^3.0.0",
|
|
57
|
+
"https-proxy-agent": "^2.2.1",
|
|
58
|
+
"humanize-plus": "^1.8.2",
|
|
59
|
+
"inquirer": "^7.0.0",
|
|
60
|
+
"lint-staged": "^9.4.2",
|
|
61
|
+
"lodash.get": "^4.4.2",
|
|
62
|
+
"loose-json": "^1.1.2",
|
|
63
|
+
"moment": "^2.24.0",
|
|
64
|
+
"node-emoji": "^1.7.0",
|
|
65
|
+
"node-fetch": "^2.6.0",
|
|
66
|
+
"opn": "^5.3.0",
|
|
67
|
+
"ora": "^3.0.0",
|
|
68
|
+
"replace-in-file": "^5.0.2",
|
|
69
|
+
"string-width": "^2.1.1",
|
|
70
|
+
"table": "^5.4.1",
|
|
71
|
+
"tslib": "^1.9.3",
|
|
72
|
+
"uuid": "^8.3.2",
|
|
73
|
+
"yargs": "^17.5.1",
|
|
74
|
+
"yauzl": "^2.10.0"
|
|
75
|
+
},
|
|
76
|
+
"lint-staged": {
|
|
77
|
+
"./src/**/*.ts": [
|
|
78
|
+
"tslint -p tsconfig.json",
|
|
79
|
+
"prettier --write",
|
|
80
|
+
"git add"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"gitHead": "e5974a582bed28bf44655ee8ada5cf23987fa2a4"
|
|
84
|
+
}
|