Skip to content
This repository was archived by the owner on Dec 5, 2018. It is now read-only.

Commit c88d2e4

Browse files
author
Gitlab-CI
committed
fix(alias): Added $PACKAGE_NAME as a valid alias for the current base dir
1 parent b4b03c8 commit c88d2e4

File tree

3 files changed

+40
-28
lines changed

3 files changed

+40
-28
lines changed

package-lock.json

+37-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
"lint-staged": "^4.1.3",
201201
"pre-commit": "^1.2.2",
202202
"raf": "^3.4.0",
203-
"react-styleguidist": "^7.1.0",
203+
"react-styleguidist": "^7.1.1",
204204
"react-test-renderer": "^16.3.2",
205205
"rollup": "^0.57.1",
206206
"rollup-plugin-babel": "^3.0.3",
@@ -214,7 +214,7 @@
214214
"rollup-plugin-uglify": "^3.0.0",
215215
"rollup-plugin-visualizer": "^0.5.0",
216216
"rollup-watch": "^4.3.1",
217-
"semantic-release": "^15.8.0",
217+
"semantic-release": "^15.8.1",
218218
"sinon": "^2.3.2",
219219
"toctoc": "^0.3.0"
220220
},

src/styleguide.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ export default function createConfig(userConfig = {}, options = {}) {
129129
],
130130
resolve: {
131131
alias: {
132+
$PACKAGE_NAME: path.resolve(pkgBase),
132133
[pkg.name]: path.resolve(pkgBase),
133134
styleguide: path.resolve(styleguideBase),
134135
},

0 commit comments

Comments
 (0)