Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@economist/design-system
Advanced tools
This is the repository for the Economist Design System.
npm install @economist/design-system --save
## Building
Run npm run build
to run all the build steps.
This will run steps to compile JavaScript and CSS and output importable modules to ./dist
.
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
There are build
and deploy
commands defined in in package.json
but deployment, release and auto-building of documentation and examples is not yet configured. Currently you must have access to the @economist
org on NPM to publish modules.
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
The npm package @economist/design-system receives a total of 2,207 weekly downloads. As such, @economist/design-system popularity was classified as popular.
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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.