Skip to content

Migrate to @oclif/core V3  #1224

Closed

Description

@Amzani

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions