Commit graph

62 commits

Author SHA1 Message Date
2736f3995f
chore: remove restore-keys from cache to resolve hangs
Some checks failed
CI / check (push) Successful in 12s
CI / build (24) (push) Failing after 59s
CI / build (22) (push) Failing after 1m5s
2026-05-03 10:12:17 -07:00
4e6e11d2e4
Update node-watch and ws optional dependencies to latest
All checks were successful
CI / check (push) Successful in 18s
CI / build (24) (push) Successful in 41s
CI / build (22) (push) Successful in 48s
2026-05-03 09:39:52 -07:00
f08a99ccb1
chore: update biome to 2.4.14 & apply lint fixes 2026-05-03 09:37:53 -07:00
0e26241e4a
chore: fix broken badges in README 2026-05-03 09:19:10 -07:00
7de82dd3fb core: migrate ci workflows to forgejo
All checks were successful
CI / check (push) Successful in 13s
CI / build (24) (push) Successful in 41s
CI / build (22) (push) Successful in 42s
Reviewed-on: #1
2026-05-03 07:54:45 +00:00
5118a8174b
chore: replace eslint & prettier w/ biomejs (#21)
* chore: replace eslint & prettier w/ biomejs

* fix syntax error in ci.yml workflow

* ensure that build CI jobs only run if check job succeeds to save resources
2024-07-15 08:36:52 -07:00
73135dd4b5
chore: replace travis w/ github actions for CI (#20)
* chore: replace travis w/ github actions for CI

* chore: replace travis w/ github actions for CI

* remove node 24

* Update readme with checks badge
2024-07-15 08:10:57 -07:00
999b9b54a2
chore: update min supported node version to >=18 (#19)
Update required minimum node version to >=18 in preparation for updating other dependencies that require newer node versions.
2024-07-15 00:01:14 -07:00
a13295b223
0.2.0 2021-02-28 09:02:26 -08:00
c7907cd3fd
chore(release): update changelog for v0.2.0 2021-02-28 08:58:15 -08:00
17d304d994
chore: update ts-node & typescript dev deps
Major updates to ts-node (^9.1.1) and typescript (~4.2.2).
2021-02-28 08:45:07 -08:00
73ccc1916d
chore: update eslint dev dependencies
Major update to typescript-eslint plugins (v4.15.2) and eslint-config-prettier (v8.1.0); minor updates to other eslint components.

Doesn't seem to generate any warnings after updating so I think we're good?
2021-02-28 08:35:53 -08:00
efafec2c56
chore: update optional deps (ws & node-watch)
Updates node-watch dep to ^0.7.1 which is a breaking change in the interface of watch function for compatibility on certain windows systems that don't give event and filename info.

Also updates ws dep to v^7.4.3, minor version and bug fixes.
2021-02-28 08:26:02 -08:00
868eca4011
fix: eslint warning in dev runner 2021-02-28 08:22:44 -08:00
2bf1125b83
feat: add dangerouslySetInnerHTML attr
This adds are new attribute to Elements, "dangerouslySetInnerHTML", which like the same attribute from React allows one to take a stirng of unescaped HTML and render it unconditionally. This is of course a potentially dangerous operation that can open your app up to XSS attacks, but for interoperating with existing content management systems and libraries that output HTML (e.g. markdown renderers).

Using "dangerouslySetInnerHTML" on an element with children will generate an error within createElement, since it doesn't make sense to have both children and inner HTML.
2021-01-02 21:24:17 -08:00
4cf35429b5
chore: ensure eslint ignores dist/ dir 2021-01-02 13:42:50 -08:00
8622a4c6c9
chore: use *.json extension for config files
For consistency and readability we're explicitly adding the .json extension to config files.
2021-01-02 13:42:22 -08:00
53d4062e52
chore: update * pin prettier version & format code 2021-01-02 13:40:18 -08:00
5d05f87768
chore: ensure lf line-endings are used in repo 2021-01-02 13:34:43 -08:00
71dbdd7356
doc: update README bades to use mainline branch 2020-06-24 08:59:22 -07:00
ae5ad0cb09
chore: add repository field to package.json 2020-06-14 13:48:24 -07:00
bb09b5f342
0.1.5 2020-06-14 12:16:18 -07:00
243aea990f
chore(release): update changlog for v0.1.5 2020-06-14 12:15:17 -07:00
3c1024a071
fix: stack size exceed error on purging module cache 2020-06-14 12:06:59 -07:00
7404c9aacf
0.1.4 2020-06-10 18:20:20 -07:00
f264e04f3e
chore(release): update changelog for v0.1.4 2020-06-10 18:19:32 -07:00
13449b3524
chore: rename temp dir for clarity 2020-06-10 18:16:19 -07:00
5bde7a062d
chore: cleanup test output dir 2020-06-10 18:12:38 -07:00
db142fdff4
test: cross platform
test: add osx and windows to test platforms in travis
2020-06-10 17:11:10 -07:00
701f85baef
fix: dont require config file
Fixes a couple of issues with config files in websnacks projects.

First, config files are no longer required and the dev and build
commands will no longer error out if a websnacks.ts/js file doesn't
exist.

Second, all optional user config params are now actually optional -
before some parameters were assumed to exist and would error out if not
present (e.g. the "watch" parameter).

Finally, e2e tests were added to prevent regressions on these issues
and test helpers were extracted to a separate file.
2020-06-10 12:39:54 -07:00
09296464d7
doc: ensure badges all use flat-square style 2020-06-09 16:11:34 -07:00
873f75a53a
doc: update README travis bad to .com 2020-06-09 16:05:49 -07:00
b559d5e21a
fix: dev cmd didn't watch files due to import mangling
Appearently the esModuleInterop flag in TypeScript is not compatible
with node-watch, and the import helper was mangling the import as a
result and causing an error in the dev command that resulted in files
not being watched.

This fixes that import issue and adds an e2e test to help prevent a
regression of this issue in the future.
2020-06-09 13:56:11 -07:00
af44f1ebf2
0.1.3 2020-06-04 14:36:49 -07:00
8fcd8100f4
doc: update CHANGELOG for 0.1.3 release 2020-06-04 14:36:24 -07:00
da241efb59
feat: provide Fragment component
Adds a new Fragment component that provides the same functionality as
React.Fragment. See issue #9 for details.

closes issue #9
2020-06-04 11:25:34 -07:00
b112dc2d97
0.1.2 2020-06-03 17:56:06 -07:00
bf44cd3bea
chore(release): update changelog for v0.1.2 2020-06-03 17:55:40 -07:00
ea703e8f5e
chore: fix some eslint warnings 2020-06-03 17:52:54 -07:00
6736d8ab68
fix: type signature of Component too narrow 2020-06-03 17:27:12 -07:00
dd300d6fb0
chore: remove extraneous publish script 2020-06-03 12:33:45 -07:00
d630f3d7d7
0.1.1 2020-06-03 10:40:56 -07:00
e11e4fb5eb
doc: update changelog for v0.1.1 release 2020-06-03 10:36:00 -07:00
c07b9cc778
chore: add release script & supporting scripts 2020-06-03 10:35:28 -07:00
ed547cc851
feat: support rendering array elements 2020-06-02 16:39:44 -07:00
75ed8c6537
test: show stack of thrown errors 2020-06-02 15:46:24 -07:00
1372ce16cb
fix: support number elements in jsx templates 2020-06-02 15:38:39 -07:00
5dfd2fd053
doc: update badges in README 2020-06-02 11:50:20 -07:00
b631f654e1
chore: port clean script to node v10 2020-06-02 00:00:43 -07:00
d6b7e9eb95
fix: target es2018 to support node 10+ 2020-05-26 16:29:43 -07:00