Commit graph

27 commits

Author SHA1 Message Date
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