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

fix: move generated json schema #524

Merged
merged 4 commits into from
Jan 21, 2025
Merged

fix: move generated json schema #524

merged 4 commits into from
Jan 21, 2025

Conversation

foyarash
Copy link
Collaborator

Title

Update path of the generated JSON Schema

Type of Change

  • New feature
  • Bug fix
  • Documentation update
  • Example update
  • Refactoring
  • Hotfix
  • Security patch
  • UI/UX improvement

Issue

#504

Description

This is an attempt to fix an issue that arised with PNPM, because of the way PNPM installs the packages, the .next-admin folder which contains the JSON schema was generated in a place that could not be resolved by Node.
This fix generates the schema in the node_modules of the next-admin package, which should make it accessible.

Copy link

changeset-bot bot commented Jan 21, 2025

🦋 Changeset detected

Latest commit: a57ae05

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@premieroctet/next-admin-generator-prisma Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@foyarash foyarash merged commit 0eaafde into main Jan 21, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant