Skip to content

feat(react-styleguidist): Upgrade react-styleguidist v8 to v9 #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .ncurc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const { createConfig } = require('@rollup-umd/ncu');
module.exports = createConfig();
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,8 @@ jobs:
node_js:
- 'lts/*'
script:
- git fetch --tags
- git checkout refs/tags/$(git describe --tags `git rev-list --tags --max-count=1`)
- npm install
- chmod +x styleguide/prepare.sh
- styleguide/prepare.sh
- npm run styleguide:build
- targetVersion=$(git describe --tags `git rev-list --tags --max-count=1`)
- npx @rollup-umd/deploy --target-version ${targetVersion}
deploy:
- provider: pages
skip_cleanup: true
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/configuration/setup.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ It is automatically used during styleguide documentation startup.

For example, you can make `<Table />`, `<Tr />`, `<Td />` available in your examples by having in your `styleguide/setup.js`:

```js static
```javascript
import Table from '@bootstrap-styled/v4/lib/Table';
import Tr from '@bootstrap-styled/v4/lib/Table/Tr';
import Td from '@bootstrap-styled/v4/lib/Table/Td';
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/documenting/jsdoc-demo.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This is how we have generated the [createConfig](#configuration) documentation:

```js static
```javascript
/**
* @public
* @description You need to import `createConfig` into your styleguidist configuration file (generally `styleguide.config.js`).
Expand Down
2 changes: 1 addition & 1 deletion docs/introduction.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[![Build Status](https://travis-ci.org/rollup-umd/documentation.svg?branch=master)](https://travis-ci.org/rollup-umd/documentation) [![npm Version](https://img.shields.io/npm/v/@rollup-umd/documentation.svg?style=flat)](https://www.npmjs.com/package/@rollup-umd/documentation) [![License](https://img.shields.io/npm/l/@rollup-umd/documentation.svg?style=flat)](https://www.npmjs.com/package/@rollup-umd/documentation) [![npm Version](https://img.shields.io/node/v/@rollup-umd/documentation.svg?style=flat)](https://www.npmjs.com/package/@rollup-umd/documentation) [![Module formats](https://img.shields.io/badge/module%20formats-umd%2C%20cjs%2C%20esm-green.svg?style=flat)](https://www.npmjs.com/package/@rollup-umd/documentation)

Extension for react-styleguidist, Featured generated react-documentation, generated jsdom documentation, default react-styleguidist configuration, layout package with auto-configuration, internals layouts, configured CI
$PACKAGE_DESCRIPTION
2 changes: 1 addition & 1 deletion docs/layout-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ We use [Bootstrap Styled chart](https://bootstrap-styled.github.io/bootstrap-sty

You can change the theme by wrapping any Layout with:

```js static
```javascript
const theme = require('$PACKAGE_NAME/lib/theme');

export default (props) => (
Expand Down
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"jsdoc": "npm run jsdoc-documentation -- --file",
"prestyleguide": "npm run build && npm run jsdoc",
"styleguide": "styleguidist server",
"prestyleguide:build": "npm run build && npm run jsdoc",
"prestyleguide:build": "npm run build",
"styleguide:build": "styleguidist build"
},
"repository": {
Expand Down Expand Up @@ -176,12 +176,13 @@
"@babel/plugin-transform-runtime": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@rollup-umd/ncu": "^1.0.5",
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/git": "^7.0.8",
"@semantic-release/github": "^5.2.10",
"@semantic-release/npm": "^5.1.4",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.1.0",
"babel-jest": "^24.3.1",
"babel-loader": "^8.0.5",
"babel-merge": "^2.0.1",
"babel-plugin-add-module-exports": "^1.0.0",
Expand All @@ -197,23 +198,24 @@
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4",
"istanbul-api": "2.1.1",
"istanbul-reports": "2.1.1",
"jest-cli": "^24.1.0",
"istanbul-api": "^2.1.1",
"istanbul-reports": "^2.1.1",
"jest-cli": "^24.3.1",
"jest-sonar-reporter": "^2.0.0",
"lint-staged": "^8.1.5",
"pre-commit": "^1.2.2",
"raf": "^3.4.1",
"react-styleguidist": "^9.0.3",
"react-test-renderer": "^16.8.4",
"semantic-release": "^15.13.3",
"terser": "3.16.1",
"toctoc": "^0.3.2",
"webpack": "^4.29.6"
},
"dependencies": {
"@babel/runtime": "^7.3.4",
"@bootstrap-styled/rsg-components": "^2.0.3",
"acorn": "^6.0.2",
"acorn-jsx": "^5.0.0",
"react-styleguidist": "^9.0.4",
"@bootstrap-styled/rsg-components": "^2.0.4",
"css-loader": "^2.1.1",
"documentation": "^9.3.0",
"exports-loader": "^0.7.0",
Expand Down