create-sip 0.10.8 → 0.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/manager.js +16 -12
- package/package.json +1 -1
- package/webnodejs/src/index.html +2 -1
package/manager.js
CHANGED
|
@@ -19,8 +19,9 @@ const genNodejs = (target) => {
|
|
|
19
19
|
updatePackageName(`${target}/package.json`, target);
|
|
20
20
|
console.log('Web client created');
|
|
21
21
|
console.log('Run next commands:');
|
|
22
|
-
console.log(
|
|
23
|
-
console.log('npm
|
|
22
|
+
console.log(` cd ${target}`);
|
|
23
|
+
console.log(' npm install');
|
|
24
|
+
console.log(' npm start');
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
const genWebEsbuildJs = (target) => {
|
|
@@ -28,11 +29,12 @@ const genWebEsbuildJs = (target) => {
|
|
|
28
29
|
updatePackageName(`${target}/package.json`, target);
|
|
29
30
|
console.log('ESBuild client created with Javascript');
|
|
30
31
|
console.log('Run next commands:');
|
|
31
|
-
console.log(
|
|
32
|
-
console.log('npm
|
|
33
|
-
console.log('npm
|
|
32
|
+
console.log(` cd ${target}`);
|
|
33
|
+
console.log(' npm install');
|
|
34
|
+
console.log(' npm run dev');
|
|
35
|
+
console.log(' npm start');
|
|
34
36
|
console.log('If you want to build, run:');
|
|
35
|
-
console.log('npm run build');
|
|
37
|
+
console.log(' npm run build');
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
const genWebEsbuildTs = (target) => {
|
|
@@ -40,11 +42,12 @@ const genWebEsbuildTs = (target) => {
|
|
|
40
42
|
updatePackageName(`${target}/package.json`, target);
|
|
41
43
|
console.log('ESBuild client created with Typescript');
|
|
42
44
|
console.log('Run next commands:');
|
|
43
|
-
console.log(
|
|
44
|
-
console.log('npm
|
|
45
|
-
console.log('npm
|
|
45
|
+
console.log(` cd ${target}`);
|
|
46
|
+
console.log(' npm install');
|
|
47
|
+
console.log(' npm run dev');
|
|
48
|
+
console.log(' npm start');
|
|
46
49
|
console.log('If you want to build, run:');
|
|
47
|
-
console.log('npm run build');
|
|
50
|
+
console.log(' npm run build');
|
|
48
51
|
}
|
|
49
52
|
|
|
50
53
|
const genMockApi = (target) => {
|
|
@@ -52,8 +55,9 @@ const genMockApi = (target) => {
|
|
|
52
55
|
updatePackageName(`${target}/package.json`, target);
|
|
53
56
|
console.log('MockAPI with hai-server 0.0.4');
|
|
54
57
|
console.log('Run next commands:');
|
|
55
|
-
console.log(
|
|
56
|
-
console.log('npm
|
|
58
|
+
console.log(` cd ${target}`);
|
|
59
|
+
console.log(' npm install');
|
|
60
|
+
console.log(' npm start');
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
const genExpressApi = (target) => {
|
package/package.json
CHANGED