s1seven / schema-tools

Tools to create, validate and render certificates using Material Identity JSON schemas
https://materialidentity.org/
Apache License 2.0
1 stars 1 forks source link

feat: create readable schemas #221

Closed eamon0989 closed 1 year ago

eamon0989 commented 1 year ago

Description

Adds a script that allows a schema to be de-referenced. Adds the same functionality to the SchemaRepositoryVersion class to allow it to be used easily in schema repos. Added e2e tests. The easiest way to test this PR is to run npm run schema:dereference -- -p <path-to-dir>/CoA-schemas/schema.json.

Fixes #220

Type of change

Checklist:

nx-cloud[bot] commented 1 year ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 3cc69b18b30aa05d09979d296bb29b2aed700023. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 3 targets - [`nx affected --target=build`](https://cloud.nx.app/runs/pOx5Y0KW39) - [`nx run-many --target=lint --all`](https://cloud.nx.app/runs/aBuEaT88Yp) - [`nx affected --target=test`](https://cloud.nx.app/runs/MOVcejJk0v)

Sent with 💌 from NxCloud.

github-actions[bot] commented 1 year ago
Messages
:book: :thumbsup: You ticked most of the checkboxes!

Generated by :no_entry_sign: dangerJS against 3cc69b18b30aa05d09979d296bb29b2aed700023

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

0.0% 0.0% Coverage
1.6% 1.6% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint