
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@plone/types
Advanced tools
Plone unified TypeScript typings.
This package contains .d.ts
typing definitions, curated by hand.
Due to the nature of this package, it does not need bundling.
It's published "as is", so you can import the type definitions from anywhere in your code.
The files are organized in the following way:
In a project, you often need to extend the default definitions with your own, for example, when dealing with custom content types or creating new blocks.
You can use TypeScript for extending the types like this:
// We extend the block types with our custom ones
declare module '@plone/types' {
export interface BlocksConfigData {
myCustomBlock: BlockConfigBase;
}
}
You can use this package from Volto 17 onwards. In Volto 17, you should declare it as dependency. In Volto 18 and later, it is included by default.
FAQs
Plone's Types Package
The npm package @plone/types receives a total of 216 weekly downloads. As such, @plone/types popularity was classified as not popular.
We found that @plone/types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.