Skip to content

Commit e0f9abf

Browse files
author
Alex
authored
Merge pull request #4 from bootstrap-styled/dev
Dev
2 parents f901550 + ec3b64e commit e0f9abf

File tree

3 files changed

+9
-21
lines changed

3 files changed

+9
-21
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"@semantic-release/git": "^7.0.5",
116116
"@semantic-release/github": "^5.2.1",
117117
"@semantic-release/npm": "^4.0.0",
118-
"@yeutech-lab/rollup-umd-documentation": "^2.4.6",
118+
"@rollup-umd/documentation": "^1.0.17",
119119
"babel-cli": "^6.26.0",
120120
"babel-core": "^6.26.0",
121121
"babel-eslint": "^7.2.3",
@@ -209,8 +209,8 @@
209209
"build:readme"
210210
],
211211
"dependencies": {
212-
"@bootstrap-styled/utils": "^1.6.1",
213-
"@bootstrap-styled/css-mixins": "1.1.0",
212+
"@bootstrap-styled/utils": "^1.6.4",
213+
"@bootstrap-styled/css-mixins": "1.1.2",
214214
"color": "^1.0.3"
215215
},
216216
"publishConfig": {

styleguide.config.js

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1-
const path = require('path');
2-
const { default: createConfig, config } = require('@yeutech-lab/rollup-umd-documentation/lib/styleguide.config.js');
3-
const pkg = require('./package.json');
1+
const { createConfig } = require('@rollup-umd/documentation');
2+
const config = createConfig({
3+
pagePerSection: true,
4+
});
45

5-
/**
6-
* We generally make the modules aliased for having nice example, but in this case
7-
* we use the module itself for the documentation and to prevent multiple version of
8-
* styled-components, we must disable the alias
9-
*/
10-
const originalWebpack = config.webpackConfig;
11-
delete originalWebpack.resolve.alias[pkg.name];
12-
13-
module.exports = {
14-
...createConfig({
15-
require: [path.resolve(__dirname, 'styleguide/setup.js')],
16-
verbose: false,
17-
}),
18-
webpackConfig: originalWebpack,
19-
};
6+
module.exports = config;

styleguide/jsdoc.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#!/usr/bin/env bash

0 commit comments

Comments
 (0)