Will Hunt
9cb7d89097
Require node 15.
...
We use replaceAll in scripts/postcss/svg-colorizer.js which is a ES2021 feature. https://node.green/#ES2021-features--String-prototype-replaceAll
2022-06-24 13:27:09 +01:00
Bruno Windels
623939c671
release v0.2.32
2022-06-15 11:29:29 +02:00
Bruno Windels
4ed7e01dfd
release v0.2.31
2022-06-14 16:00:35 +02:00
Bruno Windels
abee9baf60
release v0.2.30
2022-06-14 10:15:00 +02:00
Bruno Windels
1b2a6b5d0e
Merge branch 'master' into madlittlemods/686-682-local-friendly-development-and-commonjs
2022-05-30 14:15:19 +02:00
Bruno Windels
ed8c98558d
release v0.2.29
2022-05-18 21:45:45 +02:00
RMidhunSuresh
541cd96eeb
Add script to cleanup after build
2022-05-10 14:12:36 +05:30
Eric Eastwood
d053d4388f
Update Vite to avoid flakey errors in our PostCSS plugins
...
Fix https://github.com/vector-im/hydrogen-web/issues/722
Updating Vite to includes fixes from
https://github.com/vitejs/vite/issues/7822 -> https://github.com/vitejs/vite/pull/7827
2022-05-05 14:58:43 -05:00
Eric Eastwood
f56dc582a5
Fix tests after theme updates
2022-04-20 00:39:32 -05:00
Eric Eastwood
12d6447b06
Merge branch 'master' into madlittlemods/686-682-local-friendly-development-and-commonjs
...
Conflicts:
package.json
scripts/sdk/base-manifest.json
scripts/sdk/build.sh
2022-04-19 17:19:13 -05:00
Bruno Windels
2d6cbcfce0
release v0.2.28
2022-04-14 10:38:17 +02:00
Bruno Windels
cbdd7548da
release v0.2.27
2022-04-14 09:53:21 +02:00
RMidhunSuresh
f897e5132c
Implement url to variables plugin
2022-04-07 11:34:11 +05:30
Eric Eastwood
2401b7f453
Add way to test whether SDK works in ESM and CommonJS
2022-04-05 19:24:27 -05:00
Eric Eastwood
dd06d78a72
Avoid ERR_REQUIRE_ESM errors when requiring SDK
2022-04-05 18:17:14 -05:00
Eric Eastwood
95d17303c3
Update Vite which includes fixes to importing *.js?url
with exports
...
Update to Vite which includes https://github.com/vitejs/vite/pull/7098
2022-04-05 17:16:55 -05:00
Eric Eastwood
d247bc4e28
Merge branch 'master' into madlittlemods/686-682-local-friendly-development-and-commonjs
...
Conflicts:
package.json
scripts/sdk/base-manifest.json
2022-04-05 17:15:30 -05:00
RMidhunSuresh
2015fa2d7a
Move postcss-value-parser to dev dependency
2022-03-27 20:18:42 +05:30
RMidhunSuresh
bca1648df6
Move plugin to /scripts and create eslintrc
2022-03-14 11:35:10 +05:30
RMidhunSuresh
a83850ebf3
Use postcss value parser to find variables
2022-03-09 11:48:53 +05:30
RMidhunSuresh
a5d46bb40c
Move over tests to Hydrogen using impunity
2022-03-07 13:10:44 +05:30
RMidhunSuresh
f170ef0206
Switch over to off-color
2022-03-07 11:38:39 +05:30
RMidhunSuresh
60d60e9572
WIP
2022-03-03 19:58:46 +05:30
Eric Eastwood
0023ab34ba
Add a placeholder for upgrading vite to comment on
2022-02-26 05:19:59 -06:00
Bruno Windels
750f3cd8ff
release v0.2.26
2022-02-11 17:20:54 +01:00
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