Skip to content

Commit e5bd5ac

Browse files
committed
fix(install): Properly escape cli installation info cross-platform
1 parent 68243c4 commit e5bd5ac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"engines": {
77
"node": ">=6"
88
},
9-
"bin": {
9+
"bin": {
1010
"contentful-import": "./bin/contentful-import"
1111
},
1212
"scripts": {
@@ -35,7 +35,7 @@
3535
"devdep:uninstall": "npm run devdep:clean && rimraf node_modules/contentful-batch-libs",
3636
"precommit": "npm run lint",
3737
"prepush": "npm run test:unit",
38-
"postinstall": "echo We moved the CLI version of this tool into our Contentful CLI.\nThis allows our users to use and install only one single CLI tool to get the full Contentful experience.\nFor more info please visit https://github.com/contentful/contentful-cli/tree/master/docs/space/import"
38+
"postinstall": "echo-cli '\\nWe moved the CLI version of this tool into our Contentful CLI.\\nThis allows our users to use and install only one single CLI tool to get the full Contentful experience.\\n\\nFor more info please visit https://github.com/contentful/contentful-cli/tree/master/docs/space/import'"
3939
},
4040
"repository": {
4141
"type": "git",
@@ -55,6 +55,7 @@
5555
"cli-table3": "^0.5.0",
5656
"contentful-batch-libs": "^9.0.0",
5757
"contentful-management": "^5.0.0",
58+
"echo-cli": "^1.0.8",
5859
"joi": "^13.1.2",
5960
"listr": "^0.13.0",
6061
"listr-update-renderer": "^0.4.0",

0 commit comments

Comments
 (0)