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

Require dev dependencies #5

Open
2 tasks
Zain-ul-din opened this issue Jan 31, 2023 · 0 comments
Open
2 tasks

Require dev dependencies #5

Zain-ul-din opened this issue Jan 31, 2023 · 0 comments
Assignees
Labels
desgin framework APIs Design proposal feature request
Milestone

Comments

@Zain-ul-din
Copy link
Member

Proposal

Our framework requires some dev-dependent packages in order to work correctly. Our CLI should check the required packages.

  • check all required packages in package.json.
  • throw a helpful error on the package not found.

Basic Overview

const requiredPkgs = ['typescript', 'babel']

// package.json ✔ fine
{
 "devDependencies": {
    "typescript": "^5.0.1",
    "babel": "^1.0.1"
 }
}

// package.json ❌ error
/*  `require typescript`  */
{
 "devDependencies": {
    "babel": "^1.0.1"
 }
}
@Zain-ul-din Zain-ul-din added desgin framework APIs Design proposal feature request labels Jan 31, 2023
@Zain-ul-din Zain-ul-din added this to the V 1.0.1B milestone Jan 31, 2023
@Zain-ul-din Zain-ul-din moved this from In Progress to Todo in Randoms Restful APIs framework Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desgin framework APIs Design proposal feature request
Projects
Development

No branches or pull requests

2 participants