Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added @txikijs/types #391

Merged
merged 2 commits into from Oct 10, 2023
Merged

added @txikijs/types #391

merged 2 commits into from Oct 10, 2023

Conversation

lal12
Copy link
Contributor

@lal12 lal12 commented Sep 15, 2023

This seems to work so far.

Unfortunately tsdoc now seems to ignore the @module directive as well as the the file header comments.

Publishing it via github actions would also be nice, however since it requires 2FA I don't think it would be useful.

@lal12 lal12 mentioned this pull request Sep 15, 2023
@saghul
Copy link
Owner

saghul commented Sep 15, 2023

Thank you! I'll take a look!

Have you checked the docs page still works after these changes?

1 similar comment
@saghul
Copy link
Owner

saghul commented Sep 15, 2023

Thank you! I'll take a look!

Have you checked the docs page still works after these changes?

@lal12
Copy link
Contributor Author

lal12 commented Sep 15, 2023

Yes it does work, but as mentioned above unfortunately not quite as before.

That's why it still a draft, hoped you might have an idea, otherwise I will look into that next week

@lal12
Copy link
Contributor Author

lal12 commented Sep 18, 2023

Hmm tried quite a lot, but I didn't got it to work. Either TS types don't properly work or typedoc names modules as e.g. assert instead of tjs:assert.

Have left a question in the typedoc repo…

@saghul
Copy link
Owner

saghul commented Oct 2, 2023

Quick update: you might have seen some recent activity in the repo :-) I'm mostly done with the changes I wanted to have ready for the next release, I'll be looking into this PR soon!

@saghul
Copy link
Owner

saghul commented Oct 5, 2023

Hum, I took a look and in addition to the module name the comments there are also missing, which is not great.

I don't think I'll have time to dig into typedoc anytime soon.

Do you have any suggestions on the way forward? I like the idea of having this PR in, but it breaking the (small amount) of docs the project has is not great...

@lal12
Copy link
Contributor Author

lal12 commented Oct 5, 2023

It's currently tracked as a bug here: TypeStrong/typedoc#2401

@lal12
Copy link
Contributor Author

lal12 commented Oct 10, 2023

With the updated typedoc the resulting doc is identical to the one before.

@lal12 lal12 marked this pull request as ready for review October 10, 2023 11:28
@lal12
Copy link
Contributor Author

lal12 commented Oct 10, 2023

Had some issues with package-lock, should now be fixed.

@saghul saghul merged commit 24b021b into saghul:master Oct 10, 2023
9 checks passed
@saghul
Copy link
Owner

saghul commented Oct 10, 2023

This looks great thanks for working on it! ❤️

@lal12
Copy link
Contributor Author

lal12 commented Oct 10, 2023

This still needs to be published (I can do that). I already created the @txikijs org in npm. I've sent you an invite.

Unfortunately I accidentally burned the 23.1.0 version during testing. I would just use 23.1.1 or do you have another proposal?

@saghul
Copy link
Owner

saghul commented Oct 10, 2023

23.1.1 looks good, thanks for doing that!

@saghul
Copy link
Owner

saghul commented Oct 10, 2023

We should also automate it with a GH actions perhaps that runs every time a release is created.

@lal12
Copy link
Contributor Author

lal12 commented Oct 10, 2023

I considered that initially. However this would require disabling 2FA. Usually not a good idea due to supply chain attacks.

And with 2FA there is a quirky way through GH actions (https://github.com/marketplace/actions/npm-otp-publish), but I would consider it easier to just publish by hand than waiting for some GH Action and then paste my OTP somewhere.

But maybe you would prefer it that way?

@saghul
Copy link
Owner

saghul commented Oct 10, 2023

Isn't it possible to get a token that bypasses 2FA? I seem to recall using those for other projects.

@lal12
Copy link
Contributor Author

lal12 commented Oct 10, 2023

Seems you're right:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants