
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@preply/ds-core
Advanced tools
@preply/ds-core
Platform agnostic utils and generated types and constants.
Depends only on @preply/ds-core-types.
Important: When adding types and constants here, always check if @preply/ds-tools will need to use them.. in which case they should go directly in ds-core-types
.
Important: An new code added to ds-core
mut be absolutely platform agnostic. If it dependends on browser APIs or CSS it needs to go to @preply/ds-web-core. Likewise for native dependencies meaning it should go in @preply/ds-rn-core.
tl;dr:
import { RootProvider } from `@preply/ds-rn-root`;
import { Heading, Button } from `@preply/ds-rn-lib`;
export const App: FC = () => (
<RootProvider theme="tokyo-ui">
<Heading level="h1">Hello!</Heading>
<Button>Go!</Button>
</RootProvider>
);
Follow the instructions in @preply/ds-workspace.
Reach out to #design-system-public if you think you can help and keep an eye on DS Confluence for more docs, guides, work in progress, decisions, the works.
You probably want to execute yarn dev
and/or yarn docs
in the root, as per instructions in @preply/ds-workspace.
For quicker - and more focused - feedback, you can also directly use the scripts in this package directory, but make sure you have first executed yarn build
in root, or that you have the root yarn dev
script running in the background.
Details about tools and configurations in @preply/ds-workspace.
FAQs
Unknown package
The npm package @preply/ds-core receives a total of 2,726 weekly downloads. As such, @preply/ds-core popularity was classified as popular.
We found that @preply/ds-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.