@lowdefy/build 4.0.0-alpha.4 → 4.0.0-alpha.5

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.
@@ -15,7 +15,7 @@
15
15
  */ import path from 'path';
16
16
  import { readFile } from '@lowdefy/node-utils';
17
17
  async function getUserJavascriptFunction({ context , filePath }) {
18
- const jsFile = await readFile(path.resolve(context.configDirectory, filePath));
18
+ const jsFile = await readFile(path.resolve(context.directories.config, filePath));
19
19
  return eval(jsFile);
20
20
  }
21
21
  export default getUserJavascriptFunction;
@@ -67,17 +67,17 @@ function buildTypes({ components , context }) {
67
67
  store: components.types.requests,
68
68
  typeClass: 'Request'
69
69
  });
70
- // buildTypeClass({
71
- // counter: typeCounters.operators.client,
72
- // definitions: context.types.operators.client,
73
- // store: components.types.operators.client,
74
- // typeClass: 'Operator',
75
- // });
76
- // buildTypeClass({
77
- // counter: typeCounters.operators.server,
78
- // definitions: context.types.operators.server,
79
- // store: components.types.operators.server,
80
- // typeClass: 'Operator',
81
- // });
70
+ buildTypeClass({
71
+ counter: typeCounters.operators.client,
72
+ definitions: context.types.operators.client,
73
+ store: components.types.operators.client,
74
+ typeClass: 'Operator'
75
+ });
76
+ buildTypeClass({
77
+ counter: typeCounters.operators.server,
78
+ definitions: context.types.operators.server,
79
+ store: components.types.operators.server,
80
+ typeClass: 'Operator'
81
+ });
82
82
  }
83
83
  export default buildTypes;
@@ -14,6 +14,6 @@
14
14
  limitations under the License.
15
15
  */ import { cleanDirectory } from '@lowdefy/node-utils';
16
16
  async function cleanBuildDirectory({ context }) {
17
- return cleanDirectory(context.buildDirectory);
17
+ return cleanDirectory(context.directories.build);
18
18
  }
19
19
  export default cleanBuildDirectory;
@@ -0,0 +1,50 @@
1
+ /*
2
+ Copyright 2020-2021 Lowdefy, Inc
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ */ import path from 'path';
16
+ import { readFile, writeFile } from '@lowdefy/node-utils';
17
+ async function updateServerPackageJson({ components , context }) {
18
+ const filePath = path.join(context.directories.server, 'package.json');
19
+ const packageJsonContent = await readFile(filePath);
20
+ const packageJson = JSON.parse(packageJsonContent);
21
+ const dependencies = packageJson.dependencies;
22
+ function getPackages(types) {
23
+ Object.values(types).forEach((type)=>{
24
+ dependencies[type.package] = type.version;
25
+ });
26
+ }
27
+ getPackages(components.types.actions);
28
+ getPackages(components.types.blocks);
29
+ getPackages(components.types.connections);
30
+ getPackages(components.types.requests);
31
+ getPackages(components.types.operators.client);
32
+ getPackages(components.types.operators.server);
33
+ // Sort dependencies
34
+ packageJson.dependencies = {
35
+ };
36
+ Object.keys(dependencies).sort().forEach((name)=>{
37
+ packageJson.dependencies[name] = dependencies[name];
38
+ });
39
+ const newPackageJsonContent = JSON.stringify(packageJson, null, 2).concat('\n');
40
+ // Only write package.json if it has changed since dev server will
41
+ // be watching the file to trigger reinstalls
42
+ if (newPackageJsonContent !== packageJsonContent) {
43
+ context.logger.warn('Plugin dependencies have changed. Updating "package.json".');
44
+ await writeFile({
45
+ filePath,
46
+ content: newPackageJsonContent
47
+ });
48
+ }
49
+ }
50
+ export default updateServerPackageJson;
@@ -25,6 +25,10 @@ async function validateApp({ components }) {
25
25
  components.app.html = {
26
26
  };
27
27
  }
28
+ if (type.isNone(components.app.styles)) {
29
+ components.app.styles = {
30
+ };
31
+ }
28
32
  if (type.isNone(components.app.html.appendBody)) {
29
33
  components.app.html.appendBody = '';
30
34
  }
