Commit Graph

261 Commits

Author SHA1 Message Date
Gervwyk
fbcb024d37 fix(blockTools): export BlockSchemaErrors 2020-10-28 16:04:10 +02:00
Gervwyk
a9200e0176 feat(blockTools): add BlockSchemaError 2020-10-28 16:00:12 +02:00
Gervwyk
6c192d42b0 feat(blocksTools): mockBlockProps to provide schema errors 2020-10-28 15:23:39 +02:00
Gervwyk
c5bd4ebc9a fix(blockTools): correct schema to areas.content.blocks 2020-10-28 14:34:20 +02:00
Gervwyk
62c5f66345 fix(blockTools): runBlockSchemaTests match true no snapshot required 2020-10-28 14:21:22 +02:00
Gervwyk
f53dcb8fff fix(build): in shcema areas.content.block must be an array 2020-10-28 13:57:52 +02:00
Gervwyk
bfa6e4ce70 feat(blockTools): init runBlockSchemaTests 2020-10-28 13:57:19 +02:00
Gervwyk
6acb593f0a chore(blockTools): update to @wojtekmaj/enzyme-adapter-react-17 2020-10-28 12:19:52 +02:00
Gervwyk
ba7d7bf2c0 fix(blockTools): change mock method preference, and rename example to block 2020-10-28 12:03:37 +02:00
Gervwyk
08371369b2 Merge branch 'develop' into test-blockTools 2020-10-28 11:41:37 +02:00
Gervwyk
9e9bc7e1d1 Merge branch 'develop' into test-blockTools 2020-10-28 11:40:39 +02:00
Sam Tolmay
10365ae389 chore: add version management to cli package 2020-10-28 11:08:29 +02:00
Sam Tolmay
3712831385 Merge branch 'cli' into yarn-version-management 2020-10-28 11:06:11 +02:00
Sam Tolmay
a3a9ffccb6 fix(cli): fix clean cache description and error messages 2020-10-28 10:53:47 +02:00
Gervwyk
e0f7f17456 fix(blockTools): apply blockDefaults to mockBlock 2020-10-27 23:34:16 +02:00
Gervwyk
0295a8e6e1 feat(blockTools): change mocks to use structured args 2020-10-27 23:06:07 +02:00
Gervwyk
bb8b08f685 feat(blockTools): replace alert with logger in mocks 2020-10-27 22:49:35 +02:00
Gervwyk
cb4a612373 fix(blockTools): always mock callAction, registerAction, registerMethod 2020-10-27 22:16:10 +02:00
Gervwyk
4739f33a3e chore: bump @lowdefy/block-tools version 2020-10-27 22:06:17 +02:00
Gervwyk
c56b2fa96b fix(blockTools): update loading component tests 2020-10-27 22:05:53 +02:00
Gervwyk
42e08c07a0 fix(blockTools): update block mocks to work with setState 2020-10-27 22:04:58 +02:00
Gervwyk
6da1743463 fix(blockTools): simplify blockDefaults to not be a hoc 2020-10-27 21:56:54 +02:00
Sam Tolmay
33fef0dd09 chore: add yarn version management 2020-10-27 18:11:45 +02:00
Sam Tolmay
2fa577844e Merge branch 'develop' into cli yarn pnp 2020-10-27 15:02:39 +02:00
Sam Tolmay
69ac85baf4 Merge branch 'develop' into cli 2020-10-27 15:02:20 +02:00
Sam Tolmay
f2eabfae92 feat(cli): init loadBuildScriptToCache 2020-10-27 14:58:20 +02:00
Sam
90f4bde2c4
Merge pull request #93 from lowdefy/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.3.0
2020-10-27 14:34:13 +02:00
Sam
4661256d9c
Merge pull request #92 from lowdefy/test-blockTools
Fix: list props must be an array of content() functions
2020-10-27 14:33:19 +02:00
Renovate Bot
c7e87eac89
chore(deps): update dependency webpack to v5.3.0 2020-10-27 12:07:07 +00:00
Gervwyk
fc07c51b26 chore: bump @lowdefy/block-tools version 2020-10-27 12:46:30 +02:00
Gervwyk
f30e229dac fix(blockTools): list prop must be an array on content() for list blocks to itterate over 2020-10-27 12:46:08 +02:00
Sam
590b9c1398
Merge pull request #89 from lowdefy/test-blockTools
Tests for  @lowdefy/block-tools and block mocks
2020-10-27 12:38:14 +02:00
Sam Tolmay
1a976659c8 feat(cli): add clean cache command 2020-10-27 11:57:54 +02:00
Sam Tolmay
758a6b9f31 refactor(cli): clean up cli 2020-10-27 10:59:14 +02:00
Gervwyk
ca314f0af6 fix(blockTools): fix filesname and test teardown 2020-10-27 10:50:07 +02:00
Gervwyk
e15f1aab23 feat(blockTools): tests for LogoSpinner and mockBlockProps, and extra lines 2020-10-26 21:38:29 +02:00
Gervwyk
fe140013df feat(build): add defaultMetaLocations 2020-10-26 20:53:49 +02:00
Gervwyk
cbc07afd7a chore: bump @lowdefy/block-tools version 2020-10-26 20:43:49 +02:00
Gervwyk
ad53e39bad chore: update from develop 2020-10-26 20:40:23 +02:00
Gervwyk
ae06841999 chore(blockTools): cleanup tests 2020-10-26 20:37:11 +02:00
Gervwyk
4e1eccbd32 feat(renderer): add list prop for List block content 2020-10-26 20:33:49 +02:00
Gervwyk
a44226257d chore(blockTools): webpack fix 2020-10-26 20:33:18 +02:00
Gervwyk
0d70ba087d feat(blockTools): add mockBlock, mockBlockProps, runRenderTests 2020-10-26 20:32:48 +02:00
Gervwyk
5519789581 feat(blockTools): test for all modules 2020-10-26 20:32:06 +02:00
Gervwyk
14dd133663 fix: yarn install and @lowdefy/block-tools version bump 2020-10-26 20:30:13 +02:00
Renovate Bot
24803a30d4
fix(deps): update dependency graphql to v15.4.0 2020-10-26 16:44:34 +00:00
Sam Tolmay
34dba01724 feat(cli): init module federation of build script 2020-10-26 18:42:43 +02:00
Sam Tolmay
519e604771 feat(cli): add errorBoundary and getLowdefyVersion utils 2020-10-26 15:56:24 +02:00
Sam Tolmay
88a126029c Merge branch 'develop' into cli yarn pnp 2020-10-26 14:04:12 +02:00
Sam Tolmay
e83f47c558 Merge branch 'develop' into cli 2020-10-26 14:03:48 +02:00