118 Commits

Author SHA1 Message Date
Marvin Hagemeister
e83e2717f4 TypeScript: Add support for override keyword 2021-07-09 09:53:44 +02:00
Marvin Hagemeister
a7ac55f86d Fix node 12.18 module error 2021-07-05 08:54:50 +02:00
Ryan Christian
05abfc43b6 chore: Restoring ignore on all of wmr/test/fixtures 2021-06-03 19:56:32 -05:00
Ryan Christian
a3a8a5343c chore: Including TS files in pre-commit hook 2021-06-03 19:49:56 -05:00
Ryan Christian
c3187705af chore: Removing unused jest config @ root 2021-06-03 18:42:23 -05:00
Ryan Christian
05126f954d chore: Reducing shared config 2021-06-03 18:32:03 -05:00
Marvin Hagemeister
32f79a2d02 Enable no-console rule 2021-06-02 23:54:35 +02:00
Jason Miller
9d3b6040c7
add "iso" package script alias 2021-05-04 17:40:34 -04:00
Jason Miller
877b8e63af use the repo copy of preact-iso 2021-03-30 12:33:52 -04:00
Marvin Hagemeister
0e5b35402b Update docs command 2021-03-30 11:15:50 +02:00
Jason Miller
3a27a96ee1 fix docs build 2021-03-30 09:37:55 +02:00
Jason Miller
47e80f88fb Markdown-powered docs site! 2021-03-30 09:37:55 +02:00
Marvin Hagemeister
452a36b4fb
Fix yarn unable to find wmr binary
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
2021-03-18 19:53:40 +01:00
Jason Miller
b949094e98
fix CI builds 2021-03-18 12:52:02 -04:00
Jason Miller
f8502499b7
Move demo build/run commands to demo, add yarn demo x run alias 2021-03-18 12:48:36 -04:00
Jason Miller
0380b7e0de
Move demo app into new examples/ directory 2021-03-18 12:22:12 -04:00
Jovi De Croock
fab59f88ec
support route parameters and inject them into the component (#354)
* support route parameters and inject them into the component

* add changeset

* cleanup residual variables

* fix lint-staged

* reduce diff

* always return undefined

* add tests

* remove log

* update readme

* fix indentation

* Update packages/preact-iso/router.js

Co-authored-by: Marvin Hagemeister <hello@marvinh.dev>

* use correct yml syntax

* use context for route

* use createElement (avoid jsx)

* Update neat-wasps-mix.md

* remove unused import

* Update packages/preact-iso/router.js

Co-authored-by: Jason Miller <developit@users.noreply.github.com>

* Use Jest's native ESM support (#357)

* lint fixes

* TypeScript fixes

* add type for useRoute

Co-authored-by: Marvin Hagemeister <hello@marvinh.dev>
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
Co-authored-by: Jason Miller <jason@developit.ca>
2021-02-21 22:32:08 +01:00
jdecroock
5b88824115 cleanup sw log and specify prettier further 2021-02-21 12:37:05 +01:00
Jovi De Croock
efe3030b0a
tweak eslint/prettier setup (#353) 2021-02-21 09:27:00 +01:00
jdecroock
ae0c029449 lint 2021-02-20 09:24:33 +01:00
jdecroock
8d47f01c28 add changesets 2021-02-18 21:50:31 +01:00
jdecroock
ec0a24d926 fix pathing 2021-02-18 21:50:25 +01:00
jdecroock
c8f6d5caa1 use yarn 2021-02-18 21:50:22 +01:00
jdecroock
c1e0daf163 fix diff 2021-02-18 21:50:21 +01:00
Prana Adiwira
25e78160d7
feat: close Rollup bundle before passing output (#302)
* chore: upgrade rollup v2.39.0

* feat: close bundle before passing result
2021-02-17 10:44:09 +01:00
Jason Miller
fb1f69e8bf
Variable dynamic import prod (#292) 2021-02-17 02:43:07 +01:00
Matias Perez
9cb02faa6b
Fix HMR not working with CSS on Windows (#332)
* HMR Windows error fixed and cross-env added to dev script

* Pre-normalizing ids
2021-02-16 17:26:19 +01:00
Jason Miller
2024c9bd8e
wmr@1.1.0 2021-01-02 22:24:48 -05:00
Andre Wiggins
07ed9349db Run npm audit 2020-12-14 13:17:54 -08:00
Luke Edwards
084034cb21 chore: lower engines constraint 2020-12-05 09:21:12 -08:00
Luke Edwards
07a1917ab2
chore: replace tiny-glob with totalist for inputs (#216) 2020-12-04 19:34:56 +01:00
Ryan Christian
08dc7eaffa refactor: Removing plugin, using premove to clear dist 2020-12-03 21:55:56 -06:00
Ryan Christian
dea47cfb40 refactor: Switching to plugin format
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
2020-12-03 20:47:10 -06:00
Ajay Poshak
6960ba5e1b Add engines field to warn users that this module only runs on node v14 or above 2020-12-03 15:17:43 +05:30
Jason Miller
4478690ebf
1.0.0 2020-12-02 14:43:29 -05:00
Jason Miller
5e50166dcd
Update package.json 2020-12-02 13:56:55 -05:00
Jason Miller
1b008a9916
fix: include the types property in published package.json 2020-11-28 22:26:25 -05:00
Jason Miller
6733f6a541
0.0.12 2020-11-17 22:34:04 -05:00
Jason Miller
03b0448a50
Add externally usable types 2020-11-11 23:38:26 -05:00
Jason Miller
25b01e31d2
disable http2 because devcert doesn't work on GH actions 2020-10-30 14:36:54 -04:00
Jason Miller
013bd25086
enable prerendering flag in ci 2020-10-29 18:07:37 -04:00
Jason Miller
04388e4538
0.0.11 2020-10-29 17:52:38 -04:00
Jason Miller
ba8d0e7bdf
Add wmr serve to npm scripts 2020-10-27 17:04:22 -04:00
Marvin Hagemeister
134e053b8c Fix error when logging non-strings 2020-10-18 13:12:54 +02:00
Marvin Hagemeister
d0c19111a3
Merge pull request #157 from developit/add-prod-server 2020-10-13 21:45:42 +02:00
Jason Miller
a7d55edc6f
Add a production server using all the same tech/deps 2020-10-11 23:36:29 -04:00
Jason Miller
9eb0a3ab9f Switch code generation to the astring module 2020-10-10 21:26:00 -04:00
Marvin Hagemeister
fb49109a48 Add resolution debug output 2020-10-07 19:29:56 +02:00
Jason Miller
a5289dd50e remove --runInBand 2020-10-04 07:50:06 +02:00
Jason Miller
c8645247a1 test tweaks 2020-10-04 07:49:38 +02:00