New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-react-styleguide

Package Overview
Dependencies
Maintainers
4
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-react-styleguide - npm Package Versions

1
9

4.0.5-0

Diff

stonebk
published 4.0.4 •

Changelog

Source

4.0.4 (2019-05-14)

Build System

  • npm: update outdated npm dependencies (5f98e7e)

<a name="4.0.3"></a>

stonebk
published 4.0.4-3 •

stonebk
published 4.0.4-2 •

stonebk
published 4.0.4-1 •

stonebk
published 4.0.4-0 •

stonebk
published 4.0.3 •

Changelog

Source

4.0.3 (2019-04-08)

Bug Fixes

  • correctly resolve paths when sections defines an array of components globs (04e1ed9)

<a name="4.0.2"></a>

stonebk
published 4.0.2 •

Changelog

Source

4.0.2 (2019-04-08)

<a name="4.0.1"></a>

stonebk
published 4.0.1 •

Changelog

Source

4.0.1 (2019-04-08)

Bug Fixes

  • do not link the styleguides of a linked styleguide (ea42ea8)

<a name="4.0.0"></a>

stonebk
published 4.0.0 •

Changelog

Source

4.0.0 (2019-04-05)

Migrating to 4.x

  • Update your markdown examples for the 9.x release of react-styleguidist: https://github.com/styleguidist/react-styleguidist/releases/tag/v9.0.0
  • Move the styleguidist folder into src (clean up referenced paths)
    • The babel configuration has been simplified such that there is no longer a separate include path for the styleguidist folder.
  • Move styleguides configuration option from crs.config.js to styleguide.config.js, and delete the crs.config.js file
    • crs.config.js has been removed in favor of API options on createStyleguideConfig.
  • Move STYLEGUIDE.md to a docs folder at the root of the project and add sections configuration to styleguide.config.js
    • The behavior around STYLEGUIDE.md was a little too magical. 4.x now supports your own sections configuration in styleguide.config.js, so we should leverage React Styleguidist customization options directly. Read more about sections configuration here: https://react-styleguidist.js.org/docs/components.html#sections
  • Remove "STYLEGUIDE.md" from the files array of package.json and add "docs" and "styleguide.config.js"
    • Published libraries need to include the docs folder and styleguide.config.js in order to be linked in other libraries
  • Add setupFilesAfterEnv: ['<rootDir>/jest.setup.js'] to your jest.config.js
    • The jest.setup.js file is not a built-in feature of jest, and was a little too magical. If you want to continue to use this convention, you can add the configuration to your own config.
  • Update babel-preset-zillow to latest and remove any configuration for babel-plugin-styled-components
    • babel-preset-zillow now includes babel-plugin-styled-components by default.

Bug Fixes

  • update stable versions of eslint-plugin-zillow and babel-preset-zillow (2be7b6c)

build

  • update project dependency, including a major bump of react-styleguidist (0361ba3)

Features

  • createJestConfig now accepts a config object as its only argument which will be shallowly merged with its own config (657a347)
  • createStyleguideConfig now supports custom sections (c306725)
  • update template generation for new configuration APIs (1f585fc)

BREAKING CHANGES

  • react-styleguidist@9.x has breaking changes to how examples are loaded, read more here: https://github.com/styleguidist/react-styleguidist/releases/tag/v9.0.0. Also note, react-styleguidist is hard pinned to 9.0.4 due to the following issue: https://github.com/styleguidist/react-styleguidist/issues/1321.
  • crs.config.js has been removed in favor of passing options directly to createStyleguideConfig. createStyleguideConfig now takes two params, the first is a config object that will be shallowly merged, the second is an options object that takes the old styleguides option for the removed crs.config.js. A few other options have been added for customizing how sections are displayed, and this also works with the DEBUG=true environmental variable.

<a name="3.1.1"></a>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc