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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add npm init / yarn create initialiser #14432

Closed
dj-stormtrooper opened this issue Aug 20, 2023 · 7 comments 路 Fixed by #14453
Closed

[Feature]: Add npm init / yarn create initialiser #14432

dj-stormtrooper opened this issue Aug 20, 2023 · 7 comments 路 Fixed by #14453

Comments

@dj-stormtrooper
Copy link
Contributor

馃殌 Feature Proposal

Jest already has jest --init wizard which makes initial setup very fancy, but it doesn't have starter-kit wrapper for package managers, like npm init or yarn create:

For example playwright has such initialiser, same as create-react-app and many more

Motivation

I often setup new projects with Jest and help other developers to do so and it's nice to have standardised way for the initial setup

Example

npm init jest@latest

This command will run jest --init wizard

Pitch

This is a user-friendly way to setup new projects, it makes the process smoother and more convenient

I can make a PR if the approach is ok

@mrazauskas
Copy link
Contributor

I can make a PR if the approach is ok

Sure, just do it. That鈥檚 a good idea and I like to hear that you find it useful for your own work.

@mrazauskas
Copy link
Contributor

Useful reference: the create-playwright repo is here: https://github.com/microsoft/create-playwright

@dj-stormtrooper
Copy link
Contributor Author

Great, thanks!

@dj-stormtrooper
Copy link
Contributor Author

Package name create-jest has been taken unfortunately, but I contacted the owner in case he will be able to transfer the package name to the Jest team (I used list of npm maintainers from the jest-cli)

npm int @jest/jest is also fine, but not the best

@SimenB
Copy link
Member

SimenB commented Aug 23, 2023

Ah, it's owned by @cpojer 馃榾 I'll ping him

EDIT, haha even better - he pinged me 2 days ago about this 馃槄

So yeah, the package is ours - feel free to send a PR 馃檪

@dj-stormtrooper
Copy link
Contributor Author

he pinged me 2 days ago about this 馃槄

Yeah, I reached him with email)) Thanks to npm view, they show package owner's email

@github-actions
Copy link

github-actions bot commented Oct 8, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants