Commit graph

45 commits

Author SHA1 Message Date
Jack
a067a32b7a
chore: move main linting to oxlint (@miodec) (#7144)
- main linting is now done by oxlint. eslint remains for linting json
files in the frontend (until oxlint adds support)
 - move type checking to the lint step (with --type-check)
this improves performance by removing a duplicated typescript parse task
(instead of parsing for linting then again for type checking, it parses
once for both)
- add a `lint-fast` npm script to get some fast fail behavior. it simply
lints with no type information
- oxc plugins are still in preview, so the custom plugin that checks for
`__testing` usage outside of tests runs outside the main linting job
until performance is improved
- fixes some type issues (and config issues) that were not visible due
to a missing type check on some files. now type checking will run on
every file that is linted
 - split up oxc config for easier management

waiting https://github.com/oxc-project/tsgolint/pull/494

seeing around 3x improvement in type aware linting
2025-12-15 22:16:16 +01:00
Jack
660668c530
chore: use oxfmt for formatting (@miodec) (#7187)
8 times faster formatting,
calls prettier internally for unsupported files

waiting on https://github.com/oxc-project/oxc/issues/16637
https://github.com/oxc-project/oxc/issues/16598
https://github.com/oxc-project/oxc/issues/16621

---------

Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2025-12-15 16:53:50 +01:00
Miodec
4f8d8c557c chore: dont check for uncommited changes when deploying to preview 2025-12-10 14:37:08 +01:00
Miodec
d997ae8746 chore: add script to deploy preview frontend 2025-12-10 14:35:22 +01:00
Miodec
2fcc86dddf chore: make sure to use production env when building for production 2025-12-02 23:33:51 +01:00
Jack
f910c8a567
chore: prettier upgrade (@miodec) (#7159) 2025-11-27 00:20:09 +01:00
Miodec
2107c87fdb chore: upgrade oxlint
also enables prefer-includes
2025-11-20 12:22:58 +01:00
Miodec
586a19ad3e chore: upgrade oxlint 2025-10-31 14:18:59 +01:00
Miodec
a33b464511 chore: change oxlint config to jsonc
also disable one rule
2025-09-11 22:04:48 +02:00
Miodec
1fa473744a chore: bump oxlint 2025-09-11 22:04:48 +02:00
Christian Fehmer
56b25f30bc
build: rename json-validation to check-assets, improve error messages (@fehmer) (#6933)
- **improve error messages**
- **rename json-validation to check-assets**
2025-09-03 18:10:34 +02:00
Miodec
b54052913c chore: bump oxlint version 2025-08-26 17:41:51 +02:00
Miodec
057fdf3fed chore: bump oxlint version 2025-08-18 15:38:13 +02:00
Miodec
5183caf91e chore: upgrade oxlint 2025-08-10 15:08:46 +02:00
Cameron
2180e3b603
chore(deps): upgrade oxlint to 1.8.0, fix errors (@camc314) (#6776)
### Description

This PR updates oxlint to 1.8.0 and fixes the resulting errors in order
to keep oxlint's ecosystem CI green.

Thanks for using oxlint

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2025-07-24 14:32:12 +02:00
Miodec
41495981a8 chore: bump oxlint version 2025-07-19 15:02:14 +02:00
Miodec
9891dac323 chore(release script): remove validate-json step if only running in the backend 2025-06-16 12:13:36 +02:00
Miodec
4c05dd8326 chore: bump oxlint version 2025-06-14 14:43:05 +02:00
Miodec
04fbd81c10 chore: bump oxlint version 2025-05-29 13:23:13 +02:00
Miodec
5695245c86 chore: release v25.22.0 2025-05-27 17:17:48 +02:00
Miodec
faffc78abc chore: only add sentry plugin when building from release package 2025-04-30 14:13:51 +02:00
Miodec
5d4f449000 chore: dont use turbo cache in release script 2025-04-30 09:17:45 +02:00
Miodec
c8e964d0f6 refactor: add hotfix mode to release package 2025-04-30 08:25:04 +02:00
Miodec
f0f27f0733 chore: upgrade octokit/rest 2025-04-29 12:53:49 +02:00
Miodec
a424f96480 chore: upgrade oxlint 2025-04-23 18:54:33 +02:00
Miodec
bf0ce6607d fix: lint issues
!nuf
2025-04-16 19:39:07 +02:00
Jack
cac8835c77
chore: add oxlint (@miodec) (#6455)
Use oxlint for general linting to provide much quicker feedback. Keep
eslint for type-aware rules. Fully switch to oxlint once it supports
type-aware.
2025-04-16 17:18:50 +02:00
Miodec
b9916b8b8d chore: trim branch string 2025-03-26 18:19:36 +01:00
Nad Alaba
195b9d8402
chore(workflows): update deprecated action and remove duplicate workflow message (@NadAlaba) (#6344)
### Description

1. remove duplicate correct examples in semantic-pr-title error message,
and make the examples more diverse (show how to credit multiple
contributors).

![patternMessage](https://github.com/user-attachments/assets/cb6afe48-ed67-4894-ab4a-76894dd50e3b)

2. make the scope (quotes, languages, ...) consistently plural across
the repo docs (A subjective change I know, but in the changelog, the
scope looks better when it is plural i.e. **quotes:** add various
quotes).
3. update deprecated action `upload-artifact` from v3 to v4, because it
was making the `ci-failure-comment` workflow fail.
> Error: This request has been automatically failed because it uses a
deprecated version of `actions/upload-artifact: v3`. Learn more:
https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
4. use the same official action to download and upload artifacts across
the repo's workflows.
5. add 'waiting for update' and remove 'waiting for review' labels when
the Monkey CI workflow fails.
6. fix actions' major version only, to allow minor updates and patches.
2025-03-12 16:35:58 +01:00
Christian Fehmer
9e13f2452a
chore: add branch check in release script (@fehmer) (#6338) 2025-03-06 01:31:33 +01:00
Miodec
7b80bf80a9 chore: forward the exit code returned by the ssh command
also fix logging on error
2025-02-20 12:12:15 +01:00
Miodec
edd2903171 chore: bump eslint version 2025-01-21 11:50:09 +01:00
Miodec
84166ce10b revert: upgrade octokit/rest
This reverts commit 05c22a9417.
2024-09-13 15:10:06 +02:00
Miodec
05c22a9417 chore: upgrade octokit/rest 2024-09-13 13:37:57 +02:00
Nad Alaba
faf522f21f
fix(release script): not updating root package.json version + not supporting some shells (@NadAlaba) (#5825)
* fix(release script): update root package.json version as well + other issues (@NadAlaba)

* remove version from release/package.json (get and set root only)

* usernames start with @, prs start with # in title regex

* update github PR links

* fix typo in dev-pkg script
2024-08-28 14:42:52 +02:00
Miodec
ed8efe619d chore: release v24.34.0 2024-08-20 17:32:27 +02:00
Miodec
101beef87c chore(release package): catch github release api error, notify user 2024-08-14 13:49:26 +02:00
Miodec
b131646db7 chore: release v24.33.0 2024-08-14 13:46:11 +02:00
Miodec
8c6be2cca4 fix(release package): incorrect path 2024-08-14 13:43:53 +02:00
Miodec
d27c622943 chore: move example.env to release package 2024-08-09 12:51:29 +02:00
Miodec
0a0f175291 chore: export deploy backend script 2024-08-08 18:16:28 +02:00
Miodec
c2d08096ed impr: export cf purge script
!nuf
2024-08-08 17:07:13 +02:00
Miodec
d57e318cf1 fix: sh scripts sometimes not finding .env file
!nuf
2024-08-08 17:07:13 +02:00
Miodec
cdfcc9e663 fix: incorrect paths
!nuf
2024-08-08 16:27:47 +02:00
Jack
1eebf748ba
refactor: move release code to a package (@miodec) (#5743) 2024-08-08 16:16:01 +02:00