summaryrefslogtreecommitdiff
path: root/package.json
Commit message (Collapse)AuthorAge
* Update (most) Node dependencies.Owen Jacobson2025-11-09
| | | | | | The `jsdom` upgrade entails upgrading Node, as something changed internally to jsdom in how it imports other modules. Upgrading vitest caused the details of some of our test cases to change, but the semantics of the affected tests are the same. They also split resetting mocks from resetting mocks' behaviours, which required a small config change to preserve our tests' correctness.
* tools/reformatOwen Jacobson2025-06-11
|
* Consolidate project linting into tool scripts.Owen Jacobson2025-06-09
| | | | The new `tools/check-lint` script checks lints across _all_ lintable files - JS (through `eslint`), and Rust (through `clippy` and `cargo check`). It also checks `eslint` against the whole project, not just against what's in the `ui` subdir, which means it now catches lintable issues in various JS config files.
* Consolidate code style checks into tool scripts.Owen Jacobson2025-05-30
| | | | | | The new `tools/check-format` script checks _all_ project formatting - JS (through `prettier`), and Rust (through `rustfmt`). It also checks `prettier` against the whole project, not just against what's in the `ui` subdir, which means it now catches formatting issues in various JS config files (like `.prettierrc` itself). This commit does not include style _fixes_, which means that it does not pass its own `tools/check-format` script. This is intentional, and is intended to make the Git history a bit easier to reason about; a future commit will include format fixes.
* Consolidate testing steps into `tools/test`.ojacobson2025-05-30
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've opted to run with `--coverage` to ensure that we continue exercising coverage support. Hat tip to @wlonk for holding me accountable on this - I had thought coverage was broken, but I was holding it wrong. Also adjusts the code coverage failure thresholds to match here-and-now reality. I'm not offering a policy thought here, just making sure we 1. use the coverage checking we have, and 2. set standards we are actually achieving. This was originally part of [another proposal][pr-6]. I've broken it out to make the intent clearer, and to make the proposal easier to get a handle on in isolation from other, related changes. Thanks to @wlonk for their input on this! [pr-6]: https://codeberg.org/ojacobson/pilcrow/pulls/6 Merges prop/test-tool into main.
| * Consolidate testing steps into `tools/test`.Owen Jacobson2025-05-27
| | | | | | | | I've opted to run with `--coverage` to ensure that we continue exercising coverage support. Hat tip to @wlonk for holding me accountable on this - I had thought coverage was broken, but I was holding it wrong.
* | Call `vite` directly to build the frontend.Owen Jacobson2025-05-27
|/ | | | | | Calling through `npm` wasn't adding anything other than complexity, and it made it somewhat harder to follow what tools did what. I'm also pretty sure `tools/build-ui` was totally unused.
* Hoist global state access out of individual components.Owen Jacobson2025-02-21
| | | | | | | | Access to "global" (maybe "external?") state is now handled at the top level of the component hierarchy, in `+page.svelte`, `+layout.svelte`, and their associated scripts. State is otherwise passed down through props, and changes are passed up through callbacks. This is - hopefully - groundwork for refactoring state management a bit. I wanted to move access to state out to a smaller number of places, so that I have fewer places to update to implement reconnect logic. My broader goal is to make it easier to refactor these kinds of external side effects, as well, though no such changes are in this branch. This change also makes testing a mile easier, since tests can interact with props and callbacks instead of emulating the whole HTTP request stack and the Pilcrow API. This change removes do-very-little tests.
* Mass update JS dependencies.Owen Jacobson2025-02-18
| | | | I hit an actual Svelte bug (it was misattributing which component state changes originated in) that's fixed in newer Svelte 5, so I might as well hit 'em all.
* Strip out Tailwind etcKit La Touche2024-12-30
|
* Add Luxon to dependenciesKit La Touche2024-11-29
| | | | | This handles datetimes better than the browser-builtin, and is in many ways a successor to Moment, the previous standard choice.
* Merge remote-tracking branch 'origin/prop/touch-events'Owen Jacobson2024-11-19
|\
| * Add Tinygesture for swipe eventsKit La Touche2024-11-18
| | | | | | | | | | Hide and show channel menu thus. It doesn't gradually pull it out, which is less than ideal, but it's good enough for now.
* | Add in start of testsKit La Touche2024-11-14
| |
* | Add FE test frameworkKit La Touche2024-11-14
|/
* Rename the project to `pilcrow`.Owen Jacobson2024-11-08
|
* Better dep target for vite-plugin-svelteOwen Jacobson2024-11-03
|
* Svelte 5Owen Jacobson2024-11-03
|
* Upgrade dependencies.Owen Jacobson2024-11-02
| | | | (Svelte 5 upgrade not included.)
* Merge remote-tracking branch 'origin/wip/mobile'Owen Jacobson2024-11-02
|\
| * Actually sanitize rendered MarkdownKit La Touche2024-11-02
| |
* | Relax Node dependencies to the current major versionOwen Jacobson2024-11-02
|/
* Specify engines in package.jsonKit La Touche2024-10-31
| | | | So we know what npm and node versions this expects.
* Package upgrades (Node)Owen Jacobson2024-10-19
|
* Hoist the UI one step up furtherOwen Jacobson2024-10-10