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

improve tooling #165

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marcellourbani
Copy link
Contributor

Fixes #164

Only implemented for native so far, web gives lots of issues with missing modules - I suppose I can replace them with empty ones or something or keep using webpack, as you prefer.

I also added npm workspaces, so all? modules will be installed only once in the project root
Main advantage of this setup is that:

  • breakpoints set in the client or server ts work
  • once you saved your changes, just running Developer:Reload window gets you debugging your new code.

@@ -40,7 +40,8 @@ class DefaultProvider implements FsProvider {
}

public async glob(pattern: string) {
const found = sync(pattern, {nosort: true, nodir: true});
const options = {nosort: true, nodir: true};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Did this because typescript complains about nosort not existing
Could have simply removed it, but in case it does exist but there's a typing error...

@larshp
Copy link
Member

larshp commented Oct 5, 2024

hmm, npm workspaces...

@CLAassistant
Copy link

CLAassistant commented Oct 5, 2024

CLA assistant check
All committers have signed the CLA.

@marcellourbani
Copy link
Contributor Author

got rid of workspaces

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

Successfully merging this pull request may close these issues.

improve tooling
3 participants