Commit graph

43 commits

Author SHA1 Message Date
Norm f817d45210
update eslint and typescript-eslint 2022-11-25 02:07:21 -05:00
Norm b67799ad3f
BREAKING: Remove support for Node 16.x and upgrade to TypeScript 4.9
Now that Node 18 is the new LTS version of Node, it should be safe to
support ES2022 features. The install docs have already been updated to
recommend Node 18.x in 41a710854e.

This will break support on Node 16.x and earlier.

Also update TypeScript to 4.9 which contains various typechecking
improvements: https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/

Ref: FoundKeyGang/FoundKey#238
Changelog: Changed
2022-11-25 02:07:21 -05:00
Norm e1def3ae9e
client: fix federate blocks option not showing 2022-11-18 15:11:11 -05:00
Atsuko Karagi f74395c386 backend: remove unused endpoints
Changelog: Removed
2022-10-25 08:56:31 -04:00
Norm 70eec26b74
bump versions in all package.json files 2022-10-16 11:46:12 -04:00
Hélène c414f24a2c feat: per-user renote muting
Changelog: Added
2022-10-11 10:42:39 +00:00
Norm 79662272ba
foundkey-js: update test domain to foundkey.test 2022-09-27 22:38:09 -04:00
Norm 80468b1529
foundkey-js: Change Misskey import to foundkey 2022-09-27 22:38:09 -04:00
Norm 9470e12424 Merge pull request 'Revert "Use native shell commands for clean/clean-all"' (#170) from revert-native-clean into main
Reviewed-on: FoundKeyGang/FoundKey#170
2022-09-23 22:15:29 +00:00
Norm d9a64d0a22 Revert "Use native shell commands for clean/clean-all"
This reverts commit 5fb294e7d7.

This will allow the clean/clean-all command to work on Windows once again.
2022-09-22 13:48:06 -04:00
Johann150 35fd970c4a
add column: muted types in thread 2022-09-21 15:52:14 +02:00
Norm de8f2b3c63
foundkey-js: add bannerUrl to LiteInstanceMetadata 2022-09-15 18:57:49 -04:00
Norm 4da09fc9fb
foundkey-js: update LiteInstanceMetadata fields
Ads were removed in #5, and some client components need the
icon/favicon URLs.

Changelog: Changed
2022-09-15 18:55:46 -04:00
Johann150 17fa488eb9
refactor: move visibility computation to foundkey-js
Changelog: Changed
2022-09-15 17:39:51 -04:00
Johann150 9b7a0b574e
update foundkey-js readme 2022-09-13 17:17:47 +02:00
Michcio d65b073192 foundkey-js: Sync possible endpoints from backend
I noticed while trying to pick up work on mkbread on a train that the
translate endpoint was missing so here it is now.

I just copy-pasted the list of endpoints in the order that they were
in in the backend and copied back the existing type annotations.
It doesn't feel reasonable to invest more time in the typings if
we might have a chance at creating the one-source-of-truth elseway.
2022-09-10 12:43:19 +02:00
Norm f0a2d368a3
foundkey-js: use re-export syntax 2022-09-10 02:05:56 -04:00
Norm dde6f5eb55
foundkey-js: fix build errors
The use of `"moduleResolution": "Node16"` is to make TS use the same
module resolution as Node does when using ESM modules.

`reconnecting-websocket`'s TS definition files were copied over but
wrapped in a `declare module` block to make TS properly accept
using the default import directly without using `.default`.

I also decided to look into `autobind-decorator`'s source code and
figured that I could use the `boundMethod` annotation directly instead
of using the `autobind` default export.
2022-09-09 00:08:21 -04:00
Norm 9a34e0b2b1
build: update typescript and related packages 2022-09-08 23:00:36 -04:00
Norm dde4086811
fix(foundkey-js): use default import for eventemitter3 2022-09-08 21:06:38 -04:00
Norm 674f91109f
foundkey-js: add remaining file extensions to local imports 2022-09-08 21:00:57 -04:00
Norm 106c643f85
foundkey-js: use file extensions in imports
Technically, ESM modules require imports to include file extensions.

For whatever reason this didn't seem to be required when importing into
the client, but it does seem to be required for use in the backend.
2022-09-08 20:51:41 -04:00
Norm f94ed5e8a6 foundkey-js: remove room api endpoints
Changelog: Removed
2022-09-07 08:30:28 +00:00
Norm a16d7d9dc2
foundkey-js: fix no-param-reassign lint in acct.ts 2022-09-06 11:36:21 -04:00
Norm 5939c90b84
update eslint plugins 2022-09-06 11:19:34 -04:00
Norm 5fb294e7d7
Use native shell commands for clean/clean-all 2022-09-05 04:43:40 -04:00
Norm d23b5faeda
foundkey-js: update tsd dependency 2022-09-05 03:20:53 -04:00
Norm 892ea5e2bf
upgrade eslint and typescript-related dependencies
Changelog: Changed
2022-09-05 03:15:16 -04:00
Norm b2625cbafc
foundkey-js: update and translate README 2022-08-31 19:18:56 -04:00
Norm 157eab2dee
foundkey-js: make DriveFile.comment nullable
There's a few places in the client code that checks for a null comment,
suggesting this field may be set to null.
2022-08-31 06:55:31 -04:00
Norm 9f3d5a7aad
foundkey-js: document change to es modules 2022-08-28 17:17:40 -04:00
Norm 50f8c6e751
foundkey-js: fix mislabeled changes in changelog 2022-08-28 17:11:13 -04:00
Norm 98d6fc216c
foundkey-js: Update changelog to Keep a Changelog format 2022-08-28 17:07:56 -04:00
Norm b50c1d145a
foundkey-js: remove old contributing guide 2022-08-28 15:42:07 -04:00
Johann150 0fd89e3ab7
remove unneeded files from foundkey-js 2022-08-28 18:32:45 +02:00
Norm d36d9692b8
foundkey-js: use prepack instead of prepare 2022-08-26 18:05:16 -04:00
Norm bc0f0bf08f
add foundkey-js to each workspace package.json 2022-08-26 16:38:41 -04:00
Norm 6bb3f39c36
migrate to Yarn 3.2.3 2022-08-26 15:24:29 -04:00
Norm 13b2cba980
foundkey-js: mark as module 2022-08-26 02:44:05 -04:00
Norm ebaa1960bf
foundkey-js: remove github files 2022-08-26 01:30:24 -04:00
Norm a424426857
client: Use foundkey-js instead of misskey-js 2022-08-26 01:25:56 -04:00
Norm 7420aab1b6
chore: update foundkey-js package.json 2022-08-26 00:53:12 -04:00
Norm b558716fa1 Add 'packages/foundkey-js/' from commit '637c6f1411c9c03f204f21da12e1f8e390d05cb8'
git-subtree-dir: packages/foundkey-js
git-subtree-mainline: aa144e803c
git-subtree-split: 637c6f1411
2022-08-25 21:39:55 -04:00