Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@guardian/atoms-rendering
Advanced tools
There are already several \*-rendering repos designed to isolate areas of code to make sharing easier and maintenence simpler. See [here](https://docs.google.com/document/d/1Z1LPU5_9bqd2hiOTIWuZqkF9Ps-Hfk5qpffPOywR8ys/edit#heading=h.8pvgly6jt73r) for more
There are already several *-rendering repos designed to isolate areas of code to make sharing easier and maintenence simpler. See here for more information on this appraoch.
This repo is an opinionated example of how code can be separated out into its own repo, published to Npm, and shared
ReactJS Typescript EmotionJS MicroBundle Jest Storybook + babel, eslint, prettier, husky
To import an atom in your project use yarn add @guardian/atoms-rendering
then
import { TheAtomYouWant } from '@guardian/atoms-rendering';
<TheAtomYouWant someProp={localData.someProp} />
git clone https://github.com/guardian/atoms-rendering.git
yarn
yarn storybook
also
yarn link // so you don't need to publish to test changes remotely
and then
"scripts": {
"build": "microbundle --jsx React.createElement",
"dev": "microbundle watch --jsx React.createElement",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"tsc": "tsc",
"lint": "eslint . --ext .ts",
"test": "jest --watch"
}
Adding a new atom in atoms-rendering
involves
index.ts
to export the componentManual publishing steps:
yarn build
yourname/v1.0.1
yarn publish
(enter new version number, eg. 1.0.1)@guardian/atoms-rendering
installed to see the changesFAQs
Unknown package
The npm package @guardian/atoms-rendering receives a total of 3 weekly downloads. As such, @guardian/atoms-rendering popularity was classified as not popular.
We found that @guardian/atoms-rendering demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 44 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
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.