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

Replace ajv pack with standalone #7

Merged
merged 3 commits into from
Dec 17, 2021
Merged

Replace ajv pack with standalone #7

merged 3 commits into from
Dec 17, 2021

Conversation

dagda1
Copy link
Contributor

@dagda1 dagda1 commented Dec 17, 2021

following on from #6 , I have updated ajv-json-loader to use the latest ajv and replaced ajv-pack with ajv standalone.

I have also updated the code to typescript. I needed to do this as I don't know ajv that well and the types kept me right.

All tests are passing but I had to update the snapshot code tests as the latest ajv code generates different code which is to be expected.

I would appreciate it if someone could cast a qualified eye over the new snapshots.

I do not know ajv very well at all so I would appreciate a more qualified look.

@downace
Copy link
Owner

downace commented Dec 17, 2021

Hi!

I've not used ajv and JSON schemas for a few years. Maybe someone of the ajv or ajv-pack collaborators may take a look.

Or I can just merge it and publish new version, so anyone can test it. It's new major release, so nothing should change for existing projects according to the semver.

@dagda1
Copy link
Contributor Author

dagda1 commented Dec 17, 2021

@downace i have just the project to try it on

@downace downace merged commit a5c75a5 into downace:master Dec 17, 2021
@downace
Copy link
Owner

downace commented Dec 17, 2021

Done, the 0.2.0 version published at npmjs.com.

@dagda1 dagda1 deleted the replace-ajv-pack-with-standalone branch December 17, 2021 11:19
@dagda1
Copy link
Contributor Author

dagda1 commented Dec 17, 2021

Done, the 0.2.0 version published at npmjs.com.

awesome, thank you, I'll follow up with another PR if there are any issues

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.

2 participants