Lines Matching refs:fs
2 import fs from 'fs-extra';
35 if (!(await fs.pathExists(appTargetPath))) {
61 await fs.rmdir(appTargetPath);
65 await fs.remove(path.join(appTmpPath, '.git'));
68 await fs.rename(appTmpPath, appTargetPath);
94 for (const file of await fs.readdir(fromPath)) {
95 await fs.move(path.join(fromPath, file), path.join(toPath, file), {
106 const appConfig = await fs.readJson(appConfigPath);
121 await fs.writeJson(appConfigPath, appConfig, {
132 const packageJson = await fs.readJson(packageJsonPath);
149 await fs.writeJson(packageJsonPath, packageJson, {