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

feat(sdk/node): move js deno to node #539

Merged
merged 26 commits into from Jan 12, 2024
Merged

feat(sdk/node): move js deno to node #539

merged 26 commits into from Jan 12, 2024

Conversation

afmika
Copy link
Contributor

@afmika afmika commented Jan 8, 2024

Describe your change

Change deno frontend to pure node

Motivation and context

Easier integration.

Migration notes

Checklist

  • The change come with new or modified tests
  • Hard-to-understand functions have explanatory comments
  • End-user documentation is updated to reflect the change

typegraph/node/dev/fix-declarations.ts Outdated Show resolved Hide resolved
typegraph/node/package-lock.json Outdated Show resolved Hide resolved
@afmika afmika marked this pull request as ready for review January 10, 2024 16:33
.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/tests.yml Outdated Show resolved Hide resolved
typegraph/node/package.json Outdated Show resolved Hide resolved
typegraph/node/src/deps/fromFileUrl.ts Outdated Show resolved Hide resolved
Copy link
Member

@zifeo zifeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

almost done, what about dev/publish, I believe we can safely remove it?

regarding the fact that the deno import using npm:../../ does not work, can you add this a comment and a link to the upstream issue in the index.ts file?

examples/templates/node/tsconfig.json Outdated Show resolved Hide resolved
typegraph/node/package.json Show resolved Hide resolved
typegraph/node/package.json Outdated Show resolved Hide resolved
typegraph/node/src/deps/_import.ts Outdated Show resolved Hide resolved
typegraph/node/src/deps/mod.ts Outdated Show resolved Hide resolved
@afmika
Copy link
Contributor Author

afmika commented Jan 11, 2024

almost done, what about dev/publish, I believe we can safely remove it?

regarding the fact that the deno import using npm:../../ does not work, can you add this a comment and a link to the upstream issue in the index.ts file?

yes we can remove dev/publish, the current release step publish directly the dist folder.
https://github.com/metatypedev/metatype/blob/move-js-deno-to-node/.github/workflows/release.yml#L131

Here are some issues on local node project import from deno:
denoland/deno#18701
denoland/deno#18474

Yohe-Am
Yohe-Am previously approved these changes Jan 11, 2024
Copy link
Contributor

@Yohe-Am Yohe-Am left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work.

dev/lock.yml Show resolved Hide resolved
@afmika afmika merged commit 12e974f into main Jan 12, 2024
9 checks passed
@afmika afmika deleted the move-js-deno-to-node branch January 12, 2024 14:36
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

3 participants