Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@economist/design-system
Advanced tools
This is the repository for the Economist design system.
npm install @economist/design-system --save
React components for the design system are simple to use in your project:
import React, { Component } from 'react'
import { Button } from '@economist/design-system/common'
export default class extends Component {
render() {
return (
<Button>Example Button</Button>
)
}
}
Using the ES6 module export is the recommended way to use the design system with React, but you can also use the components as UMD modules.
To see how to use the design system in your own project, checkout the examples in ./examples/
.
cd examples/es6-next
npm install
npm run dev
## Building
Run npm run build
to run all the build steps.
This will run steps to compile JavaScript and CSS.
There are build
and deploy
commands defined in package.json
.
A build is triggered automatically when publishing.
Deployment, release and auto-building of documentation and examples is not yet configured and the steps for deployment will change with automation (deployment of both assets to the CDN and the design system will likely be coupled).
To publish a canary (preview) release, update the 'version' in package.json
to add the suffix -canary.
followed by a version number (e.g. so it looks like "version": "0.0.1-canary.0"
) and run NPM with the --tag option:
npm publish --tag canary
To publish a 'production' release, just run NPM publish:
npm publish
FAQs
Economist Design System
We found that @economist/design-system demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.