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

使用CLI tool时,选择framework和extra utils时,结果为none #657

Open
5 of 7 tasks
superjump22 opened this issue Jan 13, 2025 · 3 comments
Open
5 of 7 tasks

Comments

@superjump22
Copy link

Describe the bug

image

Reproduction

pnpm dlx @antfu/eslint-config@latest

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 AMD Ryzen 7 7800X3D 8-Core Processor
    Memory: 46.85 GB / 63.61 GB
  Binaries:
    Node: 22.13.0 - ~\AppData\Local\fnm_multishells\21808_1736740749502\node.EXE
    npm: 11.0.0 - ~\AppData\Local\fnm_multishells\21808_1736740749502\npm.CMD
    pnpm: 9.15.3 - ~\AppData\Local\fnm_multishells\21808_1736740749502\pnpm.CMD
    bun: 1.1.43 - ~\AppData\Local\fnm_multishells\21808_1736740749502\bun.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
@superjump22
Copy link
Author

复现步骤:

❯ pnpm dlx create-next-app@latest
√ What is your project named? ... my-app
√ Would you like to use TypeScript? ... No / Yes
√ Would you like to use ESLint? ... No / Yes
√ Would you like to use Tailwind CSS? ... No / Yes
√ Would you like your code inside a `src/` directory? ... No / Yes
√ Would you like to use App Router? (recommended) ... No / Yes
√ Would you like to use Turbopack for `next dev`? ... No / Yes
√ Would you like to customize the import alias (`@/*` by default)? ... No / Yes
Creating a new Next.js app in C:\Users\SuperJump\Desktop\spjp\my-app.

Using pnpm.

Initializing project with template: app-tw


Installing dependencies:
- react
- react-dom
- next

Installing devDependencies:
- typescript
- @types/node
- @types/react
- @types/react-dom
- postcss
- tailwindcss
- eslint
- eslint-config-next
- @eslint/eslintrc

 WARN  GET https://registry.npmjs.org/globals error (ECONNRESET). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/set-function-length error (ECONNRESET). Will retry in 10 seconds. 2 retries left.
Packages: +356
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 383, reused 357, downloaded 0, added 356, done
node_modules/.pnpm/[email protected]/node_modules/sharp: Running install script, done in 71ms

dependencies:
+ next 15.1.4
+ react 19.0.0
+ react-dom 19.0.0

devDependencies:
+ @eslint/eslintrc 3.2.0
+ @types/node 20.17.12 (22.10.5 is available)
+ @types/react 19.0.6
+ @types/react-dom 19.0.3
+ eslint 9.18.0
+ eslint-config-next 15.1.4
+ postcss 8.4.49
+ tailwindcss 3.4.17
+ typescript 5.7.3

Done in 18.3s
Initialized a git repository.

Success! Created my-app at C:\Users\SuperJump\Desktop\spjp\my-app

 SuperJump  ~/Desktop/spjp                                                                         13:16:14  31.165s
❯ cd .\my-app\
 SuperJump  ~/Desktop/spjp/my-app master                                                             13:16:17  17ms
❯ pnpm dlx @antfu/eslint-config@latest


┌  @antfu/eslint-config v3.14.0
│
◇  Select a framework:
│  none
│
◇  Select a extra utils:
│  none
│
◇  Update .vscode/settings.json for better VS Code experience?
│  No
│
◇  Bumping @antfu/eslint-config to v3.14.0
│
◆  Changes wrote to package.json
│
◆  Created eslint.config.mjs
│
◆  Setup completed
│
└  Now you can update the dependencies by run pnpm install and run eslint . --fix

@antfu
Copy link
Owner

antfu commented Jan 13, 2025

What do you mean? Can you elaborate more what do you expect?

@superjump22
Copy link
Author

What do you mean? Can you elaborate more what do you expect?

emmm,应该在Select a framework,比如vue时,下面的结果不是none而是vue吧?

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

No branches or pull requests

2 participants