![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.
@kintone/plugin-manifest-validator
Advanced tools
[![npm version](https://badge.fury.io/js/%40kintone%2Fplugin-manifest-validator.svg)](https://badge.fury.io/js/%40kintone%2Fplugin-manifest-validator) ![Node.js version](https://img.shields.io/badge/dynamic/json.svg?url=https://raw.githubusercontent.com/k
Validate manifest.json
of kintone plugin. Used in @kintone/plugin-packer.
$ npm install @kintone/plugin-manifest-validator
const validator = require("@kintone/plugin-manifest-validator");
const manifestJson = require("./path/to/your/manifest.json");
const result = validator(manifestJson);
console.log(result.valid); // true or false
console.log(result.errors); // array of ajv error objects
console.log(result.warnings); // string array
ajv error objects is like:
{
dataPath: '/version',
keyword: 'type',
message: 'should be integer',
params: {
type: 'integer',
},
schemaPath: '#/properties/version/type',
}
manifest-schema.json
JSON schema for manifest.json is available.
const manifestJsonSchema = require("@kintone/plugin-manifest-validator/manifest-schema.json");
manifest-schema.d.ts
TypeScript type definition (d.ts) for manifest.json is available.
import { KintonePluginManifestJson } from "@kintone/plugin-manifest-validator/manifest-schema";
let manifest: KintonePluginManifestJson;
$schema
propertyWhen you are configuring your project, you would better set the $schema property. This property should point to a schema file that validates your manifest. We recommend setting the $schema property to the following URI in your manifest.json:
https://raw.githubusercontent.com/kintone/js-sdk/%40kintone/plugin-manifest-validator%4010.3.0/packages/plugin-manifest-validator/manifest-schema.json
Note: Add or update the $schema property at the top of the manifest.json.
MIT License
FAQs
[![npm version](https://badge.fury.io/js/%40kintone%2Fplugin-manifest-validator.svg)](https://badge.fury.io/js/%40kintone%2Fplugin-manifest-validator) ![Node.js version](https://img.shields.io/badge/dynamic/json.svg?url=https://raw.githubusercontent.com/k
We found that @kintone/plugin-manifest-validator demonstrated a healthy version release cadence and project activity because the last version was released less than 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.