
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@bbc/digital-paper-edit-storybook
Advanced tools
[The Storybook](https://bbc.github.io/digital-paper-edit-storybook/?path=/story/breadcrumb--projects)
---> Work in progress <--
! What is published in the Storybook may be different to what is being actively used in Digital-Paper-Edit-Client, as the components are currently being migrated. !
This repository uses storybook to gather the components of the React front end. You can read about the "why" in this ADR.
See here for the overall project architecture.
git clone git@github.com:bbc/digital-paper-edit-storybook.git
cd digital-paper-edit-storybook
Optional step to setup nvm to use node version 10, otherwise just use node version 10
nvm use || nvm install
in root of project
npm install
Start the storybook
npm start
Storybook is at http://localhost:6006/
In this repo, run:
npm run link:setup
In another terminal window:
npm run link
When finished, run:
npm run unlink
npm install @bbc/digital-paper-edit-storybook
storybook
with the setup as explained in their docs to develop this React.
6.1.0
Node version is set in node version manager .nvmrc
To transpile ./src
and create a build in the ./dist
folder, run:
npm run build
To build the storybook as a static site
npm run build-storybook
This github repository uses github pages to host the storybook and the demo of the component. Make sure to commit and push any changes to MASTER before deploying to github pages.
npm run publish-ghpages
Alternatively, if you simply want to build the demo locally in the build
folder then just
npm run build-storybook
Test coverage using jest
, to run tests
npm run test
On commit, - this repo uses the .travis.yml config to run the automated test on travis CI.
Note that only
README.md
and thedist
folders are published to NPM.
release
branch and pull the new changes from master
.release
If you had to make changes in release
, make sure that the release
is equivalent to master
!
To push to npm - @bbc/digital-paper-edit-storybook
login into npm
npm run publish-public
This runs npm run build
and npm publish --access public
under the hood
See CONTRIBUTING.md guidelines and CODE_OF_CONDUCT.md guidelines.
See LICENCE
Despite using React, the BBC is not promoting any Facebook products or other commercial interest.
FAQs
[The Storybook](https://bbc.github.io/digital-paper-edit-storybook/?path=/story/breadcrumb--projects)
The npm package @bbc/digital-paper-edit-storybook receives a total of 0 weekly downloads. As such, @bbc/digital-paper-edit-storybook popularity was classified as not popular.
We found that @bbc/digital-paper-edit-storybook demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.