![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@ikerin/build-readme
Advanced tools
A cli tool to replace each example block with an actual file from examples
import { resolve } from '@ovotech/json-schema';
resolve({});
With running
yarn build-readme README.md
You would copy the contents of the actual examples/simple.ts
file into the following codeblock.
It also supports extracting bits of the example file, with "sections". You will need to wrap the desired code inside of the referenced file with // << section-name (...) // section-name
. The resulting url will also contain direct link to the section, when viewed in github.
import { resolve } from '@ovotech/json-schema';
// << test-section
resolve({});
// test-section
This way you can keep your examples as executable files, and automatically update your readme files when you make changes, so none of your examples get out of date.
There is also support for #
style comments
---
openapi: 3.0.0
info:
# << test-section
title: Simple API
version: 1.0.0
# test-section
servers:
- url: 'http: //localhost:3333'
You'll need to start a postgres instance to run the tests for some of the exmaples
docker-compose -f examples/docker-compose.yaml up
You can then run the tests with:
yarn test
Style is maintained with prettier and eslint
yarn lint
Deployment is done by github when you create a new release in github.
Have a bug? File an issue with a simple example that reproduces this so we can take a look & confirm.
Want to make a change? Submit a PR, explain why it's useful, and make sure you've updated the docs (this file) and the tests (see test folder).
This project is licensed under Apache 2 - see the LICENSE file for details
FAQs
Replace each example block with an actual file from examples
We found that @ikerin/build-readme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.