🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

radium-docs

Package Overview
Dependencies
Maintainers
31
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

radium-docs

Radium Documentation Site

latest
Source
npmnpm
Version
3.3.3
Version published
Maintainers
31
Created
Source

Radium Documentation

Build Status

Documentation site for Radium.

Check out the wiki to learn more about this lander.

Publishing

To release this lander, please follow the archetype release instructions for our npm version workflow.

When publishing, please make sure to install and use npm@5.6.0 to preserve file timestamp metadata as it is required for our overall website build and versions subsequent to 5.6.0 intentionally destroy this metadata:

$ npm install -g npm@5.6.0
$ npm --version
5.6.0

Build

Prismjs Notes

Prismjs has a very touchy configuration such that if two different versions are installed in node_modules and used, the world breaks with very unhelpful messages like:

TypeError: Cannot read property 'tag' of undefined
    at main:72:6800
    at Object.t.variable.pattern (main:72:8736)
    at t (main:1:352)
    at Object.e.exports (main:68:13737)
    at t (main:1:352)
    at Object.defineProperty.value (main:68:6118)
    at t (main:1:352)
    at Object.defineProperty.value (main:34:21132)
    at t (main:1:352)
    at Object.<anonymous> (main:1:993)

during a webpack build.

Unfortunately, this project imports Prismjs in both root and via react-live. To solve this issue react-live (and spectacle too for the same reasons) pins prism to:

"prismjs": "1.6.0",

... and we do the same in this package as well. For a further discussion, see:

FAQs

Package last updated on 19 Apr 2019

Did you know?

Socket

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.

Install

Related posts