Commit Graph

155 Commits

Author SHA1 Message Date
Nathan Faubion
33910b845a Update backend-es 2024-02-27 17:24:06 -08:00
Nathan Faubion
9ef7d2f100 0.11.0 2024-02-27 17:21:12 -08:00
Nathan Faubion
474a2ecaed
Add shebang support (#121)
Fixes #120
2024-02-27 17:18:08 -08:00
Nathan Faubion
d6e21ecd7c 0.10.1 2023-12-08 09:57:37 -08:00
Nathan Faubion
4630755143
Resolve absolute path to operatorsFile (#117)
Fixes #115

Custom `operatorsFile` configs in .tidyrc were not resolving correctly.
Previously we were using `relative dir operatorsFile`, but if
`operatorsFile` was a relative path (which is the common case), then the
behavior of `relative` is to treat `operatorsFile` as relative to
`cwd` initially (I think it's an error that `relative` is typed as a pure
function). Thus, this only works (reduntantly) if `cwd` is the same as the
`.tidyrc.json` parent directory.

We should be using `resolve [ dir ]` instead to get an absoute path.
2023-12-08 09:54:48 -08:00
Nathan Faubion
42db77a3d9 0.10.0 2023-06-01 14:48:32 -07:00
Nathan Faubion
589ab48af4
Support type applications (#110)
* Support type applications

* Update

* Update to released parser version
2023-06-01 14:46:41 -07:00
Nathan Faubion
e76de5aece 0.9.3 2023-03-05 09:10:38 -08:00
Nathan Faubion
6505b7dbd7 Package lock 2023-03-05 09:09:13 -08:00
Nathan Faubion
7c5632e229 Print error position in errors 2023-03-05 09:07:42 -08:00
Nathan Faubion
e0ac0a6088 Update parser and backend 2023-03-05 09:07:42 -08:00
Nathan Faubion
fa1c7c7b25 0.9.2 2022-08-26 16:22:01 -07:00
Nathan Faubion
fe5a220041
Use purs-backend-es for bundle (#105)
* Use purs-backend-es for bundle

* Install dev dependencies
2022-08-26 16:21:29 -07:00
Nathan Faubion
930c33cf58 0.9.1 2022-07-31 18:09:03 -07:00
Gary Burgess
e3af671d3b
Fix TIDY_INSTALL_LOC resolution on Windows (#104)
* Fix TIDY_INSTALL_LOC resolution on Windows

* Remove unused `path` imports
2022-07-31 18:05:14 -07:00
toastal
16c2c52d75
purs-tidy added to nixpkgs (#97)
With [174928](https://github.com/NixOS/nixpkgs/pull/174928) fully merged
and [upstreamed](https://nixpk.gs/pr-tracker.html?pr=174928) to
`unstable` on Nixpkgs and NixOS, I can confidently say this is
supported. I just tested pulling from unstable and it’s golden.

The way `nodePackages` in `nixpkgs` work, any time anyone updates
anything in the space, all Node pkgs get updated via `node2nix` + a
`generate.sh` script that fetches *all* dependencies. I’m grateful this
project doesn’t have dependencies because `node2nix` is sequential and
resolving ≈ 400 transitive NPM dependencies takes about 4 hours even on
a fast connection. That aside, this pkg will require little to no
maintenance and new versions should come in along with other updates to
`nodePackages`. The only thing that will really matters is that
`purs-tidy` stay compatible with the latest Node LTS.

Unfortunately, it seems I just missed the deadline for `22.05`.
2022-06-13 14:04:11 -07:00
Alex
b0a2cce6b7
Fix windows quotes in bundle script (#98) 2022-06-11 06:19:17 -07:00
Nathan Faubion
66b2a66c48 0.9.0 2022-05-16 12:57:15 -07:00
Nathan Faubion
67fd38568e Don't use --quiet 2022-05-16 12:56:37 -07:00
Thomas Honeyman
c8789d9ba2
Update for PureScript 0.15 (#96) 2022-05-16 15:45:12 -04:00
Nathan Faubion
acb818ecbe 0.8.0 2022-04-30 08:55:45 -07:00
Nathan Faubion
728f08b602
Update for 0.15 syntax and libs (#94)
* Update for 0.15 syntax and libs

* Use 0.14 in CI
2022-04-30 08:55:15 -07:00
Nathan Faubion
9e18cef330 0.7.2 2022-04-04 09:39:52 -07:00
Nathan Faubion
2aa34b2a7c
Bump parser to 0.10.1 (#92)
Fixes #91
2022-04-04 09:39:12 -07:00
Nathan Faubion
ee754b1746 0.7.1 2022-03-01 13:52:40 -08:00
Nathan Faubion
0d9a44278c
Bump parser version (#88) 2022-03-01 13:51:08 -08:00
Nathan Faubion
01fd49c6ac Fix warning 2022-01-22 12:47:51 -08:00
Nathan Faubion
9a1ab045be 0.7.0 2022-01-22 12:44:19 -08:00
Nathan Faubion
2630c14d67
Signatures fix (#87)
Fix multiline signatures without polytypes
2022-01-22 12:43:48 -08:00
Mark Eibes
63e2aede56
Do not format in case of parse errors (#86) 2022-01-22 08:54:22 -08:00
Jamie Bertram
0884c45b55
Fix neoformat instructions in readme (#84) 2022-01-11 08:22:03 -08:00
Nathan Faubion
0b39e38eb0 0.6.4 2021-12-06 17:01:49 -08:00
Nicholas Wolverson
a16c814e11
Fix #81 - prevent mangling multi-byte UTF8 chars split across data events (#82) 2021-12-06 15:20:19 -08:00
Nathan Faubion
681e6a8cd9 0.6.3 2021-11-18 09:21:21 -08:00
Nathan Faubion
eb5c4f094c
Anchor equals sign in data/type declarations (#75) 2021-11-18 09:20:37 -08:00
Edvard Thörnros
f4f8deef3e
Fix neoformat example in README.md (#74) 2021-11-07 07:34:46 +01:00
Nathan Faubion
2c28c70713 0.6.2 2021-10-17 16:49:45 -07:00
Nathan Faubion
61462b7ce0 Fix default operators script path 2021-10-17 16:49:13 -07:00
Nathan Faubion
908bb5bd29
Replicate idiosyncratic ide sorting (#73)
* Replicate idiosyncratic ide sorting

* Add case for weird ide sort
2021-10-17 16:48:03 -07:00
Nathan Faubion
d9a6ac8ba2 Update tidyrc 2021-10-16 14:55:22 -07:00
Nathan Faubion
775a422344 0.6.1 2021-10-16 14:53:27 -07:00
Nathan Faubion
09de850b1b Add import-sort option to tidyrc 2021-10-16 14:53:04 -07:00
Nathan Faubion
fd47cdbfe5 0.6.0 2021-10-16 14:12:57 -07:00
Nathan Faubion
75836c7d5c
Add option to sort imports like purs-ide (#71)
* Add option to sort imports like purs-ide

* Add dep
2021-10-16 14:11:19 -07:00
Nathan Faubion
b6ed20df8c
Fix generate-operators example. 2021-10-12 13:49:46 -07:00
Nathan Faubion
9ae324f8c9 0.5.4 2021-09-23 17:38:41 -07:00
Nathan Faubion
4a64c0d956 Bump parser version 2021-09-23 17:37:34 -07:00
Nathan Faubion
601e826700 0.5.3 2021-09-17 20:57:31 -07:00
Nathan Faubion
cb03e9a156
Comment fixes (#67)
Buffer comments, fixes #16
2021-09-17 20:56:57 -07:00
Nathan Faubion
b6dcb7cb30 0.5.2 2021-09-06 11:42:25 -07:00