Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@tinacms/core
Advanced tools
A CMS Toolkit
Install the package
npm install --save @tinacms/core
or
yarn add @tinacms/core
@tinacms/core
is the core for building content management systems.
import { CMS } from '@tinacms/core'
let cms = new CMS()
cms.forms.addFieldPlugin({
name: "text",
Component({ input, field }) {
return (
<label name={input.name}>
{field.name}
<input {...} />
</label>
)
}
})
- input: [See Input Props here](https://github.com/final-form/react-final-form#fieldrenderprops)
- meta: [See Meta Props here](https://github.com/final-form/react-final-form#fieldrenderprops)
- field:
- name: string;
- component: React.FC<any> | string;
let form = cms.forms.createForm({
name: 'hello-world',
initialValues: {
title: 'Hello World',
description: 'A fun time can be head with programming.',
},
fields: [
{ name: 'title', component: 'text' },
{ name: 'description', component: 'text' },
],
})
The following can be imported from @tinacms/cms
CMS
The base CMS class.
forms: FormManager
TODO
Subscribable
TODO
Form
FormManager
create<S>(options: FormOptions<S>): Form<S>
findForm(name: string): Form
removeForm(): void
all(): Form[]
addFieldPlugin(): void
getFieldPlugin(name: string): FieldPlugin | null
FormOptions<S>
FieldPlugin
FAQs
The `@tinacms/core` package provides the core objects for building amazing content management systems.
The npm package @tinacms/core receives a total of 72 weekly downloads. As such, @tinacms/core popularity was classified as not popular.
We found that @tinacms/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.