File tree Expand file tree Collapse file tree 3 files changed +9
-21
lines changed Expand file tree Collapse file tree 3 files changed +9
-21
lines changed Original file line number Diff line number Diff line change 115
115
"@semantic-release/git" : " ^7.0.5" ,
116
116
"@semantic-release/github" : " ^5.2.1" ,
117
117
"@semantic-release/npm" : " ^4.0.0" ,
118
- "@yeutech-lab/ rollup-umd- documentation" : " ^2.4.6 " ,
118
+ "@rollup-umd/ documentation" : " ^1.0.17 " ,
119
119
"babel-cli" : " ^6.26.0" ,
120
120
"babel-core" : " ^6.26.0" ,
121
121
"babel-eslint" : " ^7.2.3" ,
209
209
" build:readme"
210
210
],
211
211
"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 " ,
214
214
"color" : " ^1.0.3"
215
215
},
216
216
"publishConfig" : {
Original file line number Diff line number Diff line change 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
+ } ) ;
4
5
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 ;
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
You can’t perform that action at this time.
0 commit comments