create-fesd-app 1.0.0-bate.81 → 1.0.0-bate.82

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.
@@ -106,17 +106,18 @@ const createGitignore = async (packagePath) => {
106
106
  const gitignorePath = packagePath + "/.gitignore"
107
107
 
108
108
  try {
109
- const data = await promisesFs.readFile(npmignorePath, 'utf8');
110
- await promisesFs.writeFile(gitignorePath, data, 'utf8');
111
- await promisesFs.unlink(npmignorePath);
109
+ // const data = await promisesFs.readFile(npmignorePath, 'utf8');
110
+ // await promisesFs.writeFile(gitignorePath, data, 'utf8');
111
+ // await promisesFs.unlink(npmignorePath);
112
+
113
+ await promisesFs(npmignorePath, gitignorePath);
114
+
112
115
 
113
116
  } catch (error) {
114
117
  console.error(`Error editing .gitignore: ${error}`);
115
118
  }
116
119
  };
117
120
 
118
-
119
-
120
121
  const runComman = (command) => new Promise((resolve, reject) =>
121
122
  exec(command, (error, stdout, stderr) => {
122
123
  if (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fesd-app",
3
- "version": "1.0.0-bate.81",
3
+ "version": "1.0.0-bate.82",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",