generateproj 2.2.0 → 2.4.0
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/dist/Cpp/cpp.js +2 -2
- package/dist/HTML/html.js +3 -2
- package/dist/Java/java.js +6 -3
- package/dist/NextJs/next.js +2 -2
- package/dist/Nodejs/nodejs.js +3 -2
- package/dist/Python/python.js +3 -2
- package/dist/React/react.js +3 -2
- package/package.json +1 -1
package/dist/Cpp/cpp.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const fs = require('fs');
|
|
3
3
|
const path = require('path');
|
|
4
|
-
const askQuestion = require('../
|
|
5
|
-
const gitIsAvailable = require('../
|
|
4
|
+
const askQuestion = require('../utility/askQuestion');
|
|
5
|
+
const gitIsAvailable = require('../utility/gitIsAvailable');
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Function to create a new C++ project.
|
package/dist/HTML/html.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const fs = require('fs');
|
|
3
3
|
const path = require('path');
|
|
4
|
-
const askQuestion = require('../
|
|
5
|
-
const gitIsAvailable = require('../
|
|
4
|
+
const askQuestion = require('../utility/askQuestion');
|
|
5
|
+
const gitIsAvailable = require('../utility/gitIsAvailable');
|
|
6
|
+
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Function to create a new HTML project.
|
package/dist/Java/java.js
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
const fs = require('fs');
|
|
4
4
|
const path = require('path');
|
|
5
|
-
const askQuestion = require('../
|
|
6
|
-
const gitIsAvailable = require('../
|
|
5
|
+
const askQuestion = require('../utility/askQuestion');
|
|
6
|
+
const gitIsAvailable = require('../utility/gitIsAvailable');
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Function to create a new Java project.
|
|
@@ -76,4 +77,6 @@ const createJavaProject = async () => {
|
|
|
76
77
|
console.error(`Error: Could not initialize your Java project. ${err.message}`);
|
|
77
78
|
process.exit(1);
|
|
78
79
|
}
|
|
79
|
-
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
module.exports = createJavaProject;
|
package/dist/NextJs/next.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const fs = require('fs');
|
|
3
3
|
const path = require('path');
|
|
4
|
-
const askQuestion = require('../
|
|
5
|
-
const gitIsAvailable = require('../
|
|
4
|
+
const askQuestion = require('../utility/askQuestion');
|
|
5
|
+
const gitIsAvailable = require('../utility/gitIsAvailable');
|
|
6
6
|
const {execSync} = require('child_process');
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/Nodejs/nodejs.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const fs = require('fs');
|
|
3
3
|
const path = require('path');
|
|
4
|
-
const askQuestion = require('../
|
|
5
|
-
const gitIsAvailable = require('../
|
|
4
|
+
const askQuestion = require('../utility/askQuestion');
|
|
5
|
+
const gitIsAvailable = require('../utility/gitIsAvailable');
|
|
6
|
+
|
|
6
7
|
const {execSync} = require('child_process');
|
|
7
8
|
|
|
8
9
|
/**
|
package/dist/Python/python.js
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
const fs = require('fs');
|
|
4
4
|
const path = require('path');
|
|
5
|
-
const askQuestion = require('../
|
|
6
|
-
const gitIsAvailable = require('../
|
|
5
|
+
const askQuestion = require('../utility/askQuestion');
|
|
6
|
+
const gitIsAvailable = require('../utility/gitIsAvailable');
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Function to create a new Python project.
|
package/dist/React/react.js
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
const {execSync} = require('child_process');
|
|
3
3
|
const fs = require('fs');
|
|
4
4
|
const path = require('path');
|
|
5
|
-
const askQuestion = require('../
|
|
6
|
-
const gitIsAvailable = require('../
|
|
5
|
+
const askQuestion = require('../utility/askQuestion');
|
|
6
|
+
const gitIsAvailable = require('../utility/gitIsAvailable');
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Function to create a new React + Vite project.
|