@@ -0,0 +1,36 @@
1
+ /*
2
+ Copyright 2020-2021 Lowdefy, Inc
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ */ import { nunjucksFunction } from '@lowdefy/nunjucks';
16
+ const template = `{%- for import in imports -%}
17
+ import { {{ import.type }} } from '{{ import.package }}/{{ importPath }}';
18
+ {% endfor -%}
19
+ export default {
20
+ {% for import in imports -%}
21
+ {{ import.type }},
22
+ {% endfor -%}
23
+ }`;
24
+ function generateImportFile({ types , importPath }) {
25
+ const templateFn = nunjucksFunction(template);
26
+ const imports = Object.keys(types).map((type)=>({
27
+ type,
28
+ ...types[type]
29
+ })
30
+ );
31
+ return templateFn({
32
+ imports,
33
+ importPath
34
+ });
35
+ }
36
+ export default generateImportFile;
@@ -12,27 +12,13 @@
12
12
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
- */ import { nunjucksFunction } from '@lowdefy/nunjucks';
16
- const template = `{%- for block in blocks -%}
17
- import { {{ block.type }} } from '{{ block.package }}/blocks';
18
- {% endfor -%}
19
- export default {
20
- {% for block in blocks -%}
21
- {{ block.type }},
22
- {% endfor -%}
23
- };
24
- `;
15
+ */ import generateImportFile from './generateImportFile.js';
25
16
  async function writeBlockImports({ components , context }) {
26
- const templateFn = nunjucksFunction(template);
27
- const blocks = Object.keys(components.types.blocks).map((type)=>({
28
- type,
29
- ...components.types.blocks[type]
30
- })
31
- );
32
17
  await context.writeBuildArtifact({
33
18
  filePath: 'plugins/blocks.js',
34
- content: templateFn({
35
- blocks
19
+ content: generateImportFile({
20
+ types: components.types.blocks,
21
+ importPath: 'blocks'
36
22
  })
37
23
  });
38
24
  }
@@ -12,27 +12,13 @@
12
12
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
- */ import { nunjucksFunction } from '@lowdefy/nunjucks';
16
- const template = `{%- for connection in connections -%}
17
- import { {{ connection.type }} } from '{{ connection.package }}/connections';
18
- {% endfor -%}
19
- export default {
20
- {% for connection in connections -%}
21
- {{ connection.type }},
22
- {% endfor -%}
23
- };
24
- `;
15
+ */ import generateImportFile from './generateImportFile.js';
25
16
  async function writeConnectionImports({ components , context }) {
26
- const templateFn = nunjucksFunction(template);
27
- const connections = Object.keys(components.types.connections).map((type)=>({
28
- type,
29
- ...components.types.connections[type]
30
- })
31
- );
32
17
  await context.writeBuildArtifact({
33
18
  filePath: 'plugins/connections.js',
34
- content: templateFn({
35
- connections
19
+ content: generateImportFile({
20
+ types: components.types.connections,
21
+ importPath: 'connections'
36
22
  })
37
23
  });
38
24
  }
@@ -0,0 +1,33 @@
1
+ /*
2
+ Copyright 2020-2021 Lowdefy, Inc
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ */ import generateImportFile from './generateImportFile.js';
16
+ async function writeOperatorImports({ components , context }) {
17
+ // TODO: import _not and _type for validation.
18
+ await context.writeBuildArtifact({
19
+ filePath: 'plugins/operatorsClient.js',
20
+ content: generateImportFile({
21
+ types: components.types.operators.client,
22
+ importPath: 'operators/client'
23
+ })
24
+ });
25
+ await context.writeBuildArtifact({
26
+ filePath: 'plugins/operatorsServer.js',
27
+ content: generateImportFile({
28
+ types: components.types.operators.server,
29
+ importPath: 'operators/server'
30
+ })
31
+ });
32
+ }
33
+ export default writeOperatorImports;
@@ -1,56 +1,862 @@
1
1
  {
2
2
  "actions": {},
3
3
  "blocks": {
4
+ "Affix": {
5
+ "package": "@lowdefy/blocks-antd",
6
+ "version": "4.0.0-alpha.5"
7
+ },
8
+ "Alert": {
9
+ "package": "@lowdefy/blocks-antd",
10
+ "version": "4.0.0-alpha.5"
11
+ },
12
+ "AutoComplete": {
13
+ "package": "@lowdefy/blocks-antd",
14
+ "version": "4.0.0-alpha.5"
15
+ },
16
+ "Avatar": {
17
+ "package": "@lowdefy/blocks-antd",
18
+ "version": "4.0.0-alpha.5"
19
+ },
20
+ "Badge": {
21
+ "package": "@lowdefy/blocks-antd",
22
+ "version": "4.0.0-alpha.5"
23
+ },
24
+ "Breadcrumb": {
25
+ "package": "@lowdefy/blocks-antd",
26
+ "version": "4.0.0-alpha.5"
27
+ },
28
+ "Button": {
29
+ "package": "@lowdefy/blocks-antd",
30
+ "version": "4.0.0-alpha.5"
31
+ },
32
+ "ButtonSelector": {
33
+ "package": "@lowdefy/blocks-antd",
34
+ "version": "4.0.0-alpha.5"
35
+ },
36
+ "Card": {
37
+ "package": "@lowdefy/blocks-antd",
38
+ "version": "4.0.0-alpha.5"
39
+ },
40
+ "CheckboxSelector": {
41
+ "package": "@lowdefy/blocks-antd",
42
+ "version": "4.0.0-alpha.5"
43
+ },
44
+ "CheckboxSwitch": {
45
+ "package": "@lowdefy/blocks-antd",
46
+ "version": "4.0.0-alpha.5"
47
+ },
48
+ "Collapse": {
49
+ "package": "@lowdefy/blocks-antd",
50
+ "version": "4.0.0-alpha.5"
51
+ },
52
+ "Comment": {
53
+ "package": "@lowdefy/blocks-antd",
54
+ "version": "4.0.0-alpha.5"
55
+ },
56
+ "ConfirmModal": {
57
+ "package": "@lowdefy/blocks-antd",
58
+ "version": "4.0.0-alpha.5"
59
+ },
60
+ "Content": {
61
+ "package": "@lowdefy/blocks-antd",
62
+ "version": "4.0.0-alpha.5"
63
+ },
64
+ "ControlledList": {
65
+ "package": "@lowdefy/blocks-antd",
66
+ "version": "4.0.0-alpha.5"
67
+ },
68
+ "DateRangeSelector": {
69
+ "package": "@lowdefy/blocks-antd",
70
+ "version": "4.0.0-alpha.5"
71
+ },
72
+ "DateSelector": {
73
+ "package": "@lowdefy/blocks-antd",
74
+ "version": "4.0.0-alpha.5"
75
+ },
76
+ "DateTimeSelector": {
77
+ "package": "@lowdefy/blocks-antd",
78
+ "version": "4.0.0-alpha.5"
79
+ },
80
+ "Descriptions": {
81
+ "package": "@lowdefy/blocks-antd",
82
+ "version": "4.0.0-alpha.5"
83
+ },
84
+ "Divider": {
85
+ "package": "@lowdefy/blocks-antd",
86
+ "version": "4.0.0-alpha.5"
87
+ },
88
+ "Drawer": {
89
+ "package": "@lowdefy/blocks-antd",
90
+ "version": "4.0.0-alpha.5"
91
+ },
92
+ "Footer": {
93
+ "package": "@lowdefy/blocks-antd",
94
+ "version": "4.0.0-alpha.5"
95
+ },
96
+ "Header": {
97
+ "package": "@lowdefy/blocks-antd",
98
+ "version": "4.0.0-alpha.5"
99
+ },
100
+ "Label": {
101
+ "package": "@lowdefy/blocks-antd",
102
+ "version": "4.0.0-alpha.5"
103
+ },
104
+ "Layout": {
105
+ "package": "@lowdefy/blocks-antd",
106
+ "version": "4.0.0-alpha.5"
107
+ },
108
+ "Menu": {
109
+ "package": "@lowdefy/blocks-antd",
110
+ "version": "4.0.0-alpha.5"
111
+ },
112
+ "Message": {
113
+ "package": "@lowdefy/blocks-antd",
114
+ "version": "4.0.0-alpha.5"
115
+ },
116
+ "MobileMenu": {
117
+ "package": "@lowdefy/blocks-antd",
118
+ "version": "4.0.0-alpha.5"
119
+ },
120
+ "Modal": {
121
+ "package": "@lowdefy/blocks-antd",
122
+ "version": "4.0.0-alpha.5"
123
+ },
124
+ "MonthSelector": {
125
+ "package": "@lowdefy/blocks-antd",
126
+ "version": "4.0.0-alpha.5"
127
+ },
128
+ "MultipleSelector": {
129
+ "package": "@lowdefy/blocks-antd",
130
+ "version": "4.0.0-alpha.5"
131
+ },
132
+ "Notification": {
133
+ "package": "@lowdefy/blocks-antd",
134
+ "version": "4.0.0-alpha.5"
135
+ },
136
+ "NumberInput": {
137
+ "package": "@lowdefy/blocks-antd",
138
+ "version": "4.0.0-alpha.5"
139
+ },
140
+ "PageHCF": {
141
+ "package": "@lowdefy/blocks-antd",
142
+ "version": "4.0.0-alpha.5"
143
+ },
144
+ "PageHCSF": {
145
+ "package": "@lowdefy/blocks-antd",
146
+ "version": "4.0.0-alpha.5"
147
+ },
148
+ "PageHSCF": {
149
+ "package": "@lowdefy/blocks-antd",
150
+ "version": "4.0.0-alpha.5"
151
+ },
152
+ "PageHeaderMenu": {
153
+ "package": "@lowdefy/blocks-antd",
154
+ "version": "4.0.0-alpha.5"
155
+ },
156
+ "PageSHCF": {
157
+ "package": "@lowdefy/blocks-antd",
158
+ "version": "4.0.0-alpha.5"
159
+ },
160
+ "PageSiderMenu": {
161
+ "package": "@lowdefy/blocks-antd",
162
+ "version": "4.0.0-alpha.5"
163
+ },
164
+ "Pagination": {
165
+ "package": "@lowdefy/blocks-antd",
166
+ "version": "4.0.0-alpha.5"
167
+ },
168
+ "Paragraph": {
169
+ "package": "@lowdefy/blocks-antd",
170
+ "version": "4.0.0-alpha.5"
171
+ },
172
+ "ParagraphInput": {
173
+ "package": "@lowdefy/blocks-antd",
174
+ "version": "4.0.0-alpha.5"
175
+ },
176
+ "PasswordInput": {
177
+ "package": "@lowdefy/blocks-antd",
178
+ "version": "4.0.0-alpha.5"
179
+ },
180
+ "Progress": {
181
+ "package": "@lowdefy/blocks-antd",
182
+ "version": "4.0.0-alpha.5"
183
+ },
184
+ "RadioSelector": {
185
+ "package": "@lowdefy/blocks-antd",
186
+ "version": "4.0.0-alpha.5"
187
+ },
188
+ "RatingSlider": {
189
+ "package": "@lowdefy/blocks-antd",
190
+ "version": "4.0.0-alpha.5"
191
+ },
192
+ "Result": {
193
+ "package": "@lowdefy/blocks-antd",
194
+ "version": "4.0.0-alpha.5"
195
+ },
196
+ "S3UploadButton": {
197
+ "package": "@lowdefy/blocks-antd",
198
+ "version": "4.0.0-alpha.5"
199
+ },
200
+ "Selector": {
201
+ "package": "@lowdefy/blocks-antd",
202
+ "version": "4.0.0-alpha.5"
203
+ },
204
+ "Sider": {
205
+ "package": "@lowdefy/blocks-antd",
206
+ "version": "4.0.0-alpha.5"
207
+ },
208
+ "Statistic": {
209
+ "package": "@lowdefy/blocks-antd",
210
+ "version": "4.0.0-alpha.5"
211
+ },
212
+ "Switch": {
213
+ "package": "@lowdefy/blocks-antd",
214
+ "version": "4.0.0-alpha.5"
215
+ },
216
+ "Tabs": {
217
+ "package": "@lowdefy/blocks-antd",
218
+ "version": "4.0.0-alpha.5"
219
+ },
220
+ "TextArea": {
221
+ "package": "@lowdefy/blocks-antd",
222
+ "version": "4.0.0-alpha.5"
223
+ },
224
+ "TextInput": {
225
+ "package": "@lowdefy/blocks-antd",
226
+ "version": "4.0.0-alpha.5"
227
+ },
228
+ "TimelineList": {
229
+ "package": "@lowdefy/blocks-antd",
230
+ "version": "4.0.0-alpha.5"
231
+ },
232
+ "Title": {
233
+ "package": "@lowdefy/blocks-antd",
234
+ "version": "4.0.0-alpha.5"
235
+ },
236
+ "TitleInput": {
237
+ "package": "@lowdefy/blocks-antd",
238
+ "version": "4.0.0-alpha.5"
239
+ },
240
+ "Tooltip": {
241
+ "package": "@lowdefy/blocks-antd",
242
+ "version": "4.0.0-alpha.5"
243
+ },
244
+ "WeekSelector": {
245
+ "package": "@lowdefy/blocks-antd",
246
+ "version": "4.0.0-alpha.5"
247
+ },
4
248
  "Anchor": {
5
249
  "package": "@lowdefy/blocks-basic",
6
- "version": "4.0.0-alpha.4"
250
+ "version": "4.0.0-alpha.5"
7
251
  },
8
252
  "Box": {
9
253
  "package": "@lowdefy/blocks-basic",
10
- "version": "4.0.0-alpha.4"
254
+ "version": "4.0.0-alpha.5"
11
255
  },
12
256
  "DangerousHtml": {
13
257
  "package": "@lowdefy/blocks-basic",
14
- "version": "4.0.0-alpha.4"
258
+ "version": "4.0.0-alpha.5"
15
259
  },
16
260
  "Html": {
17
261
  "package": "@lowdefy/blocks-basic",
18
- "version": "4.0.0-alpha.4"
262
+ "version": "4.0.0-alpha.5"
19
263
  },
20
264
  "Icon": {
21
265
  "package": "@lowdefy/blocks-basic",
22
- "version": "4.0.0-alpha.4"
266
+ "version": "4.0.0-alpha.5"
23
267
  },
24
268
  "Img": {
25
269
  "package": "@lowdefy/blocks-basic",
26
- "version": "4.0.0-alpha.4"
270
+ "version": "4.0.0-alpha.5"
27
271
  },
28
272
  "List": {
29
273
  "package": "@lowdefy/blocks-basic",
30
- "version": "4.0.0-alpha.4"
274
+ "version": "4.0.0-alpha.5"
31
275
  },
32
276
  "Span": {
33
277
  "package": "@lowdefy/blocks-basic",
34
- "version": "4.0.0-alpha.4"
278
+ "version": "4.0.0-alpha.5"
279
+ },
280
+ "IconSpinner": {
281
+ "package": "@lowdefy/blocks-loaders",
282
+ "version": "4.0.0-alpha.5"
283
+ },
284
+ "Skeleton": {
285
+ "package": "@lowdefy/blocks-loaders",
286
+ "version": "4.0.0-alpha.5"
287
+ },
288
+ "SkeletonAvatar": {
289
+ "package": "@lowdefy/blocks-loaders",
290
+ "version": "4.0.0-alpha.5"
291
+ },
292
+ "SkeletonButton": {
293
+ "package": "@lowdefy/blocks-loaders",
294
+ "version": "4.0.0-alpha.5"
295
+ },
296
+ "SkeletonInput": {
297
+ "package": "@lowdefy/blocks-loaders",
298
+ "version": "4.0.0-alpha.5"
299
+ },
300
+ "SkeletonParagraph": {
301
+ "package": "@lowdefy/blocks-loaders",
302
+ "version": "4.0.0-alpha.5"
303
+ },
304
+ "Spinner": {
305
+ "package": "@lowdefy/blocks-loaders",
306
+ "version": "4.0.0-alpha.5"
35
307
  }
36
308
  },
37
309
  "connections": {
38
310
  "AxiosHttp": {
39
311
  "package": "@lowdefy/connection-axios-http",
40
- "version": "4.0.0-alpha.4"
312
+ "version": "4.0.0-alpha.5"
41
313
  }
42
314
  },
43
315
  "requests": {
44
316
  "AxiosHttp": {
45
317
  "package": "@lowdefy/connection-axios-http",
46
- "version": "4.0.0-alpha.4"
318
+ "version": "4.0.0-alpha.5"
47
319
  }
48
320
  },
49
321
  "operators": {
50
- "client": {},
51
- "server": {}
322
+ "client": {
323
+ "_actions": {
324
+ "package": "@lowdefy/operators-js",
325
+ "version": "4.0.0-alpha.5"
326
+ },
327
+ "_and": {
328
+ "package": "@lowdefy/operators-js",
329
+ "version": "4.0.0-alpha.5"
330
+ },
331
+ "_args": {
332
+ "package": "@lowdefy/operators-js",
333
+ "version": "4.0.0-alpha.5"
334
+ },
335
+ "_array": {
336
+ "package": "@lowdefy/operators-js",
337
+ "version": "4.0.0-alpha.5"
338
+ },
339
+ "_base64": {
340
+ "package": "@lowdefy/operators-js",
341
+ "version": "4.0.0-alpha.5"
342
+ },
343
+ "_date": {
344
+ "package": "@lowdefy/operators-js",
345
+ "version": "4.0.0-alpha.5"
346
+ },
347
+ "_divide": {
348
+ "package": "@lowdefy/operators-js",
349
+ "version": "4.0.0-alpha.5"
350
+ },
351
+ "_eq": {
352
+ "package": "@lowdefy/operators-js",
353
+ "version": "4.0.0-alpha.5"
354
+ },
355
+ "_event": {
356
+ "package": "@lowdefy/operators-js",
357
+ "version": "4.0.0-alpha.5"
358
+ },
359
+ "_event_log": {
360
+ "package": "@lowdefy/operators-js",
361
+ "version": "4.0.0-alpha.5"
362
+ },
363
+ "_function": {
364
+ "package": "@lowdefy/operators-js",
365
+ "version": "4.0.0-alpha.5"
366
+ },
367
+ "_get": {
368
+ "package": "@lowdefy/operators-js",
369
+ "version": "4.0.0-alpha.5"
370
+ },
371
+ "_global": {
372
+ "package": "@lowdefy/operators-js",
373
+ "version": "4.0.0-alpha.5"
374
+ },
375
+ "_gt": {
376
+ "package": "@lowdefy/operators-js",
377
+ "version": "4.0.0-alpha.5"
378
+ },
379
+ "_gte": {
380
+ "package": "@lowdefy/operators-js",
381
+ "version": "4.0.0-alpha.5"
382
+ },
383
+ "_if": {
384
+ "package": "@lowdefy/operators-js",
385
+ "version": "4.0.0-alpha.5"
386
+ },
387
+ "_if_none": {
388
+ "package": "@lowdefy/operators-js",
389
+ "version": "4.0.0-alpha.5"
390
+ },
391
+ "_index": {
392
+ "package": "@lowdefy/operators-js",
393
+ "version": "4.0.0-alpha.5"
394
+ },
395
+ "_input": {
396
+ "package": "@lowdefy/operators-js",
397
+ "version": "4.0.0-alpha.5"
398
+ },
399
+ "_json": {
400
+ "package": "@lowdefy/operators-js",
401
+ "version": "4.0.0-alpha.5"
402
+ },
403
+ "_location": {
404
+ "package": "@lowdefy/operators-js",
405
+ "version": "4.0.0-alpha.5"
406
+ },
407
+ "_log": {
408
+ "package": "@lowdefy/operators-js",
409
+ "version": "4.0.0-alpha.5"
410
+ },
411
+ "_lt": {
412
+ "package": "@lowdefy/operators-js",
413
+ "version": "4.0.0-alpha.5"
414
+ },
415
+ "_lte": {
416
+ "package": "@lowdefy/operators-js",
417
+ "version": "4.0.0-alpha.5"
418
+ },
419
+ "_math": {
420
+ "package": "@lowdefy/operators-js",
421
+ "version": "4.0.0-alpha.5"
422
+ },
423
+ "_media": {
424
+ "package": "@lowdefy/operators-js",
425
+ "version": "4.0.0-alpha.5"
426
+ },
427
+ "_menu": {
428
+ "package": "@lowdefy/operators-js",
429
+ "version": "4.0.0-alpha.5"
430
+ },
431
+ "_ne": {
432
+ "package": "@lowdefy/operators-js",
433
+ "version": "4.0.0-alpha.5"
434
+ },
435
+ "_not": {
436
+ "package": "@lowdefy/operators-js",
437
+ "version": "4.0.0-alpha.5"
438
+ },
439
+ "_number": {
440
+ "package": "@lowdefy/operators-js",
441
+ "version": "4.0.0-alpha.5"
442
+ },
443
+ "_object": {
444
+ "package": "@lowdefy/operators-js",
445
+ "version": "4.0.0-alpha.5"
446
+ },
447
+ "_operator": {
448
+ "package": "@lowdefy/operators-js",
449
+ "version": "4.0.0-alpha.5"
450
+ },
451
+ "_or": {
452
+ "package": "@lowdefy/operators-js",
453
+ "version": "4.0.0-alpha.5"
454
+ },
455
+ "_product": {
456
+ "package": "@lowdefy/operators-js",
457
+ "version": "4.0.0-alpha.5"
458
+ },
459
+ "_random": {
460
+ "package": "@lowdefy/operators-js",
461
+ "version": "4.0.0-alpha.5"
462
+ },
463
+ "_regex": {
464
+ "package": "@lowdefy/operators-js",
465
+ "version": "4.0.0-alpha.5"
466
+ },
467
+ "_request": {
468
+ "package": "@lowdefy/operators-js",
469
+ "version": "4.0.0-alpha.5"
470
+ },
471
+ "_request_details": {
472
+ "package": "@lowdefy/operators-js",
473
+ "version": "4.0.0-alpha.5"
474
+ },
475
+ "_state": {
476
+ "package": "@lowdefy/operators-js",
477
+ "version": "4.0.0-alpha.5"
478
+ },
479
+ "_string": {
480
+ "package": "@lowdefy/operators-js",
481
+ "version": "4.0.0-alpha.5"
482
+ },
483
+ "_subtract": {
484
+ "package": "@lowdefy/operators-js",
485
+ "version": "4.0.0-alpha.5"
486
+ },
487
+ "_sum": {
488
+ "package": "@lowdefy/operators-js",
489
+ "version": "4.0.0-alpha.5"
490
+ },
491
+ "_switch": {
492
+ "package": "@lowdefy/operators-js",
493
+ "version": "4.0.0-alpha.5"
494
+ },
495
+ "_type": {
496
+ "package": "@lowdefy/operators-js",
497
+ "version": "4.0.0-alpha.5"
498
+ },
499
+ "_uri": {
500
+ "package": "@lowdefy/operators-js",
501
+ "version": "4.0.0-alpha.5"
502
+ },
503
+ "_url_query": {
504
+ "package": "@lowdefy/operators-js",
505
+ "version": "4.0.0-alpha.5"
506
+ },
507
+ "_user": {
508
+ "package": "@lowdefy/operators-js",
509
+ "version": "4.0.0-alpha.5"
510
+ },
511
+ "_nunjucks": {
512
+ "package": "@lowdefy/operators-nunjucks",
513
+ "version": "4.0.0-alpha.5"
514
+ }
515
+ },
516
+ "server": {
517
+ "_and": {
518
+ "package": "@lowdefy/operators-js",
519
+ "version": "4.0.0-alpha.5"
520
+ },
521
+ "_args": {
522
+ "package": "@lowdefy/operators-js",
523
+ "version": "4.0.0-alpha.5"
524
+ },
525
+ "_array": {
526
+ "package": "@lowdefy/operators-js",
527
+ "version": "4.0.0-alpha.5"
528
+ },
529
+ "_base64": {
530
+ "package": "@lowdefy/operators-js",
531
+ "version": "4.0.0-alpha.5"
532
+ },
533
+ "_date": {
534
+ "package": "@lowdefy/operators-js",
535
+ "version": "4.0.0-alpha.5"
536
+ },
537
+ "_divide": {
538
+ "package": "@lowdefy/operators-js",
539
+ "version": "4.0.0-alpha.5"
540
+ },
541
+ "_eq": {
542
+ "package": "@lowdefy/operators-js",
543
+ "version": "4.0.0-alpha.5"
544
+ },
545
+ "_function": {
546
+ "package": "@lowdefy/operators-js",
547
+ "version": "4.0.0-alpha.5"
548
+ },
549
+ "_get": {
550
+ "package": "@lowdefy/operators-js",
551
+ "version": "4.0.0-alpha.5"
552
+ },
553
+ "_gt": {
554
+ "package": "@lowdefy/operators-js",
555
+ "version": "4.0.0-alpha.5"
556
+ },
557
+ "_gte": {
558
+ "package": "@lowdefy/operators-js",
559
+ "version": "4.0.0-alpha.5"
560
+ },
561
+ "_hash": {
562
+ "package": "@lowdefy/operators-js",
563
+ "version": "4.0.0-alpha.5"
564
+ },
565
+ "_if": {
566
+ "package": "@lowdefy/operators-js",
567
+ "version": "4.0.0-alpha.5"
568
+ },
569
+ "_if_none": {
570
+ "package": "@lowdefy/operators-js",
571
+ "version": "4.0.0-alpha.5"
572
+ },
573
+ "_json": {
574
+ "package": "@lowdefy/operators-js",
575
+ "version": "4.0.0-alpha.5"
576
+ },
577
+ "_log": {
578
+ "package": "@lowdefy/operators-js",
579
+ "version": "4.0.0-alpha.5"
580
+ },
581
+ "_lt": {
582
+ "package": "@lowdefy/operators-js",
583
+ "version": "4.0.0-alpha.5"
584
+ },
585
+ "_lte": {
586
+ "package": "@lowdefy/operators-js",
587
+ "version": "4.0.0-alpha.5"
588
+ },
589
+ "_math": {
590
+ "package": "@lowdefy/operators-js",
591
+ "version": "4.0.0-alpha.5"
592
+ },
593
+ "_ne": {
594
+ "package": "@lowdefy/operators-js",
595
+ "version": "4.0.0-alpha.5"
596
+ },
597
+ "_not": {
598
+ "package": "@lowdefy/operators-js",
599
+ "version": "4.0.0-alpha.5"
600
+ },
601
+ "_number": {
602
+ "package": "@lowdefy/operators-js",
603
+ "version": "4.0.0-alpha.5"
604
+ },
605
+ "_object": {
606
+ "package": "@lowdefy/operators-js",
607
+ "version": "4.0.0-alpha.5"
608
+ },
609
+ "_operator": {
610
+ "package": "@lowdefy/operators-js",
611
+ "version": "4.0.0-alpha.5"
612
+ },
613
+ "_or": {
614
+ "package": "@lowdefy/operators-js",
615
+ "version": "4.0.0-alpha.5"
616
+ },
617
+ "_payload": {
618
+ "package": "@lowdefy/operators-js",
619
+ "version": "4.0.0-alpha.5"
620
+ },
621
+ "_product": {
622
+ "package": "@lowdefy/operators-js",
623
+ "version": "4.0.0-alpha.5"
624
+ },
625
+ "_random": {
626
+ "package": "@lowdefy/operators-js",
627
+ "version": "4.0.0-alpha.5"
628
+ },
629
+ "_regex": {
630
+ "package": "@lowdefy/operators-js",
631
+ "version": "4.0.0-alpha.5"
632
+ },
633
+ "_secret": {
634
+ "package": "@lowdefy/operators-js",
635
+ "version": "4.0.0-alpha.5"
636
+ },
637
+ "_string": {
638
+ "package": "@lowdefy/operators-js",
639
+ "version": "4.0.0-alpha.5"
640
+ },
641
+ "_subtract": {
642
+ "package": "@lowdefy/operators-js",
643
+ "version": "4.0.0-alpha.5"
644
+ },
645
+ "_sum": {
646
+ "package": "@lowdefy/operators-js",
647
+ "version": "4.0.0-alpha.5"
648
+ },
649
+ "_switch": {
650
+ "package": "@lowdefy/operators-js",
651
+ "version": "4.0.0-alpha.5"
652
+ },
653
+ "_type": {
654
+ "package": "@lowdefy/operators-js",
655
+ "version": "4.0.0-alpha.5"
656
+ },
657
+ "_uri": {
658
+ "package": "@lowdefy/operators-js",
659
+ "version": "4.0.0-alpha.5"
660
+ },
661
+ "_user": {
662
+ "package": "@lowdefy/operators-js",
663
+ "version": "4.0.0-alpha.5"
664
+ },
665
+ "_nunjucks": {
666
+ "package": "@lowdefy/operators-nunjucks",
667
+ "version": "4.0.0-alpha.5"
668
+ }
669
+ }
52
670
  },
53
671
  "styles": {
672
+ "@lowdefy/blocks-antd": {
673
+ "default": [
674
+ "style.less"
675
+ ],
676
+ "Affix": [
677
+ "blocks/Affix/style.less"
678
+ ],
679
+ "Alert": [
680
+ "blocks/Alert/style.less"
681
+ ],
682
+ "AutoComplete": [
683
+ "blocks/AutoComplete/style.less"
684
+ ],
685
+ "Avatar": [
686
+ "blocks/Avatar/style.less"
687
+ ],
688
+ "Badge": [
689
+ "blocks/Badge/style.less"
690
+ ],
691
+ "Breadcrumb": [
692
+ "blocks/Breadcrumb/style.less"
693
+ ],
694
+ "Button": [
695
+ "blocks/Button/style.less"
696
+ ],
697
+ "ButtonSelector": [
698
+ "blocks/ButtonSelector/style.less"
699
+ ],
700
+ "Card": [
701
+ "blocks/Card/style.less"
702
+ ],
703
+ "CheckboxSelector": [
704
+ "blocks/CheckboxSelector/style.less"
705
+ ],
706
+ "CheckboxSwitch": [
707
+ "blocks/CheckboxSwitch/style.less"
708
+ ],
709
+ "Collapse": [
710
+ "blocks/Collapse/style.less"
711
+ ],
712
+ "Comment": [
713
+ "blocks/Comment/style.less"
714
+ ],
715
+ "ConfirmModal": [
716
+ "blocks/ConfirmModal/style.less"
717
+ ],
718
+ "Content": [
719
+ "blocks/Content/style.less"
720
+ ],
721
+ "ControlledList": [
722
+ "blocks/ControlledList/style.less"
723
+ ],
724
+ "DateRangeSelector": [
725
+ "blocks/DateRangeSelector/style.less"
726
+ ],
727
+ "DateSelector": [
728
+ "blocks/DateSelector/style.less"
729
+ ],
730
+ "DateTimeSelector": [
731
+ "blocks/DateTimeSelector/style.less"
732
+ ],
733
+ "Descriptions": [
734
+ "blocks/Descriptions/style.less"
735
+ ],
736
+ "Divider": [
737
+ "blocks/Divider/style.less"
738
+ ],
739
+ "Drawer": [
740
+ "blocks/Drawer/style.less"
741
+ ],
742
+ "Footer": [
743
+ "blocks/Footer/style.less"
744
+ ],
745
+ "Header": [
746
+ "blocks/Header/style.less"
747
+ ],
748
+ "Label": [
749
+ "blocks/Label/style.less"
750
+ ],
751
+ "Layout": [
752
+ "blocks/Layout/style.less"
753
+ ],
754
+ "Menu": [
755
+ "blocks/Menu/style.less"
756
+ ],
757
+ "Message": [
758
+ "blocks/Message/style.less"
759
+ ],
760
+ "MobileMenu": [
761
+ "blocks/MobileMenu/style.less"
762
+ ],
763
+ "Modal": [
764
+ "blocks/Modal/style.less"
765
+ ],
766
+ "MonthSelector": [
767
+ "blocks/MonthSelector/style.less"
768
+ ],
769
+ "MultipleSelector": [
770
+ "blocks/MultipleSelector/style.less"
771
+ ],
772
+ "Notification": [
773
+ "blocks/Notification/style.less"
774
+ ],
775
+ "NumberInput": [
776
+ "blocks/NumberInput/style.less"
777
+ ],
778
+ "PageHCF": [
779
+ "blocks/PageHCF/style.less"
780
+ ],
781
+ "PageHCSF": [
782
+ "blocks/PageHCSF/style.less"
783
+ ],
784
+ "PageHSCF": [
785
+ "blocks/PageHSCF/style.less"
786
+ ],
787
+ "PageHeaderMenu": [
788
+ "blocks/PageHeaderMenu/style.less"
789
+ ],
790
+ "PageSHCF": [
791
+ "blocks/PageSHCF/style.less"
792
+ ],
793
+ "PageSiderMenu": [
794
+ "blocks/PageSiderMenu/style.less"
795
+ ],
796
+ "Pagination": [
797
+ "blocks/Pagination/style.less"
798
+ ],
799
+ "Paragraph": [
800
+ "blocks/Paragraph/style.less"
801
+ ],
802
+ "ParagraphInput": [
803
+ "blocks/ParagraphInput/style.less"
804
+ ],
805
+ "PasswordInput": [
806
+ "blocks/PasswordInput/style.less"
807
+ ],
808
+ "Progress": [
809
+ "blocks/Progress/style.less"
810
+ ],
811
+ "RadioSelector": [
812
+ "blocks/RadioSelector/style.less"
813
+ ],
814
+ "RatingSlider": [
815
+ "blocks/RatingSlider/style.less"
816
+ ],
817
+ "Result": [
818
+ "blocks/Result/style.less"
819
+ ],
820
+ "S3UploadButton": [
821
+ "blocks/S3UploadButton/style.less"
822
+ ],
823
+ "Selector": [
824
+ "blocks/Selector/style.less"
825
+ ],
826
+ "Sider": [
827
+ "blocks/Sider/style.less"
828
+ ],
829
+ "Statistic": [
830
+ "blocks/Statistic/style.less"
831
+ ],
832
+ "Switch": [
833
+ "blocks/Switch/style.less"
834
+ ],
835
+ "Tabs": [
836
+ "blocks/Tabs/style.less"
837
+ ],
838
+ "TextArea": [
839
+ "blocks/TextArea/style.less"
840
+ ],
841
+ "TextInput": [
842
+ "blocks/TextInput/style.less"
843
+ ],
844
+ "TimelineList": [
845
+ "blocks/TimelineList/style.less"
846
+ ],
847
+ "Title": [
848
+ "blocks/Title/style.less"
849
+ ],
850
+ "TitleInput": [
851
+ "blocks/TitleInput/style.less"
852
+ ],
853
+ "Tooltip": [
854
+ "blocks/Tooltip/style.less"
855
+ ],
856
+ "WeekSelector": [
857
+ "blocks/WeekSelector/style.less"
858
+ ]
859
+ },
54
860
  "@lowdefy/blocks-basic": {
55
861
  "default": [],
56
862
  "Anchor": [],
@@ -61,6 +867,30 @@
61
867
  "Img": [],
62
868
  "List": [],
63
869
  "Span": []
870
+ },
871
+ "@lowdefy/blocks-loaders": {
872
+ "default": [],
873
+ "IconSpinner": [
874
+ "blocks/IconSpinner/style.less"
875
+ ],
876
+ "Skeleton": [
877
+ "blocks/Skeleton/style.less"
878
+ ],
879
+ "SkeletonAvatar": [
880
+ "blocks/SkeletonAvatar/style.less"
881
+ ],
882
+ "SkeletonButton": [
883
+ "blocks/SkeletonButton/style.less"
884
+ ],
885
+ "SkeletonInput": [
886
+ "blocks/SkeletonInput/style.less"
887
+ ],
888
+ "SkeletonParagraph": [
889
+ "blocks/SkeletonParagraph/style.less"
890
+ ],
891
+ "Spinner": [
892
+ "blocks/Spinner/style.less"
893
+ ]
64
894
  }
65
895
  }
66
896
  }
package/dist/index.js CHANGED
@@ -29,6 +29,7 @@ import cleanBuildDirectory from './build/cleanBuildDirectory.js';
29
29
  import testSchema from './build/testSchema.js';
30
30
  import validateApp from './build/validateApp.js';
31
31
  import validateConfig from './build/validateConfig.js';
32
+ import updateServerPackageJson from './build/updateServerPackageJson.js';
32
33
  import writeApp from './build/writeApp.js';
33
34
  import writeBlockImports from './build/writePluginImports/writeBlockImports.js';
34
35
  import writeConfig from './build/writeConfig.js';
@@ -37,19 +38,17 @@ import writeConnections from './build/writeConnections.js';
37
38
  import writeGlobal from './build/writeGlobal.js';
38
39
  import writeIconImports from './build/writePluginImports/writeIconImports.js';
39
40
  import writeMenus from './build/writeMenus.js';
41
+ import writeOperatorImports from './build/writePluginImports/writeOperatorImports.js';
40
42
  import writePages from './build/writePages.js';
41
43
  import writeRequests from './build/writeRequests.js';
42
44
  import writeStyleImports from './build/writePluginImports/writeStyleImports.js';
43
45
  import writeTypes from './build/writeTypes.js';
44
46
  async function createContext(options) {
45
- const { blocksServerUrl , buildDirectory , cacheDirectory , configDirectory , logger , refResolver } = options;
47
+ const { directories , logger , refResolver } = options;
46
48
  const defaultTypes = JSON.parse(await readFile(new URL('./defaultTypes.json', import.meta.url).pathname));
47
49
  // TODO: resolve custom plugin types
48
50
  const context = {
49
- blocksServerUrl,
50
- buildDirectory,
51
- cacheDirectory,
52
- configDirectory,
51
+ directories,
53
52
  typeCounters: {
54
53
  actions: createCounter(),
55
54
  blocks: createCounter(),
@@ -62,12 +61,12 @@ async function createContext(options) {
62
61
  },
63
62
  logger,
64
63
  readConfigFile: createReadConfigFile({
65
- configDirectory
64
+ directories
66
65
  }),
67
66
  refResolver,
68
67
  types: defaultTypes,
69
68
  writeBuildArtifact: createWriteBuildArtifact({
70
- buildDirectory
69
+ directories
71
70
  })
72
71
  };
73
72
  return context;
@@ -164,6 +163,10 @@ async function build(options) {
164
163
  components,
165
164
  context
166
165
  });
166
+ await writeOperatorImports({
167
+ components,
168
+ context
169
+ });
167
170
  await writeStyleImports({
168
171
  components,
169
172
  context
@@ -172,7 +175,10 @@ async function build(options) {
172
175
  components,
173
176
  context
174
177
  });
175
- // TODO: add plugins to package.json
178
+ await updateServerPackageJson({
179
+ components,
180
+ context
181
+ });
176
182
  } catch (error) {
177
183
  context.logger.error(error);
178
184
  throw error;
@@ -68,6 +68,12 @@ export default {
68
68
  }
69
69
  }
70
70
  }
71
+ },
72
+ styles: {
73
+ type: 'object',
74
+ errorMessage: {
75
+ type: 'App "app.styles" should be an object.'
76
+ }
71
77
  }
72
78
  }
73
79
  },
@@ -17,8 +17,15 @@
17
17
  import { type } from '@lowdefy/helpers';
18
18
  import { readFile, writeFile } from '@lowdefy/node-utils';
19
19
  const defaultPackages = [
20
+ '@lowdefy/blocks-antd',
20
21
  '@lowdefy/blocks-basic',
21
- '@lowdefy/connection-axios-http'
22
+ // '@lowdefy/blocks-color-selectors',
23
+ // '@lowdefy/blocks-echarts',
24
+ '@lowdefy/blocks-loaders',
25
+ // '@lowdefy/blocks-markdown',
26
+ '@lowdefy/connection-axios-http',
27
+ '@lowdefy/operators-js',
28
+ '@lowdefy/operators-nunjucks',
22
29
  ];
23
30
  function createTypeDefinitions({ typeNames , store , packageName , version }) {
24
31
  if (type.isArray(typeNames)) {
@@ -18,8 +18,11 @@ import build from '../index.js';
18
18
  async function run() {
19
19
  await build({
20
20
  logger: console,
21
- buildDirectory: path.resolve(process.env.LOWDEFY_BUILD_DIRECTORY || path.join(process.cwd(), 'build')),
22
- configDirectory: path.resolve(process.env.LOWDEFY_CONFIG_DIRECTORY || process.cwd())
21
+ directories: {
22
+ build: path.resolve(process.env.LOWDEFY_BUILD_DIRECTORY || path.join(process.cwd(), 'build')),
23
+ config: path.resolve(process.env.LOWDEFY_CONFIG_DIRECTORY || process.cwd()),
24
+ server: path.resolve(process.env.LOWDEFY_SERVER_DIRECTORY || process.cwd())
25
+ }
23
26
  });
24
27
  }
25
28
  run();
@@ -30,7 +30,9 @@ function testContext({ writeBuildArtifact , configDirectory , readConfigFile , l
30
30
  };
31
31
  const context = {
32
32
  id: 'test',
33
- configDirectory: configDirectory || '',
33
+ directories: {
34
+ config: configDirectory || ''
35
+ },
34
36
  typeCounters: {
35
37
  actions: createCounter(),
36
38
  blocks: createCounter(),
@@ -15,9 +15,9 @@
15
15
  */ import path from 'path';
16
16
  import { cachedPromises } from '@lowdefy/helpers';
17
17
  import { readFile } from '@lowdefy/node-utils';
18
- function createReadConfigFile({ configDirectory }) {
18
+ function createReadConfigFile({ directories }) {
19
19
  async function readConfigFile(filePath) {
20
- return readFile(path.resolve(configDirectory, filePath));
20
+ return readFile(path.resolve(directories.config, filePath));
21
21
  }
22
22
  return cachedPromises(readConfigFile);
23
23
  }
@@ -14,10 +14,10 @@
14
14
  limitations under the License.
15
15
  */ import path from 'path';
16
16
  import { writeFile } from '@lowdefy/node-utils';
17
- function createWriteBuildArtifact({ buildDirectory }) {
17
+ function createWriteBuildArtifact({ directories }) {
18
18
  async function writeBuildArtifact({ filePath , content }) {
19
19
  return writeFile({
20
- filePath: path.resolve(buildDirectory, filePath),
20
+ filePath: path.resolve(directories.build, filePath),
21
21
  content
22
22
  });
23
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/build",
3
- "version": "4.0.0-alpha.4",
3
+ "version": "4.0.0-alpha.5",
4
4
  "licence": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -41,18 +41,25 @@
41
41
  "test": "jest --coverage"
42
42
  },
43
43
  "dependencies": {
44
- "@lowdefy/ajv": "4.0.0-alpha.4",
45
- "@lowdefy/helpers": "4.0.0-alpha.4",
46
- "@lowdefy/node-utils": "4.0.0-alpha.4",
47
- "@lowdefy/nunjucks": "4.0.0-alpha.4",
44
+ "@lowdefy/ajv": "4.0.0-alpha.5",
45
+ "@lowdefy/helpers": "4.0.0-alpha.5",
46
+ "@lowdefy/node-utils": "4.0.0-alpha.5",
47
+ "@lowdefy/nunjucks": "4.0.0-alpha.5",
48
48
  "ajv": "8.8.2",
49
49
  "js-yaml": "4.1.0",
50
50
  "json5": "2.2.0",
51
51
  "uuid": "8.3.2"
52
52
  },
53
53
  "devDependencies": {
54
- "@lowdefy/blocks-basic": "4.0.0-alpha.4",
55
- "@lowdefy/connection-axios-http": "4.0.0-alpha.4",
54
+ "@lowdefy/blocks-antd": "4.0.0-alpha.5",
55
+ "@lowdefy/blocks-basic": "4.0.0-alpha.5",
56
+ "@lowdefy/blocks-color-selectors": "4.0.0-alpha.5",
57
+ "@lowdefy/blocks-echarts": "4.0.0-alpha.5",
58
+ "@lowdefy/blocks-loaders": "4.0.0-alpha.5",
59
+ "@lowdefy/blocks-markdown": "4.0.0-alpha.5",
60
+ "@lowdefy/connection-axios-http": "4.0.0-alpha.5",
61
+ "@lowdefy/operators-js": "4.0.0-alpha.5",
62
+ "@lowdefy/operators-nunjucks": "4.0.0-alpha.5",
56
63
  "@swc/cli": "0.1.52",
57
64
  "@swc/core": "1.2.112",
58
65
  "@swc/jest": "0.2.9",
@@ -61,5 +68,5 @@
61
68
  "publishConfig": {
62
69
  "access": "public"
63
70
  },
64
- "gitHead": "537d166ba3f6e017b8a61c2a7e5c12fd0a48bf67"
71
+ "gitHead": "995fcdb020927f3cdc626fc99c15a2e4137bd962"
65
72
  }