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

Create Remove functionality for Providers #28

Open
4 tasks done
rsaz opened this issue Oct 6, 2023 · 0 comments
Open
4 tasks done

Create Remove functionality for Providers #28

rsaz opened this issue Oct 6, 2023 · 0 comments
Labels
enhancement New feature or request needs triage Needs analysis

Comments

@rsaz
Copy link
Member

rsaz commented Oct 6, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Currently CLI is providing it's first provider which as @expressots/prisma or prisma provider. Prisma provider is added using the CLI command:

expressots add prisma

We need to add a command to remove the provider and undo all it's installation changes. Example:

expressots remove prisma

During the installation prisma does:

  • Install prisma client
  • Install prisma
  • Install @expressots/prisma
  • Install driver
  • Install repository pattern
  • Create a prisma folder
  • Add prisma folder location to the package.sjon
  • Add prisma provider configuration in the expressots.config.ts
  • Add prisma command in package.json to generate prisma models

Steps to reproduce

expressots add prisma

Expected behavior

Remove all components below:

  • Install prisma client
  • Install prisma
  • Install @expressots/prisma
  • Install driver
  • Install repository pattern
  • Create a prisma folder
  • Add prisma folder location to the package.sjon
  • Add prisma provider configuration in the expressots.config.ts
  • Add prisma command in package.json to generate prisma models

Package version

@expressots/cli 1.5.0

Node.js version

18

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

@rsaz rsaz added needs triage Needs analysis enhancement New feature or request labels Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage Needs analysis
Projects
Status: 📋 Draft
Development

No branches or pull requests

1 participant