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

Version 0.6.0 #6

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Version 0.6.0 #6

wants to merge 8 commits into from

Conversation

doloboyz
Copy link
Contributor

@doloboyz doloboyz commented Jun 6, 2024

  • Dependency updates
  • added jsdoc comments to all functions

doloboyz added 2 commits June 6, 2024 02:20
- Dependency updates
- added jsdoc comments to all functions
Copy link

codesandbox-ci bot commented Jun 6, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@doloboyz
Copy link
Contributor Author

doloboyz commented Jun 6, 2024

Not too sure as to why codesandbox CI is failing. Seems to be building successfully.

Copy link

codesandbox-ci bot commented Jun 6, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@dai-shi
Copy link
Member

dai-shi commented Jun 6, 2024

Thanks for the suggestion. Don't worry about codesandbox.

Do you think you can work to follow jotaijs/jotai-immer#9 ?

@doloboyz
Copy link
Contributor Author

doloboyz commented Jun 6, 2024

Not sure if I understood correctly, but I made my best attempt at making repo compliant with the above provided packages. Unfortunately, it was riddled with some module resolution errors, hopefully you can provide a quick fix to this.

expect(src.atomWithMutation).toBeDefined();
expect(src.atomWithSubscription).toBeDefined();
});
});
Copy link
Member

Choose a reason for hiding this comment

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

We need to change the file name to 01_basic.spec.tsx.

@dai-shi
Copy link
Member

dai-shi commented Jun 6, 2024

Can you run npx prettier -w .?

@doloboyz
Copy link
Contributor Author

doloboyz commented Jun 7, 2024

Let me know if you need anything else done

@dai-shi
Copy link
Member

dai-shi commented Jun 7, 2024

I'll check it later. Do you have anything else you can do?

Copy link

codesandbox-ci bot commented Jun 19, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@dai-shi
Copy link
Member

dai-shi commented Jun 19, 2024

@doloboyz Hi, I added some fixes, but haven't tested if examples run correctly.
Also, please check which style of relay.config.js is better.

@doloboyz
Copy link
Contributor Author

So unfortunately, I don't believe module-first will work with the tsconfig files in the example subdirectories. I think commonjs needs to be used. If you want me to push the changes, I've implemented fixes for the examples.

@doloboyz
Copy link
Contributor Author

also after i adjusted the tsconfigs and package.json to use commonjs rather than module for the sake of the relay compiler, examples fail with 404

- Used commonjs module resolution in tsconfig.json
- Changed 'AppCountriesQuery' to 'appCountriesQuery' in app.tsx
to satisfy the relay compiler
- Changed 'type' in package.json to 'commonjs' to satisfy relay
@dai-shi
Copy link
Member

dai-shi commented Jun 25, 2024

So unfortunately, I don't believe module-first will work

It's something I did in other repos, but I don't strongly suggest to do the same here.
So, you can do what you think is the best in this repo.

Also, as nobody else is maintaining this repo. I can invite you to be a maintainer of this repo.

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.

2 participants