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

Migrate to @oclif/core V3 #1224

Closed
2 tasks done
Amzani opened this issue Mar 12, 2024 · 0 comments · Fixed by #1228
Closed
2 tasks done

Migrate to @oclif/core V3 #1224

Amzani opened this issue Mar 12, 2024 · 0 comments · Fixed by #1228
Labels
enhancement New feature or request

Comments

@Amzani
Copy link
Collaborator

Amzani commented Mar 12, 2024

Why do we need this improvement?

We need @oclif/core V3 instead of V1:

{
  "oclif": {
    "commands": {
      "strategy": "pattern",
      "target": "./dist/commands",
      "globPatterns": [
         "**/*.+(js|cjs|mjs|ts|tsx|mts|cts)",
        "!**/*.+(d.*|test.*|spec.*|helpers.*)?(x)"
      ]
    }
  }
}
  • At some point V1 will be deprecated by @oclif

How will this change help?

This will enable us to have something like

Example for generate

.
└── generate
    ├── fromTemplate
    │   ├── fromTemplate.test.ts
    │   └── fromTemplate.ts
    ├── index.ts
    └── models
        ├── models.test.ts
        └── models.ts

Thanks to this, we will be able to have an easy CODEOWNER file

Screenshots

No response

How could it be implemented/designed?

🚧 Breaking changes

No

👀 Have you checked for similar open issues?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

Yes I am willing to submit a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant