Skip to content

feat: Add typescript support #595

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

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

abubkr-hago
Copy link

Closes #561

Copy link

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant bot changed the title feat: add typescript support feat: Add typescript support Apr 19, 2025
Copy link

🚀 Thanks for opening this pull request!

Copy link
Member

@mtrezza mtrezza left a comment

Choose a reason for hiding this comment

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

Nice!

@mtrezza mtrezza requested a review from dblythy April 19, 2025 18:30
@abubkr-hago abubkr-hago force-pushed the feat/typescript-support branch from ddcd572 to fc7e68a Compare April 19, 2025 22:37
@abubkr-hago abubkr-hago force-pushed the feat/typescript-support branch 2 times, most recently from 0ff84ec to 4a1ae28 Compare April 20, 2025 19:21
@abubkr-hago abubkr-hago force-pushed the feat/typescript-support branch from 9524cf2 to fd27b5b Compare April 21, 2025 11:05
const mountPath = process.env.PARSE_MOUNT || '/parse';
const server = new ParseServer(config);

server.start().then(async () => {
Copy link
Member

Choose a reason for hiding this comment

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

Can we use top level await here?

Copy link
Author

@abubkr-hago abubkr-hago Apr 21, 2025

Choose a reason for hiding this comment

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

We have to convert the project to a module by adding type:module in package.json and incrementing the module and target in tsconfig making it not the same as Parse and Parse Server configs.

Should I change it in the tsconfig?

Copy link
Member

@mtrezza mtrezza Apr 23, 2025

Choose a reason for hiding this comment

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

Well, it's not necessary, if you feel like doing it, then I'll wait with merging, otherwise let me know and we merge as is.

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.

Convert example package to Typescript
2 participants