Commit Graph

258 Commits

Author SHA1 Message Date
Bruno Windels
65dcf8bc36 release v0.2.25 2022-02-01 12:34:42 +01:00
Bruno Windels
c6820eccab release v0.2.24 2022-02-01 11:58:47 +01:00
Bruno Windels
d673c8714e release v0.2.23 2022-01-14 19:19:18 +01:00
Bruno Windels
b76f97be93 put bs58 in devDeps as we bundle it in the sdk 2022-01-12 10:11:04 +01:00
Bruno Windels
b48280905e include path/vite in sdk bundle 2021-12-22 16:31:19 +01:00
Bruno Windels
ceb0b5793b somewhat works, but not everything we need
it's missing still:
 - non-css assets like the download sandbox and the olm worker aren't written for some reason
 - the es and cjs lib.js entry points end up in assets with a hash for some reason
 - in these entry files, apart from our exports, something is adding an import statement for every import that was found in the tree
 - all assets are hashed even though the config tries to disable that
 - tests are included
2021-12-22 16:31:18 +01:00
Bruno Windels
c11f0774eb move common parts of build config to separate file and merge with it 2021-12-22 16:31:18 +01:00
Bruno Windels
f2b822e5d2 move deps that are not used for sdk to devDependencies 2021-12-22 16:31:18 +01:00
Bruno Windels
5c5193ef48 remove old build system and unused dependencies
some of these are for the ie11 legacy build, which has been
postponed. They will be brougth back when we bring back the legacy build
2021-12-09 18:04:11 +01:00
Bruno Windels
f83a0cec4e update postcss plugins so they all use the same version of postcss 2021-12-01 18:09:26 +01:00
Bruno Windels
69e34d03bd sort dependencies 2021-12-01 17:45:33 +01:00
Bruno Windels
3fd2d39898 remove unused packages and move dev deps accordingly 2021-12-01 17:26:48 +01:00
Bruno Windels
75bf410320 correct path of main.js for tests 2021-12-01 13:30:17 +01:00
Bruno Windels
7e1818b285 Merge branch 'master' into bwindels/vite-mvp 2021-12-01 12:30:33 +01:00
Bruno Windels
3322827979 upgrade impunity to propagate exit code 2021-11-30 08:16:28 +01:00
Bruno Windels
a134e48ebb update impunity to 1.0.8 to run tests on node >= 16.12 2021-11-29 10:49:26 +01:00
Bruno Windels
2802164bb4 update to version that doesn't use a bash script anymore, which doesnt work on macos 2021-11-26 12:45:40 +01:00
Bruno Windels
876fcf532f release v0.2.22 2021-11-26 09:12:08 +01:00
Bruno Windels
c0f7f0a8f1
Merge pull request #590 from vector-im/bwindels/platform-tests
Search platform-specific code for tests too
2021-11-19 10:26:35 +01:00
Bruno Windels
ec71e30ecb add Platform as entry point so also platform dependant code gets searched for tests 2021-11-19 10:23:18 +01:00
Bruno Windels
f23227fc8b use latest version of impunity with support for multiple entry points 2021-11-19 10:22:59 +01:00
Bruno Windels
0a433b90e3 packages processed by post-install need to be in dependencies, or the script fails 2021-11-17 15:09:25 +01:00
Bruno Windels
da7f66a531 setup babel for legacy build as input transform plugin 2021-11-09 14:52:03 +01:00
Bruno Windels
fcde507183 WIP 2021-11-08 11:13:02 +01:00
Bruno Windels
16918ddb7d ie11 build wip 2021-11-08 11:12:13 +01:00
Bruno Windels
3fe1c0cdc3 tweak build and start command to use vite 2021-11-08 11:10:34 +01:00
Bruno Windels
01712c3f23 make tests run again 2021-11-08 11:10:34 +01:00
Bruno Windels
b6fda8865f make all dependencies use vite and remove post-install script / lib dir 2021-11-08 11:10:34 +01:00
Bruno Windels
db3e8a9c6b rearrange assets and main.js to make them run with vite 2021-11-08 11:10:23 +01:00
Bruno Windels
2afcddbf49 release v0.2.21 2021-11-05 21:08:49 +01:00
Bruno Windels
5c689ac5b1 yarn wants deps in different order 2021-11-05 21:02:46 +01:00
Bruno Windels
b011c3df03 release v0.2.20 2021-11-03 02:38:52 +01:00
Bruno Windels
abb802b881 release v0.2.19 2021-10-26 15:38:50 +02:00
Bruno Windels
c621ccf679 release v0.2.18 2021-10-26 15:10:44 +02:00
Bruno Windels
e3c5def536 release v0.2.17 2021-10-26 11:32:42 +02:00
Bruno Windels
f89d169ef3 provide library entry point that provides convenient reexports of the public classes 2021-10-01 11:30:42 +02:00
Bruno Windels
8911588de9 release v0.2.16 2021-09-30 12:48:45 +02:00
Bruno Windels
31a70e1b8e release v0.2.15 2021-09-30 09:52:35 +02:00
Bruno Windels
004aa5d3dc
Merge pull request #519 from vector-im/bwindels/rickfixes
Fix immediate errors for sdk usage
2021-09-29 11:12:17 +02:00
Bruno Windels
1b87eaf21e move packages needed for post-install script to (non-dev) deps 2021-09-29 11:02:59 +02:00
Bruno Windels
cd071e47e0 release v0.2.14 2021-09-28 14:59:40 +02:00
Bruno Windels
cc0b938a6d release v0.2.13 2021-09-24 18:45:33 +02:00
Bruno Windels
6c12f0f66f release v0.2.12 2021-09-22 10:45:46 +02:00
Bruno Windels
08fe430c4b release v0.2.11 2021-09-17 18:38:30 +02:00
Bruno Windels
cce7606960 release v0.2.10 2021-09-16 22:43:38 +02:00
Bruno Windels
ccc5aac025 release v0.2.9 2021-09-16 18:20:25 +02:00
Bruno Windels
8d414970c6 release v0.2.8 2021-08-30 15:23:09 +02:00
Bruno Windels
3d4f69d048 release v0.2.7 2021-08-23 20:25:47 +02:00
Bruno Windels
3d6a990c58 release v0.2.6 2021-08-23 20:14:20 +02:00
Bruno Windels
8fa6f4f9fd add lint command for typescript
and detect missing await
2021-08-18 17:20:31 +02:00
Bruno Windels
02e422f3ac
Merge pull request #448 from vector-im/snowpack-mvp
Snowpack MVP
2021-08-18 13:09:02 +00:00
Bruno Windels
ce273d8761 make tests run again with typescript support 2021-08-17 12:52:50 +02:00
Bruno Windels
1e05d41294 release v0.2.5 2021-08-07 09:01:14 +02:00
Bruno Windels
e68df1b324 release v0.2.4 2021-08-06 23:44:52 +02:00
Danila Fedorin
d2f32ca3a5 Run snowpack on 'yarn start' 2021-08-06 13:05:40 -07:00
Danila Fedorin
973b33c032 Add snowpack and typescript dependencies 2021-08-06 12:15:23 -07:00
Bruno Windels
13932bb480 release v0.2.3 2021-07-18 13:16:51 +02:00
Bruno Windels
44b25e4157 release v0.2.2 2021-07-16 23:54:34 +02:00
Bruno Windels
c062584578 release v0.2.1 2021-07-16 23:48:55 +02:00
Danila Fedorin
4022c6121b Switch to DOMPurify in platform layer for sanitization. 2021-07-12 15:00:16 -07:00
Danila Fedorin
1435c2c9a2 Add HTML sanitization to domain layer. 2021-07-09 13:06:24 -07:00
Danila Fedorin
eca5308742 Move deserialization into domain and fix tests. 2021-07-07 12:21:10 -07:00
Danila Fedorin
e08aa7df88 Add HTML parser library for tests. 2021-07-06 19:10:36 -07:00
Bruno Windels
ce647e78ce release v0.2.0 2021-06-24 17:17:01 +02:00
Bruno Windels
e4a1c99615 release v0.1.57 2021-06-08 17:35:17 +02:00
Bruno Windels
0685fa2622 update olm to 3.2.3 2021-06-08 17:23:39 +02:00
Bruno Windels
5562e7cd74 release v0.1.56 2021-06-02 19:08:56 +02:00
Bruno Windels
2194c1b8bd release v0.1.55 2021-06-02 13:14:31 +02:00
Bruno Windels
d9de28b2e7 release v0.1.54 2021-06-02 12:47:59 +02:00
Bruno Windels
6a5679a338 create mock storage using fake-indexeddb 2021-06-02 12:32:03 +02:00
Bruno Windels
245b5458d0 put latest version in package.json as well 2021-05-31 13:06:11 +02:00
Bruno Windels
fa7e24fed7 tune linting so it doesn't produce errors anymore and enable in CI 2021-05-20 11:11:57 +02:00
Bruno Windels
870cf62ab6 release v0.1.53 2021-05-18 15:31:26 +02:00
Bruno Windels
a4d3b5f013 release v0.1.52 2021-05-17 13:03:26 +02:00
Bruno Windels
c3b5c8750e add eslint as dep, and have yarn lint run it 2021-05-17 12:53:58 +02:00
Bruno Windels
4f1149c1a7 release v0.1.51 2021-05-12 23:10:02 +02:00
Bruno Windels
c153f4a3e2 release v0.1.50 2021-05-12 22:51:01 +02:00
Bruno Windels
78946a953a release v0.1.49 2021-05-12 18:33:05 +02:00
Bruno Windels
517a7516b7 release v0.1.48 2021-05-06 12:14:58 +02:00
Bruno Windels
9312f71764 release v0.1.47 2021-04-28 14:16:50 +02:00
Bruno Windels
04a1d89907 release v0.1.46 2021-04-28 11:42:02 +02:00
Bruno Windels
76e65c0bfd move rollup to devdeps 2021-04-19 10:38:08 +02:00
Bruno Windels
050d603812 release v0.1.45 2021-04-09 20:01:00 +02:00
Bruno Windels
6802f0720e release v0.1.44 2021-04-08 18:44:57 +02:00
Bruno Windels
d94aeff98c release v0.1.43 2021-04-07 14:46:01 +02:00
Bruno Windels
1ac36cbd23 release v0.1.42 2021-04-01 15:04:21 +02:00
Bruno Windels
3f36ea04f4 release v0.1.41 2021-03-31 17:29:16 +02:00
Bruno Windels
c06b9cd886 release v0.1.40 2021-03-25 11:25:45 +01:00
Bruno Windels
25cf72a9b6 release v0.1.39 2021-03-15 17:20:57 +01:00
Bruno Windels
86dfbbb0c9 release v0.1.38 2021-03-15 13:45:55 +01:00
Bruno Windels
ebca3935c5 release v0.1.37 2021-03-11 10:28:04 +01:00
Bruno Windels
e79e4b525d release v0.1.36 2021-03-10 13:46:19 +01:00
Bruno Windels
0052a11a1e convert post-install script to CJS so we can use require.resolve
this allows us to find where npm/yarn has installed deps, as we can't
assume our own node_modules directory when hydrogen is installed as a
dependency
2021-03-08 14:40:21 +01:00
Bruno Windels
0c0a4011f7 move libraries used to transpile dependencies on post-install to runtime deps
so when using hydrogen as a dependency in another project through yarn or npm,
the installation won't fail because the post-install script can't find its dependencies
2021-03-08 14:21:23 +01:00
Bruno Windels
bf9b69ba2a release v0.1.35 2021-03-05 20:17:48 +01:00
Bruno Windels
7af22da587 release v0.1.34 2021-03-05 11:57:35 +01:00
Bruno Windels
e820f0e7b9 release v0.1.33 2021-03-04 21:55:21 +01:00
Bruno Windels
f8264f1726 release v0.1.32 2021-03-03 14:56:59 +01:00
Bruno Windels
5d8d139f44 release v0.1.31 2021-02-24 12:54:26 +01:00
Bruno Windels
908a119dc9 release v0.1.30 2020-11-20 16:38:43 +01:00