Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit a5c6c48

Browse files
Merge pull request #984 from NativeScript/sis0k0/remove-helper-message
refactor: remove the postinstall helper info
2 parents a3df142 + 2380a6f commit a5c6c48

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

dependencyManager.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@ Some dependencies have already been added. \
1010
If you want to force update them, please run "node_modules/.bin/update-ns-webpack".
1111
`;
1212

13-
const USAGE_MESSAGE = `
14-
NativeScript Webpack plugin was successfully added.
15-
You can now bundle your project by passing --bundle flag to NativeScript CLI commands:
16-
- tns build android --bundle
17-
- tns build ios --bundle
18-
- tns run android --bundle
19-
- tns run ios --bundle
20-
You can also pass the "--env.uglify" flag to use Terser for minification.
21-
For more information check out https://docs.nativescript.org/tooling/bundling-with-webpack#bundling.
22-
`;
23-
2413
function addProjectDeps(packageJson, force = false) {
2514
packageJson.devDependencies = packageJson.devDependencies || {};
2615
const postinstallOptions = {
@@ -105,8 +94,6 @@ function dependsOn(packageJson, package) {
10594
}
10695

10796
function showHelperMessages({ newDepsAdded, hasOldDeps }) {
108-
console.info(USAGE_MESSAGE);
109-
11097
if (hasOldDeps) {
11198
console.info(ALREADY_ADDED_MESSAGE);
11299
}

0 commit comments

Comments
 (0)