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

chore: pkg.pr.new #2904

Merged
merged 3 commits into from
Dec 16, 2024
Merged

chore: pkg.pr.new #2904

merged 3 commits into from
Dec 16, 2024

Conversation

Aslemammad
Copy link
Member

Adding pkg.pr.new to zustand!

Copy link

vercel bot commented Dec 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zustand-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 16, 2024 7:11am

Copy link

codesandbox-ci bot commented Dec 15, 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.

@Aslemammad
Copy link
Member Author

I think we should add the pkg.pr.new app right now!

Copy link

pkg-pr-new bot commented Dec 15, 2024

Open in Stackblitzdemo

npm i https://pkg.pr.new/zustand@2904

commit: cebcdfb

Copy link
Member

@dai-shi dai-shi left a comment

Choose a reason for hiding this comment

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

I have been waiting for it!

cache: 'pnpm'
- run: pnpm install
- run: pnpm build
- run: pnpm dlx pkg-pr-new publish './dist' --compact --template './examples/*'
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a newline at the end?

BTW, we may want a simpler example like examples/counter. examples/demo might be too big for testing.
If you don't have time, let me know so that I can take it.

Copy link
Contributor

@sukvvon sukvvon Dec 16, 2024

Choose a reason for hiding this comment

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

@dai-shi

Can you add a newline at the end?

In this case, i can fix it with new PR ASAP

Copy link
Member

Choose a reason for hiding this comment

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

We do have this anyway: pmndrs/jotai#2862
Let's see if @Aslemammad responds in 24 hours.

@sukvvon Would you be interested in creating a simple counter app in examples/counter?

Copy link
Contributor

@sukvvon sukvvon Dec 16, 2024

Choose a reason for hiding this comment

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

@dai-shi i knew that counter app is already exist in examples/demo, could you explain your purpose more detail?

Copy link
Member

@dai-shi dai-shi Dec 16, 2024

Choose a reason for hiding this comment

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

demo has many dependencies for visual effects. for testing purpose with pkg.pr.new, a simpler counter example would be easier.

btw, we also have an issue related with examples in valtio: pmndrs/valtio#1012 help wanted

Copy link
Member Author

Choose a reason for hiding this comment

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

feel free to tackle it @sukvvon i'll meanwhile finish this PR reviews and jotai's PR too.

Copy link
Contributor

@sukvvon sukvvon Dec 16, 2024

Choose a reason for hiding this comment

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

@sukvvon Would you be interested in creating a simple counter app in examples/counter?

In this case, I can write the logic, but it’s hard for me to clearly understand what is desired stylistically, so I think it would be better for @dai-shi to handle it! 😄

Copy link
Member

Choose a reason for hiding this comment

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

No problem. I can handle it, but I don't do any styling.

@dai-shi
Copy link
Member

dai-shi commented Dec 16, 2024

This is nice. I didn't like the show toggle.

image

@dai-shi
Copy link
Member

dai-shi commented Dec 16, 2024

Looks good.

image

@dai-shi dai-shi merged commit 382eeac into pmndrs:main Dec 16, 2024
28 checks passed
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.

3 participants