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

Provide JSON Schema Store #763

Merged
merged 8 commits into from
Dec 26, 2022
Merged

Provide JSON Schema Store #763

merged 8 commits into from
Dec 26, 2022

Conversation

panoply
Copy link
Contributor

@panoply panoply commented Nov 6, 2022

Touched on this briefly in #654

This will allow users to easily extend intellisense capabilities to the package.json file if choosing to pass configurations this way. Users working with vscode or an editor which support the JSON Language Server can optionally choose to implement this.

Consumers will need to point to https://unpkg.com/tsup/schema.json if they choose to leverage the feature within their editor.

@vercel
Copy link

vercel bot commented Nov 6, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
tsup ✅ Ready (Inspect) Visit Preview Dec 26, 2022 at 11:59AM (UTC)

@egoist
Copy link
Owner

egoist commented Dec 26, 2022

Can you document the usage with tsup.config.json?

@panoply
Copy link
Contributor Author

panoply commented Dec 26, 2022

Yeah, no problems.

Brings support for both package.json "tsup" property and "tsup.config.json" files. In addition, array configuration types are now supported, allowing for multiple configuration exports.
prevent the schema from revalidating the package.json
@panoply
Copy link
Contributor Author

panoply commented Dec 26, 2022

@egoist let me know if that suffices. The tsup.config.json file can just be added to the fileMatch list and it should work as expected for either configuration type (tsup.config.json / package.json).

Important to keep the store in root direct so the CDN can reference it according to docs.

fixes semi and does not use plural on heading
@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2023

🎉 This PR is included in version 6.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

panoply added a commit to panoply/liquify that referenced this pull request Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants