From db4248ac34e46863e00ae8cb8500e7d547f6a317 Mon Sep 17 00:00:00 2001 From: Gitlab-CI Date: Thu, 15 Nov 2018 06:15:48 +0700 Subject: [PATCH] fix(doc): fix prepare.sh error --- docs/installation.md | 2 +- package.json | 3 ++- styleguide/prepare.sh | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 4c1bae49b..ad8b6cd9c 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -1,3 +1,3 @@ ```bash -npm install --save $PACKAGE_NAME +npm install --save @bootstrap-styled/v4 ``` diff --git a/package.json b/package.json index 2ad17e3b5..7ee48a916 100644 --- a/package.json +++ b/package.json @@ -253,11 +253,12 @@ "build:readme" ], "dependencies": { - "bootstrap-styled": "^2.0.3", "@bootstrap-styled/css-mixins": "^1.1.0", "@bootstrap-styled/css-utils": "^1.1.0", "@bootstrap-styled/utils": "^1.6.1", + "@rollup-umd/documentation-cli": "^1.0.8", "basic-math-utils": "^0.3.4", + "bootstrap-styled": "^2.0.3", "classnames": "^2.2.6", "color": "^1.0.3", "lodash.omit": "^4.5.0", diff --git a/styleguide/prepare.sh b/styleguide/prepare.sh index f5051a0de..f53a16d0d 100644 --- a/styleguide/prepare.sh +++ b/styleguide/prepare.sh @@ -2,7 +2,7 @@ npx @rollup-umd/documentation-cli variable \ PACKAGE_NAME=$(node -p "require('./package.json').name") \ - PACKAGE_DESCRIPTION=$(node -p "require('./package.json').description") \ + PACKAGE_DESCRIPTION="$(node -p "require('./package.json').description")" \ PACKAGE_PEERS="$(npx rollup-umd-scripts peer npm-install-cmd)" \ PACKAGE_VERSION=$(node -p "require('./package.json').version") \ NODE_VERSION=$(node --version) \