Commit graph

221 commits

Author SHA1 Message Date
Leonabcd123
71e78cd52d
docs: improve language in pull request template (@Leonabcd123) (#7252) 2025-12-16 17:55:27 +01:00
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
Jack
1dd0ca70ec
refactor: begin transition away from jquery (@miodec, @fehmer) (#7185)
Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
Co-authored-by: Gian Peña <36643266+gianpena@users.noreply.github.com>
Co-authored-by: Leonabcd123 <156839416+Leonabcd123@users.noreply.github.com>
2025-12-10 20:34:37 +01:00
Christian Fehmer
8cce5bfc7e
build: combine vite config into a single file (@fehmer) (#7190)
- **build: replace dotenv with vite env variables (@fehmer)**
- **build: combine vite config into a single file (@fehmer)**

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2025-12-05 19:45:12 +01:00
Jack
883d21fac6
chore: rename pretty to format (@miodec) (#7183)
In preparation for switching to oxfmt
2025-12-03 11:26:53 +01:00
Miodec
3b01090e5a chore: remove oxc prettier plugin
too many issues
2025-11-27 19:26:10 +01:00
Miodec
2cef523c37 fix(ci): use install instead of add
!nuf
2025-11-27 15:49:05 +01:00
Miodec
94b3bb135d fix(ci): use -D for prettier install
!nuf
2025-11-27 15:45:01 +01:00
Miodec
4b34854d3c fix(ci): pretty check using wrong version, missing plugin
!nuf
2025-11-27 15:31:08 +01:00
Jack
f910c8a567
chore: prettier upgrade (@miodec) (#7159) 2025-11-27 00:20:09 +01:00
Miodec
c0191da004 chore: bump node version 2025-10-31 14:18:59 +01:00
Christian Fehmer
b5755faa30
ci: fix generate version plugin hiding previous errors (@fehmer) (#7060)
When build fails for some reason the generate version step also failed
because the `/dist` directory is missing. This was hiding other problems
like an error in the fontawesome step.

Also changes the trigger for the frontend build to include `html` files.
2025-10-29 11:56:49 +01:00
Christian Fehmer
cd8ebd1430
chore: update nodejs to 24.10.0 (@fehmer) (#7035) 2025-10-27 13:38:37 +01:00
Christian Fehmer
42dcf16ad3
chore: remove search link not working in issue template (@fehmer) (#6993) 2025-09-25 12:53:15 +02:00
Christian Fehmer
b6ef5c0d8d
ci: run asset validation on any changes not just json files (@fehmer) (#6992) 2025-09-25 12:46:13 +02:00
Christian Fehmer
b903abd863
chore: add search links to bug report template (@fehmer) (#6990) 2025-09-25 12:31:35 +02:00
Christian Fehmer
4560257110
ci(assets): use zod in json-validation (@fehmer) (#6902) 2025-08-27 15:23:26 +02:00
Nad Alaba
a1293e79aa
chore: remove gulp dependency (@NadAlaba) (#6889)
Co-authored-by: Miodec <jack@monkeytype.com>
2025-08-20 20:10:41 +02:00
Christian Fehmer
aa94a8afed
chore: update nodejs to 20.19.4 (@fehmer) (#6805) 2025-07-30 10:06:04 +02:00
Christian Fehmer
060a753be1
refactor(schema): move font config to schema (@fehmer) (#6780)
- **refactor(schema): move font config to schema (@fehmer)**
- **styles**
2025-07-26 13:34:03 +02:00
Seif Soliman
ec6e76b12e
chore: fix typo in issue template (@byseif21) (#6613) 2025-06-04 10:59:44 +02:00
Christian Fehmer
19930a9079
docs: update PR template (@fehmer) (#6600) 2025-05-26 16:05:09 +02:00
Christian Fehmer
be62681c32
docs: update pull request template (@fehmer) (#6538) 2025-05-07 15:48:13 +02:00
Nad Alaba
6686834eeb
chore(workflows): use correct name of action input (@NadAlaba) (#6378)
change the name of the input action that should've been changed in #6344
when the action was changed.
Sorry!
2025-03-17 16:30:41 +01:00
Miodec
a94a6db75a ci: use full_name instead 2025-03-17 14:10:42 +01:00
Miodec
44955bf750 ci: pretty fix fix attempt 2025-03-17 14:07:40 +01:00
Christian Fehmer
b7c4166ab6
ci: fix prettier workflow (@fehmer) (#6371)
fixes
https://github.com/monkeytypegame/monkeytype/actions/runs/13846153945/job/38746363714#step:7:58
2025-03-17 13:53:57 +01:00
Nad Alaba
2e1c7eb967
chore(workflows): use specific version of add-remove-label-action (@NadAlaba) (#6368)
revert fixing major version only of the
`PauMAVA/add-remove-label-action` action from #6344 because this action
does not have a `v1` tag

Co-authored-by: Christian Fehmer <fehmer@users.noreply.github.com>
2025-03-17 12:20:25 +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
572de8a247
chore: fix version in docker publish workflow (@fehmer) (#6339) 2025-03-12 16:08:10 +01:00
Christian Fehmer
f80dde4c89
chore(self hosting): run selfhosted backend in prod mode (@fehmer) (#6326)
Co-authored-by: Miodec <jack@monkeytype.com>
2025-03-03 17:43:08 +01:00
Miodec
7d7118f744 ci: anticheat shouldnt block ci if force ci labels are present 2025-03-03 16:16:18 +01:00
Jack
00e130969a
ci: move prettier to its own workflow (@miodec) (#6198)
Add pretty fix step if pretty check failed.

---------

Co-authored-by: Miodec <13181393+Miodec@users.noreply.github.com>
2025-01-27 13:47:48 +01:00
Miodec
bb3a99861f ci: fix permission 2025-01-23 21:54:50 +01:00
Miodec
b4d8a5f965 ci: update permissions 2025-01-23 21:44:26 +01:00
Miodec
bbf0aa65b7 ci: use different action for removing label 2025-01-23 21:39:02 +01:00
Miodec
e10444d201 ci(pretty fix): use correct head ref 2025-01-23 21:31:39 +01:00
Miodec
e4517ebede ci: run pretty fix only on changed files 2025-01-23 21:27:12 +01:00
Miodec
90590a331d ci: run prettier write on pr label change 2025-01-23 21:15:53 +01:00
Christian Fehmer
c469ddddff
ci: limit permissions for the update labels workflow (@fehmer) (#6200) 2025-01-22 16:19:32 +01:00
Christian Fehmer
fc6564289c
ci: Limit permissions for the docker publish workflow (@fehmer) (#6199) 2025-01-22 15:36:00 +01:00
dependabot[bot]
4ccc7fee0d
chore(deps): bump dawidd6/action-download-artifact from 2.11.0 to 6 (@dependabot) (#6073) 2024-11-26 18:39:45 +01:00
Christian Fehmer
b06b9f73e5
refactor: rework rate limiting (@fehmer) (#5845)
!nuf
2024-09-09 10:39:08 +02:00
Nad Alaba
6a24dbb986
chore(PR labeler): fix workflow having read access only, when triggered from forks (@NadAlaba) (#5842)
* chore(PR labeler): fix workflow having read access only when triggered from forks (@NadAlaba)

* remove logging and add an example with scope

* use action instead of gh cli for security

* use action to read json (instead of echoing contents in shell) for security

* step.if needs the same variables

* don't let attacker choose the labels

* step.name starts in caps

* no need for variable if it's used once
2024-09-05 13:44:23 +02:00
Sanidhya Singh
1ba4be38d0
impr(PR labels): automatically label PRs "waiting for review/update" (@sanidhyas3s) (#5830)
!nuf
2024-08-29 14:17:04 +02:00
Jack
945db7d20c
impr(ci): add ability to run ci on draft pull requests (@miodec) (#5791)
* force ci

* trigger

* add force full ci

* blah

* full

* remove trigger
2024-08-15 00:49:34 +02:00
Christian Fehmer
ffb04f2af5
ci: skip semantic pr title for dependabot (@fehmer) (#5786) 2024-08-15 00:23:17 +02:00
Miodec
32a3d19779 revert: set dependabot to use pnpm
This reverts commit 4ccbdb16f1.
2024-08-14 13:34:05 +02:00
Miodec
4ccbdb16f1 chore: set dependabot to use pnpm 2024-08-14 13:30:24 +02:00