eoas 2.3.9 → 2.3.11

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.
@@ -159,7 +159,7 @@ class Publish extends core_1.Command {
159
159
  runtimeSpinner.succeed('✅ Runtime versions resolved');
160
160
  const cleaningSpinner = (0, ora_1.ora)(`🗑️ Cleaning up ${outputDir} directory...`).start();
161
161
  try {
162
- await (0, spawn_async_1.default)('rm', ['-rf', outputDir], { cwd: projectDir });
162
+ await fs_extra_1.default.remove(path_1.default.join(projectDir, outputDir));
163
163
  cleaningSpinner.succeed('✅ Cleanup completed');
164
164
  }
165
165
  catch (e) {
@@ -169,8 +169,8 @@ class Publish extends core_1.Command {
169
169
  }
170
170
  const exportSpinner = (0, ora_1.ora)('📦 Exporting project files...').start();
171
171
  try {
172
- await (0, spawn_async_1.default)('rm', ['-rf', outputDir], { cwd: projectDir });
173
- const { stdout } = await (0, spawn_async_1.default)('npx', ['expo', 'export', '--output-dir', outputDir], {
172
+ const specifiedPlatform = platform === expoConfig_1.RequestedPlatform.All ? [] : ['--platform', platform];
173
+ const { stdout } = await (0, spawn_async_1.default)('npx', ['expo', 'export', '--output-dir', outputDir, ...specifiedPlatform], {
174
174
  cwd: projectDir,
175
175
  env: {
176
176
  ...process.env,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoas",
3
- "version": "2.3.9",
3
+ "version": "2.3.11",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build": "tsc --project tsconfig.json",