hoosat-create 1.4.5 → 1.4.7
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/README.md +3 -0
- package/index.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -121,6 +121,9 @@ Though for now the only goal seems to be to drop `react-helmet-async`.
|
|
|
121
121
|
|
|
122
122
|
## Release changes
|
|
123
123
|
|
|
124
|
+
### 1.4.5 -> 1.4.6
|
|
125
|
+
- Use submodule for server, make cloning of template recursive.
|
|
126
|
+
|
|
124
127
|
### 1.4.4 -> 1.4.5
|
|
125
128
|
- One small document change in server code example, to make your life easier.
|
|
126
129
|
- Add support for command line arguments.
|
package/index.js
CHANGED
|
@@ -95,7 +95,7 @@ async function run() {
|
|
|
95
95
|
try {
|
|
96
96
|
// Clone git repository.
|
|
97
97
|
try {
|
|
98
|
-
await runCommand(`git clone ${repository} ${destination}`, 'Failed to clone project.', { stdio: 'inherit' });
|
|
98
|
+
await runCommand(`git clone --recursive ${repository} ${destination}`, 'Failed to clone project.', { stdio: 'inherit' });
|
|
99
99
|
console.log('Project cloned successfully.');
|
|
100
100
|
} catch (error) {
|
|
101
101
|
console.error(error.message);
|
|
@@ -124,6 +124,7 @@ async function run() {
|
|
|
124
124
|
// Initialize git repository
|
|
125
125
|
try {
|
|
126
126
|
await runCommand('git init', 'Failed to initialize git repository.', { stdio: 'inherit' });
|
|
127
|
+
await runCommand('git remote rm origin', 'Failed to remove origin remote from git repository.', { stdio: 'inherit' });
|
|
127
128
|
console.log('Git has been initialized.');
|
|
128
129
|
} catch (error) {
|
|
129
130
|
console.error(error.message);
|
package/package.json
CHANGED